package topkg

  1. Overview
  2. Docs
The transitory OCaml software packager

Install

Dune Dependency

Authors

Maintainers

Sources

topkg-0.7.8.tbz
sha256=066aa5bfe39a7b0b5c27baf6e3f271c3b25b3710ac8e22e763f57eb6545d3409
md5=97995592fff599c3bb66ec9cec75f038

CHANGES.md.html

v0.7.8 2016-08-09 Zagreb

  • Add a --profile configuration key. Thanks to David Kaloper Meršinjak for the patch.

  • Add OS.File.write_subst. Allows clients to substitute watermark like variables in hooks.

  • Add Pkg.{build,clean}_cmd. Allows clients to extend the default build system invocation.

  • Be more quiet on package builds (log the .install file written message at info level).

  • Remove Topkg_care.Browser. Depend on the webbrowser package instead.

v0.7.7 2016-07-13 Cambridge (UK)

  • Test description, allow to specify a working directory for the test via the ?dir optional argument. Thanks to Thomas Gazagnaire for suggesting.

  • Fix behaviour of pinned distribution watermarking when git repo is not at the root directory of the package and --vcs true is forced.

  • Fix pkg/pkg.ml's main's ignoring TOPKG_VERBOSITY's value.

  • Toy GitHub delegate: fix log verbosity propagation.

  • Fix Vcs.is_dirty to detect untracked files. Thanks to Hannes Mehnert.

  • Pager, do not try to discover if TERM variable is undefined.

  • Add topkg run to easily run built executables.

v0.7.6 2016-07-01 Cambridge (UK)

  • Add pkg/pkg.ml clean command. Removes the OPAM install file and performs an effect that can be specified via clean in the Pkg.build description. The topkg clean command now simply forwards to this command.

  • Change the signature of the build command cmd in the Pkg.build specification. This is an API breaking change but does not affect any published package. See #53 for details.

  • Add Conf.OCaml.word_size. Reports the bit word size for the programs that are produced by a given compiler.

  • Build configuration key parsing. Fail hard on any error instead of warn and continue (#56). Thanks to Thomas Gazagnaire for suggesting the previous idea was a terrible one.

  • Add a --debug configuration key. Defaults to true or the value of the TOPKG_CONF_DEBUG environment variable. The default build system invocation is changed to enable save of debugging information in build artefacts if they key is true. The key is generally not meant to be specified by packagers so that the policy can changed in bulk over topkg packages (#54).

  • Pkg.files_to_watermark default function. Make sure only files are returned (#58). Fixes problems with symlinks to directories in git checkout. Thanks to Thomas Gazagnaire for reporting.

  • Improve error message of some Topkg.OS functions (#57).

  • Remove deprecated --installer configuration key.

  • topkg lint fix regression in error OPAM lint report.

v0.7.5 2016-06-22 Cambridge (UK)

  • topkg doc add short option -d for --dev.

  • Fix Pkg.mllib, module list was lowercased rather than uncapitalized.

v0.7.4 2016-06-17 Cambridge (UK)

  • Add test description and run support. New topkg test command.

  • Add distribution publication description support. Allows to define the set of default publication artefacts in the package description. The cli syntax of topkg publish for alternative artefacts changes from alt KIND to alt-KIND.

  • Distributed (and thus installed) OPAM files are now properly versioned via the version: field.

  • Improve tarball reproducibility across systems by not relying on the VCS checkout state for determining the read and write rights (#43).

  • OPAM package submission: use the opam-publish submit message to append the release notes to the submission.

  • Toy GitHub delegate: improve user authentication by trying to steal an existing opam-publish token.

  • Toy GitHub delegate: improve package documentation publication. Thanks to Thomas Gazagnaire for the patches.

  • Error message and IPC logging level propagation improvements. Thanks to Thomas Gazagnaire for the help.

v0.7.3 2016-06-12 Cambridge (UK)

  • Change pin build detection (#44). This changes OPAM build instruction for packages. Substitute "--installer" "true" by "--pinned" "%{pinned}%" in build instructions. The --installer option is deprecated and has no effect.

v0.7.2 2016-06-02 Cambridge (UK)

  • Pkg.describe, allow multiple readme, change log and license files. The optional arguments readme, change_log and license become readmes, change_logs, licenses with the same default. When topkg needs to act on a change log (e.g. topkg log) or readme (e.g. topkg opam descr), it acts on the first element of change_log and/or readmes.

  • Fix Conf.vcs discovery to only look for a git directory in the build directory (#42).

v0.7.1 2016-05-26 Arbaz (VS)

  • Improve Windows support. Thanks to Andreas Hauptmann for the help.

v0.7.0 2016-05-22 La Forclaz (VS)

First release.

OCaml

Innovation. Community. Security.