Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

update.Group #2

Merged
merged 6 commits into from
Oct 6, 2020
Merged

update.Group #2

merged 6 commits into from
Oct 6, 2020

Conversation

thepwagner
Copy link
Owner

This replaces the v0 of batching updates from thepwagner/action-update-go#53 .

That was a cool experiment, but I'd like to be able to attach configurations to each cluster of updates instead of just grouping updates together.

Aside from the name change, batches were exclusively path prefixes while groups support regular expressions.

The first usable bit of configuration is range, which can be used to filter versions allowed. There's an accepted bias towards semver: ranges are defined using >= v1.2.3 syntax.
The range implementation is functional but super inefficient.

There's a placeholder for frequency, which is what I'm really after.
Being Actions means I need the schedule to trigger every day, for frequency of security updates. But there are some pages that I don't want a daily PR for (aws-sdk-go I'm looking at you).

Batches were one-dimensionally about clustering updates together into a
single branch.

I want to do some per-path configuration flags (specifically: I only
want AWS PRs weekly!), so leaving this as a placeholder.
@thepwagner thepwagner merged commit de9929d into main Oct 6, 2020
@thepwagner thepwagner deleted the update-group branch October 6, 2020 20:10
This was referenced Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant