Skip to contentSkip to conversation

misc development news

Buildroot Peter Korsgaard 4 participants 16 messages Feb 27, 2009 – May 1, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

misc development news:

- svn->git: Migration is starting to take shape. We have digged through svn history and found proper author/email info for all developers for the conversion, and the osuosl.org staff is setting up gitweb, commit notifications and various minor stuff for the conversion. Expect more info in ~1 weeks time.

- website: I recently bought buildroot.net and set up apache to respond to it, so you can now reach the buildroot website at the shorter http://buildroot.net address

- release: We're still on track for a 2009.05 release. Remember, the tree closes end April for new features when I'll cut the first release candidate. See
http://lists.busybox.net/pipermail/buildroot/2009-February/025974.html
for more details.

Signature · 1 line
Bye, Peter Korsgaard
#1 lore raw

Peter Korsgaard, 27.02.2009:

Quoted 9 lines

Hi,

misc development news:

- svn->git: Migration is starting to take shape. We have digged through svn history and found proper author/email info for all developers for the conversion, and the osuosl.org staff is setting up gitweb, commit notifications and various minor stuff for the conversion. Expect more info in ~1 weeks time.

I'm looking forward to it.

Quoted 3 lines

- website: I recently bought buildroot.net and set up apache to respond to it, so you can now reach the buildroot website at the shorter http://buildroot.net address

Until now I've always used buildroot.org, what's wrong with that?

Markus

#2 lore raw
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markus" == Markus Heidelberg <[email protected]> writes:

- svn->git: Migration is starting to take shape. We have digged

Markus> I'm looking forward to it.

Me too ;)

Quoted 3 lines
Quoted 3 lines

- website: I recently bought buildroot.net and set up apache to respond to it, so you can now reach the buildroot website at the shorter http://buildroot.net address

Markus> Until now I've always used buildroot.org, what's wrong with that?

Well, it's not owned by any of the BR developers. It currently redirects to buildroot.uclibc.org, but you never know if it will continue to do so. According to whois it's owned by an Earl Levine, that afaik never has been involved with buildroot/uclibc/busybox.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
In reply to Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Hi,

Peter> - svn->git: Migration is starting to take shape. We have digged

 Peter>    through svn history and found proper author/email info for all
 Peter>    developers for the conversion, and the osuosl.org staff is setting
 Peter>    up gitweb, commit notifications and various minor stuff for the
 Peter>    conversion. Expect more info in ~1 weeks time.

Ok - Timing was "slightly" off, but the svn->git migration uclibc.org-wide is almost completed. The repo can be browsed through cgit at:

http://git.buildroot.net/buildroot/

It can be cloned anonymously using:

git clone git://git.buildroot.net/buildroot/ or
git clone http://git.buildroot.net/buildroot/ if you're behind a firwall blocking git access.

Developers can also access the repo over ssh with:

git clone ssh://uclibc.org/var/lib/git/buildroot.git

But notice that you don't have write access, so you cannot push changes directly. Instead push your changes to your own tree and send pull requests to the list. You can add personal repos on uclibc.org by storing them in ~/git/ and touching ~/git/<repo>/git-daemon-export-ok, after which the hourly cronjob will pick them up and show them in cgit.

I would like us to move to a setup similar to the kernel/uboot, where all changes get posted to the list before they get committed to the tree, and with package / sub-tree maintainers.

The repo was synched on the 17th, so it's missing the latest changes. The svn repo will be turned read only once the final sync is done, but more info about that later.

Peter> - release: We're still on track for a 2009.05 release. Remember, the

 Peter>   tree closes end April for new features when I'll cut the first
 Peter>   release candidate. See
 Peter>   http://lists.busybox.net/pipermail/buildroot/2009-February/025974.html
 Peter>   for more details.

This is still the case. The aim is currently to close the tree for new features and release 2009.05-rc1 sometime in the weekend 24-25th of April.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

Hi,

Quoted 9 lines · Peter Korsgaard

git clone ssh://uclibc.org/var/lib/git/buildroot.git

But notice that you don't have write access, so you cannot push changes directly. Instead push your changes to your own tree and send pull requests to the list. You can add personal repos on uclibc.org by storing them in ~/git/ and touching ~/git/<repo>/git-daemon-export-ok, after which the hourly cronjob will pick them up and show them in cgit.

Quoted 4 lines

I would like us to move to a setup similar to the kernel/uboot, where all changes get posted to the list before they get committed to the tree, and with package / sub-tree maintainers.

This means that I currently have absolutely no idea how to commit. Could you document this better or point us to a "Git for idiots (with subversion background)"?

About maintainers... I don't see any easy way to divide that between the developers. Any suggestions?

We usually all touch the packages folder quite often, subdividing that also doesn't seem good to me as we sure use most of the same packages in our builds and would like to fix stuff right away. Dividing by platforms still leaves a big chunk out.

On top of all that, there is the who problem. Concentrating all pulls on you kind of defeats the purpose of us even having commit access in the first place.

Kind Regards,
Thiago A. Correa

#13 lore raw
In reply to Peter Korsgaard

Le Tue, 31 Mar 2009 23:23:03 +0200,
Peter Korsgaard <[email protected]> a ?crit :

Quoted 6 lines

But notice that you don't have write access, so you cannot push changes directly. Instead push your changes to your own tree and send pull requests to the list. You can add personal repos on uclibc.org by storing them in ~/git/ and touching ~/git/<repo>/git-daemon-export-ok, after which the hourly cronjob will pick them up and show them in cgit.

Ok.

Quoted 3 lines

This is still the case. The aim is currently to close the tree for new features and release 2009.05-rc1 sometime in the weekend 24-25th of April.

What about bug-fix versions of the latest stable release ? Do we plan to release things such as 2009.02.1, 2009.02.2, etc. ? When trying to use 2009.02 for a demo today, I faced several issues that have been fixed since then. But maybe it's too much burden for the moment ?

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
#14 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Thomas> What about bug-fix versions of the latest stable release ? Do we plan Thomas> to release things such as 2009.02.1, 2009.02.2, etc. ? When trying Thomas> to use 2009.02 for a demo today, I faced several issues that have been Thomas> fixed since then. But maybe it's too much burden for the moment ?

I'm not against doing that, but I'm afraid I don't have the bandwidth to do it alone. If people want to help point out commits we should backport, then we could do it.

This should be limited to the absolutely critical stuff ofcourse.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw
In reply to Thiago A. Corrêa
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thiago" == Thiago A Corr?a <[email protected]> writes:

Hi Thiago,

Sorry for the slow response - I went on holiday before answering and then forgot about the mail ..

Quoted 4 lines
Quoted 4 lines

I would like us to move to a setup similar to the kernel/uboot, where all changes get posted to the list before they get committed to the tree, and with package / sub-tree maintainers.

Thiago> This means that I currently have absolutely no idea how to Thiago> commit. Could you document this better or point us to a "Git Thiago> for idiots (with subversion background)"?

Don't worry, it's not that hard ;)

The official documentation is quite good. Take a look at
http://git-scm.com/documentation and
http://git-scm.com/course/svn.html in particular.

For contributing you basically have 2 options: Either simply send patches to the list (see man git-format-patch and man git-send-email), or setup a public git tree (on uclibc.org, your own machine or one of the many git hosting sites like github, repo.or.cz, ..) and send a pull request to the list.

In fact I would like us to move to a workflow where all changes are first posted to the list before committing to the official tree, similar to how it's handled in the Linux kernel, U-Boot, ..

Thiago> About maintainers... I don't see any easy way to divide that Thiago> between the developers. Any suggestions?

I agree that it isn't that clear cut, but I could certainly imagine maintainers for specific archs and groups of packages like the X stack, gtk, qt, java stuff and so on.

Thiago> We usually all touch the packages folder quite often, Thiago> subdividing that also doesn't seem good to me as we sure use Thiago> most of the same packages in our builds and would like to fix Thiago> stuff right away. Dividing by platforms still leaves a big Thiago> chunk out.

We currently have more than 600 packages - I for sure only use a very limited subset on a regular basis.

Thiago> On top of all that, there is the who problem. Concentrating Thiago> all pulls on you kind of defeats the purpose of us even Thiago> having commit access in the first place.

The wonderful part of distributed version control is that you aren't blocked if I dissapear for a few days. The only "special" thing about my tree is that I do releases from it.

We had various problems in the past with the svn "ghetto" style of development where all developers could commit as they pleased with very little review. The git setup works for projects much larger than ours, so I think it's atleast worth a try.

Signature · 1 line
Bye, Peter Korsgaard
#15 lore raw
In reply to Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Hi,

Peter> - svn->git: Migration is starting to take shape. We have digged Peter> through svn history and found proper author/email info for all Peter> developers for the conversion, and the osuosl.org staff is setting Peter> up gitweb, commit notifications and various minor stuff for the Peter> conversion. Expect more info in ~1 weeks time.

Peter> Ok - Timing was "slightly" off, but the svn->git migration Peter> uclibc.org-wide is almost completed. The repo can be browsed through Peter> cgit at:

..

Peter> The repo was synched on the 17th, so it's missing the latest Peter> changes. The svn repo will be turned read only once the final sync is Peter> done, but more info about that later.

From the osuosl.org staff:

Hi, if you are satisfied with the test git setup I am ready to perform the final conversion. I expect about an hour between freezing the SVN repo and having the git repos ready if everything goes according to plan. Would Thursday at 10AM be an acceptable time?

Signature · 1 line
Bye, Peter Korsgaard
#6 lore raw
In reply to Peter Korsgaard

Hi Peter,

2009/4/28 Peter Korsgaard <[email protected]>:

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thiago" == Thiago A Corr?a <[email protected]> writes:

Hi Thiago,

Sorry for the slow response - I went on holiday before answering and then forgot about the mail ..

It's ok. I had hopes that you had thought that git was too much trouble for what it's worth. Oh well. :(

Quoted 6 lines

?Thiago> This means that I currently have absolutely no idea how to ?Thiago> commit. ?Could you document this better or point us to a "Git ?Thiago> for idiots (with subversion background)"?

Don't worry, it's not that hard ;)

I usually say that about C++ programming but somehow ppl usually don't seem to fully agree :P

Quoted 5 lines

For contributing you basically have 2 options: Either simply send patches to the list (see man git-format-patch and man git-send-email), or setup a public git tree (on uclibc.org, your own machine or one of the many git hosting sites like github, repo.or.cz, ..) and send a pull request to the list.

That's the part I would like to know more. How exactly do you setup the git repository at uclibc.org?

Quoted 3 lines

In fact I would like us to move to a workflow where all changes are first posted to the list before committing to the official tree, similar to how it's handled in the Linux kernel, U-Boot, ?..

I don't see that working. It does for the linux kernel because of the size of it's contributor base, we are greatly under powered for this scheme. Patches would just get a big backlog for you to handle and we would be unable to help.
I think the current commit first review later works best in our case. We don't quite have enough ppl reviewing changes and reverting a patch has been uncommon, yet, it's not that hard when necessary.

Also, I don't really like the individual trees concept. If someone breaks the avr32 build fixing the ppc, I only get to figure this out possibly at release. Integration testing, which isn't really good right now, will get worst IMHO.

Quoted 6 lines

?Thiago> About maintainers... I don't see any easy way to divide that ?Thiago> between the developers. Any suggestions?

I agree that it isn't that clear cut, but I could certainly imagine maintainers for specific archs and groups of packages like the X stack, gtk, qt, java stuff and so on.

Perhaps this should be sorted out before using changing the repository.

Quoted 8 lines

?Thiago> We usually all touch the packages folder quite often, ?Thiago> subdividing that also doesn't seem good to me as we sure use ?Thiago> most of the same packages in our builds and would like to fix ?Thiago> stuff right away. ?Dividing by platforms still leaves a big ?Thiago> chunk out.

We currently have more than 600 packages - I for sure only use a very limited subset on a regular basis.

True, but sometimes when there are trivial changes needed, having to figure out what maintainer to bother or actually having to do more than start vi, test then svn commit is a big step back.

Quoted 7 lines

?Thiago> On top of all that, there is the who problem. Concentrating ?Thiago> all pulls on you kind of defeats the purpose of us even ?Thiago> having commit access in the first place.

The wonderful part of distributed version control is that you aren't blocked if I dissapear for a few days. The only "special" thing about my tree is that I do releases from it.

Not quite. Your tree would be the integration tree. Having a separate tree for me is of little value as I don't create that big amount of patches myself, but I do test others changes often since I do svn updates often. With this setup I would have to monitor the mailling list all the time for pulls. Likewise, my changes get less testing untill you decide to merge.

Quoted 4 lines

We had various problems in the past with the svn "ghetto" style of development where all developers could commit as they pleased with very little review. The git setup works for projects much larger than ours, so I think it's atleast worth a try.

I think the problem was with people management and how we did (or actually didn't do) conflict solving. In the past we didn't have a maintainer to help solving the conflicts.
We are not going to really solve it with a different tool.

Kind Regards,
Thiago A. Correa

#7 lore raw

Thiago A. Corr?a, 29.04.2009:

Quoted 8 lines

Hi Peter,

2009/4/28 Peter Korsgaard <[email protected]>:

Quoted 3 lines

In fact I would like us to move to a workflow where all changes are first posted to the list before committing to the official tree, similar to how it's handled in the Linux kernel, U-Boot, ?..

Quoted 7 lines

I don't see that working. It does for the linux kernel because of the size of it's contributor base, we are greatly under powered for this scheme. Patches would just get a big backlog for you to handle and we would be unable to help.
I think the current commit first review later works best in our case. We don't quite have enough ppl reviewing changes and reverting a patch has been uncommon, yet, it's not that hard when necessary.

Peter seems to review many commits and fixes them or asks the committers to fix them. So maybe the work isn't really less nowadays, but I'm not sure.

Quoted 9 lines
Quoted 4 lines

We had various problems in the past with the svn "ghetto" style of development where all developers could commit as they pleased with very little review. The git setup works for projects much larger than ours, so I think it's atleast worth a try.

I think the problem was with people management and how we did (or actually didn't do) conflict solving. In the past we didn't have a maintainer to help solving the conflicts.
We are not going to really solve it with a different tool.

The problems don't have to be solved, because they don't exist any more, at least not in this amount.

Markus

#8 lore raw
Quoted 15 lines · Markus Heidelberg

Thiago A. Corr?a, 29.04.2009:

Quoted 6 lines

2009/4/28 Peter Korsgaard <[email protected]>:

Quoted 3 lines

In fact I would like us to move to a workflow where all changes are first posted to the list before committing to the official tree, similar to how it's handled in the Linux kernel, U-Boot, ?..

Quoted 7 lines

I don't see that working. It does for the linux kernel because of the size of it's contributor base, we are greatly under powered for this scheme. Patches would just get a big backlog for you to handle and we would be unable to help.
I think the current commit first review later works best in our case. We don't quite have enough ppl reviewing changes and reverting a patch has been uncommon, yet, it's not that hard when necessary.

Quoted 4 lines

Peter seems to review many commits and fixes them or asks the committers to fix them. So maybe the work isn't really less nowadays, but I'm not sure.

Indeed unfortunally I don't offer as much help as I would like to, but at least I don't get in the way *smile*
Imagine that on top of that, he would have to commit your patches, my patches, etc.
It does look like it is work to do the same job.

If we don't sort out how we are going to work, this move could just send ppl away, frustrated because we can't get things done. I for one am still clueless on how should I continue to contribute, and yet I'm afraid that I will have to keep track of several different trees, on top of the 2 I already have (My private development + upstream buildroot).

#12 lore raw
In reply to Thiago A. Corrêa
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thiago" == Thiago A Corr?a <[email protected]> writes:

Hi,

Quoted 2 lines
Quoted 2 lines

Sorry for the slow response - I went on holiday before answering and then forgot about the mail ..

Thiago> It's ok. I had hopes that you had thought that git was too Thiago> much trouble for what it's worth. Oh well. :(

Heh ;)

Git is nice, trust me. It take a little while to get used to, but it is very neat.

Notice that the git migration is uclibc wide
(E.G. uclibc/busybox/buildroot/uclibc++).

Quoted 1 line
Quoted 1 line

Don't worry, it's not that hard ;)

Thiago> I usually say that about C++ programming but somehow ppl Thiago> usually don't seem to fully agree :P

If you can comprehend C++ then git shouldn't be a problem either :P

Quoted 5 lines
Quoted 5 lines

For contributing you basically have 2 options: Either simply send patches to the list (see man git-format-patch and man git-send-email), or setup a public git tree (on uclibc.org, your own machine or one of the many git hosting sites like github, repo.or.cz, ..) and send a pull request to the list.

Thiago> That's the part I would like to know more. How exactly do you setup Thiago> the git repository at uclibc.org?

See my mail of last month:

http://lists.busybox.net/pipermail/buildroot/2009-March/026875.html

If you put git repos in your ~/git/ dir and make sure you have a git-daemon-export-ok in them, then they can be accessed through git://
and cgit just like the "official" repos.

See the git documentation (http://git-scm.com/documentation) for info about creating (cloning) repos.

Quoted 3 lines
Quoted 3 lines

In fact I would like us to move to a workflow where all changes are first posted to the list before committing to the official tree, similar to how it's handled in the Linux kernel, U-Boot, ?..

Thiago> I don't see that working. It does for the linux kernel Thiago> because of the size of it's contributor base, we are greatly Thiago> under powered for this scheme. Patches would just get a big Thiago> backlog for you to handle and we would be unable to help. I Thiago> think the current commit first review later works best in our Thiago> case. We don't quite have enough ppl reviewing changes and Thiago> reverting a patch has been uncommon, yet, it's not that hard Thiago> when necessary.

That's almost the situation today as well:

git shortlog -n -s --since='feb 12'

   333  jacmet
    15  correa
     8  tpetazzoni
     2  hamish
     2  wberrier
     1  austinf

In other words, 92% of all commits since the last release has gone through me.

This doesn't mean that it has to be doing all the work. If you could help review patches and ack/nack, and then send me a pull request of everything you think is good then that would be a big help.

Thiago> Also, I don't really like the individual trees concept. If Thiago> someone breaks the avr32 build fixing the ppc, I only get to Thiago> figure this out possibly at release. Integration testing, Thiago> which isn't really good right now, will get worst IMHO.

I'm certainly open to discuss the details - Do you have any suggestion how we could do this better?

Quoted 3 lines
Quoted 3 lines

I agree that it isn't that clear cut, but I could certainly imagine maintainers for specific archs and groups of packages like the X stack, gtk, qt, java stuff and so on.

Thiago> Perhaps this should be sorted out before using changing the Thiago> repository.

Hard to do as this is done uclibc wise and has been pending for a long time. There's imho no real problem with refining our work flow as we go (we're entering release freeze this weekend anyway).

Quoted 2 lines
Quoted 2 lines

We currently have more than 600 packages - I for sure only use a very limited subset on a regular basis.

Thiago> True, but sometimes when there are trivial changes needed, Thiago> having to figure out what maintainer to bother or actually Thiago> having to do more than start vi, test then svn commit is a Thiago> big step back.

The fact that you can commit locally means that you can fix the problem locally just as easily, it's just the path to the "official" tree that takes a bit longer.

Quoted 7 lines
Quoted 7 lines

?Thiago> On top of all that, there is the who problem. Concentrating ?Thiago> all pulls on you kind of defeats the purpose of us even ?Thiago> having commit access in the first place.

The wonderful part of distributed version control is that you aren't blocked if I dissapear for a few days. The only "special" thing about my tree is that I do releases from it.

Thiago> Not quite. Your tree would be the integration tree. Having a Thiago> separate tree for me is of little value as I don't create Thiago> that big amount of patches myself, but I do test others Thiago> changes often since I do svn updates often. With this setup I Thiago> would have to monitor the mailling list all the time for Thiago> pulls. Likewise, my changes get less testing untill you Thiago> decide to merge.

A seperate tree still means that you can easily test out changes (yours or from someone else) before they get integrated into the official tree.

Quoted 4 lines
Quoted 4 lines

We had various problems in the past with the svn "ghetto" style of development where all developers could commit as they pleased with very little review. The git setup works for projects much larger than ours, so I think it's atleast worth a try.

Thiago> I think the problem was with people management and how we did Thiago> (or actually didn't do) conflict solving. In the past we Thiago> didn't have a maintainer to help solving the conflicts. We Thiago> are not going to really solve it with a different tool.

I partly agree. It's a combined people/technical problem.

Signature · 1 line
Bye, Peter Korsgaard
#10 lore raw
In reply to Markus Heidelberg
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markus" == Markus Heidelberg <[email protected]> writes:

Hi,

Markus> Peter seems to review many commits and fixes them or asks the Markus> committers to fix them. So maybe the work isn't really less Markus> nowadays, but I'm not sure.

I also don't think it will change much. As I mentioned in my previous mail, 92% of all commits since 2009.02 has gone through me.

Markus> The problems don't have to be solved, because they don't Markus> exist any more, at least not in this amount.

No, not at the moment, but it could happen again. There's also the big issue about quality of patches, I certainly think more review would be good.

Signature · 1 line
Bye, Peter Korsgaard
#9 lore raw
In reply to Thiago A. Corrêa

Thiago A. Corr?a, 29.04.2009:

Quoted 10 lines

On Wed, Apr 29, 2009 at 6:00 PM, Markus Heidelberg

Quoted 4 lines

Peter seems to review many commits and fixes them or asks the committers to fix them. So maybe the work isn't really less nowadays, but I'm not sure.

Indeed unfortunally I don't offer as much help as I would like to, but at least I don't get in the way *smile*
Imagine that on top of that, he would have to commit your patches, my patches, etc.

We can make his life easier with sending proper patch mails. Applying them and committing will then be a rather automatic procedure.

Quoted 2 lines

If we don't sort out how we are going to work, this move could just send ppl away, frustrated because we can't get things done.

The workflow and the problems before had sent people away, at least of Bernhard I'm aware.

Quoted 4 lines

I for one am still clueless on how should I continue to contribute, and yet I'm afraid that I will have to keep track of several different trees, on top of the 2 I already have (My private development + upstream buildroot).

Which extra trees do you think you need because of the changed workflow? On the other hand, this is exactly which you can get much easier with git in contrast to svn. Just create local branches as much as you need. The data exchange between your private branch and the branch for your changes that are meant for upstream also is pretty comfortable.

Markus

#11 lore raw
In reply to Peter Korsgaard

Peter Korsgaard, 30.04.2009:

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markus" == Markus Heidelberg <[email protected]> writes:

Markus> The problems don't have to be solved, because they don't Markus> exist any more, at least not in this amount.

No, not at the moment, but it could happen again. There's also the big issue about quality of patches, I certainly think more review would be good.

Oh, I meant the problems don't exist in a workflow, where only one person has commit access and review is done before it. I should have used "would" to make it clear.

Markus