-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add commit statuses reports on pull request view #6845
Conversation
d0a9a4d
to
68ada3f
Compare
is multiple statuses per commit something supported already ? |
@strk yes, it was supported when commit status added. |
a190995
to
f59d6ba
Compare
93fdaf4
to
e71aadd
Compare
cc4e4dd
to
63d53bf
Compare
4a75955
to
e057fd6
Compare
It's ready to review |
Codecov Report
@@ Coverage Diff @@
## master #6845 +/- ##
==========================================
- Coverage 41.25% 41.24% -0.02%
==========================================
Files 464 466 +2
Lines 63107 63153 +46
==========================================
+ Hits 26036 26045 +9
- Misses 33666 33702 +36
- Partials 3405 3406 +1
Continue to review full report at Codecov.
|
@lunny Can you explain for what the StatusHash is needed? |
@jonasfranz In an old version, I want to save avatar/logo to table |
@jonasfranz done. |
@jonasfranz I think you are right. The new table is unnecessary and I have removed it. |
4079d3f
to
e007595
Compare
So, maybe we should have three tables: table 1: commit_status (exsited): store commit status, will drop context column and store context id. |
aa616ad
to
4ab23d4
Compare
@jonasfranz @zeripath done. Please see my updated screenshot on top comment. |
* Add commit statuses reports on pull view * Add some translations * improve the UI * fix fmt * fix tests * add a new test git repo to fix tests * fix bug when headRepo or headBranch missing * fix tests * fix tests * fix consistency * fix tests * fix tests * change the test repo * fix tests * fix tests * fix migration * keep db size consistency * fix translation * change commit hash status table unique index * remove unused table * use char instead varchar * make hashCommitStatusContext private * split merge section with status check on pull view ui * fix tests; fix arc-green theme on pull ui
@lunny how do I enable a branch to be merged only after status checks pass? I'm trying this on my 1.9.0 instance but I'm not able to see any button that says "Enable status checks" or something similar |
That's next PR of mine, see #7481 |
This pull request will add commit statuses report on pull request view page.
default theme:
arc-green theme: