-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 integrations tests from git cli #3377
Conversation
Extracted form for easing review process and debug go-gitea#3152
3b06511
to
45d73fa
Compare
Codecov Report
@@ Coverage Diff @@
## master #3377 +/- ##
=========================================
+ Coverage 35.01% 35.6% +0.58%
=========================================
Files 281 281
Lines 40560 40571 +11
=========================================
+ Hits 14204 14447 +243
+ Misses 24255 23985 -270
- Partials 2101 2139 +38
Continue to review full report at Codecov.
|
Remove debug but otherwise LGTM |
@lafriks done. I don't know why it fix the blocking situation in previous commit. (maybe related to drone ?) |
trusted LGTM although the code is very hard to review, lots of things removed! |
In go-gitea#3377, I put check inside all write key function. This one is useless no.
In #3377, I put check inside all write key function. This one is useless no.
The WIP prefix toggling link on the sidebar only supported toggling the *first* prefix specified in `[repository.pullrequest].WORK_IN_PROGRESS_PREFIXES`. If the pull request had a title with any other prefix, the first prefix listed in the config was added (and then removed on toggling it off). This little change makes all of the prefixes available for the JavaScript function that does the toggling, and changes said function to find the used prefix first, and toggle that. When adding the prefix, it will still default to adding the first one listed in the configuration, but it will happily remove any others if those are present. Fixes go-gitea#3377. Signed-off-by: Gergely Nagy <[email protected]> (cherry picked from commit a93a99e)
Extracted from #3152 for easy review process.