Skydio / revup

Effortlessly create and manage pull requests without changing branches. Powers a stacked diffs workflow with python and git "plumbing" commands.
https://github.com/Skydio/revup
MIT License
309 stars 59 forks source link

upload: Split populate reviews into 2 phases #157

Closed jerry-skydio closed 5 months ago

jerry-skydio commented 6 months ago

This sets the function up to allow arbitrary topic order in the future.

The first pass handles finding the relative topic, but does not assume it's already populated. The second pass needs to assume that the relative is already populated since it uses it, so it needs to be done in topological order (which is a followup pr).

jerry-skydio commented 6 months ago

Reviews in this chain: └https://github.com/Skydio/revup/pull/157 upload: Split populate reviews into 2 phases  └https://github.com/Skydio/revup/pull/158 upload: Add topological_topics as a generator   └https://github.com/Skydio/revup/pull/155 upload: Allow arbitrary topic order    ├https://github.com/Skydio/revup/pull/153 upload: Support Update-Pr-Body as a commit tag    │└https://github.com/Skydio/revup/pull/167 upload: Add "branch-format" config option and commit tag    └https://github.com/Skydio/revup/pull/165 restack: Be topological and update docs

jerry-skydio commented 6 months ago
# head base diff date summary
0 edb2370d df295937 diff Mar 12 14:07 PM 1 file changed, 9 insertions(+), 6 deletions(-)
1 0a5408f3 df295937 diff Mar 12 15:16 PM 1 file changed, 25 insertions(+), 22 deletions(-)
2 ad555d4a df295937 diff Mar 12 15:20 PM 0 files changed
3 8b3358d6 df295937 diff Mar 12 15:25 PM 1 file changed, 7 insertions(+), 7 deletions(-)
4 fc580cd3 df295937 diff Mar 13 13:40 PM 2 files changed, 3 insertions(+), 4 deletions(-)
5 4231fd44 139ad626 rebase Mar 13 13:46 PM 0 files changed