Skip to content
This repository has been archived by the owner on Mar 22, 2020. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ethankhall/inc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.5
Choose a base ref
...
head repository: ethankhall/inc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Mar 4, 2018

  1. Bumping to 0.1.6

    ethankhall committed Mar 4, 2018
    Copy the full SHA
    1aacae1 View commit details

Commits on Aug 31, 2018

  1. Reporting update & Toml -> Yaml

    Yaml is just a lot easier to read than Toml, so lets switch to it.
    
    Also a few updates to update to the nightly.
    ethankhall committed Aug 31, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    468e3d9 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    4c32550 View commit details
  3. Improved reporting and debugging for invalid configs

    It was bad that we let the system continue is it had invalid values. So
    now we will prevent that, if the configs are miss-formatted the app will
    fail and give you the line number that you need to fix.
    ethankhall committed Aug 31, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    f61d191 View commit details

Commits on Sep 27, 2018

  1. Support INC_PROJECT_DIR environment variable in commands

    Using INC_PROJECT_DIR allows you to reference a specific path. Making
    the command independent of path.
    ethankhall committed Sep 27, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    76dcdbb View commit details
  2. Format with rust format

    ethankhall committed Sep 27, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    cf568a3 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    2f9c263 View commit details
  4. Auto-release CLI

    ethankhall committed Sep 27, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    0bbc347 View commit details
  5. Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    ad52c0f View commit details
  6. Adding VSTS ci file

    ethankhall committed Sep 27, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    802171b View commit details
  7. Adding missing musl files

    ethankhall committed Sep 27, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    d753943 View commit details
  8. Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    9d04bbb View commit details
  9. Move test dep so it's only used on Unix

    Made CI not have a pipeline affect
    ethankhall committed Sep 27, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    881f057 View commit details
  10. Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    826db31 View commit details
  11. Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    7de01ef View commit details
  12. Version bump

    ethankhall committed Sep 27, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    14b02d9 View commit details
  13. Updating the to the next version.

    [skip ci]
    ***NO_CI***
    ethankhall authored and Release Manager CI committed Sep 27, 2018
    Copy the full SHA
    4327560 View commit details

Commits on Sep 28, 2018

  1. Add install.sh and README update for install directions

    [skip ci]
    ***NO_CI***
    ethankhall committed Sep 28, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    e1c0770 View commit details
  2. Update README.md

    ethankhall authored Sep 28, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    831bd70 View commit details
  3. Updating the to the next version.

    [skip ci]
    ***NO_CI***
    ethankhall authored and Release Manager CI committed Sep 28, 2018
    Copy the full SHA
    8bcfd64 View commit details

Commits on Aug 9, 2019

  1. Move to Azure Pipeline

    ethankhall committed Aug 9, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    ethankhall Ethan Hall
    Copy the full SHA
    f679491 View commit details
Showing with 1,651 additions and 1,069 deletions.
  1. +0 −32 .circleci/config.yml
  2. +13 −0 .crom.toml
  3. +4 −0 .docker/musl-build.sh
  4. +6 −0 .docker/musl-linux.Dockerfile
  5. +4 −0 .release-manager.toml
  6. +66 −0 .vsts-ci.yml
  7. +461 −265 Cargo.lock
  8. +2 −30 Cargo.toml
  9. +12 −5 README.md
  10. +71 −0 azure-pipelines.yml
  11. +9 −0 inc-commands/Cargo.toml
  12. +16 −19 {src/bin → inc-commands/src}/checkout.rs
  13. +137 −0 inc-commands/src/exec.rs
  14. +9 −0 inc-commands/src/lib.rs
  15. +6 −6 {src/bin → inc-commands/src}/list.rs
  16. +25 −0 inc-lib/Cargo.toml
  17. +6 −4 {src/inc → inc-lib/src}/core/command.rs
  18. +251 −0 inc-lib/src/core/config.rs
  19. +114 −0 inc-lib/src/core/config_test.rs
  20. +3 −5 {src/inc → inc-lib/src}/core/logging.rs
  21. {src/inc → inc-lib/src}/core/mod.rs
  22. +228 −0 inc-lib/src/exec/executor.rs
  23. {src/inc → inc-lib/src}/exec/mod.rs
  24. {src/inc → inc-lib/src}/exec/system.rs
  25. +27 −0 inc-lib/src/lib.rs
  26. 0 {src/inc → inc-lib/src}/libs/mod.rs
  27. 0 {src/inc → inc-lib/src}/libs/process.rs
  28. {src/inc → inc-lib/src}/libs/scm/api.rs
  29. {src/inc → inc-lib/src}/libs/scm/mod.rs
  30. {src/inc → inc-lib/src}/libs/scm/provider/git.rs
  31. {src/inc → inc-lib/src}/libs/scm/provider/git_test.rs
  32. 0 {src/inc → inc-lib/src}/libs/scm/provider/mod.rs
  33. +6 −6 {src/inc → inc-lib/src}/libs/scm/services.rs
  34. {src/inc → inc-lib/src}/libs/scm/util.rs
  35. +0 −14 inc.toml
  36. +17 −0 inc.yaml
  37. +17 −0 inc/Cargo.toml
  38. +24 −20 { → inc}/src/bin/inc.rs
  39. +15 −12 { → inc}/tests/inc-checkout.rs
  40. +32 −26 { → inc}/tests/inc-exec.rs
  41. +13 −9 { → inc}/tests/inc-test.rs
  42. 0 { → inc}/tests/resources/inc-checkout-service-foobar
  43. +8 −0 inc/tests/resources/sample1.yaml
  44. +6 −0 inc/tests/resources/sample2.yaml
  45. +7 −0 inc/tests/resources/sample3.yaml
  46. 0 { → inc}/tests/shared/mod.rs
  47. +3 −2 { → inc}/tests/shared/utils.rs
  48. +18 −0 install.sh
  49. +0 −86 src/bin/exec.rs
  50. +0 −257 src/inc/core/config.rs
  51. +0 −89 src/inc/core/config_test.rs
  52. +0 −139 src/inc/exec/executor.rs
  53. +0 −19 src/inc/lib.rs
  54. +0 −3 tests/resources/sample1.toml
  55. +0 −3 tests/resources/sample2.toml
  56. +0 −3 tests/resources/sample3.toml
32 changes: 0 additions & 32 deletions .circleci/config.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .crom.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pattern = 'v0.2.%d'
types = ["Cargo"]
message-template = "Created {version} for release."

[artifact.mac]
paths = {inc = "artifacts/inc-mac/inc"}
compress = { name = "inc-mac.tar.gz", format = "tgz" }
target = "GitHub"

[artifact.linux]
paths = {inc = "artifacts/inc-linux/inc"}
compress = { name = "inc-linux-musl.tar.gz", format = "tgz" }
target = "GitHub"
4 changes: 4 additions & 0 deletions .docker/musl-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash -eux

cargo check
cargo build --release
6 changes: 6 additions & 0 deletions .docker/musl-linux.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM clux/muslrust

RUN apt-get update && apt-get install -y cmake

COPY musl-build.sh /bin/musl-build.sh
RUN chmod +x /bin/musl-build.sh
4 changes: 4 additions & 0 deletions .release-manager.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[github]
owner = "ethankhall"
repo = "inc"
version-file = "inc/Cargo.toml"
66 changes: 66 additions & 0 deletions .vsts-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
phases:
- phase: Windows_Build
queue: Hosted VS2017
steps:
- powershell: |
invoke-restmethod -usebasicparsing 'https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe' -outfile 'rustup-init.exe'
./rustup-init.exe -y --default-toolchain nightly-x86_64-pc-windows-msvc --no-modify-path
& "$env:USERPROFILE/.cargo/bin/rustup.exe" install nightly-x86_64-pc-windows-msvc
remove-item rustup-init.exe
displayName: Install Rust
- powershell: |
& "$env:USERPROFILE/.cargo/bin/cargo.exe" +nightly-x86_64-pc-windows-msvc test
displayName: Run Tests
- powershell: |
& "$env:USERPROFILE/.cargo/bin/cargo.exe" +nightly-x86_64-pc-windows-msvc build --release
displayName: Build Release
- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: Release Build"
inputs:
PathtoPublish: ./target/release/inc.exe
ArtifactName: inc-windows
ArtifactType: Container

- phase: Linux_Build
queue: Hosted Linux Preview
steps:
- task: Docker@0
inputs:
detached: false
containerregistrytype: 'Container Registry'
dockerFile: '.docker/musl-linux.Dockerfile'
imageName: 'inc-musl'

- task: Docker@0
displayName: Build Application
inputs:
detached: false
containerregistrytype: 'Container Registry'
action: 'Run an image'
imageName: 'inc-musl'
volumes: $(Build.SourcesDirectory):/build
workDir: '/build'
containerCommand: '/bin/musl-build.sh'

- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: Release Build"
inputs:
PathtoPublish: ./target/x86_64-unknown-linux-musl/release/inc
ArtifactType: Container
ArtifactName: inc-linux

- phase: Mac_Build
queue: Hosted macOS Preview
steps:
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
- script: |
$HOME/.cargo/bin/cargo build --release
- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: Release Build"
inputs:
PathtoPublish: ./target/release/inc
ArtifactName: inc-mac
ArtifactType: Container
Loading