Tuckr icon indicating copy to clipboard operation
Tuckr copied to clipboard

Allow conditional groups without a base one

Open eerii opened this issue 1 month ago • 2 comments

Right now to create a conditional group you need to create a base folder, i.e. test and test_unix. This is not a huge issue, but it would be great if you could just create conditional groups and they were detected.

At the moment, it is possible to install groups without a base folder (so just test_unix) with tuckr add test_unix manually, but running tuckr add test returns test doesn't exist.

This feels specially useful for custom targets. For example, I was trying to create an xdg_#desktop folder, that should only be installed on desktop computers. Headless machines shouldn't get this, so I feel it's not necessary to create an xdg path. Of course, something like base, base_#desktop and so on can be created, so this is not very high priority. But still it would be a nice improvement.

eerii avatar Nov 08 '25 13:11 eerii

I think this might be a regression? I remember running into this issue and working on making it work.

Maybe I forgot to fix it. I'm on board with you though.

RaphGL avatar Nov 08 '25 13:11 RaphGL

So I was updating the release notes and found this:

Fixed unsupported groups not being displayed with tuckr status when the base group doesn't exist

So yeah, I only partially fixed the issue and forgot to fix the one you found.

RaphGL avatar Nov 08 '25 17:11 RaphGL