Date: Fri, 5 Oct 2012 09:08:52 -0700 From: Jos Backus <jos@catnook.com> To: Baptiste Daroussin <bapt@freebsd.org> Cc: ports@freebsd.org, Shaun Amott <shaun@freebsd.org> Subject: Re: [CHANGE PROPOSAL] Moving WWW from pkg-descr to Makefile Message-ID: <CAETOPp1Dn9_koqQ_3OXNx-JtSo=%2BWuO4rE_KGbaadTnxuXmd=g@mail.gmail.com> In-Reply-To: <20121005153221.GE61272@ithaqua.etoilebsd.net> References: <20121005140534.GB61272@ithaqua.etoilebsd.net> <20121005151544.GA9938@charon.picobyte.net> <20121005153221.GE61272@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
How about storing this metada in a YAML-encoded file? The Ruby people use YAML for lots of things. libyaml is MIT licensed. Jos On Oct 5, 2012 8:33 AM, "Baptiste Daroussin" <bapt@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 > the > > > 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 > (make > > > 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 > search > (which uses INDEX so no change in that area) and freshports and I will > make sure > that we will switch in sync with it. > > regards, > Bapt >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAETOPp1Dn9_koqQ_3OXNx-JtSo=%2BWuO4rE_KGbaadTnxuXmd=g>