-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Continuation of the following conversation: #136 (comment)
@jerodfritz do you prefer being able to fast-forward merge and me to update the PR?
If yes, do you prefer rebases or do you like me to keep an accurate history and just merge dev into the feature branches?
Especially, if the npm run gen:all command needs to be run to add the new script including file size to the list of curated scripts.
Honestly, I don't have a strong preference. Would you be interested in helping dictate and moderate the flow here?
Here are my quick thoughts and suggestions:
- Don't require fast-forward merges
- this is not a full code base of an app, where every change to the base branch requires a retest of the whole feature branch
- this repositories settings for PRs already seem to be set up this way
- Remove/change the pre-commit hook
https://github.com/eshtek/hexos-docs/blob/main/.husky/pre-commit- A feature branch that adds or changes an install script has to be updated every time a change is made to other install scripts before a merge
- Make it a "CI / GitHub action"-only thing, and run it if files in the
docs/public/install-scripts/directory are changed - This also eliminates the risk of merging docs that were not properly generated (otherwise fast-forward merges would be necessary)
- Updating feature branches
- Merging the dev branch into the feature branch is preferred over rebases
- preserves accurate history
- allows seeing the evolution of the code and thought process over time
- just a preference, not a rule, as the changed code is not yet in the repositories branches
- Merging the dev branch into the feature branch is preferred over rebases
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels