Skip to content

v3.0.0

Compare
Choose a tag to compare
@dmerejkowsky dmerejkowsky released this 26 Dec 14:43
· 34 commits to main since this release

Breaking: correct branch on sync

If any of the repositories is not on the configured branch, but it is
clean then the branch is changed to the configured one and then the
repository is updated. Otherwise that repository will not be not updated.

Previously, tsrc sync would print an error and not checkout the branch.

To have tsrc sync behave like this, use the new --no-correct-branch flag.

Breaking: add --singular-remote argument to tsrc sync too

In tsrc 2.7 you could use -r in tsrc init to only use one
remote. But you had no way to pass the same option to tsrc sync.

In this version, you can use -r or --singular-remote for both
tsrc init and tsrc sync

Unfortunately , this means you must now use -i, --include <regex>
instead of of -r <regex> when selecting repositories based on a regex.

Implemented by:

  • Albert De La Fuente Vigliotti
  • Greg Dubicki
  • Dimitri Merejkowsky

Original issue reportedy by Maxime Réty

Other changes

  • When running git commands, don't capture standard error along side standard out - fixes
    #381, reported by Patrick Decat.
  • Bump minimum supported version to Python 3.8.
  • Add support for Python 3.12.
  • Bump ruamel.yaml, dparse.
  • Don't hide cloning errors when running in parallel.
  • Doc improvements (patches by Henry Chang).