export pipeline as a series of patches

Bug #429301 reported by Felix Möller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-pipeline
Fix Released
Medium
Unassigned

Bug Description

I have been using bzr-pipeline and it is a really great tool.

My usecase is that i want to create a patch series, which will be discussed on a mailinglist and then applied to a Subversion repository.

I have the following pipeline:
[fm@macbook ~]$ bzr show-pipeline
   upstream
   simple-fixes
* typos
   uebersetzung
   email
   bedarf
   Rechnungsstandort
   zeile

I am now looking for a command like bzr export-pipeline. Which creates several files:
1-simple-fixes.patch
2-typos.patch
3-uebersetzung.patch
4-email.patch
...

Which can then be send to the mailinglist and reviewed independently.

Sorry for filing this as a bug, I do not yet know how to set the type to enhancement in launchpad. I am used to bugzillas...

Revision history for this message
Aaron Bentley (abentley) wrote :

Sounds like a useful improvement. The way Launchpad is normally used doesn't distinguish between bugs and enhancements.

Changed in bzr-pipeline:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Felix Möller (felix-derklecks) wrote :

As I needed the feature I quickly hacked up something, that might be usefull for others:

#!/bin/bash
count=0;
bzr show-pipeline | while read pipe; do
  count=$(( count +1 ))
  pipe=${pipe#\* }
  bzr switch-pipe $pipe
  bzr diff -r ancestor::prev > $count-$pipe.patch
done

Revision history for this message
Aaron Bentley (abentley) wrote :

Fixed in revno 123, as "pipe-patches" command

Changed in bzr-pipeline:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.