Hi,
Am Dienstag, den 08.04.2014, 10:26 -0300 schrieb Raúl Benencia:
> Hello,
>
> On Sun, Apr 06, 2014 at 11:32:31AM +0200, Joachim Breitner wrote:
> > Took me longer than anticipated, but packaging a new package is a bit
> > more work, and I had to do a few round trips to get the
> > gtk2hs-buildtools story right.
>
> Thanks for such a detailed workflow!
I forgot a great part of the toolset: mass-change.sh
This takes a changelog and a command to execute (typical a sed or perl
command) and executes it in the given package directories; dch’ing and
commiting if and only if something changes. For example the change of
the watch files was simply
$ mass-change.sh 'Adjust watch file to new hackage layout' 'perl -i -p -e '\''BEGIN {undef $/}; s!^(?:# See.*)version=3.*/archive/(.*?) .*$!version=3\nhttp://hackage.haskell.org/package/$1/distro-monitor .*-([0-9\\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\\.(?:gz|bz2|xz)))\n!sg'\'' watch' *
and https://lists.debian.org/debian-haskell/2013/05/msg00025.html
has more examples.
Greetings,
Joachim
--
Joachim "nomeata" Breitner
Debian Developer
nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
Attachment:
signature.asc
Description: This is a digitally signed message part