Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Create user git repository at uclibc.org
@ 2009-05-05  0:46 Thiago A. Corrêa
  2009-05-05  0:49 ` Thiago A. Corrêa
  2009-05-05  7:46 ` Daniel Mack
  0 siblings, 2 replies; 5+ messages in thread
From: Thiago A. Corrêa @ 2009-05-05  0:46 UTC (permalink / raw)
  To: buildroot

Hi,

   Peter, I'm still lost here :(
   I've created a git folder at my home then did a git clone from
buildroot, but that didn't expose a private branch. Then I thought I
needed to do a git init, but then again, all I got was a .git folder.
   As I said, your message [1] still isn't clear to those of us who
don't know this beast.

   I really don't know how I should setup this to keep sending
patches, and what worries me a bit more is that I have no idea how I
will keep pulling changes to my private svn. I used to do svn merge to
get upstream changes into my company tree, which contains closed
source programs that I write, added to the build system.

   Perhaps an example of what command exactly I should give at the
uclibc.org box to get the tree created would be more usefull. I've
noticed that only you have a user tree. Probably I'm not the only one
who can't figure this out.

Thanks,
   Thiago A. Correa

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Create user git repository at uclibc.org
  2009-05-05  0:46 [Buildroot] Create user git repository at uclibc.org Thiago A. Corrêa
@ 2009-05-05  0:49 ` Thiago A. Corrêa
  2009-05-05  7:46 ` Daniel Mack
  1 sibling, 0 replies; 5+ messages in thread
From: Thiago A. Corrêa @ 2009-05-05  0:49 UTC (permalink / raw)
  To: buildroot

ops, missed the link:
[1] http://lists.busybox.net/pipermail/buildroot/2009-March/026875.html

2009/5/4 Thiago A. Corr?a <thiago.correa@gmail.com>:
> Hi,
>
> ? Peter, I'm still lost here :(
> ? I've created a git folder at my home then did a git clone from
> buildroot, but that didn't expose a private branch. Then I thought I
> needed to do a git init, but then again, all I got was a .git folder.
> ? As I said, your message [1] still isn't clear to those of us who
> don't know this beast.
>
> ? I really don't know how I should setup this to keep sending
> patches, and what worries me a bit more is that I have no idea how I
> will keep pulling changes to my private svn. I used to do svn merge to
> get upstream changes into my company tree, which contains closed
> source programs that I write, added to the build system.
>
> ? Perhaps an example of what command exactly I should give at the
> uclibc.org box to get the tree created would be more usefull. I've
> noticed that only you have a user tree. Probably I'm not the only one
> who can't figure this out.
>
> Thanks,
> ? Thiago A. Correa
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Create user git repository at uclibc.org
  2009-05-05  0:46 [Buildroot] Create user git repository at uclibc.org Thiago A. Corrêa
  2009-05-05  0:49 ` Thiago A. Corrêa
@ 2009-05-05  7:46 ` Daniel Mack
  2009-05-05 14:24   ` Thiago A. Corrêa
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel Mack @ 2009-05-05  7:46 UTC (permalink / raw)
  To: buildroot

On Mon, May 04, 2009 at 09:46:30PM -0300, Thiago A. Corr?a wrote:
>    Peter, I'm still lost here :(
>    I've created a git folder at my home then did a git clone from
> buildroot, but that didn't expose a private branch. Then I thought I
> needed to do a git init, but then again, all I got was a .git folder.
>    As I said, your message [1] still isn't clear to those of us who
> don't know this beast.

There is no 'private branch' in the upstream git. You need to create one
for your purpose after cloning with 'git checkout -b myprivatebranch'.

See http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html and
all the other docs on this site. A post that I found quite comprehensive
is http://tomayko.com/writings/the-thing-about-git.

Daniel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Create user git repository at uclibc.org
  2009-05-05  7:46 ` Daniel Mack
@ 2009-05-05 14:24   ` Thiago A. Corrêa
  2009-05-05 15:12     ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Thiago A. Corrêa @ 2009-05-05 14:24 UTC (permalink / raw)
  To: buildroot

Hi Daniel,

2009/5/5 Daniel Mack <daniel@caiaq.de>:
> On Mon, May 04, 2009 at 09:46:30PM -0300, Thiago A. Corr?a wrote:
>> ? ?Peter, I'm still lost here :(
>> ? ?I've created a git folder at my home then did a git clone from
>> buildroot, but that didn't expose a private branch. Then I thought I
>> needed to do a git init, but then again, all I got was a .git folder.
>> ? ?As I said, your message [1] still isn't clear to those of us who
>> don't know this beast.
>
> There is no 'private branch' in the upstream git. You need to create one
> for your purpose after cloning with 'git checkout -b myprivatebranch'.

Sorry, I think I didn't express myself clearly. What I want is a tree,
based on the upstream tree so that I can send Peter pull requests from
there. From what I understand, to do that I need a public tree
somewhere, and since I had commit access to svn before, that somewhere
could be uclibc.org.

But I don't know how to setup that public repository, from where I
will later on my local machine do the git clone from and checkout for
creating branches in my private tree.

> See http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html and
> all the other docs on this site. A post that I found quite comprehensive
> is http://tomayko.com/writings/the-thing-about-git.

I've read a couple of documents already, including the git for svn users.

I think I figured what I should do... I guess I should do:
ssh uclibc.org
mkdir git; cd git
git init
mv .git buildroot.git
touch buildroot.git/git-daemon-export-ok

Well, I will have to wait for another hour for the cronjob to see if
that's what I was supposed to do.

Any ideas how to keep an svn tree in sync with the git tree?
Previously I used svn merge, but now I have no idea what to do.

Kind Regards,
   Thiago A. Correa

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Create user git repository at uclibc.org
  2009-05-05 14:24   ` Thiago A. Corrêa
@ 2009-05-05 15:12     ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2009-05-05 15:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Thiago" == Thiago A Corr?a <thiago.correa@gmail.com> writes:

 Thiago> Hi Daniel,
 Thiago> 2009/5/5 Daniel Mack <daniel@caiaq.de>:
 >> On Mon, May 04, 2009 at 09:46:30PM -0300, Thiago A. Corr?a wrote:
 >>> ? ?Peter, I'm still lost here :(
 >>> ? ?I've created a git folder at my home then did a git clone from
 >>> buildroot, but that didn't expose a private branch. Then I thought I
 >>> needed to do a git init, but then again, all I got was a .git folder.
 >>> ? ?As I said, your message [1] still isn't clear to those of us who
 >>> don't know this beast.
 >> 
 >> There is no 'private branch' in the upstream git. You need to create one
 >> for your purpose after cloning with 'git checkout -b myprivatebranch'.

 Thiago> Sorry, I think I didn't express myself clearly. What I want is a tree,
 Thiago> based on the upstream tree so that I can send Peter pull requests from
 Thiago> there. From what I understand, to do that I need a public tree
 Thiago> somewhere, and since I had commit access to svn before, that somewhere
 Thiago> could be uclibc.org.

 Thiago> But I don't know how to setup that public repository, from where I
 Thiago> will later on my local machine do the git clone from and checkout for
 Thiago> creating branches in my private tree.

Simply do:

ssh uclibc.org
mkdir -p git && cd git
git clone --bare git://git.buildroot.net/buildroot buildroot.git
touch buildroot.git/git-daemon-export-ok
exit

Back on your local pc you do:

git clone uclibc.org:~/git/buildroot.git

do your local commits, branches and whatever and push them to your
repo on uclibc.org with git push

Other people can also clone your repo using:

git clone git://git.buildroot.net/~correa/git/buildroot.git

And view it online at:

http://git.buildroot.net/~correa/git/buildroot/

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-05 15:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-05  0:46 [Buildroot] Create user git repository at uclibc.org Thiago A. Corrêa
2009-05-05  0:49 ` Thiago A. Corrêa
2009-05-05  7:46 ` Daniel Mack
2009-05-05 14:24   ` Thiago A. Corrêa
2009-05-05 15:12     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox