Skip to content

Releases: AkashRajpurohit/git-sync

v0.17.0

02 Feb 05:00
1036846
Compare
Choose a tag to compare

What's New!

This release adds support for Gitea platform 🎉
More details about the configuration options and example configuration for Gitea can be found in our Wiki.

Changelog

  • 1036846 chore: 🔧 whitelist gitea platform
  • 9207f8b feat: ✨ gitea platform added
  • 177e2b6 feat: ✨ better error handling for invalid configuration

v0.16.0

09 Jan 09:55
fcaf024
Compare
Choose a tag to compare

What's New!

There are sensible defaults added to the configuration in case when you skip some of them. Refer to the configuration options on our Wiki here

Changelog

  • fcaf024 feat: ✨ add sensible defaults
  • ceec51d build(deps): bump golang.org/x/crypto from 0.28.0 to 0.31.0 (#84)
  • e0559e0 fix(deps): ⬆️ update go-github dependency
  • 9a36c62 chore(deps): update module github.com/google/go-github/v67 to v68 (#80)
  • 35fe0cf chore(deps): update module golang.org/x/oauth2 to v0.25.0 (#82)

v0.15.1

23 Dec 08:09
e2e95e9
Compare
Choose a tag to compare

This release fixes a bug from 0.15.0 release. Kindly upgrade to this version.

Release notes from previous release for convenience.

What's New! 🎉

In this release, we have another major improvement on how git-sync handles syncing operation. The major changes are:

  1. Now git-sync will not fail and exit if there is some failure while syncing some repository, instead it can skip it and move ahead with syncing other repositories/wiki's. This is especially very helpful when you are trying to sync large number of repositories and failure in one of them was breaking your entire sync operation.
  2. There is a new config option called retry which will let you specify the retry count and delay. When retry config is present, git-sync will keep attempting to retry a failed sync operation till the max attempts are reached with each attempt having the delay (in seconds). While this option is not required, it is highly advisable to use it. More info about it is available in our Wiki page.

At the end of the operation, we will now show a summary of the number of repositories and wiki's that got synced and the number and name of repositories that failed.

Changelog

  • e2e95e9 fix: 🩹 perform git fetch command inside the retry function

v0.15.0

22 Dec 10:12
9ebbaf6
Compare
Choose a tag to compare

Important ⚠️

Use the version 0.15.1 instead of this which fixes a bug in this release 🙏🏽

What's New! 🎉

In this release, we have another major improvement on how git-sync handles syncing operation. The major changes are:

  1. Now git-sync will not fail and exit if there is some failure while syncing some repository, instead it can skip it and move ahead with syncing other repositories/wiki's. This is especially very helpful when you are trying to sync large number of repositories and failure in one of them was breaking your entire sync operation.
  2. There is a new config option called retry which will let you specify the retry count and delay. When retry config is present, git-sync will keep attempting to retry a failed sync operation till the max attempts are reached with each attempt having the delay (in seconds). While this option is not required, it is highly advisable to use it. More info about it is available in our Wiki page.

At the end of the operation, we will now show a summary of the number of repositories and wiki's that got synced and the number and name of repositories that failed.

Changelog

  • 9ebbaf6 feat: ✨ make sync operation retryable with delay
  • 5075c62 feat: ✨ don't fail if repo clone/update fails, instead skip and move on with next one. Log the stats at the end.
  • c273174 chore: 🔧 add stacktrace only when log level is debug

v0.14.1

20 Dec 07:22
df5deda
Compare
Choose a tag to compare

This release fixes a bug introduced in the previous 0.14.0 release. Please use this version instead of 0.14.0.

Release notes from previous release for convenience.

What's New!

This release majorly helps the users who have a large number of repositories to sync and often run into rate limiting issues.

git-sync now supports passing multiple personal access tokens to avoid this issue. The new option is named tokens in the config file, more details can be found in the Wiki.

For simplicity, the token option is deprecated and will be removed in the future during v1.0 release. You can still use it for now but it's recommended to use the tokens option instead.

Apart from this, you will also start seeing warning logs in the console for any invalid configurations that might cause issue after the release of v1.0, so it is advised to fix them as soon as possible.

Changelog

  • df5deda chore: 🔧 updating log priority for few messages
  • f529232 fix: 🐛 use token manager for sync operations
  • 5438eb2 chore: ♻️ go mod tidy
  • e17435b chore(deps): update module github.com/xanzy/go-gitlab to v0.115.0 (#74)

v0.14.0

20 Dec 04:29
1d90ae4
Compare
Choose a tag to compare

Important ⚠️

Use the version 0.14.1 instead of this which fixes the bug introduced in this release 🙏🏽

What's New!

This release majorly helps the users who have a large number of repositories to sync and often run into rate limiting issues.

git-sync now supports passing multiple personal access tokens to avoid this issue. The new option is named tokens in the config file, more details can be found in the Wiki.

For simplicity, the token option is deprecated and will be removed in the future during v1.0 release. You can still use it for now but it's recommended to use the tokens option instead.

Apart from this, you will also start seeing warning logs in the console for any invalid configurations that might cause issue after the release of v1.0, so it is advised to fix them as soon as possible.

Changelog

  • 2224fed feat: 🩹 fix and add new tests
  • 183d751 feat: ✨ multiple tokens support added
  • 20d9775 chore: 🔧 systemd service example added
  • 1706015 chore: 🔧 update logger initialized message log type

v0.13.0

07 Dec 06:34
146a29f
Compare
Choose a tag to compare

What's New ❕

Control the number of repos being synced concurrently with the new concurrency option in the configuration.
More details can be found in the Wiki.

Changelog

  • 146a29f chore(ci): 🔧 remove sort for changelog generation
  • 130bd62 feat: ✨ add concurrency support

v0.12.0

04 Dec 06:24
bbd9873
Compare
Choose a tag to compare

What's New ❕

git-sync now supports Raw Git URLs. What that means is that apart from syncing your own repositories from various supported platforms, you can now also pass a list of raw git URLs as well.

With this, you can now backup and sync public repositories from other users as well 🎉

More details about the configurations and examples can be found at our Wiki.

Changelog

  • bbd9873 chore(deps): ⬆️ upgrade go to 1.23.4
  • f4cfbac chore(deps): update golang docker tag to v1.23.4 (#69)
  • 003d3b2 chore(deps): update module github.com/google/go-github/v66 to v67 (#68)
  • afc5518 chore(deps): update module github.com/google/go-github/v66 to v67 (#70)
  • 243e3e6 chore(deps): update module github.com/xanzy/go-gitlab to v0.114.0 (#67)
  • b3f9643 feat: 🚀 support for raw git urls added

v0.11.2

10 Nov 09:48
795d358
Compare
Choose a tag to compare

Changelog

  • 58acbe4 chore(deps): update golang docker tag to v1.23.3 (#64)
  • 3c48bfb chore(deps): update module codeberg.org/mvdkleijn/forgejo-sdk/forgejo to v1.2.0 (#61)
  • f822b4b chore(deps): update module github.com/ktrysmt/go-bitbucket to v0.9.81 (#60)
  • 2a6ef08 chore(deps): update module github.com/xanzy/go-gitlab to v0.112.0 (#59)
  • bc4367b chore(deps): update module github.com/xanzy/go-gitlab to v0.113.0 (#62)
  • b999328 chore(deps): update module golang.org/x/oauth2 to v0.24.0 (#65)
  • 795d358 chore(deps): 🚀 upgrade go.mod to Go 1.23.3
  • ee14352 chore: ♻️ go mod tidy
  • 4ab9a83 chore: 🚚 code refactor for util functions
  • 294686f ci: 🚚 move to stale action since stale bot is deprecated.
  • 8507e0f ci: 🔧 add permissions
  • e5b4135 ci: 🔧 add stale.yml
  • d880b67 ci: 🔧 add workflow dispatch
  • d658f6b feat: ✅ utils function tests added
  • 8ba23cc fix(pkg/sync): 🔧 log error details without crashing

v0.11.1

11 Oct 12:31
588fab8
Compare
Choose a tag to compare

Changelog

  • 4c0389e build(deps): ⬆️ upgrade go to 1.23.2
  • eb96022 chore(deps): update golang docker tag to v1.23.2 (#51)
  • 082c787 chore(deps): update module github.com/google/go-github/v65 to v66 (#56)
  • 3117d47 chore(deps): update module github.com/google/go-github/v65 to v66 (#57)
  • f01c575 chore(deps): update module github.com/xanzy/go-gitlab to v0.111.0 (#54)
  • 88b1bb8 chore: ♻️ remove labels
  • 20b04da chore: 🚚 move initial config fetcher to config package
  • 38d164f chore: 🔧 update step name
  • db66fc7 ci: 🩹 pass build args correctly
  • 8413ce3 ci: 🔧 run tests on CI
  • 7302046 ci: 🔧 update multi-platform build to run on different runners
  • bbf6b40 feat: ✨ use cache between docker builds
  • 4741a1f feat: ✅ validate config test added
  • 588fab8 fix: 🐛 pass build args as list instead of csv
  • 9fd19cd fix: 🐛 sync using origin remote by default (#55)