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

MR Process: Create a simple grunt task for patching one maintenance branch #365

Open
zepumph opened this issue Oct 2, 2024 · 1 comment

Comments

@zepumph
Copy link
Member

zepumph commented Oct 2, 2024

From a conversation with @samreid.

Like cd density; grunt maintenance-cherry-pick --dependency=density-buoyancy-common--sha=SHA --branch=1.2

This is basically an alias for:

    await m.createPatch( DEPENDENCY, 'for rc.2', patchName );
    await m.addPatchSHA( patchName, sha );
    await m.addNeededPatch( 'REPO', '1.2', patchName );
    await m.applyPatches();
    await m.updateDependencies();
@zepumph
Copy link
Member Author

zepumph commented Oct 2, 2024

One important part of this change would be modulifying the .maintenance.json so that we didn't blow away a central one on each grunt command. Likely what would be best here is to just use a maintenance state that is never written, and just lives in memory.

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