Skip to content

Release amend tool #69

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

Open
7 tasks
abitrolly opened this issue Oct 12, 2020 · 3 comments
Open
7 tasks

Release amend tool #69

abitrolly opened this issue Oct 12, 2020 · 3 comments

Comments

@abitrolly
Copy link
Member

abitrolly commented Oct 12, 2020

  • Package amend as a snap (Release amend-pr.sh as amend-pr snap linux#25)
    • Setup CI/CD to avoid snap reupload
      • Create reproducible snap builds to compare with uploaded
        • Release ksykaitai to patch timestamps in .snap squashfs archive
@abitrolly
Copy link
Member Author

See also yakshaveinc/linux#25

@abitrolly
Copy link
Member Author

abitrolly commented Oct 24, 2022

reposurgeon works by loading the whole repo into memory, then filtering and modifying commits according to user commands, then saving the repo into new dir.

http://www.catb.org/~esr/reposurgeon/repository-editing.html


reposurgeon drawbacks:

stripped signatures

(doesn't apply) reposurgeon uses git fast-export/fast-import, which [strip commit signatures] (https://gitlab.com/esr/reposurgeon/-/issues/367). If reposurgeon is used to make a branch that needs to be merged back, this will move the branch point back to the first signed commit, rather than to leave it at firsts edited commit. In case of splitting a path to a different repo, this doesn't apply, because repos will likely be different right from the first commit.

@abitrolly
Copy link
Member Author

https://github.com/google/copybara?tab=readme-ov-file#example is another alternative to split repo.

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

No branches or pull requests

1 participant