[pbs-devel] look-ahead in regex group filter for sync jobs not allowed

Harald Leithner leithner at itronic.at
Thu Mar 2 18:22:55 CET 2023


Hi,

thanks for the bugzilla link. Hope you find sometime for this feature.

Having 2 lists (include and exclude) would be a flexibel solution since 
the filter is a OR filter...

regards,

Harald


Am 02.03.2023 um 09:12 schrieb Fabian Grünbichler:
> On March 1, 2023 6:09 pm, Harald Leithner wrote:
>> Hi,
>>
>> I try to exclude one vm from a sync job but it seems it's not possible.
>> There is no invert option for filter and the regex doesn't allow
>> (negativ) look-ahead.
>>
>> It's possible that my regex foo is not good enough but I think also for
>> the filter types "Type" and "Group" it should be possible to invert the
>> filter.
>>
>> I would believe it's a common use case to sync this one big vm separate
>> from the tiny vms.
>>
>> Or do I miss something?
> 
> it's one of the parts that's still missing, there are basically two approaches
> - add some flag to individual filters to invert them (e.g., prefix them with '!')
> - add a second filter parameter for exclusion
> 
> and we haven't decided on one yet. shouldn't be too hard to implement though.
> 
> https://bugzilla.proxmox.com/show_bug.cgi?id=4315 in case you want to subscribe
> for updates ;)
> 
> 
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
> 

-- 
ITronic

Harald Leithner
Lichtäckerstraße 22, A-2522 Oberwaltersdorf
Tel: +43-1-545 0 604, Mobil: +43-699-123 78 4 78
Mail: leithner at itronic.at | itronic.at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x473B935C49EA1B08.asc
Type: application/pgp-keys
Size: 2444 bytes
Desc: OpenPGP public key
URL: <http://lists.proxmox.com/pipermail/pbs-devel/attachments/20230302/f681be83/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pbs-devel/attachments/20230302/f681be83/attachment.sig>


More information about the pbs-devel mailing list