Skip to content

Releases: MetroStar/conda-vendor

v1.1.0

19 Sep 18:58
39d1a84
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.5...v1.1.0

v1.0.5

19 Sep 17:32
1d58d5f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.4...v1.0.5

v1.0.4

12 Sep 23:20
27e02e3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.3...v1.0.4

v1.0.3

16 Sep 18:51
7bfa056
Compare
Choose a tag to compare
  • update pypi release workfow
  • increment version number in the code

v1.0.2

16 Sep 17:52
709d21f
Compare
Choose a tag to compare
  • fixes relative path issue in repodata.json

v1.0.1

21 Jun 17:09
da2ce33
Compare
Choose a tag to compare

Previously the --ironbank-gen flag would output the generated manifest to stdout. This was causing issues when capturing standard output for automated workflows, because informational messages would also be captured.

This change makes the manifest output to a file called ib_manifest.yaml in the current working directory instead.

v1.0.0

12 Apr 22:09
7513c15
Compare
Choose a tag to compare
  • Remove meta-manifest intermediary step in favor of conda-lock's new 1.0.x API and lockfile format
  • Make vendor the primary command
  • Add flag for different solvers: conda, mamba, micromamba based on conda-lock's new 1.0.x API for solve_specs_for_arch
  • Add a --dry-run option to generate formatted JSON of conda-lock's solved FetchActions object. This replaces the old meta-manifest generation intermediary step and can be piped to other SBOM tools that accept JSON.
  • IronBank hardening_manifest.yaml resources formatted text output, using filtered + merged FETCH actions in conda-lock's FetchActions object
  • click cli integration tests
  • update test fixtures to use conda-lock's FetchActions, LockSpecification, and VersionedDependency objects
  • Update GitHub Actions to include dependencies for integration tests

New Usage for version 1.0.0:

# use conda as the solver for linux-64
conda-vendor vendor --file environment.yaml --solver conda --platform linux-64

# use mamba as the solver for osx-64
conda-vendor vendor --file environment.yaml --solver mamba --platform osx-64

# use micromamba as the solver for the host platform
conda-vendor vendor --file environment.yaml --solver micromamba

# dry-run outputs formatted JSON 
conda-vendor vendor --file environment.yaml --solver mamba --platform linux-64 --dry-run True

Screenshots:

Conda-vendor Improved UX:

image

repodata.json hotfix progress bar and package download progress bar:

image

Dry-Run formatted JSON output:

image

ironbank-gen subcommand (returns formatted text that can be copied into Ironbank's hardening manifest):

image

Example IronBank Workflow:

1) Generate the vendored channel and output the IronBank Hardening Manifest resources to stdout:

conda-vendor vendor --file my-environment.yaml --solver micromamba --platform linux-64 --ironbank-gen True

2) Copy the output resources block to your IronBank hardening_manifest.yaml:

- url: https://conda.anaconda.org/conda-forge/linux-64/micromamba-0.22.0-0.tar.bz2
  filename: micromamba-0.22.0-0.tar.bz2
  validation:
    type: sha256
    value: f8d6d9ab832401f8f32e161d5043b28fd7f043d8f0829ab5388f6e4a4256524a
- url: https://conda.anaconda.org/conda-forge/linux-64/_libgcc_mutex-0.1-conda_forge.tar.bz2
  filename: _libgcc_mutex-0.1-conda_forge.tar.bz2
  validation:
    type: sha256
    value: fe51de6107f9edc7aa4f786a70f4a883943bc9d39b3bb7307c04c41410990726
- url: https://conda.anaconda.org/conda-forge/linux-64/libstdcxx-ng-11.2.0-he4da1e4_15.tar.bz2
  filename: libstdcxx-ng-11.2.0-he4da1e4_15.tar.bz2
  validation:
    type: sha256
    value: cc84f71bb9dbecde453a25ba8c5aefc9773da5d619633c103eb8bac1ab4afda0

3) Copy over your patched repodata.json files from your vendored channel to the appropriate directory in your IronBank Project

v0.1.15

18 Nov 17:15
0df4d53
Compare
Choose a tag to compare
  • change dependency from pyyaml to ruamel. Code will now throw an error when passed yaml files that have duplicate keys.

v0.1.14

17 Nov 21:53
9db0938
Compare
Choose a tag to compare
  • Fixes bug where pip wasn't actually being added as dependency when python was present

v0.1.13

17 Nov 16:42
79dbd7c
Compare
Choose a tag to compare
  • Fix bug where combine function wasn't writing out yaml