On Tue, 28 Nov 2006 18:46:24 +0100, Hisham Muhammad <[EMAIL PROTECTED]>  
wrote:

> 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/.
>
Ok, that make somewhat sense. So for every version in trunk/ there's a  
same version, but with a -r1 suffix, in revisions/? Then I'd like to make  
some adjustments to some scripts, for example NewVersion.
See NewVersion row 79 and forward:

mkdir -p "$destinationDir/$packagename"
cp -R "$oldrecipedir" "$newrecipedir"

if Quiet svn info "$destinationDir"
then
    Quiet svn add "$destinationDir/$packagename"
    Quiet svn add "$destinationDir/$packagename/$newversion"
fi

cd "$newrecipedir" || Die "Failed creating new recipe dir."

To simplify svn handling.

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
gobolinux-devel mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to