[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Could you sponsor upload the test-framework packages?


Am Mittwoch, den 19.10.2011, 10:50 +0900 schrieb Kiwamu Okabe:
> On Wed, Oct 19, 2011 at 2:51 AM, Joachim Breitner <nomeata@debian.org> wrote:
> > I’m a bit busy right now, so I don’t know if I find the time to look at
> > the package before the weekend, but at least let me answer your mails.
> > Maybe someone else can do the sponsoring.
> Thank's a lot.
> I am waiting for the sponsor uploading haskell-ansi-terminal......

Done by clint, who also added the debian/source/format file to the
repository; you might have forgotten to add it to the Darcs repo.

> >> > As for the packaging itself:
> >> >      * Specifying version bounds on -prof packages is not required, as
> >> >        they are always tight to the -dev package. This makes
> >> >        debian/control slightly more concise.
> >>
> >> I think the test-framework* packages need -prof packages.
> >> Because Haskell program need ghc profile, on unit testing.
> >
> > Yes, you still need to depend on the -prof package, but it is enough to
> > have the version bound on the -dev package.
> I don't know "version bound". What is it?
> I have seen haskell-yesod-0.9.3/debian/control file,
> but I can't understand meaning of "version bound".

The suggested format is
Depends: libghc-foo-dev (>= 0.1)
 , libghc-foo-dev (<< 0.2)
 , libghc-foo-prof
where the -dev-depedency carries the version constraint, but the -prof

> I will talk about the pkg-haskell team process in University of Tsukuba.
>   http://www.tsukuba.ac.jp/english/
>   http://www.debian.or.jp/blog/events/tokyodebian-81_2nd.html (Japanese)
> I would like to get some people for pkg-haskell team on Tsukuba. :)
> Then, I have some question for pkg-haskell team.

Thanks a lot for the poblicity there, and sorry for answering your mail
not in time for the talk...

> [Q1] Can the person as DM (Debian Maintainer) joined pkg-haskell team
> have the below process for ITP?
> ----------------------------------------
> (step 1) maintainer: Create ThePackage with cabal-debian command.
>   Or by just copying the debian-template/ directory and modifying the
>   files. That is how I do it, so I cannot vouch for cabal-debian. But if
>   that tool works equally well, then surely that is fine (and if not, then
>   feel free to fix it :-)).
>   Make sure that debian/changelog at this point still says UNRELEASED, as
>   the package is not yet to be uploaded
>   $ vi debian/control
>   Maintainer: Debian Haskell Group
> <pkg-haskell-maintainers@lists.alioth.debian.org>
>   Uploaders: Kiwamu Okabe <kiwamu@debian.or.jp>
>   Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-ansi-terminal
>   Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-ansi-terminal
> (step 2) maintainer: darcs init and put (But DON'T tag ThePackage's repos.)
>   casper$ pwd
>   /home/kiwamu/deb/00alioth/haskell-ansi-terminal/debian
>   casper$ darcs init --darcs-2
>   casper$ darcs record -a -l -m "Initial Check-In"
>   Finished recording patch 'Initial Check-In'
>   casper$ darcs put
> kiwamu-guest@darcs.debian.org:/darcs/pkg-haskell/haskell-ansi-terminal
>   Finished applying...
>   Put successful.
> (step 3) maintainer: add-hooks.sh
>   ssh kiwamu-guest@darcs.debian.org
> /darcs/pkg-haskell/tools/add-hooks.sh haskell-ansi-terminal
> (step 4) maintainer: set "unstable" on changelog
>   change the distribution field in debian/changelog to
>   "unstable" and push that change. Then the package is marked as “ready to
>   upload” on http://pkg-haskell.alioth.debian.org/cgi-bin/pet.cgi.
> (step 4) maintainer: Ask sponsor for dput ftp.upload.debian.org.
> (step 5) sponsor: darcs get darcs.debian.org:/darcs/pkg-haskell/tools
> (step 6) sponsor: tools/pkg-haskell-checkout ThePackage
> (step 7) sponsor: cd ThePackage; debuild -i -I; debrelease
> (step 8) sponsor: debuild clean; cd ThePackage/debian; darcs tag; darcs push -a
>   -i -I should not be necessary with source/format 3.0, I use
>     $ debuild -tc
>     which includes the clean step. Also, tagging can be done with "debcommit
>   -r", so my command sequence is
>     $ debuild -tc # followed by a glance over the result, e.g. with "debc"
>     $ debcommit -r && debrelease && darcs push --repo=debian
> (step 9) maintainer: Close ITP bug.
>   Should not be necessary if the maintainer puts the correct "Closes:
>   #12345" message in the changelog.
> ----------------------------------------

That looks right.

> [Q2] Can the person as not DM (Debian Maintainer) join pkg-haskell team?
>        Or they should become DM, first?

No need to be a DM, as there are DDs around that can do the sponsoring.


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

Reply to: