[pacman-dev] makepkg --packagelist while using --source or --allsource

@RubenKelevra cyrond at gmail.com
Wed Feb 3 13:30:44 UTC 2021


On Wed, 3 Feb 2021 07:24:45 -0500 Eli Schwartz <eschwartz at archlinux.org> wrote:

> On 2/3/21 7:17 AM, @RubenKelevra wrote:
> > Hey guys,
> > 
> > I want to package some source files and discovered that --packagelist does not change it's
> > output when using --source or --allsource.
> > 
> > Since makepkg isn't generating the normal packages with these flags anyway, it's a bit confusing
> > that the output isn't changing.
> > 
> > It would be pretty helpful for my usecase to have makepkg printing the sourcepackage-filepaths
> > instead of the regular filepaths.
> > 
> > Example:
> > 
> > [ruben at i3 brave-bin]$ makepkg --source --packagelist
> > /home/ruben/tmp/makepkg_test/brave-bin/brave-bin-1:1.19.88-1-x86_64.pkg.tar.lz4
> > [ruben at i3 brave-bin]$ makepkg --packagelist
> > /home/ruben/tmp/makepkg_test/brave-bin/brave-bin-1:1.19.88-1-x86_64.pkg.tar.lz4  
> 
> So you're asking for someone to implement e.g. makepkg --sourcelist
> 

Well, this might be pretty confusing, as one might expect this flag (--sourcelist) to list the
sources of a package, rather than the source-package paths.

I expected this behavior from `makepkg --packagelist`:

[ruben at i3 brave-bin]$ makepkg --source --packagelist
/home/ruben/tmp/makepkg_test/brave-bin/brave-bin-1:1.19.88-1.src.tar.lz4
[ruben at i3 brave-bin]$ makepkg --packagelist
/home/ruben/tmp/makepkg_test/brave-bin/brave-bin-1:1.19.88-1-x86_64.pkg.tar.lz4

So no new flag, just a different output when --source or --allsource is set, too.

Best regards,

Ruben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20210203/0dd56898/attachment.sig>


More information about the pacman-dev mailing list