-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
fix testing instructions in CONTRIBUTING.md #6305
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
Conversation
- fixes go-gitea#6243 - partial fix for go-gitea#6269 Signed-off-by: Steve Traugott <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #6305 +/- ##
=========================================
Coverage ? 38.87%
=========================================
Files ? 363
Lines ? 51210
Branches ? 0
=========================================
Hits ? 19910
Misses ? 28432
Partials ? 2868 Continue to review full report at Codecov.
|
I think maybe many of us are using macOS?or windows? |
@lunny I finally started bringing myself up to speed on go this past week; am thinking of converting this script from bash to go so it will be more portable. Should we kill this PR, or keep it open and I update it with the go version? |
On the other hand, I worded the changes to CONTRIBUTING.md such that if you're on non-Linux you would still install drone-cli manually just like now; for manual installation I'm adding the info about disk space and drone-cli version. This means we have the option of accepting this PR as-is; it would be better than what we have in CONTRIBUTING.md right now. (Right now the testing instructions in CONTRIBUTING.md don't work at all, due to the release of drone-cli 1.x.) I do think that the script should be in go rather than bash for portability though, and if we were to accept this PR now I think the script should be replaced with a go version later. |
I've removed the idea of automated drone run at PR submission from both this PR and from #6269. Still thinking. Maybe the right thing to do with this PR is to remove the script itself and remove mention of the script from CONTRIBUTING.md, leaving in there the new instructions about disk space and drone version. That will fix #6243. |
Okay, I've removed the bash script and left in place an updated set of run instructions in CONTRIBUTING.md. This fixes #6243. Until we have the go version, I'll leave the bash script at https://github.com/stevegt/gitea/blob/drone-cli-bash/scripts/test-local.sh for reference. |
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.
👏👏
partial fix for Script contributor tests #6269Signed-off-by: Steve Traugott [email protected]