Wilcard in the conflicts field of the control file
Published: April 11, 2024 - 4:51 PM
Context:
WAPT version: 2.2.3 Enterprise
Server OS: Debian 12
Administration console OS: Win10pro
Package development workstation OS: Win10pro
Hello everyone,
Context: I have several packages that customize a configuration according to the user (e.g., set-cfg-compta, set-cfg-direction...).
I don't know in advance how many variations of these packages I will have.
These packages will conflict with each other.
To manage these conflicts, I use the `conflicts` field in the `control` file, but I have to explicitly list the packages in this field.
Is there a way to use a wildcard in the `conflict` field (e.g., `set-cfg-*`) to avoid republishing the different packages each time a new package of type `set-cfg-*` is added? This would prohibit all packages of this type except itself, of course.
I haven't found any information about this in the official documentation or on the forum.
I could do the check within the package, but the control field is more immediate.
Regards,
Christophe
PS: Sorry, I have a lot of small questions at the moment.
WAPT version: 2.2.3 Enterprise
Server OS: Debian 12
Administration console OS: Win10pro
Package development workstation OS: Win10pro
Hello everyone,
Context: I have several packages that customize a configuration according to the user (e.g., set-cfg-compta, set-cfg-direction...).
I don't know in advance how many variations of these packages I will have.
These packages will conflict with each other.
To manage these conflicts, I use the `conflicts` field in the `control` file, but I have to explicitly list the packages in this field.
Is there a way to use a wildcard in the `conflict` field (e.g., `set-cfg-*`) to avoid republishing the different packages each time a new package of type `set-cfg-*` is added? This would prohibit all packages of this type except itself, of course.
I haven't found any information about this in the official documentation or on the forum.
I could do the check within the package, but the control field is more immediate.
Regards,
Christophe
PS: Sorry, I have a lot of small questions at the moment.