[arch-dev-public] [PATCH] Support xz compressed packages
Thomas Bächler
thomas at archlinux.org
Mon Feb 15 16:45:52 EST 2010
Am 15.02.2010 22:10, schrieb Pierre Schmitz:
> Well, I can just place *.pkg.tar.* everywhere, but the point I didn't want it
> that much is that it is not safe for the case where this pattern might match
> more than one file.
I agree, it is unsafe and shouldn't be done anywhere. Instead of doing
that, you can abstract it into a function that will do all kinds of
safety checks before returning one file name, or a list of file names.
This function then should be safe to use everywhere.
As I said earlier: If we do this right once, right now, we never have to
care about it again and always just upload and submit whatever
compression format we want in the future.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20100215/220155b2/attachment.bin>
More information about the arch-dev-public
mailing list