[BRAINSTORMING] simplifying maintainer's life

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Sep 4 18:21:02 UTC 2014


On 04/09/2014 08:12, Marcus von Appen wrote:
>> In many ways, I'd prefer to have this sort of functionality available as
>> a web-app, thus saving users the necessity of downloading megabytes of
>> data about ports / packages they would never use or care about.  Needs
>> someone to step up and write that application though.
> 
> Not necessarily a web app, but a (web) service that's e.g. run somewhere
> on a
> pkg builder or proxy and which can be queried by tools as well as web
> services.
> 
> If you tell me, how the index looks like, I can give it a quick
> (prototyping) shot.

See pkg-repo(8), specifically the -l or --list-files option.  If you
just stick a few packages into a directory, you can run pkg-repo over
them.  This will generate a file filesite.txz which should be enough to
show the format.

Anything you come up with would certainly be of interest to the
poudriere project
(https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/index.wiki),
probably even more so than pkg(8) itself.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 971 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140904/8f9becdc/attachment.sig>


More information about the freebsd-ports mailing list