Closed maelle closed 1 year ago
* should the use of a http link result in FALSE?
Yes, i would think so, if that's your thoughts there too.
* what should the function actually return?
I guess it would need to be sufficient info to diagnose http vs https, so maybe it should return the link if given, overwise an empty string?
* what is an example of a function defined in this package and used in an endpoint?
The srr_counts()
function , used in the srrchecks
endpoint.
Hope that helps, and thanks for the work already!
@mpadge Feedback needed again! How do I test the new endpoint?
I am aware that at the end, I will need to run some code to conform to your coding style, good thing I wrote a package for that :sweat_smile:
@mpadge two questions
* how/when is spaceout run for styling?
spaceout is not yet set up on GHA here, so it's only enforced via my local pre-commit-config. You may just ignore it if you like.
* if we merge this, how will it be deployed?
It will get automatically deployed at midnight on Monday. But i might force a re-deploy today to incorporate badge changes, which is pretty important.
and when it is deployed do you agree that it is only a matter of updating buffy config?
Yes, i'm pretty sure that's right. Wasn't the intention to have this endpoint automatically called on reviewer assignment or something like that? Do we also want to add another external responder, check readme badge
? That would be very straightforward.
thanks, so I'll let you handle the styling and merging. :pray:
The point is for this to be called at the same time as approval. After reviewer assignment is when the badge is first suggested. Nice idea reg the new endpoint. I will prepare a config PR.
Fix https://github.com/ropensci/software-review-meta/issues/97
@mpadge