all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>
Subject: Re: [pbs-devel] look-ahead in regex group filter for sync jobs not allowed
Date: Thu, 02 Mar 2023 09:12:35 +0100	[thread overview]
Message-ID: <1677744438.gjvc3ux8mm.astroid@yuna.none> (raw)
In-Reply-To: <3a32f3c5-65b5-b8c5-a78e-cc14983bdf10@itronic.at>

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 ;)




  reply	other threads:[~2023-03-02  8:13 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 [this message]
2023-03-02 17:22   ` Harald Leithner

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=1677744438.gjvc3ux8mm.astroid@yuna.none \
    --to=f.gruenbichler@proxmox.com \
    --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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal