Package: topgit
Version: 0.3-1
Severity: wishlist

I've started using topgit and I think it's a great tool that should
enter the Debian packaging workflow, for maintainers which are using git
as their VCS.

Currently, the most annoying steps seems to be those needed to build the
package. They are, e.g., thoroughly described in the README.source of
topgit, and embedded as a target in the debian/rules of nurpawiki. I
think the target approach is a good one, but I want to avoid the
proliferation of tons of slightly different version of that steps.

Hence my proposal: can we please ship the following lines together with
the topgit package as a Makefile snippet on which maintainers can rely
upon. Ideally, I would like it my debian/rules to be able to contain
just:

  TG_BRANCHES = foo bar baz
  include /usr/share/topgit/topgit.mk

The actual steps AFAIK are:

  tg-export:
          tg create stage-debian $(TG_BRANCHES)
          git commit -m "staging"
          rm -Rf debian/patches.new
          tg export --quilt debian/patches.new
          git rm -f .top*
          git checkout master
          tg delete stage-debian
          rm debian/patches.new/stage-*
          sed -i '/^stage-/d' debian/patches.new/series
          rm -Rf debian/patches
          mv debian/patches.new debian/patches

I don't care if they need to be fixed. That, in fact is yet another good
reason to have them factorized somewhere.

Ideally they should also be a CDBS rules file, but they are so
independent by anything else that they can be kept independent. If
needed, we can add a CDBS-specific file as a thin layer on top of the
snippet above.

Cheers.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages topgit depends on:
ii  git-core                     1:1.5.6.5-1 fast, scalable, distributed revisi

topgit recommends no packages.

topgit suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to