-
Notifications
You must be signed in to change notification settings - Fork 59
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
Accepted template queries #269
Comments
Thank you, this is very useful feedback!
* set up github.com/original-owner/pkg with a gh-pages that has the redirect explained at https://devguide.ropensci.org/redirect.html
* make the README of github.com/original-owner/pkg point to github.com/ropensci/pkg
* make sure the remote URL is updated in the local clone.
|
Here is a trick: you can setup the redirect from your main user gh-pages repo:
|
Thanks @maelle and @jeroen for this! First two points are great - I have tried the solution recommended by @jeroen and it worked very smoothly (see https://mcguinlu.github.io/medrxivr). Just on the Appveyor point, I have now removed the Appveyor badge/.yml from the repo, because when I was pushing commits to It's not a huge issue to me, as a lot of my testing is done by GitHub Actions anyway, but it might be worth investigating in case future submission rely on AppVeyor. And just to make it very clear, I think the dev guide/code review is an amazing resource - these points are really minor issues 😀 |
I'll update the guidance reg the redirects then, thanks for trying this? Reg Appveyor why did you remove your Appveyor configuration file? Of course, if you now use GitHub Actions, you don't need Appveyor? These are not minor issues if they make the transfer cumbersome, so thank you for updating this thread! |
I got rid of it because (a) I couldn't work out how to trigger new builds through pushing to the new
I'm not sure how to do that, because if I delete it to re-add it, will it be able to find the As a test, I re-added the appveyor.yml build file, and could start a build on the latest commit to the |
To update codecov with GitHub actions, you can use |
To stay on topic, I remember having a lot of issues with Appveyor as well when I transferred lightr. It was not obvious to me what should be updated or not to follow the guidelines while keeping everything working. And I ended up with the same issue of Appveyor not running on new pushes. It's one of the main reasons I switched to GitHub Actions. Unfortunately, it was some time ago so I don't have a very good recollection of this... |
So it's not just me - phew! And thanks for sharing the GitHub Action for codecov - I hadn't realised there was one! One solution would be to use the dev guide to encourage people to use GitHub Actions from the off? In my (limited) experience, it is substantially easier/more reliable to use than having to configure the relevant |
Reg Appveyor here's an excerpt from an email exchange I had with them 2 years ago after I had assessed many webhooks no longer worked.
(On Appveyor one can add a new project even if it's not under one own's account, one just needs to have access to that repo IIRC). Maybe I should change the order in https://devguide.ropensci.org/ci.html#whichci indeed, and add details about GHA. |
My vote (if I get one?) would be to encourage devs to use GHA - it seems like what is going to become the standard in the near future, so it would future proof the guide, and it means that the testing/pkgdown/codecov can all be run from one place, rather than having three different services! |
of course you get a vote. I'll try to update the guidance with all these things tomorrow. |
Great - I more wasn't sure if it was just an editorial thing that you'd need to discuss! I'll close this now, as I think everything has been addressed! |
I have just gone through the code review process in ropensci/software-review/issues/380, and wanted to flag two items in the guidance given via the "Approved" template which I found confusing. I've included the text from the template as blockquotes, and put my comments below.
pkgdown
InstructionsFirstly, both myself and @maurolepore (the guest editor of my submission) were a bit confused as to how to set the redirect page up, seeing as the repo has been transferred across to ropensci and the old
pkgdown
website on my personal GitHub Pages (https://mcguinlu.github.io/medrxivr/index.html) no longer exists (I think?!). It might be worth adding some extra text to clarifiy this element in the guidance.Secondly, the link given to the redirecting guidance (https://devguide.ropensci.org/#redirect) in the template is incorrect and sends you to the landing page for the dev guide. I think this is because you have gone for a multi-page bookdown approach and using
#section
only works on single page layout. The true link is https://devguide.ropensci.org/redirect.htmlAppveyor Instructions
The second thing that I found confusing was that pacakge authors are encouraged to keep their AppVeyor badge but to have it point towards the original
person/package
path. Does this not mean that any future pushes to theropensci/pacakge
repo will not trigger a new Appveyor build, and that this badge will always have whatever status it did upon transfer, potentially introducing confusion (particularly if other builds are failing)?This is just my subjective experience as someone who has just gone through the code review process, but feel free to ignore any/all of it if I've missed something obvious! Happy also to make some of the smaller changes (e.g. the link) via a PR, but wanted to check in first.
Luke
The text was updated successfully, but these errors were encountered: