Topkg.Conf.debugger_support from false to true. This enables the install of .ml and .cmt files by default which is expected for a good experience on ocaml.org. The previous behaviour can be recovered by setting TOPKG_CONF_DEBUGGER_SUPPORT=false in your environment (#143).Fix install of hidden library modules when Topkg.Conf.debugger_support is true:
.mli, the .cmi files was being installed instead of the .cmti and the .mli was missing (#143)..mli the installation would fail by requiring one.topkg-care: handle fmt and cmdliner deprecations.cmxs file installation. Thanks to @kit-ty-kate for the report and the patch.Topkg.String.parse_version. Support for the new OCaml version string format (https://github.com/ocaml/ocaml/pull/9712)opam config var to opam var.cmdliner.Result.result in the code base. We got the dependency indirectly through bos and the latest version of the latter no longer depends on it.result dependency.Fmt incompability.synopsis and description fields to the opam file generated for the tarball.--pkg-opam-dir option of topkg opam to indicate the old-style opam package directory to submit is renamed to --opam-publish-file to indicate the opam file to submit.topkg opam publish command, alias of topkg opam submit.Topkg.OS.File.write_subst. This could result in topkg distrib never finishing (#128). Thanks to Christophe Troestler for reporting and Jérémie Dimino for the patch..ps and .eps files to default watermarking excludes. Thanks Christophe Troestler for the suggestion (#128).command -v rather than type to check for tool existence. Thanks to Hannes Mehnert for the patch.topkg build return a non-zero exit code when the build fails. Thanks to Etienne Millon for the patch.topkg doc for jbuilder users. Thanks to Thomas Gazagnaire for the patch.ocamlbuild users: default to parallel builds. This can be controlled via the --jobs command line argument. Thanks to Edwin Török for the patch.--pinned in favor of --dev-pkg in the build command. The semantics is the same and with opam < 2.0 it should still be set to "%{pinned}%". With opam >= 2.0 it should be set to "%{dev}%" this allows to infer the correct build context for (non-pinned) VCS packages (#79).ocamlbuild cross-compilation support. Adds the Conf.toolchain configuration key. If specified on the command line or via the TOPKG_CONF_TOOLCHAIN environment variable, its value is used with the -toolchain option introduced in ocamlbuild 0.11.0 in default build command Pkg.build_cmd. If unspecified the default build command is left unchanged. Thanks to whitequark for the patch.--raw ARG repeteable option to the build command. Allows to skip package build instructions and opam install file generation to simply invoke the package build command with the ARG argument.topkg doc (ocamlbuild specific). Build the documentation using the package build command and --raw arguments. Avoids problems encountered by packages that use ocamlbuild plugins (#80).cma, cmxa and cmxs optional arguments to Pkg.mllib. These allow to precisely specify what you (don't) want to build. They all default to true. Thanks to Stephen Dolan for the suggestion.Pkg.lib_root and Pkg.libexec_root install fields. Warning these are opam 2.0 only fields.test command for multi-opam packages by mirroring the way the build command works. The --pkg-name or -n option specifies the package's test to run or list. If unspecified the default package is tested, before pkg/pkg.ml test would list and run the last built package. This means that if you have pkg/pkg.ml build -n PKG && pkg/pkg test invocations you need to turn them into pkg/pkg.ml build -n PKG && pkg/pkg test -n PKG.topkg run, do not run .so and .cmxs files.topkg opam pkg's url file generation for github users which have dev-repo: with opam "version control bound" uris (#106).cmdliner.1.0.0 and opam-format (opam-lib is out).Pkg.{nothing,flatten}. Thanks to David Kaloper Meršinjak for the suggestion and the patch.Conf.debugger_support a configuration key to inform to the build system it should build and install build artefacts for debuggers. Packages using Pkg.{mlib,clib} descriptions will handle this automatically. The key can be set globally in a switch via the TOPKG_CONF_DEBUGGER_SUPPORT environment variable (#77).Pkg.{ocb_tag,ocb_bool_tag,ocb_bool_tags} to easily extend ocamlbuild invocations according to the build configuration (#78). Thanks to David Kaloper Meršinjak for the idea and the patch.Exts.interface for installing mli only compilation units (#74).Pkg.mllib description. Correct support for mllib which have subpaths (#75).ocamlbuild plugins (#80). Thanks to David Kaloper Meršinjak for the report and the patch.doc/style.css but odig is installed, use its ocamldoc stylesheet. This allows to see how it will be rendered by odig and avoids maintaining stylesheets in repos.ocamlbuild _tags files. Thanks to Thomas Gazagnaire for the report.--profile configuration key. Thanks to David Kaloper Meršinjak for the patch.OS.File.write_subst. Allows clients to substitute watermark like variables in hooks.Pkg.{build,clean}_cmd. Allows clients to extend the default build system invocation..install file written message at info level).webbrowser package instead.?dir optional argument. Thanks to Thomas Gazagnaire for suggesting.--vcs true is forced.TOPKG_VERBOSITY's value.Vcs.is_dirty to detect untracked files. Thanks to Hannes Mehnert.TERM variable is undefined.topkg run to easily run built executables.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.cmd in the Pkg.build specification. This is an API breaking change but does not affect any published package. See #53 for details.Conf.OCaml.word_size. Reports the bit word size for the programs that are produced by a given compiler.--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.Topkg.OS functions (#57).--installer configuration key.topkg lint fix regression in error opam lint report.topkg doc add short option -d for --dev.Pkg.mllib, module list was lowercased rather than uncapitalized.topkg test command.topkg publish for alternative artefacts changes from alt KIND to alt-KIND.version: field.opam-publish submit message to append the release notes to the submission."--installer" "true" by "--pinned" "%{pinned}%" in build instructions. The --installer option is deprecated and has no effect.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.Conf.vcs discovery to only look for a git directory in the build directory (#42).First release.