[pacman-dev] Problems with frugalware splitname changes

Jason Chu jason at archlinux.org
Mon Oct 9 02:17:44 EDT 2006

On Sun, 8 Oct 2006 17:09:49 -0500
"Aaron Griffin" <aaronmgriffin at gmail.com> wrote:

> As for the actual detection at runtime... well, I didn't mean anything
> fancy.  I actually meant tokenize the filename and split off the last
> 3 chunks, checking to see which are numeric (pkgrel) or fit something
> versioncmp understands (pkgver) and setting the arch if we have an
> extra dangling token.  I know this would cause problems with packages
> named.... package-9-1.0-1, but there are no existing packages like
> this, and I have a feeling those may break the existing setup.

So pkgrels can't have letters in them?  We used to use -1t1 and -1s1.
vercmp has no problem with version/release numbers with letters in them.
While it's unlikely that we will actually run into this problem, it is
possible.  VMiklos said that some of the frugalware packages have
longer more alphanumeric pkgrels.

Also, how will pacman -Su figure out what the filename is?  My
understanding (this was from pacman 2) is that pacman takes the
$pkgname-$pkgver-$pkgrel from the gensync'd db and tries to download
the file based on that.  Will we make two requests for each file? One
for $pkgname-$pkgver-$pkgrel.pkg.tar.gz and one for
$pkgname-$pkgver-$pkgrel-arch.<whatever frugalware ends with>?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20061008/d170bf4d/attachment.pgp>

More information about the pacman-dev mailing list