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

initialization #8

Open
tortinator opened this issue Mar 27, 2022 · 2 comments
Open

initialization #8

tortinator opened this issue Mar 27, 2022 · 2 comments
Assignees

Comments

@tortinator
Copy link
Contributor

It would be great if the submodules could be updated to the current version, eg when doing make init or alike

@rkaminsk
Copy link
Collaborator

This should probably be done in the paper template itself. It might be possible via an action. Would need some investigation.

@rkaminsk
Copy link
Collaborator

  1. We could trigger a PR from the bibliography repository to update the submodule. There even is an action for this: https://github.com/releasehub-com/github-action-create-pr-parent-submodule. The downside is that this would probably create a lot of PRs.
  2. We could also automate the whole process updating the submodule whenever the biblography changes. The following SO has some info: https://stackoverflow.com/questions/64407333/using-github-actions-to-automatically-update-the-repos-submodules.
  3. Finally, extending the Makefile would also work. But in my opinion anyone who works with git should have the commands below in his fingers (or something similar). :)
git submodule foreach git fetch origin master
git submodule foreach git reset --hard origin/master

So, the second option to keep the paper template up to date might be a good idea. I personally don't use the Makefile because it just runs standard commands that are in my fingers. If you find it useful to add another target for the above commands, we could add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants