Bug#862429: dgit: Doesn't work on Ubuntu

2017-05-12 Thread Ian Jackson
Jeremy Bicha writes ("Bug#862429: dgit: Doesn't work on Ubuntu"):
> Package: dgit
> Version: 3.10
> 
> It doesn't look like dgit really works on Ubuntu. This seems a major
> weakness if Ubuntu users are unable to easily work with packages
> maintained with dgit.
> 
> $ sudo apt install dgit
> $ dgit clone pcre
> canonical suite name for unstable is sid
> starting new git history
> no version available from the archive
> dgit: package pcre does not exist in suite unstable

This seems accurate.  I guess that's not your complaint ?
If that is your complaint then what makes you think there is a source
package called `pcre' ?  Alternatively, try
  dgit clone dpkg

> $ dgit clone pcre artful
> dgit: unknown suite artful
> $ dgit clone pcre zesty
> dgit: unknown suite zesty

Try
  dgit -d ubuntu clone dpkg artful

There's a table of suites in dgit and really dgit should be updated to
have the latest ubuntu suites.

> I've never used dgit before so I don't really understand what's going
> wrong here. Do you have to be actually using Debian unstable (and not
> testing) to use dgit to work with an unstable package?

No.

> Could it just use snapshot.debian.org? or fetch what it needs from the
> Debian package archives itself?

It is supposed to fetch what it needs from the relevant archive, which
means the Debian servers for Debian and the Ubuntu servers for Ubuntu.

dgit push to Ubuntu is not supported; that needs server-side support.

Ian.

-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



Bug#862429: dgit: Doesn't work on Ubuntu

2017-05-12 Thread Jeremy Bicha
Package: dgit
Version: 3.10

It doesn't look like dgit really works on Ubuntu. This seems a major
weakness if Ubuntu users are unable to easily work with packages
maintained with dgit.

$ sudo apt install dgit
$ dgit clone pcre
canonical suite name for unstable is sid
starting new git history
no version available from the archive
dgit: package pcre does not exist in suite unstable
$ dgit clone pcre artful
dgit: unknown suite artful
$ dgit clone pcre zesty
dgit: unknown suite zesty

I've never used dgit before so I don't really understand what's going
wrong here. Do you have to be actually using Debian unstable (and not
testing) to use dgit to work with an unstable package?

Could it just use snapshot.debian.org? or fetch what it needs from the
Debian package archives itself?

Thank you,
Jeremy Bicha