Skip to content
Commits on Source (7)
v1.0.1 2019-07-19 Zagreb
------------------------
- Require OCaml 4.03 and handle various stdlib deprecations.
- Drop `result` dependency.
- Fix an upcoming `Fmt` incompability.
- Addition of `synopsis` and `description` fields to the
opam file generated for the tarball.
v1.0.0 2018-10-14 Zagreb
------------------------
- Support (only) for opam-publish v2.0.0. The `--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.
- Add `topkg opam publish` command, alias of `topkg opam submit`.
- Toy github delegate: make curl follow redirects. Before obscure
failures would result when repos got moved around (#120). Thanks
to Richard Mortier for the report.
- Fix infinite loop in `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.
- Add `.ps` and `.eps` files to default watermarking excludes.
Thanks Christophe Troestler for the suggestion (#128).
- Use `command -v` rather than `type` to check for tool existence.
Thanks to Hannes Mehnert for the patch.
v0.9.1 2017-10-16 Zagreb
------------------------
- Make `topkg build` return a non-zero exit code when the build
fails. Thanks to Etienne Millon for the patch.
- Improve `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.
v0.9.0 La Forclaz (VS)
----------------------
......
Topkg — The transitory OCaml software packager
-------------------------------------------------------------------------------
v0.9.0
v1.0.1
Topkg is a packager for distributing OCaml software. It provides an
API to describe the files a package installs in a given build
......@@ -27,7 +27,6 @@ Topkg-care is distributed under the ISC license it depends on
[webbrowser]: http://erratique.ch/software/webbrowser
Home page: http://erratique.ch/software/topkg
Contact: Daniel Bünzli `<daniel.buenzl i@erratique.ch>`
## Installation
......
true : bin_annot, safe_string, package(bytes result)
true : bin_annot, safe_string
<src> : include
......
ocaml-topkg (0.9.0-1) UNRELEASED; urgency=low
ocaml-topkg (1.0.1-1) unstable; urgency=medium
* Initial release (Closes: #869114)
-- Stéphane Glondu <glondu@debian.org> Sat, 17 Aug 2019 10:18:16 +0200
-- Stéphane Glondu <glondu@debian.org> Sat, 17 Aug 2019 10:32:13 +0200
......@@ -9,8 +9,8 @@ Build-Depends:
dh-ocaml (>= 0.9),
ocaml-nox (>= 4.01),
ocamlbuild,
ocaml-findlib,
libfindlib-ocaml-dev (>= 1.6.1),
libresult-ocaml-dev,
opam-installer
Standards-Version: 4.4.0
Homepage: https://erratique.ch/software/topkg
......
-colorize-code -charset utf-8 -package bytes -package result
-colorize-code -charset utf-8 -package bytes
description = "The transitory OCaml software packager"
version = "0.9.0"
requires = "bytes result"
version = "1.0.1"
requires = ""
archive(byte) = "topkg.cma"
archive(native) = "topkg.cmxa"
plugin(byte) = "topkg.cma"
......@@ -9,7 +9,7 @@ plugin(native) = "topkg.cmxs"
package "care" (
directory = "../topkg-care"
description = "Topkg package care tools"
version = "0.9.0"
version = "1.0.1"
requires = "topkg opam-format cmdliner bos.setup"
archive(byte) = "topkg_care.cma"
archive(native) = "topkg_care.cmxa"
......
......@@ -2,8 +2,6 @@
#use "topfind"
(* Bootstrap from source, note #mod_use is 4.01 *)
#require "bytes"
#require "result"
#directory "src"
#mod_use "topkg_result.ml"
#mod_use "topkg_string.ml"
......@@ -12,9 +10,9 @@
#mod_use "topkg_cmd.ml"
#mod_use "topkg_os.ml"
#mod_use "topkg_vcs.ml"
#mod_use "topkg_codec.ml"
#mod_use "topkg_conf.ml"
#mod_use "topkg_fexts.ml"
#mod_use "topkg_codec.ml"
#mod_use "topkg_opam.ml"
#mod_use "topkg_test.ml"
#mod_use "topkg_install.ml"
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
open Bos_setup
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
(** The [bistro] command. *)
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
open Bos_setup
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
(** The [browse] command. *)
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
open Bos_setup
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
(** The [build] command. *)
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
open Bos_setup
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
(** The [clean] command. *)
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
open Bos_setup
......@@ -122,7 +122,7 @@ let setup style_renderer log_level cwd =
Topkg.Log.set_level (logs_to_topkg_log_level log_level);
Logs.set_level log_level;
Logs.set_reporter (Logs_fmt.reporter ~app:Fmt.stdout ());
Logs.info (fun m -> m "topkg v0.9.0 running");
Logs.info (fun m -> m "topkg v1.0.1 running");
match cwd with
| None -> `Ok ()
| Some dir ->
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
(** {!Cmdliner} and common definitions for commands. *)
......
(*---------------------------------------------------------------------------
Copyright (c) 2016 Daniel C. Bünzli. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
topkg v0.9.0
topkg v1.0.1
---------------------------------------------------------------------------*)
open Bos_setup
......