Add improved splitting utility#5
Conversation
|
@LukeTowers this is good to go if you wanted to give it a test. If you want to test with the compiled program, run It will run this against the actual module repos, so we may need to reset them as the commits are out of whack with the old split script. |
|
@bennothommo works great! I took a brief look at the module repos on github after running --sync and they seem to be fine. Could you give me a cheatsheet of the common stuff (i.e. sync all the branches, sync a specific branch, sync a specific tag, anything else you can think of)? Are we going to be able to work this into the main repo github actions so we never have to worry about manually syncing again? 😉 |
Sure thing, here's the common uses:
For sure, although not sure the best course of action in regards to making the utility available. The simplest solution would be to download the utility each time it is required in an action, but seems rather "wasteful". |
|
Is there any value in making it a github action available in the marketplace / does that even do a better job than just download the utility every time? |
|
Will give it a try :) |
Remake of wintercms/winter#66.
Adds a much faster and more robust subsplit utility into Winter CMS CLI, and adds a
splitcommand to be used by the maintainers to execute a subsplit of the modules into their split repositories.Usage:
It should be run as follows:
and followed by one of the following:
-s|--sync: Runs a full sync of all branches from the main repo to the subsplits-b|--branch <branch>: Runs a sync for a single branch-a|--tag <tag>: Runs a sync for a single tag--remove-branch <branch>: Removes a single branch from the subsplits--remove-tag <tag>: Removes a single tag from the subsplits