Commit Graph

32824 Commits

Author SHA1 Message Date
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
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 Cao
9139ad63f2
granted: 0.36.0 -> 0.36.1 (#354572) 2024-11-09 11:02:18 -05:00
Yt
df67f3f7b2
helix-gpt: 0.31.0 -> 0.34.0 (#354767) 2024-11-09 10:47:16 -05:00
Nick Cao
3061dbd29c
ab-av1: 0.7.18 -> 0.7.19 (#354684) 2024-11-09 10:44:50 -05:00
Nick Cao
2bac553f5a
okteto: 3.0.0 -> 3.1.0 (#354702) 2024-11-09 10:39:12 -05:00
Nick Cao
011f48fb22
fluent-bit: 3.1.9 -> 3.1.10 (#354664) 2024-11-09 10:35:45 -05:00
Nick Cao
d9353697ca
tile38: 1.33.3 -> 1.33.4 (#354674) 2024-11-09 10:32:53 -05:00
Patka
f0bee68628
robo: 5.0.0 -> 5.1.0 (#354707) 2024-11-09 15:54:17 +01:00
Patka
6fb6032d36
roave-backward-compatibility-check: 8.9.0 -> 8.10.0 (#354705) 2024-11-09 15:53:19 +01:00
Matthieu Coudron
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
Kiara Grouwstra
cf6a8c9b4b chore: update references to nix-review to nixpkgs-review 2024-11-09 14:43:16 +01:00
Emily
3b91a81423
treewide: remove redundant patches and locks (#354215) 2024-11-09 12:57:37 +00:00
Austin Horstman
c701c72b71
wl-gammarelay-rs: 0.4.1 -> 1.0.0 (#353023) 2024-11-09 06:49:03 -06:00
Austin Horstman
b11943b301
nhost-cli: 1.24.5 -> 1.27.0 (#352589) 2024-11-09 06:48:16 -06:00
José Romildo Malaquias
7a56cc79c6
marwaita-red: 22 -> 22.2 (#354662) 2024-11-09 09:41:05 -03:00
Emily
fa2cae8e77
treewide: migrate packages to pkgs/by-name, take 1 (#354531) 2024-11-09 12:40:18 +00:00
Luke Granger-Brown
f8bb0b875a
factorio: 2.0.14 -> 2.0.15 (#354040) 2024-11-09 12:30:11 +00:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Sefa Eyeoglu
b5f67acfbf
nix-forecast: init at 0.1.0 (#354661) 2024-11-09 12:48:50 +01:00
Bobby Rong
e79b71782a
budgie-media-player-applet: 1.0.1 -> 1.1.1 (#354308) 2024-11-09 19:23:10 +08:00
nixpkgs-merge-bot[bot]
2be7c57b93
python312Packages.ruff: 0.7.2 -> 0.7.3 (#354580) 2024-11-09 10:39:39 +00:00
Gaétan Lepage
bf11ccc0e2
clouddrive2: 0.7.21 -> 0.8.3 (#354273) 2024-11-09 11:27:24 +01:00
Sefa Eyeoglu
951d196036
stardust-xr-magnetar: init at 0-unstable-2024-08-31 (#354623) 2024-11-09 11:08:09 +01:00
Sefa Eyeoglu
18f2cc30ef
stardust-xr-gravity: init at 0-unstable-2024-08-20 (#354616) 2024-11-09 11:06:02 +01:00
Sefa Eyeoglu
90f890e793
stardust-xr-atmosphere: init at 0-unstable-2024-08-22 (#354633) 2024-11-09 11:03:30 +01:00
Sefa Eyeoglu
dc31ff18ec
stardust-xr-phobetor: init at 0-unstable-2024-02-10 (#354637) 2024-11-09 11:00:21 +01:00
Sefa Eyeoglu
5f8f11ff86
stardust-xr-protostar: init at 0-unstable-2024-07-19 (#354614) 2024-11-09 10:58:07 +01:00
Sefa Eyeoglu
f3e2ba5038
stardust-xr-sphereland: init at 0-unstable-2023-11-06 (#354638) 2024-11-09 10:54:04 +01:00
Sefa Eyeoglu
99d3107b49
stardust-xr-flatland: init at 0-unstable-2024-04-13 (#324395) 2024-11-09 10:50:42 +01:00
Sefa Eyeoglu
780275051a
stardust-xr-kiara: init at 0-unstable-2024-07-07 (#324404) 2024-11-09 10:47:07 +01:00
Gaétan Lepage
ff09150750
basedpyright: 1.19.0 -> 1.21.0 (#354204) 2024-11-09 10:44:47 +01:00
Jörg Thalheim
b7c6785321
nix-update: 1.5.2 -> 1.6.0 (#354708) 2024-11-09 09:36:27 +01:00
patka
df11922a6d
nix-update: 1.5.2 -> 1.6.0 2024-11-09 09:24:06 +01:00
R. Ryantm
7c69e10ceb okteto: 3.0.0 -> 3.1.0 2024-11-09 07:41:36 +00:00
Theodore Ni
d68e02c099
xcaddy: 0.4.2 -> 0.4.4 (#354319) 2024-11-08 23:36:36 -08:00
Jörg Thalheim
6ec4ba94c5 nix-unit: 2.23.0 -> 2.24.0
Diff: https://github.com/nix-community/nix-unit/compare/v2.23.0...v2.24.0
2024-11-09 07:54:09 +01:00
seth
f323f1ccfe
nix-forecast: init at 0.1.0 2024-11-09 00:52:40 -05:00
R. Ryantm
78b5698555 ab-av1: 0.7.18 -> 0.7.19 2024-11-09 04:52:01 +00:00
Martin Weinelt
edaa7ce8cf
kanidm: 1.4.1 -> 1.4.2 (#354658) 2024-11-09 05:30:04 +01:00
Austin Horstman
cd05d0f987
glab: 1.47.0 -> 1.48.0 (#349813) 2024-11-08 22:16:39 -06:00
Austin Horstman
ea57778422
duckstation-bin: 0.1-7294 -> 0.1-7371 (#352364) 2024-11-08 22:14:40 -06:00
Austin Horstman
7e248e17e6
taisei: 1.3.2 -> 1.4.2; modernize; add myself as maintainer (#353696) 2024-11-08 22:13:18 -06:00
Austin Horstman
35fba06147
lunatask: 2.0.11 -> 2.0.12 (#353792) 2024-11-08 22:10:36 -06:00
Austin Horstman
9864c3a513
ludtwig: 0.8.3 -> 0.9.0 (#354493) 2024-11-08 22:05:35 -06:00
Austin Horstman
6a0d52155b
bruno: 1.34.0 -> 1.34.2 (#354103) 2024-11-08 21:58:42 -06:00
Austin Horstman
d79447f603
packetry: init at 0.4.0 (#351392) 2024-11-08 21:57:02 -06:00
R. Ryantm
df3d7683fe tile38: 1.33.3 -> 1.33.4 2024-11-09 03:23:49 +00:00