Hi Karl,
Awesome work

Maybe I am saying something already known, but I think this recap can be
useful.

I see a lot of Apache projects working with this workflow which is very
efficient, even for self service work:
- have a Jira/github issue
- create a github pull request, github will help reviews just by squashing
all commits in an unified view
- have automatic QA tests run against the PR with Jenkins/Travis/...
- once all lights are green (reviews, CI/QA...)..
- use a magic script which:
* checks out the branch
* do a squash commit
* create a meaningful comment
* preserve original author
* add list of reviewers
* verifies that QA is okay
* push to main repo
* optionally cherry pick the commit to other branches
* close the related jira/github issue

There are a few Apache projects which use this kind of magic script, I know
Kafka, Flink, Bookkeeper...

I have backported Bookkeeper (which started as a copy from Flink if I
remember correctly) one to a bunch of other projects and it works as a
charm.

https://github.com/apache/bookkeeper/blob/master/dev/bk-merge-pr.py

My 2 cents
Cheers
Enrico


Il dom 22 lug 2018, 12:30 Karl Heinz Marbaise <[email protected]> ha
scritto:

> Hi,
>
> I have wrote up a conclusion about my currently working scripts to make
> my life easier...
>
> If someone is interested in take a look at:
>
> https://blog.soebes.de/blog/2018/07/21/automate-it-part-i/
>
> suggestiongs / ideas are always welcome...
>
> Kind regards
> Karl Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> --


-- Enrico Olivelli

Reply via email to