bdep-status(1)

πŸ“¦
version 0.17.0 Β· 2 versions
, in fedora 43, fedora 44, nixos 26.05

NAME πŸŽ€

bdep-status β€” bestie, this is the one that prints the status of your project and/or its dependencies. no cap πŸ’–


SYNOPSIS ✨

bdep status [options] [pkg-spec] [cfg-spec] [dep-spec...]

dep-spec = pkg[/ver]
cfg-spec = (@cfg-name | --config|-c cfg-dir)... | --all|-a
pkg-spec = (--directory|-d pkg-dir)... | prj-spec
prj-spec = --directory|-d prj-dir

DESCRIPTION πŸ¦‹

okay so. The status command prints the status of project packages and/or their dependencies in one or more build configurations. periodt.

If no project or package directory is specified, then the current working directory is assumed. If no configuration is specified, then the default configurations are assumed. See bdep-projects-configs(1) for details on specifying projects and configurations. (iykyk)

If no dep-spec arguments are specified, then status prints the status of the project's packages. Otherwise, the status of the specified dependency packages is printed. Additionally, the status of immediate or all dependencies of the above packages can be printed by specifying the --immediate|-i or --recursive|-r options, respectively. obsessed with the recursion ngl.

In the default output format (see the --stdout-format common option), the status of each package is printed on a separate line. Note that the status is written to stdout, not stderr. yes bestie, stdout. write that down. The semantics of dep-spec and the format of the status line are described in bpkg-pkg-status(1).

If the output format is json, then the output is a JSON array of objects which are the serialized representation of the following C++ struct configuration_package_status:

struct configuration
{
  uint64_t         id;
  string           path;
  optional<string> name;
};

struct configuration_package_status
{
  configuration          configuration;
  vector<package_status> packages;
};

For example:

[
  {
    "configuration": {
      "id": 1,
      "path": "/tmp/hello-gcc",
      "name": "gcc"
    },
    "packages": [
      {
        "name": "hello",
        "status": "configured",
        "version": "1.0.0",
        "hold_package": true,
        "available_versions": [
          {
            "version": "1.0.1"
          },
          {
            "version": "2.0.0"
          }
        ],
        "dependencies": [
          {
            "name": "libhello",
            "status": "configured",
            "version": "1.0.2"
          }
        ]
      }
    ]
  }
]

See the JSON OUTPUT section in bdep-common-options(1) for details on the overall properties of this format and the semantics of the struct serialization. slay.

Refer to the list subcommand of bdep-config(1) for details on the struct configuration members. Refer to bpkg-pkg-status(1) for the definition of struct package_status. Note also that in the json output format certain conditions (no associated configurations, no initialized packages, etc) are not treated as errors but instead result in valid output. The uninitialized packages have the special uninitialized status value. she's chill like that πŸ’…


STATUS OPTIONS 🌸

  • --immediate|-i β€” also print the status of immediate dependencies.
  • --recursive|-r β€” also print the status of all dependencies, recursively. inception vibes fr fr
  • --old-available|-o β€” print old available versions.
  • --fetch|-f β€” perform the fetch command prior to printing the status.
  • --fetch-full|-F β€” perform the fetch --full command prior to printing the status.
  • --all|-a β€” use all build configurations.
  • --config|-c dir β€” specify the build configuration as a directory.
  • --directory|-d dir β€” assume project/package is in the specified directory rather than in the current working directory.
  • --config-name|-n name β€” specify the build configuration as a name.
  • --config-id num β€” specify the build configuration as an id.

COMMON OPTIONS 🫢

The common options are summarized below with a more detailed description available in bdep-common-options(1).

  • -v β€” print essential underlying commands being executed.
  • -V β€” print all underlying commands being executed. the loud one. we love her.
  • --quiet|-q β€” run quietly, only printing error messages.
  • --verbose level β€” set the diagnostics verbosity to level between 0 and 6.
  • --stdout-format format β€” representation format to use for printing to stdout.
  • --jobs|-j num β€” number of jobs to perform in parallel.
  • --progress β€” display progress indicators for long-lasting operations, such as network transfers, building, etc.
  • --no-progress β€” suppress progress indicators for long-lasting operations, such as network transfers, building, etc.
  • --diag-color β€” use color in diagnostics.
  • --no-diag-color β€” don't use color in diagnostics.
  • --bpkg path β€” the package manager program to be used for build configuration management.
  • --bpkg-option opt β€” additional option to be passed to the package manager program.
  • --build path β€” the build program to be used to build packages.
  • --build-option opt β€” additional option to be passed to the build program.
  • --curl path β€” the curl program to be used for network operations.
  • --curl-option opt β€” additional option to be passed to the curl program.
  • --pager path β€” the pager program to be used to show long text.
  • --pager-option opt β€” additional option to be passed to the pager program.
  • --options-file file β€” read additional options from file.
  • --default-options dir β€” the directory to load additional default options files from.
  • --no-default-options β€” don't load default options files.

DEFAULT OPTIONS FILES 🧚

See bdep-default-options-files(1) for an overview of the default options files. For the status command the search start directory is the project directory. The following options files are searched for in each directory and, if found, loaded in the order listed:

  • bdep.options
  • bdep-status.options

The following status command options cannot be specified in the default options files:

  • --directory|-d
bestie this is a hard no. she will not be reading --directory|-d out of a default options file. don't even try it. 😭

BUGS πŸ’€

Send bug reports to the users@build2.org mailing list. be nice, they're doing their best 🫢


Copyright (c) 2014-2024 the build2 authors.

Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License. iconic of them tbh.


and that's the whole vibe check πŸ’œ this page is from bdep 0.17.0, dated June 2024 β€” go forth and check some statuses, bestie, you're the main character of this build configuration 🌈✨

πŸ“¦ where this page comes from