-
Notifications
You must be signed in to change notification settings - Fork 8
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
GitHub is a bit awkward as a code repository for installing rulesets #626
Comments
As a workaround, I am introducing this ruleset into a protected repo, having installed it in the root pico (which doesn't otherwise participate in the application). It then can serve up KRL files.
Then a URL to get code would look like:
assuming one had raised the I suppose one could use a GitHub post commit action to update by raising that same event. |
Have tested this with a couple of rulesets, and it works. Waiting for a change to see how well Flush works. |
The one proviso is that it cannot be used to hold/install a ruleset into itself. Hence using a pico that doesn't otherwise participate in any way in the application. |
While the new ruleset was written in the context of a protected repo, it leaks no information from that project, and is general-purpose. It will be maintained in the PicoStack repo. |
The title is odd, because GitHub is, above all else, a code repository. The awkwardness comes from:
krl
file, and GitHub takes some time to make that available after a commit.token
with a relatively short TTL, and it is different from one press of the Raw button to another.These considerations mean that the Flush button in the Rulesets tab isn't useful. The options are:
http:get
(haven't tried that) No, that doesn't work because it is also based on the URL from which the ruleset was installed, and that will have changed!The text was updated successfully, but these errors were encountered: