[pacman-dev] [PATCH] makepkg: allow compression type to be autodetected

Dan McGee dpmcgee at gmail.com
Fri Sep 5 08:06:37 EDT 2008


On Fri, Sep 5, 2008 at 1:03 AM, Xavier <shiningxc at gmail.com> wrote:
> On Fri, Sep 5, 2008 at 3:46 AM, Dan McGee <dan at archlinux.org> wrote:
>> Inspired by commit 7e8f1469c4168875b54956d63884b8583ce99e38, use our given
>> PKGEXT or SRCEXT to determine what method of compression to use on the
>> package we create. If the extension is invalid, this should fall back to
>> creating a non-compressed tar file.
>>
>> Signed-off-by: Dan McGee <dan at archlinux.org>
>
> Looks nice, and repo-add and pacman could already handle tar.gz and
> tar.bz2 transparently.

I forgot a note saying this was completely untested. We will want to
obviously run it through its paces if possible.

-Dan



More information about the pacman-dev mailing list