Package: devscripts
Version: 2.10.67
Severity: wishlist
File: /usr/bin/debcheckout
For quite a few packages of mine I use non-default branch to contain debian
packaging on top of the upstream sources. Such happens due to various reasons
(e.g. I am also involved in upstream development and master branch in GIT
tracks actual upstream development).
A simple solution for the case of git is due to wider adoption of
git-buildpackage, which advises the use of debian/gbp.conf which defines the
branch from which Debian packages should be generated. So, if debcheckout
could checkout a corresponding branch if gbp.conf available, would be great!
since default branch does not contain it though it would require traversal of
all available branches and selecting the 'latest' one if multiple choices
available: in shell (sorry, I do not know perl):
git for-each-ref --format="%(refname)" --sort="committerdate" refs/remotes | \
while read ref; do
b=${ref#refs/remotes/};
git ls-files --with-tree=$b | { grep -q debian/gbp.conf && echo $b; };
done | tail -1
so that branch could be checkedout with tracking...
actually, why debian/gbp.conf, and not debian/changelog ? ;)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (901, 'unstable'), (900, 'testing'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii dpkg-dev 1.15.8.5 Debian package development tools
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii perl 5.10.1-14 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.12-1 Delayed job execution and batch pr
ii bsd-mailx [mailx] 8.1.2-0.20100314cvs-1 simple mail user agent
ii bzr 2.2.0-1 easy to use distributed version co
ii chromium-browser 6.0.472.62~r59676-1 Chromium browser
ii curl 7.21.1-1 Get a file from an HTTP, HTTPS or
ii cvs 1:1.12.13-12 Concurrent Versions System
ii darcs 2.4.4-2 a distributed, interactive, smart
ii dctrl-tools 2.14 Command-line tools to process Debi
ii debian-keyring [d 2010.08.01 GnuPG (and obsolete PGP) keys of D
ii dput 0.9.6.1 Debian package upload tool
ii dupload 2.6.6 utility to upload Debian packages
ii equivs 2.0.8 Circumvent Debian package dependen
ii fakeroot 1.14.4-1 Gives a fake root environment
ii git [git-core] 1:1.7.1-1.1 fast, scalable, distributed revisi
ii git-core 1:1.7.1-1.1 fast, scalable, distributed revisi
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii iceweasel [www-br 3.5.13-1 Web browser based on Firefox
ii konqueror [www-br 4:4.4.5-1 advanced file manager, web browser
ii libauthen-sasl-pe 2.1500-1 Authen::SASL - SASL Authentication
ii libcrypt-ssleay-p 0.57-2 Support for https protocol in LWP
ii libjson-perl 2.21-1 Perl module to parse and convert t
ii libparse-debcontr 2.005-2 Easy OO parsing of Debian control-
ii libsoap-lite-perl 0.712-1 Perl implementation of a SOAP clie
ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.54-1 module to manipulate and access UR
ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar
ii libyaml-syck-perl 1.12-1 Perl module providing a fast, ligh
ii links [www-browse 2.3~pre1-1 Web browser running in text mode
ii lintian 2.4.3 Debian package checker
ii lsb-release 3.2-23.1 Linux Standard Base version report
ii lynx-cur [www-bro 2.8.8dev.4-3 Text-mode WWW Browser with NLS sup
ii lzma 4.43-14 Compression method of 7z format in
ii man-db 2.5.7-3 on-line manual pager
ii mercurial 1.6.2-1 scalable distributed version contr
ii openssh-client [s 1:5.5p1-4 secure shell (SSH) client, for sec
ii opera [www-browse 9.64.2480.gcc4.qt3 The Opera Web Browser
ii patch 2.6-2 Apply a diff file to an original
ii patchutils 0.3.1-2 Utilities to work with patches
ii sensible-utils 0.0.4 Utilities for sensible alternative
ii strace 4.5.20-2 A system call tracer
ii subversion 1.6.12dfsg-1 Advanced version control system
ii unzip 6.0-4 De-archiver for .zip files
ii w3m [www-browser] 0.5.2-9 WWW browsable pager with excellent
ii wdiff 0.6.3-1 Compares two files word by word
ii wget 1.12-2 retrieves files from the web
ii xz-utils 4.999.9beta+20100713-1 XZ-format compression utilities
Versions of packages devscripts suggests:
ii build-essential 11.5 Informational list of build-essent
pn cvs-buildpackage <none> (no description available)
pn devscripts-el <none> (no description available)
ii gnuplot 4.4.0-1 A command-line driven interactive
pn libfile-desktopentry-perl <none> (no description available)
pn libnet-smtp-ssl-perl <none> (no description available)
ii mutt 1.5.20-9 text-based mailreader supporting M
ii svn-buildpackage 0.8.1 helper programs to maintain Debian
ii w3m 0.5.2-9 WWW browsable pager with excellent
-- debconf-show failed
--
To unsubscribe, send mail to [email protected].