Skip to contentSkip to conversation

SCM management

Buildroot Jean-Christophe PLAGNIOL-VILLARD 2 participants 4 messages Mar 16, 2011 – Mar 31, 2011 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

During my work on barebox and the kernel
I modify Buildroot to get the source from my git or the mainline and found out that we remove the tree everytime and re-clone it

This is time consuming specialy in develeopment when you add new commit for other user which need to re-checkout your tree.

So I'd like to propose a new way to manage the trees we could do something like on gentoo

as example with git
we clone a bare tre and store it in dl and do not remove it so if you need a new version of the tree you just need to fetch it and do not clone it again

For this purpose I would propose to manage the tree like this in dl for git as example
builddir/fetch/git-src/${package}

for bzr
builddir/fetch/bzr-src/${package}

and to simplify the scm I would like to propose the manage it not via makefile rules but via scripts

Best Regards,
J.

#1 lore raw

Hi,

ping

Best Regards,
J.

Quoted 29 lines · Jean-Christophe PLAGNIOL-VILLARD

Hi,

During my work on barebox and the kernel
I modify Buildroot to get the source from my git or the mainline and found out that we remove the tree everytime and re-clone it

This is time consuming specialy in develeopment when you add new commit for other user which need to re-checkout your tree.

So I'd like to propose a new way to manage the trees we could do something like on gentoo

as example with git
we clone a bare tre and store it in dl and do not remove it so if you need a new version of the tree you just need to fetch it and do not clone it again

For this purpose I would propose to manage the tree like this in dl for git as example
builddir/fetch/git-src/${package}

for bzr
builddir/fetch/bzr-src/${package}

and to simplify the scm I would like to propose the manage it not via makefile rules but via scripts

Best Regards,
J.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

oops. Forgot to CC the list.

mh

Quoted 52 lines · Martin Hicks

I added support, via a patch that I posted recently, to support an external kernel tree. ?No dl/ file is used and the tree is referenced directly by the makefiles rather than doing the download->extract step.

This is a hack. ?If you were to propose doing this in a more general way, I'd be interested in seeing patches.
mh

Quoted 27 lines · Jean-Christophe PLAGNIOL-VILLARD

Hi,

? ? ? ?During my work on barebox and the kernel
? ? ? ?I modify Buildroot to get the source from my git or the mainline ? ? ? ?and found out that we remove the tree everytime and re-clone it

? ? ? ?This is time consuming specialy in develeopment when you add new ? ? ? ?commit for other user which need to re-checkout your tree.

? ? ? ?So I'd like to propose a new way to manage the trees ? ? ? ?we could do something like on gentoo

? ? ? ?as example with git
? ? ? ?we clone a bare tre and store it in dl and do not remove it so if you ? ? ? ?need a new version of the tree you just need to fetch it and do not ? ? ? ?clone it again

? ? ? ?For this purpose I would propose to manage the tree like this in dl ? ? ? ?for git as example
? ? ? ?builddir/fetch/git-src/${package}

? ? ? ?for bzr
? ? ? ?builddir/fetch/bzr-src/${package}

? ? ? ?and to simplify the scm I would like to propose the manage it not via ? ? ? ?makefile rules but via scripts

Quoted 7 lines

Best Regards,
J.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

--
Martin Hicks P.Eng. ?? ? | ? ? ? ? mort at bork.org Bork Consulting Inc. ? ? | ? +1 (613) 266-2296

Signature · 2 lines
Martin Hicks P.Eng. ?? ? | ? ? ? ? mort at bork.org
Bork Consulting Inc. ? ? | ? +1 (613) 266-2296

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 6 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 4 lines · Martin Hicks

I added support, via a patch that I posted recently, to support an external kernel tree. ?No dl/ file is used and the tree is referenced directly by the makefiles rather than doing the download->extract step.

can you point which one?

Go to http://buildroot.uclibc.org/lists.html and search for "external kernel"

mh

Signature · 2 lines
Martin Hicks P.Eng. ?? ? | ? ? ? ? mort at bork.org
Bork Consulting Inc. ? ? | ? +1 (613) 266-2296