-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Automate List Updates #5
Comments
Hi @indolering. Thanks for the suggestion. Any ideas as to how you would go about doing this? I'm open to ideas ;-) |
Well, you would need to start by fully automating the entire build, test, and (eventually) update process. I would start with Gulp ;). After that, I would be willing to figure out how to wire up the Atom feed to a Github webhook. |
Would love to see this! I'm willing to contribute some effort to implementing it. ;) I'm wondering if we can automate this via TravisCI or perhaps negotiate with Salesforce/Heroku to get a charity dyno. I have a meeting with some folks there on Monday and will inquire. Backstory: I'm a maintainer of |
Oooh, hey, TravisCI has a "cron" thing now so maybe a daily poll is good enough? https://docs.travis-ci.com/user/cron-jobs/ https://gist.github.com/willprice/e07efd73fb7f13f917ea might cover the pushing to github part, with a similar idea for npm (i.e., store the auth tokens in an encrypted env var) |
Hi @stash, Thanks for your comments. I will totally look into this. This is a feature that has been requested a few times and makes a lot of sense. I'll explore implementation options over the next few days and will post ideas/thought here. Best, L |
@lupomontero Any chance there's been some movement on this..? |
... really sorry for having taken such a long time to look into this... doing so right now... Many thanks for the references @stash 👍 I'll report back in the next few hours... 🤞 ... |
In the end I've taken quite a bit longer than I initially expected... 🙈 ... but I think this should do for now. I've added a custom CI script that will automatically fetch the latest PSL list, rebuild the module and send the changes as a PR, which should notify me. I can then double check, merge it in and publish a new release. I've scheduled a weekly job on Travis CI to to do this. The first run resulted in #50 😉 To help with this, I ended up writing Let's see how this goes and if it seems sensible I'm happy to consider further automation. |
@lupomontero Those PRs haven’t been merged in 8+ months; are there plans to further automate this process? |
It would be ideal if we used the atom feed to update to refresh the official list and run new tests. I'm not sure if you would want it to automatically push to the repository or package mangers, but it would be good if the delta between updates was minimized.
The text was updated successfully, but these errors were encountered: