bdep/0.13.0

[brief]

build2 project dependency manager

This package contains the build2 project dependency manager.

build2 is an open source, cross-platform toolchain for building and packaging
C++ code. Its aim is a modern build system and dependency manager for the C++
language that provide a consistent, out of the box interface across multiple
platforms and compilers. For more information see:

https://build2.org/

See the NEWS file for the user-visible changes from the previous release.

See the LICENSE file for the distribution conditions.

See the INSTALL file for the prerequisites and installation instructions.

See the doc/ directory for documentation.

Send questions, bug reports, or any other feedback to the users@build2.org
mailing list. You can post without subscribing. See https://lists.build2.org
for searchable archives, posting guidelines, etc.
version 0.13.0
license MIT
repository pkg:cppget.org/alpha
location https://pkg.cppget.org/1/alpha
download bdep-0.13.0.tar.gz
sha256 8e11b469d875d05c4eb7a228416b78a61c68a49310e5e41db78ed6d048f6ba2a
project build2
url build2.org
doc-url build2.org/doc.xhtml
src-url git.build2.org/cgit/bdep/tree/
topics package dependency managementbuild toolchain

Depends (4)

libodb ^2.5.0-b.19
libodb-sqlite ^2.5.0-b.19
libbutl ^0.13.0
libbpkg ^0.13.0

Requires (2)

c++14
? cliOnly required if changing .cli files

Builds

toolchain public-0.13.0
config windows_10-msvc_15.9 / x86_64-microsoft-win32-msvc14.1
timestamp 2020-11-24 20:50:42 UTC (21:00 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_8.0_msvc_msvc_16.3 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 20:37:44 UTC (33:58 minutes ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-gcc_9.2_mingw_w64 / x86_64-w64-mingw32
timestamp 2020-11-24 20:01:40 UTC (01:10:02 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.6-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 19:41:14 UTC (01:30:29 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.6 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 19:31:27 UTC (01:40:15 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.6-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 19:28:59 UTC (01:42:44 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.0 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 19:06:44 UTC (02:04:58 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-gcc_9.2_mingw_w64-O3 / x86_64-w64-mingw32
timestamp 2020-11-24 18:57:59 UTC (02:13:44 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-clang_11.0-static_O3 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 16:54:52 UTC (04:16:51 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-clang_11.0-O3 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 16:17:57 UTC (04:53:46 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_9.0_llvm_msvc_16.4 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 15:39:23 UTC (05:32:19 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.5 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 15:34:53 UTC (05:36:49 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0_libc++-static_O3 / x86_64-linux-gnu
timestamp 2020-11-24 15:17:51 UTC (05:53:51 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0_libc++-O3 / x86_64-linux-gnu
timestamp 2020-11-24 15:13:07 UTC (05:58:35 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_8.0-O3 / x86_64-freebsd12.1
timestamp 2020-11-24 14:55:37 UTC (06:16:06 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0-static_O3 / x86_64-linux-gnu
timestamp 2020-11-24 14:48:36 UTC (06:23:06 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_8.0-static_O3 / x86_64-freebsd12.1
timestamp 2020-11-24 14:37:34 UTC (06:34:08 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10_devmode-msvc_16.4 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 13:59:21 UTC (07:12:21 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_9.0_libc++ / x86_64-linux-gnu
timestamp 2020-11-24 13:58:48 UTC (07:12:54 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0_libc++ / x86_64-linux-gnu
timestamp 2020-11-24 13:51:44 UTC (07:19:58 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_8.0 / x86_64-freebsd12.1
timestamp 2020-11-24 13:49:42 UTC (07:22:00 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_9.0 / x86_64-linux-gnu
timestamp 2020-11-24 13:49:09 UTC (07:22:33 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0 / x86_64-linux-gnu
timestamp 2020-11-24 13:38:40 UTC (07:33:03 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_10.1-static_O3 / x86_64-linux-gnu
timestamp 2020-11-24 13:34:17 UTC (07:37:25 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_10.1-O3 / x86_64-linux-gnu
timestamp 2020-11-24 13:31:49 UTC (07:39:53 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_7.0_libc++ / x86_64-linux-gnu
timestamp 2020-11-24 13:24:44 UTC (07:46:58 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_msvc_msvc_16.6 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 13:24:41 UTC (07:47:02 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_8.0 / x86_64-linux-gnu
timestamp 2020-11-24 13:24:13 UTC (07:47:29 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_6.0 / x86_64-linux-gnu
timestamp 2020-11-24 13:14:17 UTC (07:57:26 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_10.1 / x86_64-linux-gnu
timestamp 2020-11-24 13:03:56 UTC (08:07:46 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_6.0_libc++ / x86_64-linux-gnu
timestamp 2020-11-24 13:01:34 UTC (08:10:09 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_6.0 / x86_64-freebsd12.0
timestamp 2020-11-24 13:00:55 UTC (08:10:48 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-gcc_9.3_homebrew / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 13:00:29 UTC (08:11:13 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0-O3 / x86_64-linux-gnu
timestamp 2020-11-24 12:40:08 UTC (08:31:34 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_7.0 / x86_64-linux-gnu
timestamp 2020-11-24 12:39:21 UTC (08:32:21 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-gcc_7.4 / x86_64-linux-gnu
timestamp 2020-11-24 12:39:20 UTC (08:32:22 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_9.3 / x86_64-linux-gnu
timestamp 2020-11-24 12:39:04 UTC (08:32:38 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-gcc_9.3_homebrew-O3 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 12:02:25 UTC (09:09:17 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-clang_11.0 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 11:47:05 UTC (09:24:37 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_8.0_libc++ / x86_64-linux-gnu
timestamp 2020-11-24 11:23:34 UTC (09:48:08 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_8-gcc_4.9 / x86_64-linux-gnu
timestamp 2020-11-24 10:59:50 UTC (10:11:53 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_14.3 / x86_64-microsoft-win32-msvc14.0
timestamp 2020-11-24 10:54:51 UTC (10:16:51 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_15.0 / x86_64-microsoft-win32-msvc14.1
timestamp 2020-11-24 10:23:33 UTC (10:48:10 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_11-clang_6.0 / x86_64-freebsd11.2
timestamp 2020-11-24 10:17:33 UTC (10:54:09 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_11-clang_4.0 / x86_64-freebsd11.1
timestamp 2020-11-24 10:13:19 UTC (10:58:23 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-clang_5.0 / x86_64-linux-gnu
timestamp 2020-11-24 10:10:13 UTC (11:01:29 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_ubuntu_16.04-clang_3.7_libc++ / x86_64-linux-gnu
timestamp 2020-11-24 10:04:58 UTC (11:06:45 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_9-gcc_8.4 / x86_64-linux-gnu
timestamp 2020-11-24 10:04:31 UTC (11:07:12 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-gcc_9.3_homebrew-static_O3 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 09:56:46 UTC (11:14:56 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.14-clang_10.0 / x86_64-apple-darwin18.6.0
timestamp 2020-11-24 08:08:35 UTC (13:03:07 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.13-clang_9.1 / x86_64-apple-darwin17.5.0
timestamp 2020-11-24 05:39:02 UTC (15:32:40 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.12-clang_8.1 / x86_64-apple-darwin16.4.0
timestamp 2020-11-24 04:30:08 UTC (16:41:34 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6_lld / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 01:10:51 UTC (20:00:52 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-gcc_9.2_mingw_w64-static_O3 / x86_64-w64-mingw32
timestamp 2020-11-23 22:10:13 UTC (23:01:30 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-23 21:55:23 UTC (23:16:19 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-23 21:33:10 UTC (23:38:32 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-23 21:11:40 UTC (01 00:00:02 days ago)
result success | log | rebuild

Changes

Version 0.13.0

  * The SPDX License Expression in now the default scheme in the bdep-new
    --type|-t,license sub-option.

    Auto-detected licenses now also result in the SPDX License ID in the
    'license' package manifest value.

  * New source layout customization mechanisms in bdep-new.

    In particular, the split include/src layout is now supported out of the
    box:

    $ bdep new -l c++ -t lib,split libhello

    See the SOURCE LAYOUT section in bdep-new(1) for details and a large
    number of examples.

  * The bdep-new command in the --package mode now creates the "glue
    buildfile" for the project.

  * The bdep-new command now generates the .gitattributes file with sensible
    defaults.

  * The bdep-new --subdirectory mode option has been renamed to --source.

    The corresponding default options file has also been renamed to
    bdep-new-source.options.

  * The bdep-new binless sub-option has been moved from --lang|-l to --type|t.

Version 0.12.0

  * Support for creating new projects with existing files.

    The bdep-new command now also recognizes and handles the following
    existing filesystem entries in the project root:

      .git      -- assume VCS is already initialized and is Git
      LICENSE   -- try to guess the manifest license from contents
      README.md -- try to extract the manifest summary line from contents

    Overall, the idea is to streamline the workflow where one creates a
    project on one of the hosting services (GitHub, GitLab, etc) and then
    initializes it with bdep-new.

    Also, to this effect, specifying the project name is now optional and if
    omitted, the current working directory (or --output-dir, if specified) is
    assumed to be the project name.

    An example of this streamlined workflow:

    $ # create project with LICENSE and README.md on a Git hosting service
    $ git clone .../libhello.git
    $ cd libhello
    $ bdep new -t lib

    Finally, with this change it now makes sense to have support for pre-
    creation hooks (--pre-hook) in addition to post-creation (--post-hook).

  * Support for default options files (aka tool config files).

    See the bdep-default-options-files(1) help topic for background and the
    DEFAULT OPTIONS FILES section in each command's man pages for specifics.

  * New bdep-new no-install project type sub-option.

    In particular, this should be useful when creating *-tests packages.

  * The C library projects created by bdep-new are now portable.

    Specifically, the use of fmemopen() was replaced with tmpfile().

  * The pre and post-creation hooks now make use of portable builtins.

    To instead use a system-provided program, prefix the name with `^`, for
    example:

    $ bdep new --post-hook "^cat --squeeze-blank .../.gitignore >>.gitignore"

    See bdep-new(1) for details.

  * Ability to specify <pkg-args> in the bdep-init command's -A and -C forms.

  * Ability to keep/update/remove the current tag in the bdep-release
    command's revision mode.

    Note also that previously the default was to update while now it is to
    keep.

  * Ability to have multiple forwarded configurations.

    The new constraint is that such configurations should not have any common
    packages (a package's source directory cannot be forwarded to multiple
    configurations).

  * New bdep-submit --forward option.

    This option instructs bdep-submit to use each package's forwarded
    configuration in order to prepare the distributions. This helps with
    setups where there is no single configuration that has all the packages
    (such as a build system module project).

  * New bdep-init --no-sync option.

    This allows postponing initialization in the build configurations to a
    later explicit bdep-sync. One subtle difference with such an explicit sync
    is that it will be performed without having the project's database open,
    which can be important if the initialization triggers an implicit sync
    (via a hook) of a project that uses the same database (as is the case with
    build system module projects).

Version 0.11.0

  * The bdep-new command now by default adds a README.md template. This can be
    suppressed with the new no-readme project type sub-option. For example:

    $ bdep new -t exe,no-readme hello

  * New license=<name> bdep-new project type sub-option allows specifying a
    project license. For example:

    $ bdep new -t exe,license=MIT hello

    Commonly used license names are 'MIT', 'ASLv2' (Apache License 2.0),
    'GPLv3', and 'proprietary' (see the 'license' package manifest value
    documentation for a more extensive list of names). Note that if the
    license is not specified, the default is now 'proprietary' instead of
    'TODO'.

  * New bdep-new --post-hook option allows the execution of customization
    commands in the newly created project. For example:

    $ bdep new --post-hook "echo .idea/ >>.gitignore" hello

    See the bdep-new(1) man pages for details.

  * The bdep-ci command now allows overriding certain manifest values in
    packages being submitted for testing. This is primarily useful for
    specifying alternative build configurations and/or build notification
    emails. For example:

    $ bdep ci --builds gcc

    See the bdep-ci(1) man pages for details.

  * New bdep-release --amend and --squash options allow releasing a revision
    by squashing and amending one or more existing commits.

  * New --existing|-e option for bdep-{init,new} --config-create|-C and
    bdep-config create modes. With this option bdep initializes a bpkg
    configuration based on an existing build system configuration instead of
    creating a new one from scratch. For example:

    $ b create: build-clang/,cc config.cxx=clang++
    $ bdep new -C build-clang --existing hello

Version 0.10.0

  * New bdep-new --subdirectory mode.

    This mode can be used to create a new source subdirectory in an already
    existing project.

  * Support for more granular C++ source file extension specification in
    bdep-new.

    For example:

    $ bdep new -t lib -l c++,hxx=h,cxx=cpp libhello  # .h & .cpp
    $ bdep new -t lib -l c++,extension=?++ libhello  # .h++, .c++, etc

    See the bdep-new(1) man pages for details.

  * Support for suppressing the generation of the library version header.

    Specifically, the bdep-new --type|-t=lib option now has the new no-version
    sub-option.

  * Support for the alternative build file/directory naming scheme.

    Specifically, the bdep-new --type|-t option now has the new alt-naming
    sub-option that can be used to create projects with the alternative
    naming.

  * New bdep-release --[no]-edit options.

    Now in all the bdep-release modes that perform a commit, if the project's
    repository index already contains other changes, then the commit message
    is automatically opened for editing unless --no-edit is specified. The
    editing of the commit message in the absence of other changes can be
    requested with the --edit option.

Version 0.9.0

  * New bdep-release command for managing a project's version during release.

    This command can be used to automatically change the project's version
    from snapshot to release (or the other way around), commit this change,
    tag this commit, and push everything to the remote.

    See the "Versioning and Release Management" in The build2 Toolchain
    Introduction for usage examples as well as the bdep-release(1) man pages
    for details.

  * New 'binless' option for the bdep-new 'c++' language parameter.

    This option allows creation of a simpler buildfile for header-only (and,
    in the future, for module-only) libraries. For example:

    $ bdep new -l c++,binless ...

  * New --jobs|-j option for specifying the number of jobs to perform in
    parallel.

  * CI requests from the staged toolchain are now by default sent to
    ci.stage.build2.org.

  * New --no-progress option for suppressing progress indicators.

Version 0.8.0

  * New bdep-ci command for submitting package test requests to CI servers.
    See the bdep-ci(1) man pages for details.

  * New bdep-publish command for publishing packages to archive-based
    repositories. See the bdep-publish(1) man pages for details.

  * New unit-tests project type option for the bdep-new command.

    If specified (-t exe,unit-tests or -t lib,unit-tests) then generate build
    infrastructure for unit testing.

  * Ability to suppress auto-synchronization via the BDEP_SYNC environment
    variable.

    If BDEP_SYNC is set, auto-synchronization will only be performed if its
    value is true or 1. So to suppress, run:

    $ BDEP_SYNC=0 b

Version 0.7.0

  * First public release.