Thanks to visit codestin.com
Credit goes to github.com

Skip to content

meson wrap install can be confusing #16183

Description

@JaroCamphuijsen

Problem description

When starting to use the meson wraptool as a first-time user, it can be confusing what it is actually doing. The command meson wrap install (along with its documentation seems to suggest that the specified dependency will actually be installed on your system. This would make it a useful and integral part of the installation procedure and documentation of your own software project.
However instead, by looking at what it actually does, (i.e. checking for existence of a wrapfile and if it doesn't exist download the latest wrap file for that package from the wrapDB), the command seems to be more of a convenience tool that can be used once when setting up the installation procedure of your software. This corresponds more to the formulation in the documentation of "Using wrapDB":

[...] Or, as a shortcut, you can add the latest wrap file for zlib to your project with this command:

meson wrap install zlib

Proposition

Would it be an option to

  1. rename the command to something like meson wrap get (understandable if this is too big a change and undesirable)
  2. and/or in any case clarify the documentation about the wrap tool install command and what it does/how it works

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