github MichaelMure/git-bug 0.4.0

latest releases: v0.8.0, v0.7.2, 0.7.1...
5 years ago

This release mainly feature the Github importer, support for comment edition and an extensive UX rework for the CLI commands.

image

A new import/export framework has been added with its first offspring, the Github importer. This incremental importer will replicate into git-bug the Github issues, including the comment edition. Its complement, the exporter, is not that far away and will allow to use git-bug as an offline remote for Github.

This work on the importer really was a stress test on the data model and the code architecture. Part of that effort was to add support for comment edition. A new EditCommentOperation now allow to edit a previous comment while still keeping the data model immutable and conflict free. Due to its retroactive effect,the raw stream of operations does not anymore match what an UI should display. To remedy to that problem, the Snapshot, compiled from the stream of operations, now feature an properly processed Timeline.

Another important work, the CLI commands received a good UX cleanup to be generally more discoverable and better match the git experience. Annoyed to have to type a bug id or prefix for each command ? You can now use git bug select to have it selected implicitly for your next commands.

So, is it ready for prime time ? Not yet I'm afraid. A last needed important change to the data model is the rework of the identity management. This will likely be part of the next version, along with the Github exporter. Any help with that or any part of git-bug will be greatly appreciated. This is your time to make git-bug your tool.

Core

  • operations are now validated before being applied
  • operations can now be tagged with arbitrary key/value metadata.
  • core now support comment edition with a new EditCommentOperation

CLI

  • rename git bug new to git bug add
  • new command git bug select to select a bug for implicit use later
  • new command git bug deselect to clear the selected bug
  • git bug comment now display the comments of a bug instead of adding a new comment
  • new command git bug comment add to add a new comment
  • new command git bug title to display the title of a bug
  • new command git bug title edit to change the title of a bug
  • new command git bug status to display the status of a bug
  • open and close are now sub-commands of git bug status
  • new command git bug label to display the labels of a bug
  • new command git bug label add to add a new label to a bug
  • new command git bug label rm to remove a label from a bug
  • new command git bug ls-labels to list labels already used in the repository
  • new command git bug bridge to list configured bridge
  • new command git bug bridge configure to configure a new bridge
  • new command git bug bridge pull to

TermUI:

  • better responsible view for the bug table
  • support for opening/closing a bug, thanks to @adamslc
  • support for comment edition, thanks to @adamslc
  • better label edition, thanks to @adamslc

GraphQL:

  • the API is now auto-documented
  • the new Timeline is now exposed

And of course, the usual bug fixes and minor improvements.

🚀 ☀️

Don't miss a new git-bug release

NewReleases is sending notifications on new releases.