Skip to content
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

Use GHA for reverse dependency check #21

Closed
IndrajeetPatil opened this issue Feb 25, 2022 · 3 comments · Fixed by easystats/easystats#266
Closed

Use GHA for reverse dependency check #21

IndrajeetPatil opened this issue Feb 25, 2022 · 3 comments · Fixed by easystats/easystats#266
Labels
enhancement New feature or request

Comments

@IndrajeetPatil
Copy link
Member

Doing this is quite resource intensive on local machines and isn't going to scale well, especially as our reverse dependencies continue to grow.

A good place to start would be this repo and adapting it to our needs:
https://github.com/yihui/crandalf

@IndrajeetPatil
Copy link
Member Author

Closed by mistake

@bwiernik
Copy link

We can do it conditionally, such as when cutting a release. The psychmeta repo Actions has an example of that

@IndrajeetPatil IndrajeetPatil added the enhancement New feature or request label Dec 12, 2022
@IndrajeetPatil IndrajeetPatil transferred this issue from easystats/easystats Dec 12, 2022
@IndrajeetPatil
Copy link
Member Author

@easystats/maintainers I have created a new workflow for reverse dependency check.

This workflow will be triggered only on PRs coming from branches whose names start with rc (release candidate). Revdepchecks are extremely time-consuming, and so we should run them only when we need to, not on every PR.

So, when you want to create a new release on CRAN and wish to run revdepcheck using GHA, you must create a branch that has this prefix (e.g. rc_cran_0.20.1, rc-insight-0.20, etc.) and then create a PR.

@IndrajeetPatil IndrajeetPatil pinned this issue Jan 15, 2023
@IndrajeetPatil IndrajeetPatil unpinned this issue Jan 15, 2023
@IndrajeetPatil IndrajeetPatil changed the title Use GitHub actions to check all reverse dependencies of our packages Use GHA for reverse dependency check Jan 15, 2023
@IndrajeetPatil IndrajeetPatil pinned this issue Jan 15, 2023
@strengejacke strengejacke unpinned this issue Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants