-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Enhance release list #6025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance release list #6025
Conversation
adelowo
commented
Feb 9, 2019
•
edited
Loading
edited
- If the email of the tag commit belongs to a user, make the user the publisher else do nothing ( current behavior)
- For tags pushed to Gitea, show the number of commits behind the master branch - as is done for releases created via the UI
Codecov Report
@@ Coverage Diff @@
## master #6025 +/- ##
=========================================
Coverage ? 41.26%
=========================================
Files ? 570
Lines ? 74398
Branches ? 0
=========================================
Hits ? 30703
Misses ? 39868
Partials ? 3827 Continue to review full report at Codecov.
|
Does "commits behind" default to master or default branch? The latter would be better IMO :-) |
It defaults to the default branch |
Also show the number of commits behind the default branch for tags created outside the UI don't show the tag date again for tags pushed to the repo. Since it is already on the sidebar and looks like duplication
d476ab9
to
09fef96
Compare
Ready for review :) |
7edee68
to
f985e2c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve conflicts, looks good otherwise.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you for your contributions. |
Please resolve the conflicts. |
1 similar comment
Please resolve the conflicts. |
Will do this weekend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gitrepos aren't always closed if there is an error. You must ensure that they're closed.
@adelowo Looks like we have conflicts again, and the defer issue mentioned above. |
Codecov Report
@@ Coverage Diff @@
## master #6025 +/- ##
==========================================
- Coverage 42.21% 42.17% -0.05%
==========================================
Files 683 684 +1
Lines 75458 75541 +83
==========================================
+ Hits 31858 31860 +2
- Misses 38377 38456 +79
- Partials 5223 5225 +2
Continue to review full report at Codecov.
|
Ready for review |
@lunny would you like to re-review? |
🚀 |
continue | ||
} | ||
|
||
release.PublisherID = u.ID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This maybe override the original PublisherID
, @adelowo why we need that?