Module Ben_frontends.Ben_tracker

val frontend : Frontend.frontend
type profile =
  1. | Planned
  2. | Ongoing
  3. | Permanent
  4. | Finished
  5. | Old
  6. | Unknown
module SMap : Stdlib.Map.S with type key = string
val compute_collisions : (string * profile * Ben_monitor.transition_data) list -> (string * (string * profile) list) list SMap.t

For each transition, the packages it shares with other transitions, and these transitions with their profile.

val print_html_collisions : (string * (string * profile) list) list -> [> Html_types.div ] Tyxml.Html.elt

The "Collisions" box of a transition page: each colliding transition with its profile and the shared packages, ongoing ones first, planned ones last.

val yaml_of_packages : (string * (string * profile * bool) list) list -> string

The content of packages.yaml: for each package, the exported transitions it is part of, with their profile.

val acquire_lock : string -> bool

acquire_lock file creates the lock file and returns true, or returns false if another run holds it. The lock is removed when this process exits. If the directory of file doesn't exist, runs without a lock and returns true.

val read_global_config : string -> unit

Reads the tracker's global configuration file (--global-conf), if it exists.