On 11/26/06, André Detsch <[EMAIL PROTECTED]> wrote:
> On 11/26/06, Jonas Karlsson <[EMAIL PROTECTED]> wrote:
> > I still need to learn python (but changelogs I can read :) ) - but surely
> > you mean that version with revision is regarded as later then version
> > without revision?
>
> Yes, I've just asked Hisham about how is the new revision-based
> approach structured, and that is the correct way to deal with
> revisions.

The idea is that what goes to the store, goes through svn. So it gets
an entry in trunk/ and a revision is made in revisions/.

> He can explain on more details, but the idea is: all official recipes
> will have revision information. The only versions without revision
> will be those locally edited/created (i.e., LocalRecipes), which
> should be selected when GetRecipe <program> <version> is called. Same
> applies for official X local packages, so it seems to be ok to keep
> this logic inside GuessLatest, to avoid having to spread exceptions
> cases in FindPackage or GetRecipe.

Yes, so when you're tweaking the recipe for Foo 1.0 locally, you will put it in
/Files/Compile/LocalRecipes/Foo/1.0/ -- stuff from the store will be
stored like this:
/Files/Compile/Recipes/Foo/1.0-r1/ -- so un-revisioned versions take
precedence. You can specify a revision in the Compile command line
("Compile foo 1.0-r1").

Notice also that the structure of trunk/ mirrors that of LocalRecipes/
and revisions/ mirrors that of Recipes/.

-- Hisham
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to