Commit Graph
705858 Commits
Author SHA1 Message Date
Adrian Gierakowski ba5a5fac7b flattenReferencesGraph: fix use of lib.fileset
mentioning non-existent file caused a ci failure: https://github.com/NixOS/nixpkgs/actions/runs/12091053669/job/33718955875?pr=122608
2024-11-29 22:18:21 +00:00
Adrian Gierakowski 9ae0f77577 flattenReferencesGraph: use lib.fileset instead of gitignoreSource 2024-11-29 22:02:06 +00:00
Adrian Gierakowski 266283bec3 build-support/docker: use runCommand in make-layers.nix 2024-11-29 21:59:36 +00:00
Adrian Gierakowski 88bdfb1565 flatten_references_graph: fix typo egdes => edges 2024-11-29 21:37:38 +00:00
Adrian Gierakowski f621753b76 flatten_references_graph: remove unused fixture and all real /nix/store paths from tests 2024-11-12 08:41:23 +00:00
Adrian Gierakowski 6cecfd8ad7 docker-tool: fix maxLayers assert 2024-11-11 18:45:13 +00:00
Adrian GierakowskiandSandro 5b4a8db4d9 build-support/docker: customisable layering strategy
Allow customisation of the algorithm used to convert nix references
graph (created from docker image contents) to docker layers.

A collection of building blocks (python functions) is provided, which
use can assembled into a processing pipeline by specifying a list of
operations (and their initial arguments) via a nix list.

Nix references graph if first converted into a python igraph.Graph
object (with each vertex representing a nix path), which is then fed
into the user defined pipeline. Each stage in the pipeline represents a
function call, with initial arguments specified by the user in nix, and
the last argument being the result of the previous stage in the pipeline
(or the initial Graph object). Each step of the pipeline is expected to
produce a data structure consisting of arbitrarily  nested lists/dicts
with Graph objects (representing docker layers) at it's leafs. The
result of the last stage in the pipeline is recursively flattened (with
each dict converted into list of values), until a flat list of Graphs
remains. This is then output as a json array of arrays (each Graph
converted into an array of paths).

This functionality is made available via new `layeringPipeline` argument
to the `streamLayeredImage`/`buildLayeredImage` functions. The default
value of the argument has been chosen to to preserve current layering
behaviour.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-11-09 16:21:48 +00:00
Nick CaoandGitHub bba140c5a3 python312Packages.free-proxy: 1.1.2 -> 1.1.3 (#354539) 2024-11-09 11:03:35 -05:00
Nick CaoandGitHub 6430e02e54 cotp: 1.9.1 -> 1.9.2 (#354558) 2024-11-09 11:02:58 -05:00
Nick CaoandGitHub 9139ad63f2 granted: 0.36.0 -> 0.36.1 (#354572) 2024-11-09 11:02:18 -05:00
Nick CaoandGitHub 275614510a python312Packages.ucsmsdk: 0.9.20 -> 0.9.21 (#354596) 2024-11-09 11:01:21 -05:00
Nick CaoandGitHub cff5cbc5a1 python312Packages.aiortm: 0.9.24 -> 0.9.25 (#354607) 2024-11-09 10:59:37 -05:00
Nick CaoandGitHub 043d2cb448 python312Packages.whenever: 0.6.10 -> 0.6.12 (#354613) 2024-11-09 10:57:54 -05:00
Nick CaoandGitHub 646347d507 pulumi-bin: 3.137.0 -> 3.138.0 (#354618) 2024-11-09 10:55:39 -05:00
Weijia WangandGitHub 807e43e559 msi-ec: 0-unstable-2024-09-19 -> 0-unstable-2024-11-04 (#353627) 2024-11-09 16:54:28 +01:00
Nick CaoandGitHub 02e3707a2c python312Packages.jedi-language-server: 0.41.4 -> 0.42.0 (#354713) 2024-11-09 10:51:58 -05:00
Nick CaoandGitHub d8a18ae783 python312Packages.mitogen: 0.3.16 -> 0.3.18 (#354717) 2024-11-09 10:50:48 -05:00
Nick CaoandGitHub b276bfa32b python312Packages.multiscale-spatial-image: 2.0.0 -> 2.0.1 (#354720) 2024-11-09 10:49:23 -05:00
YtandGitHub df67f3f7b2 helix-gpt: 0.31.0 -> 0.34.0 (#354767) 2024-11-09 10:47:16 -05:00
Martin WeineltandGitHub 7307a89645 home-assistant-custom-lovelace-modules.mushroom: 4.0.8 -> 4.1.0 (#354787) 2024-11-09 16:46:55 +01:00
Nick CaoandGitHub 9559e9044e python312Packages.qbittorrent-api: 2024.9.67 -> 2024.10.68 (#354681) 2024-11-09 10:45:57 -05:00
Nick CaoandGitHub 3061dbd29c ab-av1: 0.7.18 -> 0.7.19 (#354684) 2024-11-09 10:44:50 -05:00
Nick CaoandGitHub 3be1322ad9 python312Packages.objprint: 0.2.3 -> 0.3.0 (#354693) 2024-11-09 10:42:56 -05:00
Nick CaoandGitHub a8e970898d ccls: 0.20240505 -> 0.20241108 (#354698) 2024-11-09 10:40:32 -05:00
Nick CaoandGitHub d5df6af636 python312Packages.tencentcloud-sdk-python: 3.0.1261 -> 3.0.1262 (#354699) 2024-11-09 10:39:53 -05:00
Nick CaoandGitHub 2bac553f5a okteto: 3.0.0 -> 3.1.0 (#354702) 2024-11-09 10:39:12 -05:00
Nick CaoandGitHub d7a6066949 ocamlPackages.http-mirage-client: 0.0.7 -> 0.0.8 (#354650) 2024-11-09 10:37:30 -05:00
Nick CaoandGitHub 011f48fb22 fluent-bit: 3.1.9 -> 3.1.10 (#354664) 2024-11-09 10:35:45 -05:00
Nick CaoandGitHub d9353697ca tile38: 1.33.3 -> 1.33.4 (#354674) 2024-11-09 10:32:53 -05:00
RamsesandGitHub 7953deea24 keybase-gui: 6.2.4 -> 6.4.0 (#336886) 2024-11-09 16:30:22 +01:00
Vladimír Čunát 20e8995972 thunderbird: 128.4.0esr -> 128.4.2esr (#354213) 2024-11-09 16:20:17 +01:00
Adam C. StephensandGitHub d2d4c4f350 restic: 0.17.2 -> 0.17.3 (#354582) 2024-11-09 10:06:40 -05:00
Adam Stephens 38a52bbfd4 restic: disable tests on non-linux 2024-11-09 10:05:12 -05:00
Martin Weinelt c98b0cad09 home-assistant-custom-lovelace-modules.mushroom: 4.0.8 -> 4.1.0
https://github.com/piitaya/lovelace-mushroom/releases/tag/v4.1.0
2024-11-09 16:02:58 +01:00
PatkaandGitHub f0bee68628 robo: 5.0.0 -> 5.1.0 (#354707) 2024-11-09 15:54:17 +01:00
PatkaandGitHub 6fb6032d36 roave-backward-compatibility-check: 8.9.0 -> 8.10.0 (#354705) 2024-11-09 15:53:19 +01:00
alexfmpeandGitHub 04f72b6930 ispc: 1.25.0 -> 1.25.3 (#354585) 2024-11-09 14:50:30 +00:00
Matthieu CoudronandGitHub a31f2a7b37 pluginupdate.py: fix bugs and add improvements; vimPlugins: sort properly (#353786) 2024-11-09 15:17:49 +01:00
happysalada 8d9c4bfb98 helix-gpt: 0.31 -> 0.34 2024-11-09 09:15:11 -05:00
Austin HorstmanandGitHub 2ef132b358 gifski: 1.14.4 -> 1.32.0 (#346255) 2024-11-09 08:08:07 -06:00
Theodore NiandGitHub e02828f01c python312Packages.scikit-fmm: remove stale substituteInPlace, unbreak (#354509) 2024-11-09 06:07:18 -08:00
Theodore NiandGitHub bc63a2f7c3 lapce: unbreak x86_64-darwin (#354566) 2024-11-09 05:59:52 -08:00
José Romildo MalaquiasandGitHub dcdd61e5e5 whitesur-kde: 2022-05-01-unstable-2024-09-26 -> 2022-05-01-unstable-2… (#353112) 2024-11-09 10:47:21 -03:00
José Romildo MalaquiasandGitHub 2515edf536 qogir-kde: 0-unstable-2024-09-21 -> 0-unstable-2024-10-30 (#352723) 2024-11-09 10:46:34 -03:00
R. RyanTMandGitHub 5f45ecf05c python312Packages.docling-parse: 2.0.2 -> 2.0.3 (#354691) 2024-11-09 14:43:28 +01:00
Kiara GrouwstraandValentin Gagarin cf6a8c9b4b chore: update references to nix-review to nixpkgs-review 2024-11-09 14:43:16 +01:00
Theodore NiandGitHub bc5b75eb11 mysql80: 8.0.39 -> 8.0.40 (#350248) 2024-11-09 05:42:24 -08:00
Maximilian BoschandGitHub 8091ea3f24 Merge: postgresql_17: fix build (#354571) 2024-11-09 14:09:03 +01:00
EmilyandGitHub 3b91a81423 treewide: remove redundant patches and locks (#354215) 2024-11-09 12:57:37 +00:00
Austin HorstmanandGitHub c701c72b71 wl-gammarelay-rs: 0.4.1 -> 1.0.0 (#353023) 2024-11-09 06:49:03 -06:00