From: Harald Leithner <leithner@itronic.at>
To: pbs-devel@lists.proxmox.com
Subject: Re: [pbs-devel] look-ahead in regex group filter for sync jobs not allowed
Date: Thu, 2 Mar 2023 18:22:55 +0100 [thread overview]
Message-ID: <d20857f4-dbec-aa05-db43-5e9162445ecf@itronic.at> (raw)
In-Reply-To: <1677744438.gjvc3ux8mm.astroid@yuna.none>
[-- Attachment #1.1.1: Type: text/plain, Size: 1568 bytes --]
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@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@itronic.at | itronic.at
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2485 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]
prev parent reply other threads:[~2023-03-02 17:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 17:09 Harald Leithner
2023-03-02 8:12 ` Fabian Grünbichler
2023-03-02 17:22 ` Harald Leithner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d20857f4-dbec-aa05-db43-5e9162445ecf@itronic.at \
--to=leithner@itronic.at \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.