[pacman-dev] [PATCH] Remove DBEXT usage

Dan McGee dpmcgee at gmail.com
Thu Jun 3 11:02:53 EDT 2010


On Thu, Jun 3, 2010 at 10:00 AM, Loui Chang <louipc.ist at gmail.com> wrote:
> On Fri 04 Jun 2010 00:24 +1000, Allan McRae wrote:
>> With commit 5dffef78, the repo database always has a symlink
>> of the form reponame.db.  Use that filename and let libarchive
>> determine the compression type.
>
> Hmm. I was wondering why couldn't pacman be programmed to understand a compressed repo db with the file extension. If pacman can do it with packages, then it shouldn't be too hard, should it? I think I'd prefer keeping the extensions.

I'm not sure what you are trying to say here.

This addresses the problem of transforming

[myrepo]
Server = http://example.com/foo/bar/baz

into

"I need to fetch http://example.com/foo/bar/baz/myrepo.db"

-Dan


More information about the pacman-dev mailing list