lakruzz / gh-phlow

This repository is a template for our default Github issues developer workflow in Praqma
3 stars 2 forks source link

Find ready branches (nextup) #63

Open lakruzz opened 7 years ago

lakruzz commented 7 years ago
git co `git phlow nextup --prefix $BRANCH` #implies "git fetch remote()"
git phlow deliver --local --test $TESTSCRIPT 
lakruzz commented 7 years ago

Imagine the we're on the concourse worker or jenkins slave.

We are "the pip job"

there are two ready branches image

...and, they are both waiting to be merged:

image

lakruzz commented 7 years ago

The new nextupcommand takes a --list switch, which is most useful to humans - as it shows a list ... Without the switch it simply returns the next:

image

lakruzz commented 7 years ago

This makes it useful in the context of a checkout:

image

lakruzz commented 7 years ago

At this point it's essentially a local deliver - and deliver is now purging, so the result becomes:

image

lakruzz commented 7 years ago

Next is served simply by running again:

image

And after that, there aren't any more

image

lakruzz commented 7 years ago

One step further - now we just need to implement the the --test switch to #67 to have our two command PiP emulator

lakruzz commented 7 years ago

@groenborg