Slackbot
09/14/2023, 11:25 AMNoé RUBINSTEIN
09/14/2023, 11:26 AMLuke Storry
09/14/2023, 11:49 AMalias gts='gt repo sync && gt stack restack && gt stack submit'
with an optional checkout main beforehand to pull in all the stacks.
gt repo sync got an optional --restack flag recently, and now with v1 gt sync auto-restacks by default, which is nice.
The new command of gt sync; gt s is manageable as long as it works from main, but I’d love a proper CLI command to do all bulkJacob Gold
09/14/2023, 1:08 PMgt submit --stack (gt ss) from trunk should do everything — let me know if you encounter anything unexpectedNoé RUBINSTEIN
09/14/2023, 1:10 PMJacob Gold
09/14/2023, 1:10 PMNoé RUBINSTEIN
09/14/2023, 1:11 PM$ git ss
🥞 Validating that this Graphite stack is ready to submit...
ERROR: Command failed with error exit code 129:
git merge-tree 052fbba9117e73e4dd0829e2306a110ba88e2671 c3efeb440040dcee0bcf91e5ef88eccb6daf7399
usage: git merge-tree <base-tree> <branch1> <branch2>Jacob Gold
09/14/2023, 1:11 PMJacob Gold
09/14/2023, 1:11 PMNoé RUBINSTEIN
09/14/2023, 1:11 PMJacob Gold
09/14/2023, 1:11 PMNoé RUBINSTEIN
09/14/2023, 1:12 PMJacob Gold
09/14/2023, 1:13 PMNoé RUBINSTEIN
09/14/2023, 1:15 PMsudo add-apt-repository ppa:git-core/ppa; sudo apt update; sudo apt install gitJacob Gold
09/14/2023, 1:15 PMLuke Storry
09/14/2023, 1:15 PMgt ss pull, sync, restack, and submit?Jacob Gold
09/14/2023, 1:16 PMJacob Gold
09/14/2023, 1:16 PMJacob Gold
09/14/2023, 1:16 PMNoé RUBINSTEIN
09/14/2023, 1:19 PMNoé RUBINSTEIN
09/14/2023, 1:20 PMrestack foo in this context means restack foo and all of its upstack branches, so in the case of my trunk branch, it means restacking everythingJacob Gold
09/14/2023, 1:21 PMJacob Gold
09/14/2023, 1:21 PMNoé RUBINSTEIN
09/14/2023, 1:21 PMJacob Gold
09/14/2023, 1:22 PMLuke Storry
09/14/2023, 1:32 PMgt sync first?Jacob Gold
09/14/2023, 1:34 PM