Skip to content

Commit

Permalink
(cargo-release) version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pwinckles committed Feb 26, 2022
1 parent a7b2c70 commit 8c30ecd
Show file tree
Hide file tree
Showing 25 changed files with 29 additions and 26 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] - ReleaseDate

## [0.2.0] - 2022-02-26

### Added

- Initial release
- Support for creating new bags
- Support for updating the manifests in existing bags

<!-- next-url -->
[Unreleased]: https://github.com/pwinckles/bagr/compare/v0.1.0...HEAD
[Unreleased]: https://github.com/pwinckles/bagr/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/pwinckles/bagr/compare/v0.1.0...v0.2.0
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bagr"
version = "0.2.0-dev"
version = "0.2.0"
edition = "2021"
authors = ["Peter Winckles <pwinckles@pm.me>"]
description = "A CLI for interacting with BagIt bags"
Expand Down
4 changes: 2 additions & 2 deletions release.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...v{{version}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/pwinckles/bagr/compare/{{tag_name}}...HEAD", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/pwinckles/bagr/compare/v{{version}}...HEAD", exactly=1},
]
2 changes: 1 addition & 1 deletion tests/cmd/bag/copy-bag.out/bag-dst/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Bagging-Date: 2022-02-16
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Payload-Oxum: 14.2
2 changes: 1 addition & 1 deletion tests/cmd/bag/copy-bag.out/bag-dst/tagmanifest-sha256.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
b185d8df154396e06b7a3ad1b7541e69b85b31cd88ac3c255aca26090e34e295 bag-info.txt
2c23c9e1dec20f1e98f9945a338285a5a2b50beb12e1c26bd36c97061759ad07 bag-info.txt
1712ecfb074bf29c4188ad3421032509159a09739fd604f8fe57038b4ddefcc9 bagit.txt
71dd116c77785566afd33650737cc84e950e4b976e63ef31d4975a3e4a596963 manifest-sha256.txt
2 changes: 1 addition & 1 deletion tests/cmd/bag/default.out/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Bagging-Date: 2022-02-16
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Payload-Oxum: 14.2
2 changes: 1 addition & 1 deletion tests/cmd/bag/default.out/tagmanifest-sha512.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
6401266e4ca549f31c4a89b200ecf2153d011513caffed41752b2550366d1f7b244be9494a72e146063e8deab81c52dfd03a497abd01521bf47a6a165809c689 bag-info.txt
3cd6b4b7aab393073b90fa43964455f08c8739fa68d10eb156828c85843c0099ff0121debd42af6dcd39a687ee48a4d3ae20643194bd01d7ef9b4e52b384d78f bag-info.txt
1d73ae108d4109b61f56698a5e19ee1f8947bdf8940bbce6adbe5e0940c2363caace6a547b4f1b3ec6a4fd2b7fa845e9cb9d28823bc72c59971718bb26f2fbd8 bagit.txt
49ed4e071201e8a98e4a01497496916259fffe296e85a6a0d422934c5021a3ff2482feb77d0a4d948a4ddd5204c7f83c4c7b6416c9a90d649185388e2430f8fb manifest-sha512.txt
2 changes: 1 addition & 1 deletion tests/cmd/bag/dst-child-of-src.out/dst/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Bagging-Date: 2022-02-16
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Payload-Oxum: 14.2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
b185d8df154396e06b7a3ad1b7541e69b85b31cd88ac3c255aca26090e34e295 bag-info.txt
2c23c9e1dec20f1e98f9945a338285a5a2b50beb12e1c26bd36c97061759ad07 bag-info.txt
1712ecfb074bf29c4188ad3421032509159a09739fd604f8fe57038b4ddefcc9 bagit.txt
71dd116c77785566afd33650737cc84e950e4b976e63ef31d4975a3e4a596963 manifest-sha256.txt
2 changes: 1 addition & 1 deletion tests/cmd/bag/exclude-hidden.out/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Bagging-Date: 2022-02-16
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Payload-Oxum: 8.3
2 changes: 1 addition & 1 deletion tests/cmd/bag/exclude-hidden.out/tagmanifest-sha512.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
efaa3d4799f1b15158bbabd75cf61cffb373fe5d90b7c23c0b8dddf4faf73fa769d6b5524adeb0041cfc7ac8e37602891f39a3f47d5f91e444d8339fca340863 bag-info.txt
8bf4e430b5fcfada9bb9b817b93a9791d4c4e49394ff9e94b607668832028233e2d08536cdebd4dc1c5859bd171ffd56806acbb41fa989a3772eb4fddecec146 bag-info.txt
1d73ae108d4109b61f56698a5e19ee1f8947bdf8940bbce6adbe5e0940c2363caace6a547b4f1b3ec6a4fd2b7fa845e9cb9d28823bc72c59971718bb26f2fbd8 bagit.txt
5a28b2a76ab419ade5480aebc00353710390059236b66c9d990f05749499bc182841b2dc6a2202c26905af9fe2842b197d49a3773dd5c658257f38e8e15a60db manifest-sha512.txt
2 changes: 1 addition & 1 deletion tests/cmd/bag/include-hidden.out/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Bagging-Date: 2022-02-16
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Payload-Oxum: 20.7
2 changes: 1 addition & 1 deletion tests/cmd/bag/include-hidden.out/tagmanifest-sha512.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1be1e5577fd7126eaa15c61d990c7d2df7d40c4cf9a0532f7b04f9567c601d56f5a8f39b3c5952a89154cba3d2abb55bd12121eca87c32ae135589b0e58c7407 bag-info.txt
33b6a476ad222d4b4387b520c4e70ddd6b8c8cef627968964a709cbef2c0595a4a37b4812c18eeb25ee5de00a0e40f54d1488ad281ff20142484cb48e23ff1b6 bag-info.txt
1d73ae108d4109b61f56698a5e19ee1f8947bdf8940bbce6adbe5e0940c2363caace6a547b4f1b3ec6a4fd2b7fa845e9cb9d28823bc72c59971718bb26f2fbd8 bagit.txt
93752716206a4b67df21d804a781d0a763f971dd6265f12a921595bcccd7dd8a900a6d3dc4b10913fd33dda70478405bb76bf6ccb910347a14c1436476c10c5a manifest-sha512.txt
2 changes: 1 addition & 1 deletion tests/cmd/bag/manifest-encoding.out/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Bagging-Date: 2022-02-16
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Payload-Oxum: 51.4
2 changes: 1 addition & 1 deletion tests/cmd/bag/manifest-encoding.out/tagmanifest-sha256.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
8062954a58df1c52b9a03eadaace16a4313352747b2fbef0c48892ae05839cd4 bag-info.txt
d024cd217b2f9e47e3410bc3e80911a59b5ab41b0264b13bcee1d681bd44c54b bag-info.txt
1712ecfb074bf29c4188ad3421032509159a09739fd604f8fe57038b4ddefcc9 bagit.txt
67ece71458557c4350bb1499d0ac660220b7f8cd8ecdd1daa6c1bd3ddc037e79 manifest-sha256.txt
2 changes: 1 addition & 1 deletion tests/cmd/bag/multiple-digests.out/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Bagging-Date: 2022-02-16
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Payload-Oxum: 14.2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
c1bd6854ece4818b209c2edfed5b97585d7fab40e478e1db7094f77b7a9d23e1 bag-info.txt
e9b4835215d3fbc81e669f956e7f3dbe734f72755d6566629795745c712cf800 bag-info.txt
595719c47cb5ac284af5207475a6125f752c01473ad1d114bee4a58a482ff0fc bagit.txt
c047435b8900f9462568b82a1e4bec6b6fdd4e7098a8f6d6b042a7817bd977c5 manifest-blake2b256.txt
09ba37a86a4f0c4bec5d82bc063ad2c806e48518adfee6d86190c563abec9429 manifest-md5.txt
2 changes: 1 addition & 1 deletion tests/cmd/bag/multiple-digests.out/tagmanifest-md5.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
461631c9a862649dd7c153535e518281 bag-info.txt
7bd235bcb64377074e2d3a21a0ff1eab bag-info.txt
eaa2c609ff6371712f623f5531945b44 bagit.txt
d120fba31c8cf9a3bbb963c52f7fe678 manifest-blake2b256.txt
3f380469d3061ae331051622e48d9910 manifest-md5.txt
2 changes: 1 addition & 1 deletion tests/cmd/rebag/basic-rebag.out/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Custom-Tag: some value
Bagging-Date: 2022-02-17
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Payload-Oxum: 32.3
2 changes: 1 addition & 1 deletion tests/cmd/rebag/basic-rebag.out/tagmanifest-sha512.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
a95056684e84ae8905cb1b49f3e8bf759a51f37ef7f927b5ae14b8fd64fa2d95c043b8fc02fda2ca199e35b9678c4eed030f7bf0b41a8983f26ccc906ab655a4 bag-info.txt
1c01b06f65a859e5a642bd008792e500d0368577b0731b1f3e5836b7e172f078e165cb63466d2dad291607f13f3bb1f40d524baa13bede60b369a4641c433be1 bag-info.txt
1d73ae108d4109b61f56698a5e19ee1f8947bdf8940bbce6adbe5e0940c2363caace6a547b4f1b3ec6a4fd2b7fa845e9cb9d28823bc72c59971718bb26f2fbd8 bagit.txt
222233b1fae28d5b4ec8affc4603888583a78e4c1efeda057837acdb2c4f1660197443859dd217fcea89f26088abc6b8da9ea99f518abce30a7b898750b069af manifest-sha512.txt
2 changes: 1 addition & 1 deletion tests/cmd/rebag/new-tag-files.out/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Custom-Tag: some value
Bagging-Date: 2022-02-17
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Payload-Oxum: 32.3
2 changes: 1 addition & 1 deletion tests/cmd/rebag/new-tag-files.out/tagmanifest-sha512.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
a95056684e84ae8905cb1b49f3e8bf759a51f37ef7f927b5ae14b8fd64fa2d95c043b8fc02fda2ca199e35b9678c4eed030f7bf0b41a8983f26ccc906ab655a4 bag-info.txt
1c01b06f65a859e5a642bd008792e500d0368577b0731b1f3e5836b7e172f078e165cb63466d2dad291607f13f3bb1f40d524baa13bede60b369a4641c433be1 bag-info.txt
1d73ae108d4109b61f56698a5e19ee1f8947bdf8940bbce6adbe5e0940c2363caace6a547b4f1b3ec6a4fd2b7fa845e9cb9d28823bc72c59971718bb26f2fbd8 bagit.txt
5e5327eaa39e894d04731ca08a1f8f938d09bae2e19d13293aa52b1030dba982131d0e4d7900ee93fc44a289ea09b06772b78547f92dfe5b4d435f3592479968 custom-tags.txt
222233b1fae28d5b4ec8affc4603888583a78e4c1efeda057837acdb2c4f1660197443859dd217fcea89f26088abc6b8da9ea99f518abce30a7b898750b069af manifest-sha512.txt
2 changes: 1 addition & 1 deletion tests/cmd/rebag/only-tag-changes.out/bag-info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Payload-Oxum: 14.2
New-Tag: here
Another-Tag: there
Bagging-Date: 2022-02-17
Bag-Software-Agent: bagr v0.2.0-dev <https://github.com/pwinckles/bagr>
Bag-Software-Agent: bagr v0.2.0 <https://github.com/pwinckles/bagr>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1e7f6c3bccd658568f90e151cd2564b37f726214d9c05fabe0e23f7e8fa4c37561c696d3f8a556a4c0f0823209c66031072def83c9bfcfe0eb727d3adf6a1c87 bag-info.txt
d4b99ba0ec34be2bb35239f66eaec9e151693825e6c6ee5247f2a621ef1b4de974a650076e343c335694e539f3cf0650288a81e90d76b6230256561ae740a906 bag-info.txt
1d73ae108d4109b61f56698a5e19ee1f8947bdf8940bbce6adbe5e0940c2363caace6a547b4f1b3ec6a4fd2b7fa845e9cb9d28823bc72c59971718bb26f2fbd8 bagit.txt
49ed4e071201e8a98e4a01497496916259fffe296e85a6a0d422934c5021a3ff2482feb77d0a4d948a4ddd5204c7f83c4c7b6416c9a90d649185388e2430f8fb manifest-sha512.txt

0 comments on commit 8c30ecd

Please sign in to comment.