Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7640

Bug#801666: git-dpm: Need a way to set the upstream branch names from within the repository

Path csiph.com!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod
From Raphaël Hertzog <hertzog@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#801666: git-dpm: Need a way to set the upstream branch names from within the repository
Date Tue, 13 Oct 2015 11:00:02 +0200
Message-ID <qj3B8-1vR-23@gated-at.bofh.it> (permalink)
X-Original-To Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Oct 13 08:51:17 2015
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.199
Reply-To Raphaël Hertzog <hertzog@debian.org>, 801666@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc hertzog@debian.org, debian-python@lists.debian.org, Bernhard R. Link <brlink@debian.org>
X-Debian-Pr-Message report 801666
X-Debian-Pr-Package git-dpm
X-Debian-Pr-Source git-dpm
X-Spam-Bayes score:0.0000 Tokens: new, 8; hammy, 150; neutral, 144; spammy, 0. spammytokens: hammytokens:0.000-+--systemd, 0.000-+--HX-Debbugs-Cc:sk:debian-, 0.000-+--H*r:e35, 0.000-+--H*RU:e35, 0.000-+--H*M:reportbug
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 6.6.5
X-Virus-Status Clean
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1216196
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 52
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 13 Oct 2015 10:48:00 +0200
X-Original-Message-ID <144472608025.25161.2739580302322328264.reportbug@x230-buxy.home.ouaza.com>
Xref csiph.com linux.debian.bugs.dist:686588 linux.debian.maint.python:7640

Cross-posted to 2 groups.

Show key headers only | View raw


Package: git-dpm
Version: 0.9.1-1
Severity: important

Hello,

Since the Python team now mandates git-dpm usage, I have to look into how
to use it for my own packages and I immediately came across this
limitation. The only way to configure the name of the various branches is
through "git config". However git configuration cannot be shared via the
repository and this means that a user with a fresh clone will not have the
required configuration...

In my case, I maintain python-django which uses a DEP-14 compliant
branch layout (http://dep.debian.net/deps/dep14/) and each packaging
branch (debian/<codename>) is associated the corresponding upstream branch
(upstream/1.7.x, upstream/1.8.x, etc.).

I want to be able to set the upstream branch from a config file in debian/
much like git-buildpackage offers:
$ cat debian/gbp.conf 
[DEFAULT]
upstream-branch=upstream/1.7.x
debian-branch=debian/sid

-- System Information:
Debian Release: stretch/sid
  APT prefers squeeze-lts
  APT policy: (500, 'squeeze-lts'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git-dpm depends on:
ii  dpkg-dev  1.18.3
ii  git       1:2.6.1-1

Versions of packages git-dpm recommends:
ii  bzip2           1.0.6-8
ii  devscripts      2.15.9
ii  sensible-utils  0.0.9
ii  xz-utils        5.1.1alpha+20120614-2.1

Versions of packages git-dpm suggests:
ii  pristine-tar  1.33
ii  sharutils     1:4.15.2-1

-- no debconf information

Back to linux.debian.maint.python | Previous | Next | Find similar


Thread

Bug#801666: git-dpm: Need a way to set the upstream branch names from within the repository Raphaël Hertzog <hertzog@debian.org> - 2015-10-13 11:00 +0200

csiph-web