-
Notifications
You must be signed in to change notification settings - Fork 0
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
How to keep all packages synchronized with the evolving skeleton? #1
Comments
That's interesting... Maybe there should be a # Install hyperSpec.skeleton package from github
remotes::install_github("eoduniyi/hyperSpec.skeleton")
library(hyperSpec.skeleton)
# Update all the packages
hy_update_packages()
.
.
. But yeah, that's just the interface...I'm not entirely sure what Perhaps a user (contributor) would call Note: But if hyperSpec.skeleton has a function that can modify the user's file system, then I'm not sure it will pass through CRAN's requirements, so maybe hyperSpec.skeleton doesn't go on CRAN, but its derived packages can/will. |
I did a bit of research... Apparently one can create template repositories in GitHub and create new repos from this template. I'm not sure whether it is what we need, and that one can pull the upstream changes from the template to the derived repo. I think we need to investigate this. There is also a corresponding discussion on StackOverflow. |
Good find @ximeg I think this is worth a try. Probably safer if the template branch has a single branch. |
Hmmm, Well, it appears that being able to propagate changes from the template repository is only possible if we make the template repository a remote of its derived repositories. So if we happen to make changes to the hyperSpec.skeleton repository, the derived repositories would need to fetch those changes from hyperSpec.skeleton. ..seems like a solid solution assuming we change hyperSpec.skeleton rarely. |
We can create a test on CI system, that checks if we need to update certain files from the "skeleton" repo. |
... and then maybe use patches to propagate relevant changes to the derived repositories. |
How would you recommend us/me going about this? |
E.g., Script + GitHub (GH) actions.
Eric, can you find out how to use GH Actions to copy files from one
repository in to the other? Maybe you can create two repos on your account
and experiment with them?
2020 birž. 24, tr 22:16, Erick Oduniyi <[email protected]> rašė:
… ... and then maybe use patches to propagate relevant changes to the
derived repositories.
How would you recommend us/me going about this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADBC43HY2KMJ2KYQHHMH2R3RYJGIZANCNFSM4NAGKTGQ>
.
|
Sounds good! On it |
Closed in favor of r-hyperspec/r-hyperspec.github.io#13 |
The
hyperSpec.skeleton
will be a 'template' for several packages. Do we have a plan how we are going to synchronize them with each other?I can imagine the following situation: we make four derived packages named A, B, C and D. Some time later, we decide to change the build system, or contrinuous integration, or vignette style, whatever. The purpose of the skeleton is to simplify this, so it should be possible to make a change only once in the skeleton package and propagate it to the derived packages.
Once we have this clarified, it should also go into the contributor's guide :)
The text was updated successfully, but these errors were encountered: