Package: dgit
Severity: wishlist

As usual, I am not sure I understand dgit right, but it seems to me
that dgit should add the existing git remote for a package if it
already exists, and use that to start working on the said package.

In my case, I was considering doing an NMU for pavucontrol, so I did:

$ dgit clone pavucontrol
Warning: Permanently added the RSA host key for IP address 
'2001:41c8:1000:21::21:11' to the list of known hosts.
canonical suite name for unstable is sid
starting new git history
downloading 
http://ftp.debian.org/debian//pool/main/p/pavucontrol/pavucontrol_1.0-1.dsc...
last upload to archive has NO git hash
dget: retrieving 
http://ftp.debian.org/debian//pool/main/p/pavucontrol/pavucontrol_1.0-1.dsc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1443  100  1443    0     0    783      0  0:00:01  0:00:01 --:--:--   784
dget: retrieving 
http://ftp.debian.org/debian//pool/main/p/pavucontrol/pavucontrol_1.0.orig.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  232k  100  232k    0     0   259k      0 --:--:-- --:--:-- --:--:--  259k
dget: retrieving 
http://ftp.debian.org/debian//pool/main/p/pavucontrol/pavucontrol_1.0-1.diff.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3808  100  3808    0     0  16078      0 --:--:-- --:--:-- --:--:-- 16067
pavucontrol_1.0-1.dsc:
      Good signature found
   validating pavucontrol_1.0.orig.tar.gz
   validating pavucontrol_1.0-1.diff.gz
All files validated successfully.
dpkg-source: info: extraction de pavucontrol dans pavucontrol-1.0
dpkg-source: info: extraction de pavucontrol_1.0.orig.tar.gz
dpkg-source: info: mise en place de pavucontrol_1.0-1.diff.gz
synthesised git commit from .dsc 1.0-1
HEAD est maintenant à 9d76bdf
dgit ok: ready for work in pavucontrol
$ cd pavucontrol/
$ git remote -v
dgit
origin  git+ssh://git.debian.org/git/dgit-repos/repos/pavucontrol.git (fetch)
origin  git+ssh://git.debian.org/git/dgit-repos/repos/pavucontrol.git (push)

And I stopped there. I was expecting origin to be the existing repo:

$ grep Vcs debian/control
Vcs-Git: git://git.debian.org/git/pkg-pulseaudio/pavucontrol.git
Vcs-Browser: http://git.debian.org/?p=pkg-pulseaudio/pavucontrol.git

Is it me that's confused?

It seems to me that pushing to that dgit repo would create a dupe, and
worse, ignore the existing package's history...

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to