Bug#761160: git-buildpackage: gbp pq: multiple user interface issues

2014-09-11 Thread Raphaël Hertzog
Package: git-buildpackage
Version: 0.6.19
Severity: wishlist

I would like to see the following changes in the behaviour of gbp pq:

1/ gbp pq export should automatically drop the temporary patch-queue branch
   Rationale: if other people do changes do the quilt series, my patch
   queue branch will be stale and this will force me to drop it manually
   and re-import it. Worst case: I don't notice it and I drop the work of
   others.

2/ gbp pq switch should automatically call gbp pq import if there is
   a pre-existing debian/patches/series. If I want to start a new empty
   patch queue branch, it should be a dedicated command (and it could be
   used here for the case where debian/patches/series doesn't exist).

Thank you for considering!

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts2.14.6
ii  git   1:2.1.0-1
ii  man-db2.6.7.1-1
ii  python2.7.8-1
ii  python-dateutil   1.5+dfsg-1
ii  python-pkg-resources  5.5.1-1

Versions of packages git-buildpackage recommends:
ii  cowbuilder0.73
ii  pristine-tar  1.32

Versions of packages git-buildpackage suggests:
ii  python-notify  0.1.1-3
ii  unzip  6.0-12

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#761160: git-buildpackage: gbp pq: multiple user interface issues

2014-09-11 Thread Guido Günther
clone 761160 -1
retitle 761160 pq: make export drop the patch queue branch
retitle -1 pq: make switch import the patch queue branch
thanks

On Thu, Sep 11, 2014 at 10:55:03AM +0200, Raphaël Hertzog wrote:
 Package: git-buildpackage
 Version: 0.6.19
 Severity: wishlist
 
 I would like to see the following changes in the behaviour of gbp pq:
 
 1/ gbp pq export should automatically drop the temporary patch-queue branch
Rationale: if other people do changes do the quilt series, my patch
queue branch will be stale and this will force me to drop it manually
and re-import it. Worst case: I don't notice it and I drop the work of
others.

If at all this should become an options since e.g. I prefer to keep
the branch around. Patch would be welcome.

 2/ gbp pq switch should automatically call gbp pq import if there is
a pre-existing debian/patches/series. If I want to start a new empty
patch queue branch, it should be a dedicated command (and it could be
used here for the case where debian/patches/series doesn't
exist).

I mostly agree here but the case were the series doesn't import needs
some consideration. (e.g. if it's better to create branch by going
back in history like --time-machine does or fail upfront) and we need
to decide whether to rebase the pq branch automatically on switch too.

Cheers,
 -- Guido


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org