Skip to contentSkip to conversation

GNU GRUB maintenance

DISCUSSION Vladimir 'φ-coder/phcoder' Serbinenko 7 participants 16 messages Oct 8, 2015 – Oct 10, 2015

lore
Share & tools
lore
#0 lore raw

Hello, all. I'm sorry for not being available to do enough maintenance for GRUB in last time but I was overbooked. Yet there is a good news. At Google there is a 20% project and GRUB has been approved as 20% project for me. The goal is to have 2.02 released before the end of this year. Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS. It requires me or someone with privileges manually copy the patch. What other systems would be ok? It obviously has to be a free software and hosted on free software-friendly hosting. It also has to have an efficient 1-click merge (so that someone with privileges can get any patch submitted to the system merged in couple of clicks).

#1 lore raw
Quoted 11 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all. I'm sorry for not being available to do enough maintenance for GRUB in last time but I was overbooked. Yet there is a good news. At Google there is a 20% project and GRUB has been approved as 20% project for me. The goal is to have 2.02 released before the end of this year. Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS. It requires me or someone with privileges manually copy the patch. What other systems would be ok? It obviously has to be a free software and hosted on free software-friendly hosting. It also has to have an efficient 1-click merge (so that someone with privileges can get any patch submitted to the system merged in couple of clicks).

I know that git is pretty popular...

#2 lore raw
Quoted 19 lines · SevenBits

On Wednesday, October 7, 2015, Vladimir 'φ-coder/phcoder' Serbinenko <[email protected] <mailto:[email protected]>> wrote:

Hello, all. I'm sorry for not being available to do enough maintenance for GRUB in last time but I was overbooked. Yet there is a good news. At Google there is a 20% project and GRUB has been approved as 20% project for me. The goal is to have 2.02 released before the end of this year. Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS. It requires me or someone with privileges manually copy the patch. What other systems would be ok? It obviously has to be a free software and hosted on free software-friendly hosting. It also has to have an efficient 1-click merge (so that someone with privileges can get any patch submitted to the system merged in couple of clicks).

Quoted 2 lines

I know that git is pretty popular...

Git integration is a plus. Like gerrit: git based with a review system on top of it.

Quoted 6 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw
Quoted 10 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 8 lines · SevenBits

What other systems would be ok? It
obviously has to be a free software and hosted on free software-friendly hosting. It also has to have an efficient 1-click merge (so that someone with privileges can get any patch submitted to the system merged in couple of clicks).

Quoted 4 lines
Quoted 2 lines

I know that git is pretty popular...

Git integration is a plus. Like gerrit: git based with a review system on top of it.

Is "has to be a free software" an absolute requirement?

Github, the web, is not open source. However it uses git, adds features (like the "1-click merge" and organization), and free (to use) for open source projects.

Some open source projects hosted on github (and use the organization feature):
https://github.com/zfsonlinux
https://github.com/freeradius

Some open source projects using github as mirror:
https://help.github.com/articles/about-github-mirrors/

Github help on web-based pull request:
https://help.github.com/articles/using-pull-requests/
https://help.github.com/articles/merging-a-pull-request/

The downside with github that I can think of, is that for efficient use of the "1-click merge" web interface, the pull request must be created from the github interface (and the discussion will happen there as well), as opposed to in the mailing list like what currently happen. Then again, if the intention is simply to provide "notification to the mailing list" (and no need to allow discussion participation FROM the mailing list on the pull requests), you could probably work around that by having a normal git account with mailing-list address "watching" your repository.

Signature · 1 line
Fajar
#4 lore raw
Quoted 12 lines · Fajar A. Nugraha
Quoted 10 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 8 lines · SevenBits

What other systems would be ok? It
obviously has to be a free software and hosted on free software-friendly hosting. It also has to have an efficient 1-click merge (so that someone with privileges can get any patch submitted to the system merged in couple of clicks).

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

I know that git is pretty popular...

Git integration is a plus. Like gerrit: git based with a review system on top of it.

Is "has to be a free software" an absolute requirement?

Also an kernel.org git account could be requested. It is there for syslinux, dracut, bluetooth, etc. GRUB2 could be hosted there as well?

Quoted 33 lines

Github, the web, is not open source. However it uses git, adds features (like the "1-click merge" and organization), and free (to use) for open source projects.

Some open source projects hosted on github (and use the organization feature):
https://github.com/zfsonlinux
https://github.com/freeradius

Some open source projects using github as mirror:
https://help.github.com/articles/about-github-mirrors/

Github help on web-based pull request:
https://help.github.com/articles/using-pull-requests/
https://help.github.com/articles/merging-a-pull-request/

The downside with github that I can think of, is that for efficient use of the "1-click merge" web interface, the pull request must be created from the github interface (and the discussion will happen there as well), as opposed to in the mailing list like what currently happen. Then again, if the intention is simply to provide "notification to the mailing list" (and no need to allow discussion participation FROM the mailing list on the pull requests), you could probably work around that by having a normal git account with mailing-list address "watching" your repository.

Signature · 6 lines
Fajar

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
#5 lore raw

Am Donnerstag, den 08.10.2015, 21:28 -0400 schrieb Konrad Rzeszutek Wilk:

Quoted 4 lines

Also an kernel.org git account could be requested. It is there for syslinux, dracut, bluetooth, etc. GRUB2 could be hosted there as well?

What features does kernel.org provide which savannah.gnu.org doestn't have?
Plain Web git and space for the tarballs is already available directly from GNU.

#6 lore raw
In reply to SevenBits
Quoted 10 lines · SevenBits
Quoted 7 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all. I'm sorry for not being available to do enough maintenance for GRUB in last time but I was overbooked. Yet there is a good news. At Google there is a 20% project and GRUB has been approved as 20% project for me. The goal is to have 2.02 released before the end of this year. Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS. It requires me or someone with privileges manually copy the patch. What other systems would be ok? It

What do you mean by 'copy the patch'? git am -s works nice?

Quoted 13 lines
Quoted 4 lines

obviously has to be a free software and hosted on free software-friendly hosting. It also has to have an efficient 1-click merge (so that someone with privileges can get any patch submitted to the system merged in couple of clicks).

I know that git is pretty popular...

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#7 lore raw
In reply to Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 6 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all. I'm sorry for not being available to do enough maintenance for GRUB in last time but I was overbooked. Yet there is a good news. At Google there is a 20% project and GRUB has been approved as 20% project for me. The goal is to have 2.02 released before the end of this year. Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS.

VCS is actually OK. The project of size Linux kernel seems to work well using pull request e-mails. The disadvantages are

- contributors must have repository available via Internet
- contributors are trusted to actually submit pull request for branch that was reviewed
- it needs to be done locally and pushed

Quoted 8 lines

It requires me or someone with
privileges manually copy the patch. What other systems would be ok? It obviously has to be a free software and hosted on free software-friendly hosting. It also has to have an efficient 1-click merge (so that someone with privileges can get any patch submitted to the system merged in couple of clicks).

It does not like like we have much choice. If we speak about free external hosting, this is probably github, gerrithub, gitlab. I do not know if any of them is considered friendly enough by FSF.

If we speak about self hosting, then it is probably gerrit and reviewboard (I wish we could join KDE reviewboard, but grub hardly can be called KDE application ... :) )

I am not thrilled by github workflows. From what I could gather gerrithub looks more appealing, but would love to hear from someone who actually used both.

One problem is that none of them apparently allows reviewing by E-Mail. This worked (and probably works, just I'm no more involved) quite well in KDE reviewboard. This means all review must be done via web. For me it is rather disadvantage. Also merged requests are removed, which means history and past discussions are no more present. Which again is better using e-mail review.

#8 lore raw
Quoted 9 lines · Andrei Borzenkov
Quoted 1 line · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all. I'm sorry for not being available to do enough

maintenance

Quoted 1 line

for GRUB in last time but I was overbooked. Yet there is a good news.

At

Quoted 1 line

Google there is a 20% project and GRUB has been approved as 20%

project

Quoted 1 line

for me. The goal is to have 2.02 released before the end of this

Quoted 8 lines

year.

Quoted 2 lines

Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS.

VCS is actually OK. The project of size Linux kernel seems to work well using pull request e-mails. The disadvantages are

- contributors must have repository available via Internet

That is quite easy nowadays. And you can always ask for signed tags if you are worried about repos being subverted.

Quoted 2 lines

- contributors are trusted to actually submit pull request for branch that was reviewed

<blinks>

It is a disadvantage to trust people!?

Quoted 1 line

- it needs to be done locally and pushed

Or you can have different maintainers pushing the patches in if they are Acked or Reviewed.

Meaning the committee does not have to be the same person who reviews/acks it.

Quoted 13 lines
Quoted 2 lines

It requires me

or someone with

Quoted 1 line

privileges manually copy the patch. What other systems would be ok?

It

Quoted 1 line

obviously has to be a free software and hosted on free

software-friendly

Quoted 1 line

hosting. It also has to have an efficient 1-click merge (so that

someone

Quoted 4 lines

with privileges can get any patch submitted to the system merged in couple of clicks).

Clicks? That sounds like a GUI thing. And it sounds like you need to have an admin to set it up, patch it occasionally, deal with spammers, etc.

What is wrong with the old mechanism of emails.

Quoted 13 lines

It does not like like we have much choice. If we speak about free external hosting, this is probably github, gerrithub, gitlab. I do not know if any of them is considered friendly enough by FSF.

If we speak about self hosting, then it is probably gerrit and reviewboard (I wish we could join KDE reviewboard, but grub hardly can be called KDE application ... :) )

I am not thrilled by github workflows. From what I could gather gerrithub looks more appealing, but would love to hear from someone who actually used both.

Quoted 6 lines

One problem is that none of them apparently allows reviewing by E-Mail. This worked (and probably works, just I'm no more involved) quite well in KDE reviewboard. This means all review must be done via web. For me it is rather disadvantage. Also merged requests are removed, which means history and past discussions are no more present. Which again is better using e-mail review.

Aye!

Quoted 5 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#9 lore raw
Quoted 47 lines · Konrad Rzeszutek Wilk
Quoted 9 lines · Andrei Borzenkov
Quoted 1 line · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all. I'm sorry for not being available to do enough

maintenance

Quoted 1 line

for GRUB in last time but I was overbooked. Yet there is a good news.

At

Quoted 1 line

Google there is a 20% project and GRUB has been approved as 20%

project

Quoted 1 line

for me. The goal is to have 2.02 released before the end of this

Quoted 8 lines

year.

Quoted 2 lines

Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS.

VCS is actually OK. The project of size Linux kernel seems to work well using pull request e-mails. The disadvantages are

- contributors must have repository available via Internet

That is quite easy nowadays. And you can always ask for signed tags if you are worried about repos being subverted.

Quoted 2 lines

- contributors are trusted to actually submit pull request for branch that was reviewed

<blinks>

It is a disadvantage to trust people!?

Quoted 1 line

- it needs to be done locally and pushed

Or you can have different maintainers pushing the patches in if they are Acked or Reviewed.

Meaning the committee does not have to be the same person who reviews/acks it.

Quoted 9 lines
Quoted 2 lines

It requires me

or someone with

Quoted 1 line

privileges manually copy the patch. What other systems would be ok?

It

Quoted 1 line

obviously has to be a free software and hosted on free

software-friendly

Quoted 1 line

hosting. It also has to have an efficient 1-click merge (so that

someone

Quoted 9 lines
Quoted 4 lines
Quoted 4 lines

with privileges can get any patch submitted to the system merged in couple of clicks).

Clicks? That sounds like a GUI thing. And it sounds like you need to have an admin to set it up, patch it occasionally, deal with spammers, etc.

What is wrong with the old mechanism of emails.

It takes too much effort to:
a) Track if there are any unresolved issues
b) It takes non-trivial amount of effort to commit once it's reviewed:
you need to copy patch from mail client to git, do commit, copy description and so on
c) No integration with continous testing systems

#10 lore raw
Quoted 61 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 1 line · Konrad Rzeszutek Wilk

On October 8, 2015 10:52:25 AM EDT, Andrei Borzenkov

Quoted 1 line · <[email protected]> wrote:
Quoted 1 line

On Thu, Oct 8, 2015 at 12:14 AM, Vladimir 'φ-coder/phcoder'

Serbinenko

Quoted 4 lines
Quoted 4 lines
Quoted 1 line · <[email protected]> wrote:

Hello, all. I'm sorry for not being available to do enough

maintenance

Quoted 1 line

for GRUB in last time but I was overbooked. Yet there is a good

news.

Quoted 8 lines
Quoted 8 lines

At

Quoted 1 line

Google there is a 20% project and GRUB has been approved as 20%

project

Quoted 1 line

for me. The goal is to have 2.02 released before the end of this

year.

Quoted 2 lines

Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS.

Quoted 7 lines
Quoted 4 lines

VCS is actually OK. The project of size Linux kernel seems to work well using pull request e-mails. The disadvantages are

- contributors must have repository available via Internet

That is quite easy nowadays. And you can always ask for signed tags

if you are worried about repos being subverted.

Quoted 2 lines
Quoted 2 lines

- contributors are trusted to actually submit pull request for

branch

Quoted 5 lines
Quoted 1 line

that was reviewed

<blinks>

Quoted 7 lines

It is a disadvantage to trust people!?

Quoted 1 line

- it needs to be done locally and pushed

Or you can have different maintainers pushing the patches in if they

are Acked or Reviewed.

Quoted 2 lines

Meaning the committee does not have to be the same person who

reviews/acks it.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

It requires

me

Quoted 12 lines
Quoted 11 lines

or someone with

Quoted 1 line

privileges manually copy the patch. What other systems would be ok?

It

Quoted 1 line

obviously has to be a free software and hosted on free

software-friendly

Quoted 1 line

hosting. It also has to have an efficient 1-click merge (so that

someone

Quoted 4 lines

with privileges can get any patch submitted to the system merged in couple of clicks).

Quoted 8 lines
Quoted 1 line

Clicks? That sounds like a GUI thing. And it sounds like you need to

have an admin to set it up, patch it occasionally, deal with spammers, etc.

Quoted 3 lines

What is wrong with the old mechanism of emails.

It takes too much effort to:
a) Track if there are any unresolved issues

Isn't that the job of the folks submitting the patches?

Quoted 3 lines

b) It takes non-trivial amount of effort to commit once it's reviewed:
you need to copy patch from mail client to git, do commit, copy description and so on

Huh? 'git am' takes your patches in mbox format and commits them in. With description and all.

I just save the emails from the mail client and then apply them all in one go with 'git am -s'.

Quoted 1 line

c) No integration with continuous testing systems

There is no continuous testing at all now.

But if you want - the 0-day build system picks up emails posted on LKML and compiles them to at least test that are compilable.

Quoted 9 lines

------------------------------------------------------------------------

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#11 lore raw
Quoted 12 lines · Konrad Rzeszutek Wilk
Quoted 11 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 1 line · Konrad Rzeszutek Wilk

On October 8, 2015 10:52:25 AM EDT, Andrei Borzenkov

Quoted 1 line · <[email protected]> wrote:
Quoted 1 line

On Thu, Oct 8, 2015 at 12:14 AM, Vladimir 'φ-coder/phcoder'

Serbinenko

Quoted 4 lines
Quoted 4 lines
Quoted 1 line · <[email protected]> wrote:

Hello, all. I'm sorry for not being available to do enough

maintenance

Quoted 1 line

for GRUB in last time but I was overbooked. Yet there is a good

news.

Quoted 1 line
Quoted 1 line

At

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

Google there is a 20% project and GRUB has been approved as 20%

project

Quoted 1 line

for me. The goal is to have 2.02 released before the end of this

year.

Quoted 2 lines

Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS.

VCS is actually OK. The project of size Linux kernel seems to work

Looking at the grub2 mailing list there hasn't been a ton of patches.

And even if there is a pickup of it - is it going to be around 1K a month or more like in 100s?

If it is going to be in 100~ or so per month - I would think that the existing mechanism of:
1) save email in mbox file
2) at the end of day, 'git am -s' < mbox file.
3) git push

Would work - it is a five minute job. (This is assuming that the patches don't break a build and so on - if they do, then you can break this up and complain to the folks that post patches that it does not build,etc).

If you are thinking there is going to 1K or so then some automated system makes sense... but if you are trying to get a release out before the end of this year and only have 10 business days to do this (20% of 40 week = 8 hours, and there are 10 weeks left), then I would concentrate on the existing patches + review.

#12 lore raw
In reply to Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 5 lines · Vladimir 'φ-coder/phcoder' Serbinenko

It takes too much effort to:
a) Track if there are any unresolved issues
b) It takes non-trivial amount of effort to commit once it's reviewed:
you need to copy patch from mail client to git, do commit, copy description and so on

Which is why I usually ask to do 'git send-mail" which can be applied using "git am". Of course all other points are still valid.

Quoted 2 lines

c) No integration with continous testing systems

#13 lore raw
In reply to Andrei Borzenkov
Quoted 2 lines · Andrei Borzenkov

One problem is that none of them apparently allows reviewing by E-Mail.

Github partially support that. If you're watching a repo or has commit access to it, you should get notification emails for every issue. And you can review by replying to it

https://github.com/blog/811-reply-to-comments-from-email

Of course it DOESN'T support email-review from users with non-github-registered email.

Quoted 2 lines

Also merged requests are
removed, which means history and past discussions are no more present.

What do you mean removed? I believe it's preserved, just not the default view on issue page.
Here's a link to merged request from another project on github:
https://github.com/FreeRADIUS/freeradius-server/pull/1270

... and here's a link to list of closed pull requests, both merged (marked with a tick mark) and rejected (marked with an x):
https://github.com/FreeRADIUS/freeradius-server/pulls?page=2&q=is%3Apr+is%3Aclosed

Signature · 1 line
Fajar
#14 lore raw
In reply to Andrei Borzenkov
Quoted 30 lines · Andrei Borzenkov
Quoted 6 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all. I'm sorry for not being available to do enough maintenance for GRUB in last time but I was overbooked. Yet there is a good news. At Google there is a 20% project and GRUB has been approved as 20% project for me. The goal is to have 2.02 released before the end of this year. Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS.

VCS is actually OK. The project of size Linux kernel seems to work well using pull request e-mails. The disadvantages are

- contributors must have repository available via Internet
- contributors are trusted to actually submit pull request for branch that was reviewed
- it needs to be done locally and pushed

Quoted 8 lines

It requires me or someone with
privileges manually copy the patch. What other systems would be ok? It obviously has to be a free software and hosted on free software-friendly hosting. It also has to have an efficient 1-click merge (so that someone with privileges can get any patch submitted to the system merged in couple of clicks).

It does not like like we have much choice. If we speak about free external hosting, this is probably github, gerrithub, gitlab. I do not know if any of them is considered friendly enough by FSF.

Quoted 8 lines

If we speak about self hosting, then it is probably gerrit and reviewboard (I wish we could join KDE reviewboard, but grub hardly can be called KDE application ... :) )

I am not thrilled by github workflows. From what I could gather gerrithub looks more appealing, but would love to hear from someone who actually used both.

I spoke with Stefan Reinauer and he proposed to host us at review.coreboot.org if we don't generate too much traffic. I had positive experiences with their gerrit except that some functions are broken on mobile. I'd like to be able to review from phone but it's not a hard requirement.

Quoted 4 lines

One problem is that none of them apparently allows reviewing by E-Mail. This worked (and probably works, just I'm no more involved) quite well in KDE reviewboard. This means all review must be done via web. For me it is rather disadvantage.

That's a disadvantage but I believe that being able to get changes merged quickly outweights this disadvantage.

Quoted 2 lines

Also merged requests are
removed, which means history and past discussions are no more present.

They're kept on review.coreboot.org case

Quoted 7 lines

Which again is better using e-mail review.

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#15 lore raw
In reply to Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 12 lines · Vladimir 'φ-coder/phcoder' Serbinenko

Hello, all. I'm sorry for not being available to do enough maintenance for GRUB in last time but I was overbooked. Yet there is a good news. At Google there is a 20% project and GRUB has been approved as 20% project for me. The goal is to have 2.02 released before the end of this year. Other than the raw lack of time there is another issue which makes maintenance difficult: inefficient VCS. It requires me or someone with privileges manually copy the patch. What other systems would be ok? It obviously has to be a free software and hosted on free software-friendly hosting. It also has to have an efficient 1-click merge (so that someone with privileges can get any patch submitted to the system merged in couple of clicks).

FWIW I'm keeping the facebook patches in my github repo, it works pretty well. Thanks,

Josef