Skip to content

1.2.0.0

Latest
Compare
Choose a tag to compare
@michaelmsonne michaelmsonne released this 21 Jun 09:55
6a315ec

What's Changed

Added

  • Added an option to test the connection to the Azure DevOps REST API and folder write access with argument: '--healthcheck' - this will test the connection to the Azure DevOps REST API and backup folder write test and show the result.
  • Added support for a new argument to create a 'real' Git clone of the repository with argument: '--fullgitbackup' useing LibGit2Sharp - this will create a real Git clone of the repository instead of just a zip file or unzipped, so you can use the Git clone for further development or other purposes (optional) - fixes #19

Fixed

  • Fixed a bug in the backup tool, where the tool would crash if a repository was not found/disabled in the Azure DevOps organization. The tool now skips the repository and continues with the next one. Fixes #20
  • Added graceful handling of API rate limits: The tool now gracefully handles API rate limits by implementing exponential backoff and retry logic. This ensures that the backup process continues smoothly even when the API rate limit is reached.

Changed

  • In general, the code has been optimized for better performance and readability and code moved to classes for better structure and maintainability.

  • Backup performance improved: Reduced average backup time from 2:26 to around 1:55 per run (approx. 21% faster) based on my DevOps´s content.

    Note: The performance improvement may vary based on the size and number of repositories in your Azure DevOps organization.

  • Updated NuGet dependencies to latest stable versions:

    • System.Text.Json 9.0.6 (was 8.0.5)
    • System.ValueTuple 4.6.1 (was 4.5.0)
    • Microsoft.Bcl.AsyncInterfaces 9.0.6 (was 8.0.0)
    • System.Threading.Tasks.Extensions 4.6.3 (was 4.5.4)
    • System.Text.Encodings.Web 9.0.6 (was 8.0.0)
    • System.Memory 4.6.3 (was 4.5.5)
    • System.Runtime.CompilerServices.Unsafe 6.1.2 (was 6.0.0)
    • System.Numerics.Vectors 4.6.1 (was 4.5.0)
    • System.Buffers 4.6.1 (was 4.5.1)
    • Added System.IO.Pipelines 9.0.6

Add new features for v. 1.2.0.0 by @michaelmsonne in #21

Full Changelog: 1.1.2.1...1.2.0.0