Bazaar

Bazaar

 




Wiki Tools

  • Find Page
  • Recent Changes
  • Page History
  • Attachments

Differences between revisions 3 and 4
Revision 3 as of 2006-11-12 17:17:37
Size: 1985
Comment: Add use case
Revision 4 as of 2009-05-14 18:26:58
Size: 1985
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
 * '''Created''': [[Date(2006-11-10T09:30:17Z)]] by SzilveszterFarkas  * '''Created''': <<Date(2006-11-10T09:30:17Z)>> by SzilveszterFarkas

Summary

We need to extend bzr-gtk's and Olive's capabilities to support bundles. This specification should cover both applying and creating a bundle.

Rationale

Bundles are now the preferred format to provide patches for reviewing purposes (see PQM and Bundle-Buggy for more details on this). bzr-gtk/Olive doesn't have support for bundles as of now.

Use Cases

  • Thomas finds a bug in Olive while he is using it. He has the time to correct that issue, and wants to send his modifications back to the maintainers, but currently there is no such feature in Olive, so he has to do it in a Terminal.
  • Carol receives a bundle via email. She clicks on the attachment in evolution and selects the branch to apply it to.

Implementation

UI Changes

We need at least two new dialogs. One for creating and one for applying a bundle.

Dialog: Create bundle

This window would present the user the bundle itself (output of 'bzr bundle') in a textview. It should have two buttons: "Save to File" and "Copy to Clipboard". We could also add an option to generate a bundle for any chosen revisions.

Dialog: Apply bundle

This dialog would have the same textview, but blank as default. The two buttons here: "Open File" and "Paste from Clipoard".

Code Changes

This feature would not affect the current codebase except from connecting the appropriate signals and inserting the various menu entries into the glade file.

Discussion

Unresolved Issues

Questions and Answers

CategorySpecification