Skip to content

Conversation

@WavyEbuilder
Copy link
Contributor

No description provided.

@WavyEbuilder WavyEbuilder marked this pull request as ready for review November 3, 2025 02:18
@WavyEbuilder
Copy link
Contributor Author

WavyEbuilder commented Nov 3, 2025

Added links to where the directories are from to the commit description and also labelled the single file directory. The name is kind of confusing, but it is indeed a directory not a file, see:
https://gitlab.freedesktop.org/mesa/mesa/-/blob/5d92c92ce56c4c3b9d98936fee51129281923e1a/src/util/disk_cache_os.c#L907
https://gitlab.freedesktop.org/mesa/mesa/-/blob/5d92c92ce56c4c3b9d98936fee51129281923e1a/src/util/disk_cache_os.c#L924

I also decided to split apart the _db and _sf into separate lines instead of relying on optional regex groups so it looks a bit cleaner, I'm happy to merge them back into one but it's a bit unwieldy to read.

@WavyEbuilder
Copy link
Contributor Author

WavyEbuilder commented Nov 3, 2025

I think it might be nice to in the future move this out of xserver into another module as we noted in the Wayland patch earlier, any suggestions for existing ones? Could do the userdomain or the xdg module as it is just labelling? I'm slightly averse to creating a new mesa module just for this as there is a lot of stuff (e.g. fonts) and future things that will need labelling, so ideally whatever we go with we can put other user home dir related labelling in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant