[Slackbuilds-users] experimenting with git

Matteo Bernardini matteo.bernardini at sns.it
Fri Feb 12 21:10:58 UTC 2010


Il 06/02/2010 21:57, Robby Workman ha scritto:
> On Sun, 31 Jan 2010 12:17:59 +0100
> Matteo Bernardini<matteo.bernardini at sns.it>  wrote:
>
>    
>> hi fellas,
>>
>> looking for a way to manage building from current with sbopkg and
>> mantain a modified slackbuilds.org repository I tried to use it with
>> git. I pulled yesterday's repo and started doing tags for the build
>> scripts I modified for clean build on current and then I merged them
>> all. This is the patch I use (made with git diff from the first
>> commit) against slackbuilds.org 13.0 repo
>>
>> http://ponce.pastebin.com/f70344f2a
>>
>> and this is the git repo itself
>>
>> http://github.com/Ponce/SBogit
>>
>> gotta say git is fun :D
>>      
>
> Yes, git is nice :-)
>
> If you wanted the diffs to be more usable (and I'm not saying
> that you *should* - this is just an *if*), then you'd want to
> structure the commits such that each commit only touched one
> application.  As an example:
>
>    Bring<appname>  up to snuff for -current
>
>      * fixup includes
>      * fixup build for gcc4
>
> Is it a lot more work to do that?  Probably.  Is it worth it
> for just your use?  Probably not.  Would *I* do it anyway?
> Yes.  The rest is up to you.  :-)
>
> -RW
>    
let's see if I understood what you meant :)

http://github.com/Ponce/SBo-git

current branch is merge --squash of all the others.

-- 
Matteo Bernardini
Centro di Elaborazione dell'Informazione e del Calcolo
Scuola Normale Superiore
Tel. 050-509338



More information about the SlackBuilds-users mailing list