Skip to content

1.7.4

Choose a tag to compare

@BHFock BHFock released this 27 Nov 22:25
· 81 commits to main since this release
3f83248

This release makes installation easier on current Linux and macOS systems and fixes git cl commit for changelists without changes. It is also the first release published to PyPI by a GitHub workflow.

Fixed

  • git cl commit of a changelist whose tracked files have no changes (for example files added before editing them) stopped with Git's "nothing added to commit" and a Python exception text. Unchanged files are now left out. If no file has changes, git-cl says so and keeps the changelist. In a changelist with other changes, unchanged files are no longer listed as committed.
  • In the case above, git cl commit now exits with 0 instead of 1, as it already did for changelists with only untracked files.

Other changes

  • Installation: the README and tutorial now recommend pipx install git-changelists. On many Linux distributions and with Homebrew, pip install stops with externally-managed-environment; the tutorial explains this and also covers upgrading and uninstalling with pipx, and colour via pipx inject git-changelists colorama.
  • The download instructions use curl, which a fresh macOS has, with wget as an alternative in the tutorial.
  • git cl help no longer shows the raw list {add,a,remove,…} above the command table; the error for an unknown command now reads argument <command>: invalid choice.
  • Reworded the message shown when git cl stash refuses files that cannot be stashed.
  • Releases are now built and uploaded to PyPI by a GitHub workflow with Trusted Publishing, after a check that the tag matches the version; RELEASING.md describes the steps.
  • PyPI classifier Operating System :: OS Independent, as CI tests Linux and Windows.

Pull requests

  • Add release workflow by @BHFock in #93
  • Document the release workflow and update its artifact actions by @BHFock in #94
  • Installation instructions, git cl commit with unchanged files, help tidy-up by @BHFock in #95

Full Changelog: 1.7.3...1.7.4