tvl-depot/tools/nixery/build-image
Vincent Ambo 980f5e2187 refactor(server): Move package source management logic to server
Introduces three new types representing each of the possible package
sources and moves the logic for specifying the package source to the
server.

Concrete changes:

* Determining whether a specified git reference is a commit vs. a
  branch/tag is now done in the server, and is done more precisely by
  using a regular expression.

* Package sources now have a new `CacheKey` function which can be used
  to retrieve a key under which a build manifest can be cached *if*
  the package source is not a moving target (i.e. a full git commit
  hash of either nixpkgs or a private repository).

  This function is not yet used.

* Users *must* now specify a package source, Nixery no longer defaults
  to anything and will fail to launch if no source is configured.
2019-09-10 11:32:37 +01:00
..
build-image.nix refactor(build-image): Remove implicit import of entire package set 2019-09-02 00:08:11 +01:00
default.nix refactor(server): Move package source management logic to server 2019-09-10 11:32:37 +01:00
go-deps.nix style: Apply nixfmt to trivial Nix files 2019-08-14 00:02:04 +01:00
group-layers.go refactor(server): Use wrapper script to avoid path dependency 2019-08-14 00:02:04 +01:00
load-pkgs.nix refactor(server): Move package source management logic to server 2019-09-10 11:32:37 +01:00