Merge lp://qastaging/~ltrager/simplestreams/filter_dash into lp://qastaging/simplestreams

Proposed by Lee Trager
Status: Merged
Merged at revision: 445
Proposed branch: lp://qastaging/~ltrager/simplestreams/filter_dash
Merge into: lp://qastaging/simplestreams
Diff against target: 12 lines (+1/-1)
1 file modified
simplestreams/filters.py (+1/-1)
To merge this branch: bzr merge lp://qastaging/~ltrager/simplestreams/filter_dash
Reviewer Review Type Date Requested Status
simplestreams-dev Pending
Review via email: mp+308667@code.qastaging.launchpad.net

Commit message

Allow filtered fields to contain a '-'

Description of the change

When we added bootloaders to the MAAS SimpleStream we created a new field 'bootloader-type.' I just tried to use the command below to mirror just the bootloaders and was unable to because the regex which validates the filter does not accept a '-' in the field name.

sstream-mirror --keyring=/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg http://images.maas.io/ephemeral-v3/daily/ ~/mirrored_bootloaders 'bootloader-type~(uefi|open-firmware|pxe)'

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: