Re: How to retrieve package source from arbitrary repository

2012-04-17 Thread Malte Forkel
Am 12.04.2012 19:00, schrieb Bob Proulx: Malte Forkel wrote: Dir::Etc::SourceList $cnf_dir/sources.list; Dir::State::Lists $cache_dir/lists; Dir::Cache $cache_dir/cache; In lieu of a specialized tool, that's a very clever idea. I just wonder: How can I make sure nothing strange

Re: How to retrieve package source from arbitrary repository

2012-04-12 Thread Malte Forkel
Am 11.04.2012 15:59, schrieb Camaleón: If the repository does not follow Debian mirror rules nor package naming, it's almost impossible to decipher the URI from a given .dsc file, it can be hosted anywhere in the server. Otherwise, if it uses conventional Debian packaging rules, you can

Re: How to retrieve package source from arbitrary repository

2012-04-12 Thread Malte Forkel
Am 11.04.2012 22:31, schrieb Bob Proulx: You could create a second sources.list with the repository listed in it. Then point to that configuration file on the command line. You could use this secondary configuration for downloading the file. See the 'apt-get --config-file' option. It

Re: How to retrieve package source from arbitrary repository

2012-04-12 Thread Bob Proulx
Malte Forkel wrote: Dir::Etc::SourceList $cnf_dir/sources.list; Dir::State::Lists $cache_dir/lists; Dir::Cache $cache_dir/cache; In lieu of a specialized tool, that's a very clever idea. I just wonder: How can I make sure nothing strange happens because another process uses

Re: How to retrieve package source from arbitrary repository

2012-04-11 Thread Malte Forkel
Am 06.04.2012 19:03, schrieb Andrei POPESCU: Not what you're asking for, but debcheckout (in package devscripts) may be useful for you. Thanks, Andrei. Not quite what I need, unfortenately. I'm still looking for a tool that will determine the URI of the source package's .dsc file, given a

Re: How to retrieve package source from arbitrary repository

2012-04-11 Thread Camaleón
On Wed, 11 Apr 2012 09:23:26 +0200, Malte Forkel wrote: Am 06.04.2012 19:03, schrieb Andrei POPESCU: Not what you're asking for, but debcheckout (in package devscripts) may be useful for you. Thanks, Andrei. Not quite what I need, unfortenately. I'm still looking for a tool that will

Re: How to retrieve package source from arbitrary repository

2012-04-11 Thread Bob Proulx
Malte Forkel wrote: I'm still looking for a tool that will determine the URI of the source package's .dsc file, given a repository base URI and a package name. You could create a second sources.list with the repository listed in it. Then point to that configuration file on the command line.

How to retrieve package source from arbitrary repository

2012-04-06 Thread Malte Forkel
Hi, In order to rebuild or patch a package, I sometimes have to download its source from a repository which is not on my APT sources list. I'm looking for a tool to make retrieving the source as easy as possible. Until now, I have been using dget (from the devscripts package). With the URI of a

Re: How to retrieve package source from arbitrary repository

2012-04-06 Thread Andrei POPESCU
On Vi, 06 apr 12, 12:08:31, Malte Forkel wrote: Is there a tool that will determine the .dsc file's URI given the repository's base URI, the distribution name, and the package name? I guess it would have to download and parse the Source control files, ideally caching them for later use. Not