Work in progress patches

Alon Bar-Lev alonbl at redhat.com
Sun Aug 4 18:20:25 UTC 2013


Hi All,

Gerrit 2.6 allows everyone to see all drafts.

This means that no more WIP patches should be submitted, but drafts, once work is done, draft can be published into real change.

Drafts has advantages:

1. It cannot be mistakenly merged.

2. Drafts can be deleted, even a specific change within draft.

3. Drafts have their own category in UI.

4. CI can distiguish between drafts and non drafts and skip steps, for example do not perform integration tests.

Pushing drafts:

Just replace /for/ with /drafts/:

$ git push upstream HEAD:refs/drafts/master/topic

Regards,
Alon Bar-Lev.



More information about the Arch mailing list