gerrit/gerrit-server/src/main/java/com/google/gerrit/server/edit
David Ostrovsky 6ffb7d9358 Discontinue draft workflow
Migration is implemented to either replace draft changes with private
(default) or work-in-progress changes.

We bump the change index version to trigger online reindexing.
That's needed because we don't support reindexing during init step, and
we need to reindex all changes, because DRAFT is removed from the
Change.Status enum and index still contains the old references to the
changes that were migrated to private or work-in-progress changes. To
make online reindexing work, draft status is replaced with the new
change status.

PolyGerrit UI is not addressed in this change and will be done in a
follow-up change.

User branches are not updated in this change to clean-up My-Menu entry
in user preferences. This will be done in a follow-up change.

refs/meta/config is not updated in this change to clean-up draft
related permissions. This will be done in a follow-up change.

ChangeControl#isPatchVisible() call sites are migrated to the
ChangeControl#isVisible() and isVisible() is made public again. This and
other temporary changes to ChangeControl class will be cleaned up in
follow up changes.

Bug: Issue 6880
Change-Id: Icfcb34efe1ff0ea1d39e94ed500db776f5770d8f
2017-09-30 15:47:14 +02:00
..
tree Allow fixes to refer to several files 2017-03-23 09:49:46 +01:00
ChangeEdit.java Remove superfluous/misleading methods from ChangeEdit 2017-03-23 09:49:46 +01:00
ChangeEditJson.java GET edit info: Expose base patch set number 2017-04-28 17:47:12 +02:00
ChangeEditModifier.java ChangeEditModifier: Fix exception message when ref cannot be updated 2017-09-20 14:39:52 +02:00
ChangeEditUtil.java Discontinue draft workflow 2017-09-30 15:47:14 +02:00
UnchangedCommitMessageException.java InlineEdit: Report same commit message error to client 2014-12-03 10:02:17 +09:00