-
Notifications
You must be signed in to change notification settings - Fork 134
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
Testing auto-updater #348
Comments
At this time, it's not a bot but a script. It does have a
Simple to do, but is this necessary? Eventually, upstream updates will trickle in randomly anyway. What you are seeing right now is me semi-manually working my way through the alphabet for the recipes the tool can deal with so far. I do this to get started and get updates out of the way, and to have some end-to-end real world test cases. Handling the branches and PRs can't be tested well in the "lab" because of Github and CircleCi interaction.
I'm not sure I think that's a really good idea. If you would like to have the PR to have more information to make review simpler, do tell. It's a Jinja template and I can add more data easily. Perhaps at some point down the road, patch-level updates could be auto-merged. For now, I do think that a pair of human eyes remains necessary. There are just too many things that can go wrong. Github is just like a bio database - if you assume something won't happen because it doesn't make any sense, there surely will be an entry (=repo) in which a user did just that.
People listed in Perhaps I could add them quoted to the PR description so that they can be pinged by hand? Another idea would be pinging them only if the recipe fails to build. That's something an actual bot running on a webhook should be doing though. Not much compute needed, but a reaction to something happening on GH.
Perhaps. CF calls those things "Migrations". Seeing them as "self patching lints", they could be applied before updating the recipe. |
First, I want to say again how awesome this is! Chiming in on a couple of points: RE: order. Eventually in production we might want to randomize. A pathological case might be if bioconductor has a release at the same time as UCSC, in which case the latter might not get bumped for a while. RE: auto-merging. Agreed on humans eyes/brains needed. Having the labels on them is great for helping sort though. RE: pinging. I like the idea of a list of quoted pings including people in git blame and upstream authors to avoid unsolicited notifications but still lower the activation energy of asking for help/clarification. RE: auto-closing failed. Not sure how I feel about this. Once the autobump-broken label is applied it can be closed to de-clutter the open PRs. Doing a round of cleanup means filtering the closed list by autobump-broken, maybe an autobump-closed label would help identify any auto-closed from manually closed. RE: linting patches. If the recipe is being touched and looked at, this seems like as good a place as any to do relatively easy, automatable patches. |
I'm still not convinced, but since it'll just need a couple of lines to create an extra command line option, I'll just add it. Regarding Bioconductor: The the recipes currently use
This may still be something for the future. But looking through more recipes than I had before, there are way too many with only pointless tests. Things like
Ok, will add that.
Don't worry - this is just temporary. I'm marking PRs with that label instead of closing them because at the moment the updater would just create a new PR. I've yet to come up with a good way to avoid retrying already rejected updates.
Agreed. Do we have things that should be integrated before I continue updating recipes? |
While testing, the auto-updater will reference this issue.
The text was updated successfully, but these errors were encountered: