Add workflow to require merge from era branch#2
Conversation
|
oh and like, this is a proposal. yall are in charge now, so take it or leave it if you wanna |
|
i guess i specify some more: the reason why i think we should implement this workflow in the first place is cause i think it would help us move away from the "superbranch" system we sort-of have going on. we've managed to mitigate this problem somewhat by regularly pushing and merging and branching again, so it's not as bad as previous years, but I think we can do better. ultimately, what I think would work best for us is if we made wayy to many branches than we need then merge them in as we're able to get testing time. when working on the season robot code repo, that would give as a loop something like:
from here, you can take one of two approaches:
4b. no robot :(
I think this would help us get away from the issue we've had this year, that of trying to separate the driverstation--the control terminal--and the driverstation--the thing that holds the master copy. i thought using the driverstation would be a workable solution, but given the friction thats added to our iteration process, we should try something better. one thing to consider is that this approach essentially implies that all shop time is testing and debugging; all code should be made, organized, and published ahead of time. frankly, thats the point, though. thats the spiel, time for semantics. both the rationale for this choice is that we (as a team) are focusing on other things than testing code and robot, so we can't really say a |
|
also, i made another branch ruleset for merging into feature branches. its disabled, currently before this merges, i wanna make a check to look for unmerged subfeature branches, too. |
|
an amendment to the previous explaination: I thought that the anyways, that kinda messes up the whole idea i had. |
|
after thinking for a while, i realize that there's some solid drawbacks to this approach. first off, 1. your git branches are going to look like spaghettisucks, but I think this would be inevitable in any sufficiently large project. after dealing with my stuff for a season, i think yall'll be able to figure it out. 2. branch naming can become ambiguouslike in the example: 3. abstract conventionsagain, to someone who's trying to enter the project, they might struggle to understand which branch to work on and how, and that'll pit them against the branch protections. then again, i'd again say that's the type of bureaucracy inevitable with any project. |
basically the new workflow idea is:
update-to-2026orpost-2026post-2026/delete-breaker), maybe stack feature branches if need be (post-2026/delete-breaker/burn-pdh)the reason i need to add this workflow thing is cause this structure would be enforced via branch names, and theres no direct method to verify branch name in github rulesets. thus, use a github workflow as a boolean check, then require the check to pass to merge into main.
once this merges, then someones gotta add the
require status checks to passvalue in theprotect mainruleset