Re: Playing with git-dpm

2014-08-21 Thread Barry Warsaw
On Aug 20, 2014, at 03:28 PM, Barry Warsaw wrote: >One last thing: I'm not sure I recommend going with the package name as the >branch name. I'm tired of typing `upstream-lazr.smtptest`. The default >git-dpm branch names are starting to make more sense. :) I just renamed the branches both local

Re: Playing with git-dpm

2014-08-20 Thread Raphael Hertzog
On Wed, 20 Aug 2014, Barry Warsaw wrote: > So, because of the way I've named the branches, the full invocation is: > > $ git-buildpackage -S --git-export-dir=../build-area/ > --git-debian-branch=lazr.smtptest --git-upstream-tree=upstream-lazr.smtptest So --git-export-dir is usally best set in ~/

Re: Playing with git-dpm

2014-08-20 Thread Barry Warsaw
Oh, and I'm assuming that whatever we decide for DPMT would also apply to PAPT, but that may not be a correct assumption? In any case, once we decide, I volunteer to update the wiki documentation (and policy as appropriate) with best practices. Cheers, -Barry signature.asc Description: PGP sign

Re: Playing with git-dpm

2014-08-20 Thread Barry Warsaw
Hi Raphael, On Aug 20, 2014, at 09:21 PM, Raphael Hertzog wrote: >Or you can build the package in another directory, like svn-buildpackage >does. I'm not sure if git-dpm has something for this but you can >probably use "git-buildpackage --git-export-dir=../build-area/" in >combination with git-dp

Re: Playing with git-dpm

2014-08-20 Thread Barry Warsaw
On Aug 19, 2014, at 09:44 PM, Barry Warsaw wrote: >Anyway, I think that's it for now. Feel free to muck about in this package, >but please do let me know if you want to push any permanent changes. Tomorrow >I'll probably try to do a new upstream release to fix the typo in the setup.py >so I'll d

Re: Playing with git-dpm

2014-08-20 Thread Raphael Hertzog
Hi Barry, On Tue, 19 Aug 2014, Barry Warsaw wrote: > * The egg-info directory is a PITA. > > The upstream tarball has a lazr.smtptest.egg-info directory. debuild -S blows > this away, and then git thinks I want to delete it. It doesn't get staged, so > it's easy to `git checkout -- lazr.smtptes

Re: Playing with git-dpm

2014-08-20 Thread Barry Warsaw
On Aug 20, 2014, at 08:26 AM, Vincent Bernat wrote: >This makes auto revert automatic but don't lose the previous content >by keeping the undo history. It also keeps your current position in the >file. Thanks! I'll have to think about whether I want to enable this globally, but it does seem like

Re: Playing with git-dpm

2014-08-20 Thread Vincent Bernat
❦ 19 août 2014 21:44 -0400, Barry Warsaw  : > * Switching branches makes my editor unhappy. > > Why is this a PITA? Because Emacs will notice that a file you're visiting in > a buffer is changed and will prompt you reload it. I guess because > checkout-patched deletes the debian directory and u

Playing with git-dpm

2014-08-19 Thread Barry Warsaw
lazr.smtptest wasn't packaged in Debian yet, so I thought it would be a good candidate for experimenting with one of the git-based workflows, from scratch. The ITP is bug #758670. I decided to use git-dpm; here are my impressions so far. For reference I started with https://wiki.debian.org/Packag