Skip to contentSkip to conversation

New developing branch of grub2

DISCUSSION Bean 2 participants 3 messages Jul 17, 2009

lore
Share & tools
lore

Bean

author
#0 lore raw

Hi,

I've created a repository at GitHub to hold some developing patches, the main repos is at:

http://github.com/grub/grub/

master is the developing branch, while svn is the mirror of grub2 svn.

I also have a forked project at:

http://github.com/bean123/grub/

The lib branch contains the new object format code.

Signature · 1 line
Bean
#1 lore raw
Quoted 7 lines · Bean

Hi,

I've created a repository at GitHub to hold some developing patches, the main repos is at:

http://github.com/grub/grub/

Quoted 7 lines

master is the developing branch, while svn is the mirror of grub2 svn.

I also have a forked project at:

http://github.com/bean123/grub/

The lib branch contains the new object format code.

It's hard to see the unmerged changes in those repositories.

I can tell from my experience with Linux kernel development that branches are not used for such efforts. Patches need to be posted, reviewed and discussed by others.

Separate branches or repositories are used for subsystems that have their own maintainers. That is, there is a repository for wireless networking. Patches are still posted and reviewed in a separate list. Once they are good, they are committed to the subsystem repository. And then Linus pulls from it because he trusts the subsystem maintainers and knows that the patches have been reviewed.

When patches are publishing for review, there is incentive for the patch author to make changes clear. When the patches are published as a branch, chances are that the development will go too far before other developers have a look at the code.

Signature · 2 lines
Regards,
Pavel Roskin
author
#2 lore raw
Quoted 29 lines · Pavel Roskin
Quoted 7 lines · Bean

Hi,

I've created a repository at GitHub to hold some developing patches, the main repos is at:

http://github.com/grub/grub/

Quoted 7 lines

master is the developing branch, while svn is the mirror of grub2 svn.

I also have a forked project at:

http://github.com/bean123/grub/

The lib branch contains the new object format code.

It's hard to see the unmerged changes in those repositories.

I can tell from my experience with Linux kernel development that branches are not used for such efforts.  Patches need to be posted, reviewed and discussed by others.

Separate branches or repositories are used for subsystems that have their own maintainers.  That is, there is a repository for wireless networking.  Patches are still posted and reviewed in a separate list. Once they are good, they are committed to the subsystem repository.  And then Linus pulls from it because he trusts the subsystem maintainers and knows that the patches have been reviewed.

Quoted 4 lines

When patches are publishing for review, there is incentive for the patch author to make changes clear.  When the patches are published as a branch, chances are that the development will go too far before other developers have a look at the code.

Hi,

Thanks a lot for the advice ! The above development modal seems fine, but github also provides similar technique. Users can work on their own fork, and then send pull request to other developers whom might be interested. Then a maintainer can merge them into the main repo. As grub is relatively small, I think this should be enough.

The subsystem is also nice, but the prerequisite is that grub can split into different components and compile separately. Right now, the conf file are central and modules must be compiled at the same time, this is not good for subsystem.

Signature · 1 line
Bean