-
Notifications
You must be signed in to change notification settings - Fork 13
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 data from /etc/os-release to determine what branch to pull #62
Use data from /etc/os-release to determine what branch to pull #62
Conversation
Thinking out loud, but could we add a cheat code to this to switch to master branch? Something like |
We could do that. Or have a file like |
I like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve of this, but will hold off on merging as we discussed.
Closed by accidentally deleting a branch. Reopening |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't figure out how to revoke my approval, but hoping that by adding "request changes" it will revert. Blocking merge on this pending resolution to the issue mentioned about reading unprivileged data into a root script.
@ripleymj The discussed issues hopefully are mostly resolved with this latest commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to look closer at this tomorrow, but tentatively: "stip" is not a word, and the temp file should be deleted when done.
73aa25c
to
620ff4a
Compare
Those specific concerns should be resolved in the latest force push |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revoking approval, per your request.
I will be pushing a series of commits to test with. I'll advise once this is ready for review again. Pushing to this branch makes testing easier, but unfortunately also updates the pull request |
c1a56aa
to
453b1a1
Compare
3d4ec5b should be ready to be tested and reviewed |
453b1a1
to
121d731
Compare
The VERSION_CODENAME is how we will be tagging branches in the future. Source /etc/os-release to get the VERSION_CODENAME variable and pass that to ansible-pull's --checkout option. Report an error if /etc/os-release does not exist. Users may also specify their own configurations in their home configuration directory (defaults to ~/.config/vm_config) to specify a branch and URL
121d731
to
3d4ec5b
Compare
Rebased on top of master to resolve merge conflicts |
@ripleymj don't hate me, but I did a thing: https://gist.github.com/kylelaker/8e8bc9f97514bcda6bfa813d7e7a6f72 Let me know what you think. In a lot of ways, it's better than this wrapper. |
#94 is way better. |
The VERSION_CODENAME is how we will be tagging branches in the future.
Source /etc/os-release to get the VERSION_CODENAME variable and pass
that to ansible-pull's --checkout option. Report an error if
/etc/os-release does not exist.
This must not be merged until we create a branch for the Sylvia release.