Skip to content

Releases: AkashRajpurohit/git-sync

v0.11.0

01 Oct 10:21
Compare
Choose a tag to compare

What's New ❕

git-sync now supports a new config option called clone_type. By default git-sync performs a bare clone of your repository code.
However with this new release, you can now specify which type of clone you want to perform.

The available options are bare, shallow, mirror or full. The default value is bare (to maintain backward compatibility).

Update your config file as mentioned in the docs to use this new feature.

Changelog

  • 9a3e9fe feat: ✨ allow different clone type options

v0.10.1

30 Sep 13:51
Compare
Choose a tag to compare

Changelog

v0.10.0

29 Sep 17:12
ded1f65
Compare
Choose a tag to compare

What's New ❕

git-sync now adds support for another client, which is forgejo.

Thanks to @jbonadiman for adding the support! 🎉

Changelog

  • 81b295e feat: ✨ forgejo support added

v0.9.1

19 Sep 13:06
97895ac
Compare
Choose a tag to compare

Changelog

  • 0b10d0f build(deps): ⬆️ go-gitlab and oauth2 dependencies bumped up
  • 97895ac build(deps): ⬆️ upgrade go-github to v65
  • 9f4e7c9 build: ⬆️ go version upgraded to 1.23.1
  • 24c0d9b ci: 🔧 add feature request issue template
  • 1f341f5 ci: 🔧 added bug report template

v0.9.0

24 Aug 14:22
554e513
Compare
Choose a tag to compare

What's New ❕

This release is specifically for docker users, you can now pass PGID and PUID environment variables while running git-sync. This will help in ensuring there are no file/folder permission issues for the backups that are created. You can control which user will own your backup files on the host OS.

It is advised to pass these variables, you can read more about this in the docker installation guide

Changelog

  • 5d05110 build(deps): ⬆️ go-github upgraded to v64
  • 0009685 build: 🐳 additional labels added to docker container
  • 41fdc77 build: 🔧 add short commit to snapshot version template
  • 08836ea build: 🔧 go version updated to 1.23.0
  • e9d767f chore(deps): update golang docker tag to v1.23.0
  • 5bfbed0 chore(deps): update module github.com/google/go-github/v63 to v64
  • 493c4f4 chore(deps): update module github.com/robfig/cron/v3 to v3.0.1
  • df2d2e5 chore: 🔧 update Dockerfile to set permissions for the working directory and switch to a new user
  • 2bff36c chore: 🔧 update goreleaser config to use project name in checksum and version templates
  • 554e513 feat: ✨ allow user to pass PGID and PUID for docker to create the directories as per the specified user and group

v0.8.2

22 Aug 09:17
5a8dcbb
Compare
Choose a tag to compare

Changelog

  • 5a8dcbb chore: 🔧 add debug logs while cloning repo and wikis

v0.8.1

15 Aug 07:38
6a7bc77
Compare
Choose a tag to compare

Changelog

  • 6a7bc77 feat: 🔧 better way to catch wiki not found error and set warning only for that case.
  • a095e7d feat: 🔧 warning log when cloning wiki fails

v0.8.0

14 Aug 15:45
b8c9d17
Compare
Choose a tag to compare

What's New

With this release, now git-sync allows users to be able to synchronize not just code repositories but also Wiki's! 🎉
To include wiki's in your backup process, add the include_wiki to true in your config file.

⚠️ Breaking Change

While the addition of new config key include_wiki is optional, the breaking change is about the folder structure on your local system where the backups are created. The new structure will be like this:

  • Repo: backup_dir -> RepoOwner -> RepoName -> RepoName.git
  • Wiki: backup_dir -> RepoOwner -> RepoName -> RepoName.wiki.git

To ensure you have a smooth transition, it is advised that you can just choose a different backup_dir and start fresh or if you already have access to your backed up codebases then feel free to delete those and start fresh. In the first run, git-sync will start with cloning process as per the new directory structure.

Changelog

  • 159a628 feat: ✨ sync repo wiki as well
  • b8c9d17 feat: 🔧 control including wiki for backups via option in config file

v0.7.0

12 Aug 09:10
cae4fe5
Compare
Choose a tag to compare

What's New!

With this release, now we have a new CLI flag called cron. With this now you don't need to set up cronjob directly on your system (you still can, no one is stopping you) but with the new flag you can set up cronjobs more seamlessly. More details about this is added on the Wiki Page

Changelog

  • 913b64b chore: 🔧 remove append mode from goreleaser config
  • 7299582 feat: ✨ add support for setting up cron job via new arg "cron"
  • cae4fe5 feat: ✨ allow setting up cron expression from config file as well

v0.6.3

12 Aug 08:28
9c00002
Compare
Choose a tag to compare

Changelog

  • 05cad4c build: ⬆️ upgrade go to 1.22.6
  • dbf3ebc chore(deps): update golang docker tag to v1.22.6
  • 23c49a9 chore(deps): update module golang.org/x/oauth2 to v0.22.0
  • f41a6f3 chore: 📝 remove header from release
  • 9c00002 ci: 🔧 add discussion write permission to the ci job