Skip to content

Latest commit

 

History

History
890 lines (531 loc) · 47.9 KB

File metadata and controls

890 lines (531 loc) · 47.9 KB

Changelog

All notable changes to this project will be documented in this file.

[10.1.0] - 2025-10-04

Bug Fixes

  • Replace unwrap with ? for better error handling in test functions 64195cd
  • Simplify check for empty processed paths in get_all_files function ebe27a0
  • Ensure workdir is added to updated_paths if no processed paths are found 4780ab7

Miscellaneous Tasks

  • Add .vscode/ to .gitignore 19656ec

Other

Styling

  • Run cargo format 6704064
  • Apply clippy single component path import fix 68e6426
  • Format imports for better readability in test_utils.rs 2ab3acd

Testing

  • Add unit tests for directory copying functionality cb6aef8

[10.0.2] - 2025-09-24

Bug Fixes

  • Canonicalize path before stripping prefix 9fbbe45

Continuous Integrations

  • Rename build.yml to ci.yml 059378f

Miscellaneous Tasks

Other

[10.0.1] - 2025-06-25

Bug Fixes

  • start_trace should be passed a267574

Miscellaneous Tasks

[10.0.0] - 2025-06-25

Bug Fixes

  • The renaming logic have caused the outdir to be useless. 23673dc

Documentation

  • Update README.md 7337011
  • Add a section about reproducibility 91355df

Features

  • If compiled with feature obs, make --silent flag do nothing. 704993f
  • Add silent flag fbe8d61

Miscellaneous Tasks

Refactor

  • Path_buf_filename -> filename 278836f

Testing

  • Add missing flag --silent efad22a

[9.0.0] - 2025-06-22

Bug Fixes

Dependencies

Features

  • Create a new binary name for roast_scm. 65e9dcf
  • Add new subcommand generate-completions-for using clap_complete f6ab16b

Miscellaneous Tasks

Other

  • Update workspace default members 047dfe3

Refactor

  • copy_dir_all should canonicalise the paths to original sources first. 9193ab7

[8.1.5] - 2025-06-19

Bug Fixes

Miscellaneous Tasks

[8.1.4] - 2025-06-19

Bug Fixes

  • Finally properly fix adding the newline. 5815417

Miscellaneous Tasks

[8.1.3] - 2025-06-19

Bug Fixes

  • Add newline at the end of the file properly f131e45

Miscellaneous Tasks

[8.1.2] - 2025-06-18

Bug Fixes

  • Update submodule logic if in case the submodule path does not exist. 987695b

Miscellaneous Tasks

Other

Testing

  • Switch test case from deno to river eb5f1ff
  • Add deno and jay, they're known to contain submodules d923e42

[8.1.1] - 2025-06-15

Documentation

  • Renaming scheme is now "better" abe7353
  • The .changes filename is based on the filename without the version part. 91a6658
  • Clarify what the header is for 4db561a
  • Fix grammar here 03d2d42
  • Update README d31b41a
  • Fix README.md. obs feature flag only updates the version in the specfile. cd865b8

Miscellaneous Tasks

[8.1.0] - 2025-06-15

Bug Fixes

  • More clap fix workarounds. changesauthor is required if changesgenerate is set to true. ef52077
  • "prepend" -> "it prepends" 43e746d
  • Word should be prepend and not append. 4545613
  • requires_if to required_if_eq 314d477

Continuous Integrations

  • Add a note for why tests are separated. 71b8c53

Documentation

Improvements

  • Feature obs will just call set_version_in_specfile. 2cee767

Miscellaneous Tasks

Other

[8.0.0] - 2025-06-13

Continuous Integrations

Documentation

  • Update recomprizz.service file to match new features 7fb14d6

Improvements

  • Remove any usage of walkdir 6c3e4fe

Miscellaneous Tasks

  • Bump to v8.0.0 2ac2c36
  • Make the warning clear if renaming fails because of wrong file extension 551fdba

Refactor

  • renamepattern should require rename 5b077d1
  • Rework recomprizz renaming logic 85a8be0
  • Rework recomprizz args fields to introduce renaming with regex. 8f85c4c

Removed

  • Removal of walkdir crate since we are using standard library's fs module only. 9df3842

[7.2.4] - 2025-06-08

Dependencies

Miscellaneous Tasks

  • Bump to v7.2.4 a7ab846
  • Add newline to the end of the file if file was not empty before. 1b6fbf0
  • Add newline at the end of the dot changes file 9509d75
  • Change short flag to U ad486a9
  • Change short flag to U d9b4a92

Refactor

  • Improve getting "number of changes since" logic c75d73f

[7.2.3] - 2025-06-03

Bug Fixes

  • Refactor so that after a deletion of tag does not cause an error ec170b0

Miscellaneous Tasks

[7.2.2] - 2025-06-03

Bug Fixes

  • If there are no tags found, count the commits until the initial commit 4e66d51
  • Changelog generation was broken. use revwalk to fix the issue a70f99c

Miscellaneous Tasks

[7.2.0] - 2025-06-02

Improvements

  • Add a possibility to pass a custom workdir f8163a9

Miscellaneous Tasks

Testing

  • Roast_scm_opts should have None as the first parameter ee0c7f8

[7.1.2] - 2025-06-01

Continuous Integrations

  • Forgot to enable obs in the feature flag 3b4ce92

Improvements

  • Only update the changelog header if possible 47a50b6

Miscellaneous Tasks

[7.1.1] - 2025-06-01

Continuous Integrations

  • Forgot to specify which test to run 108f6f6
  • Include a test for feature obs 38702fc

Miscellaneous Tasks

Testing

[7.1.0] - 2025-05-31

Bug Fixes

Miscellaneous Tasks

[7.0.0] - 2025-05-31

Bug Fixes

  • Apply clippy suggestions fec89b9
  • Disable obs feature for now in tests 5612c60
  • Change alias for changesemail 71f0344
  • Add the last newline 5f52081
  • remote_checkout_branch creating a branch from remote branch with incorrect name a1117e6
  • The refactor caused the commit hash to be skipped ae78d56
  • versionrewriteregex should require versionrewritepattern 424450f
  • It should be prefixed with g 30ef828
  • Version format improvements and fixes cce9877
  • Checkout should not error if branch is HEAD. sorting in revwalk should not be reversed. fc74963
  • Use set_head_detached since we want it to point to a commit cd56eb1
  • Add condition if branch ref is the current HEAD 94db917
  • Set this to 0 e2face4

Continuous Integrations

  • Seems it needs to be more specific where with this blob for *.rs cc88697
  • Test if CI runs with this config bec4cda

Dependencies

Documentation

Features

  • Append email if changesemail passed. 9c32533
  • Add changesemail field for cli b270d12
  • Implement update version in specfile c6ac215
  • Cli has new fields, set_name and set_version for obs feature 26cdf5b
  • Changelog generation is now implemented. c38c412
  • Add new cli arguments and fieldnames for RoastScmArgs related to changesgenerate d607682
  • versionrewriteregex and versionrewritepattern implemented 25609d8
  • Initial versionformat prefix e962f55

Improvements

  • Replace dumb lookup by reading config instead 39d4ed5
  • If there is no changelog, warn the user 4c802e5
  • Roast_scm now is able to generate some changelog 02f35f3
  • Describe string is implemented alongside improved log messages 5fe08a8

Miscellaneous Tasks

  • Bump to v7.0.0 89d185b
  • Cleanup and whether to disable or enable code for obs feature 8949e89
  • Add optional obs feature in roast-cli 3edb410
  • Add optional obs feature 5ab9259
  • Apply trim() first for strings before checking if they're empty 0e16546
  • split('\n') -> lines() 1be8ca2
  • Use the to_extension() method 3223c05
  • Change this to an iterator 3b1fae3
  • Change wording 6b21e0b
  • Cleanup code for feature, changelog generation. 6baf190
  • Add initial logic for changesgenerate feature 9da0a35
  • More cleanup f4f73f2
  • Add cliff.toml for changelog generation config 4ef65e5
  • Cleanup code d6a99ae
  • Make it clear what depth was set in the warnings a0783bf

Other

  • Run cargo +nightly fmt 001690c
  • Remove needless borrow 019eefa
  • Cleanup visibility and privacy of certain functions bd5c585
  • Run cargo +nightly fmt e75b446
  • Run cargo +nightly fmt 40be8df
  • Generate changelog improvements 5e3922b
  • Add to_extension method for Compression 42c21f8
  • Remove redundant & 1416f00
  • Initial refactor of the cloning process and finding the revision 77d8a34
  • Run `cargo +nightly fmt` 8e6002b

Performance

  • Do a dumb revision lookup to check if a revision is a branch dfb8b1a

Refactor

  • Put set_version logic inside map as well. create separate function for changelog file generation. 2ac4023
  • Move changelog file generator code inside map dc497fb
  • Use any since it returns at the first true, otherwise, false. e267807
  • Use iterators over for loops 112edf7
  • More cleanup. remove redundant logic 2b4fd3f

Testing

[6.1.1] - 2025-05-19

Bug Fixes

  • Return Ok(()) a25a239
  • Return type should be Result<Option> d06516d
  • Return type should be Result<Option> 5bf6fcb
  • Ensure that the outdir exists fc1bfd6
  • Use the correct return type inside the map. c092a37
  • Import correctly std::path::PathBuf. 87d7091

Documentation

  • Fix typo in README.md f765b6f
  • This is roast_scm. this file was copied from recomprizz so it was overlooked accidentally e5c515c

Improvements

  • Allow returning an Option<PathBuf> if is-temporary is set to false. 78c12cd

Miscellaneous Tasks

[6.1.0] - 2025-05-17

Bug Fixes

  • It should be evaluated if it's false e7253a7
  • Add let binding 7afed69
  • Remove unused key in roast-cli's Cargo.toml f1be55a

Continuous Integrations

  • Only run ci for certain file changes 5ea534b
  • We are only using one workflow anyway for everything 1053f02

Documentation

  • Add and improve doc comments 0c1e4d1
  • Improvements on how everything works 45b3add
  • Add roast_scm.service ecc4154

Features

  • Is-temporary flag now used. 293a52c

Improvements

  • Feature is-temporary now have clearer messages if directory was not deleted. 5f20d1d

Miscellaneous Tasks

Other

[6.0.0] - 2025-05-17

Continuous Integrations

Dependencies

Documentation

  • Add link to roast-cli [CI SKIP] da48332
  • Add README.md for each crate in the workspace. 1abc9d2
  • Update ci badge links in README 5107dbf

Features

  • Finalise feature and provide improvements 2bab074

Improvements

  • Incremental improvements on roast scm logic 7dbe1ee

Miscellaneous Tasks

Other

  • RoastScmArgs' outfile field is set to Option 07079bf
  • Allow roast scm to become a binary executable 096fe82
  • Start including roast scm to roast cli 0ff1097
  • Improve struct definition for RoastScmArgs d954b2e
  • Write initial clone logic 90e4c17
  • Import to operations module 4a77f9f
  • Run cargo +nightly fmt ceca8da
  • Run cargo +nightly fmt e28dc26
  • Add struct for RoastScmArgs 8268a17
  • Update to Rust 2024 edition c888538
  • Use git cliff to generate changelog 94ed82e
  • Run cargo +nightly fmt dfc556b

Refactor

  • Remove git2 and any code related to it edddf73

Removed

  • Filename should be with underscores e883dbc
  • Filenames should be with underscores. 0d207c8
  • Move over this feature and focus on cloning only 77f28fc

[5.1.7] - 2024-11-27

Bug Fixes

Continuous Integrations

  • Add filtering so it only runs when .rs and Cargo.toml change 7f320ac

Dependencies

  • Update clap features to use 002602a

Features

  • Add zstd as another alias for zst 66b09d5

Miscellaneous Tasks

Other

  • Improve error message here 994e70d

[5.1.6] - 2024-11-02

Bug Fixes

  • Revert 8977c6741364c6d25fb33408d8b4232d835a768b cd70cfb

Miscellaneous Tasks

[5.1.5] - 2024-11-02

Miscellaneous Tasks

[5.1.4] - 2024-11-02

Miscellaneous Tasks

[5.1.3] - 2024-11-02

Bug Fixes

  • Just use an empty "" if strip fails 8977c67

Documentation

  • Removed warning. ensured reproducibility. b4f81ad

Miscellaneous Tasks

  • Release v5.1.3 d311c5b
  • Set resolver to 2 and enforce strict linting rules 4146991

Other

  • Rectify the needless pass by value 38778cb

[5.1.2] - 2024-11-01

Miscellaneous Tasks

Other

  • Improvements on how we sort files and directories 037aa62

[5.1.0] - 2024-11-01

Documentation

  • Add important difference between ADDED and INCLUDED [ci skip] 03aa7e0
  • Improve wording [ci skip] 945ff95
  • Fix grammar [ci skip] 0fa8911
  • Explain how the path behaviour works 4c7d96a

Miscellaneous Tasks

Performance

  • Add rayon to parallelise copying operations 150437b

[5.0.0] - 2024-11-01

Bug Fixes

  • Resolved some edge-cases with additional paths and included paths 1480677
  • Reimplement adding of archive files 60708fb
  • Avoid duplicating entries 7a154a5
  • Do not consider temporary directory as hidden 38acc76
  • Just use ends_with to check if it's a valid file extension 3faa703

Documentation

  • Update README on CLI help 8f7a931

Features

  • Hidden file and gitignore finally correctly implemented 87ae4ab

Improvements

  • Also filter_paths for each element in additional_paths bcfcaa8

Miscellaneous Tasks

Other

  • Remove unused imports 9a7ff2d
  • Finalise flags. begin cycle c32873d
  • Begin refactor cycle [ci skip] a438974
  • Set to trace level for filter_paths 450e6a2

Refactor

  • Improve the logic handling for adding, excluding and including d5beb40

[4.5.0] - 2024-10-20

Bug Fixes

  • Actually implement the fix for ef1e6f857e48821198d720d092bc7087af762f2a 1c93654

Documentation

  • Update README and include instructions regarding renaming af59fb4

Features

Other

[4.2.0] - 2024-10-20

Bug Fixes

  • Filename should leave out version part alone ef1e6f8

Other

[4.1.0] - 2024-10-20

Other

  • V4.1.0 68d1209
  • Allow to explicitly tell "true" or "false" using ArgAction::Set and add our service file 355c734

[4.0.0] - 2024-10-20

Bug Fixes

  • Additional paths variable should only be a collection of files and not directories a3ae9cb
  • Apply clippy lints ec8cfcd

Documentation

Library Updates

  • Move over copy_dir_all as a common utility 31aefaf

Other

Refactor

  • Remove tracing crate unused imports 2b3f918
  • Improve field naming and description 806fdce
  • Move mostly to libroast aca2e9c
  • Canonicalize paths 527f9af
  • Canonicalize filter 6e25a38

Removed

  • Cliff.toml and git-cliff is an overengineered changelog generator a101a64

Testing

  • Use copy_dir_all as part of lib now instead 729114a

[3.3.1] - 2024-10-19

Bug Fixes

  • Ci yaml config fix. best format x2 d805ac6
  • Ci yaml config fix. best format a4c66cd

Continuous Integrations

  • Install a c compiler. clang preferred f0c9922
  • Rename workflow 97cdc83

Miscellaneous Tasks

Testing

  • This should be two separate files 1dd8fe3
  • Add library tests + ci tests 6b72c36

[3.3.0] - 2024-10-15

Documentation

Features

  • Support uncompressed tarballs with tar extension 5ae79b2

Other

  • Add required keys and prepare to publish 4a0978e
  • Add repository key value e2e3404
  • Add repository key value ae67fc0

Refactor

  • Cleanup raw binary log output 199ea64
  • Properly set preserve root f739fa2

[3.2.2] - 2024-10-12

Bug Fixes

  • Properly delete temporary directories 3532c94

Miscellaneous Tasks

[3.2.1] - 2024-10-12

Miscellaneous Tasks

Other

[3.2.0] - 2024-10-12

Other

[3.1.1] - 2024-10-12

Improvements

  • Add Display trait for Compression and Error trait for UnsupportedFormat ff2cbda

[3.1.0] - 2024-10-12

Miscellaneous Tasks

[3.0.0] - 2024-10-12

Miscellaneous Tasks

[2.0.0] - 2024-10-12

Features

  • Add ability to extract supported file formats ef3fcfa
  • Add is_supported_format function c72c956

Other

  • Refactor and put only one return keyword for if-else block a418441
  • Apply trait Debug for UnsupportedFormat 6117e67
  • Remove unnecessary consts 1b16d09
  • Add Display trait to namespace and slightly change the error message 487877a
  • Use new format with just format command 4457a32
  • Use inspect_err instead of map_err 773ec1b
  • Use inspect_err when map_err returns the original item ecad202
  • Use new format with just format command 8586cd0

[1.1.0] - 2024-09-07

Features

  • Add preserve-root and properly handle extra files using tempfile crate 1dc9554

[1.0.0] - 2024-09-07