On Sat, Dec 31, 2005 at 11:37:48AM +0000, Pedro Melo wrote:
> >I've just applied a patch to support automatic repository description,
> >which uses the file "_darcs/third_party/darcsweb/desc" to obtain it,
> >instead of hardcoding it inside darcsweb's configuration.
>
> +1...
>
> My darcs2rss (in dire need of an update) had the same problem: where
> to put all the config options. I was moving in the direction of
> allowing a .darcs2rss in the root of the repo, side-by-side with _darcs.
>
> Given that most of my needs will overlap with yours (things humans
> like, as repository description, project homepage, in my case
> darcsweb url...) I think we should also move some of the most common
> attributes into a "common" third-party.
I'm glad to see these requirements are common =)
> >I don't know of any other darcs third-party application that stores
> >data
> >in the _darcs directory, but it'd be nice if we all followed some
> >kind of
> >convention. I'm happy with David's proposal, but before using it in
> >the
> >wild, it'd be nice to have some feedback.
>
> My suggestion:
>
> - _darcs/third_party is the base for all this;
> - BASE/common can have common attributes to all applications. We
> could have a wiki page as the "official" spec. Some of the attributes
> would include:
> - description: one line short description of the repo, plain-text;
> - abstract: longer description of the project. The first line can
> be a "Content-type: MIME\n\n". If not present assume text/plain;
> - project_homepage: an URL
> - authors (?): list of authors? Different from owner/author of
> the repo sometimes.
> - BASE/app_name: you own private variables.
>
> The only thing I don't have a clear view on is if this directory
> should be version-controled or not. At first I though it should. It
> would make defining common parameters for all copies of the repo very
> simple. But sometimes I want my parameters to be diferent from the
> repo standard...
I like this approach (maybe "authors" and the mimefying of abstract is
something to talk about, but it's not so relevant yet).
I assume that by version-controlled you mean "imported by darcs get"? If
that's the case, I'd go for the non controlled option, because I expect it
to be the norm. If some variable needs to be imported by darcs get, then
it should probably be put in prefs and under darcs preference control.
Thanks, and have a happy new year!
Alberto
PS: should we CC darcs-devel on this?
_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users