Re: path = not supporting *

Mo B <[email protected]> Mon, 22 Jul 2024 05:25:58 -0700 (PDT)
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
On Friday, July 19, 2024 at 12:55:01 PM UTC+2 [email protected] wrote:

That would really only be syntactic sugar for the current solution, which 
is a pair of instructions like
    ignore = Path *
   # ^^ (an implementation would have to ensure that this is done only once 
and before any explicitly defined "ignorenot"s so as not to override them)
    ...
    ignorenot = Path <pattern>


Ok, that would be a work around. Not sweet but working: 

My previous plan was:
path = All
path = DEV/Service
path = DEV/QPI/Interfaces/C1
path = DEV/QPI/Interfaces/H3.1
path = DEV/QPI/Interfaces/H3.2
path = Custom/05 - Custom/Medicine
path = Custom/05 - Custom/MC*
path = Custom/05 - Custom/Tools

That would be with that workaround:
path = All
path = DEV/Service
path = DEV/QPI/Interfaces/C1
path = DEV/QPI/Interfaces/H3.1
path = DEV/QPI/Interfaces/H3.2

path = Custom/05 - Custom
ignore = Path Custom/05 - Custom/*
ignorenot = Custom/05 - Custom/MC*
ignorenot = Custom/05 - Custom/Tools

Accepted.
It looks like a design issue that can't be solved without an incompatible 
change.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].