Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@eikoshelev eikoshelev released this 19 Apr 06:41

Warning
The use of flags is deprecated! All configuration using environment variables only!

New: local repository status — when starting git-sync, check the repository status and set settings to warn about possible problems in operation if necessary, for example, if there are uncommitted changes in the local repository and the GSYNC_FORCE_PULL option is set to false. In the logs it will look like this:

{"level":"warn","ts":"2023-04-19T10:29:09+03:00","msg":"one or more files have modified status in /your/local/repo, GSYNC_FORCE_PULL option is 'false', remote repository updates will not be pulled"}

Changes:

  1. Deprecation of flags and complete transition to configuration using environment variables
  2. Update to Go 1.19
  3. Update go-git to 5.6.1
  4. Switch to zap logger
  5. Code and project structure refactoring