Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Draft: process for fork maintenance #310

Open
macpijan opened this issue Jan 25, 2023 · 3 comments
Open

[RFC] Draft: process for fork maintenance #310

macpijan opened this issue Jan 25, 2023 · 3 comments
Assignees
Labels
RFC Request For Comments

Comments

@macpijan
Copy link
Contributor

macpijan commented Jan 25, 2023

The problem you're addressing (if any)

There are a few aspects to the forkst maintenance to be discussed. One is the branching model we use right now. The other is how to approach to the fork maintenance (and keeping it up to date) in general.

  1. Keeping the per-platform branches is becoming more and more effort as the number of platform increases.
  2. Features and fixes are out-of-sync between the branches. Often some extra work is needed to apply the same set of fixes on multiple branches. It it easier to miss some stuff this way.
  3. Merging changes from upstream requires more and more effort. There are a lot of changes and it is easy to miss something.
    Maybe using patch files would be easier to track our custom changes and send them upstream.

Describe the solution you'd like

TBD

Where is the value to a user, and who might that user be?

Dasharo developers can spend less time rebasing coreboot/edk2/etc repositories to latest versions.
Dasharo developers can have easier time extracting patches from Dasharo forks for sending them upstream.

Describe alternatives you've considered

There are a lot of approaches out there used by different projects:

Additional context

@macpijan macpijan self-assigned this Jan 25, 2023
@macpijan macpijan added the RFC Request For Comments label Jan 25, 2023
@pietrushnic
Copy link

pietrushnic commented Jan 27, 2023

To some extent fork maintenance is related with versioning. Because of that I recommend reading Debian and Fedora versioning schemes to understand what their maintainers learned over years. Interestingly a lot of corner cases were covered.

This problem recently occurred in #314 and while preparing PC Engines release 4.19.0.1.

Versioning problem is little bit related with fork maintenance. If versioning topic do not belong here we probably should create another RFC issue.

@pietrushnic
Copy link

This is how Project Mu Microsoft firm/distro of EDK II deal with releases https://microsoft.github.io/mu/How/release_process/

@pietrushnic
Copy link

I'm getting through the PC Engines v4.19.0.1 rebase process, which is excruciating. During the discussion with Andrew Cooper on the matrix channel, he mentioned that they track patchqueue in dedicated Xen repo. Repo in itself uses guilt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request For Comments
Projects
None yet
Development

No branches or pull requests

2 participants