[CHANGE PROPOSAL] Moving WWW from pkg-descr to Makefile
jos at catnook.com
Fri Oct 5 16:08:54 UTC 2012
How about storing this metada in a YAML-encoded file? The Ruby people use
YAML for lots of things. libyaml is MIT licensed.
On Oct 5, 2012 8:33 AM, "Baptiste Daroussin" <bapt at freebsd.org> wrote:
> On Fri, Oct 05, 2012 at 04:15:44PM +0100, Shaun Amott wrote:
> > On Fri, Oct 05, 2012 at 04:05:35PM +0200, Baptiste Daroussin wrote:
> > > I want to propose and make the actual move of the WWW information from
> > > pkg-descr to the Makefile itself via a WWW variable.
> > >
> > > doing this will have multiple benefits:
> > > * consistency all metadata bug this one are in Makefile
> > > * speedup make describe avoiding using grep to get the informations
> > > describe itself does not need speed but make index heavily use it
> and this
> > > will definitly benefit from speed up)
> > > * Third party tool will be able to probe the information more easily.
> > >
> > > Do anyone have any concern about this?
> > A good idea in principle, but I think we need to take care to ensure
> > that the information is easily discoverable by end users. There's a risk
> > that burying the URLs in Makefiles might make them less accessible.
> How that would be more complicated than the actual way?
> Given that there are 2 user friendly way to get the information: make
> (which uses INDEX so no change in that area) and freshports and I will
> make sure
> that we will switch in sync with it.
More information about the freebsd-ports