Skip to content

0.27.2 installs xtensor.json to a non-default, not-modifiable location #2971

Open

Description

@dvzrv

Hi! 👋

I'm packaging this project for Arch Linux. When trying to upgrade to 0.27.2, I noticed, that now the file /usr/etc/xeus-cpp/tags.d/xtensor.json is installed, as per:

file(COPY "${XTENSOR_TAGCONFS_DIR}" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/etc/xeus-cpp")

However, this is a non-standard location and I'm wondering where it should actually go.

Do you support reading this file from the vendor location (/usr) only? If so, it should likely go to e.g. /usr/share/xeus-cpp/tags.d/xtensor.json instead.
If you (also) support an administrator of a system making modifications to that file (if that makes sense at all), the file should (also) be installable (by passing relevant options to cmake) to /etc/xeus-cpp/tags.d/xtensor.json.

In general, in this case it depends on whether administrators should be making overrides to this file at all.
If not, always choose a location in /usr/share/ (or /usr/lib/).
If yes, please also support installation to /etc/.

Currently, I'm blocked from updating this package, so your input would be most valuable! Thanks 🙏

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions