[pacman-dev] [PATCH] makepkg: added a -a, --noarchive option to inhibit archive creation

Pierre Neidhardt ambrevar at gmail.com
Fri Feb 28 11:46:05 EST 2014


On 14-02-28 09:23:52, Dan McGee wrote:
> On Fri, Feb 28, 2014 at 9:04 AM, Pierre Neidhardt <ambrevar at gmail.com>wrote:
> 
> > 1. Packagers who want to test the package() function, i.e. to check the
> > content
> > of the pkg/ folder.
> >
> > 2. Developers who want to check how the packaged version of a program
> > looks, in
> > other words how the pkg/ folder looks.
> >
> > 3. For users of systems with no port tree, makepkg can ease package
> > creation.
> > However the resulting archive of the whole makepkg process is often
> > useless.
> >
> > For all situations, makepkg will usually be called several times. But no
> > archive
> > (the final package) is needed in any cases. The archive creation ends up
> > being a
> > waste of time and resource, especially for big applications and slow
> > machines.
> >
> > Signed-off-by: Pierre Neidhardt <ambrevar at gmail.com>
> > ---
> >
> Not looking at the code, outside of noting this uses a shortopt for a
> likely not-oft-used feature. So -1 for having '-a', although the idea
> behind the patch seems fine and accessing it via '--noarchive' seems
> friendly enough.

You are right, I'll remove it. I'am waiting for other review (if any), then I
will submit a new patch.

-- 
Pierre Neidhardt

"What the scientists have in their briefcases is terrifying."
-- Nikita Khrushchev


More information about the pacman-dev mailing list