-
Notifications
You must be signed in to change notification settings - Fork 1
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
Label version service #9
Labels
Comments
mpadge
added a commit
that referenced
this issue
Aug 23, 2021
mpadge
added a commit
that referenced
this issue
Aug 23, 2021
@xuanxu The endpoint is
Exampleport <- 8000L
repo <- "ropenscilabs/statistical-software-review"
issue_num <- 10
library (httr)
sprintf ("http://<server-IP-address>:%s/stats_badge?repo=%s&issue_num=%s",
as.integer (port), repo, issue_num) |>
GET () |>
content ()
#> [[1]]
#> [1] "6\approved-bronze-v0.0.1" Created on 2021-08-23 by the reprex package (v2.0.0.9000) There are 3 issues it can be tested with here, here, and here, which should respectively return bronze, silver, and gold. Let me know if there's anything that should be done here. Thanks! Edit: The |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As mentioned here, in order to get the latest versioned stats label, an external service is needed.
It should receive the grade (bronze/silver/gold) and the repo + issue number and should label that issue with the correct versioned label, for example:
6/approved-bronze-v0.0.1
Once it's ready, we can change the ApproveResponder to use it.
The text was updated successfully, but these errors were encountered: