chore: redo dependencies as SVG

Use SVG output instead of PNG.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
Andrey Smirnov 2025-08-27 19:11:11 +04:00
parent ef73a85d36
commit ffcd027e34
No known key found for this signature in database
GPG Key ID: 322C6F63F594CE7C
7 changed files with 2255 additions and 13 deletions

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-09-03T12:28:03Z by kres 784fa1f.
# Generated on 2025-09-04T16:43:47Z by kres 784fa1f-dirty.
# common variables
@ -25,7 +25,7 @@ SOURCE_DATE_EPOCH := $(shell git log $(INITIAL_COMMIT_SHA) --pretty=%ct)
# sync bldr image with pkgfile
BLDR_RELEASE := v0.5.2
BLDR_RELEASE := v0.5.3
BLDR_IMAGE := ghcr.io/siderolabs/bldr:$(BLDR_RELEASE)
BLDR := docker run --rm --user $(shell id -u):$(shell id -g) --volume $(PWD):/src --entrypoint=/bldr $(BLDR_IMAGE) --root=/src
@ -36,16 +36,17 @@ PLATFORM ?= linux/amd64,linux/arm64
PROGRESS ?= auto
PUSH ?= false
CI_ARGS ?=
BUILD_ARGS = --build-arg=SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH)
BUILD_ARGS += --build-arg=TAG="$(TAG)"
BUILD_ARGS += --build-arg=PKGS="$(PKGS)"
BUILD_ARGS += --build-arg=PKGS_PREFIX="$(PKGS_PREFIX)"
BUILD_ARGS += --build-arg=TOOLS="$(TOOLS)"
BUILD_ARGS += --build-arg=TOOLS_PREFIX="$(TOOLS_PREFIX)"
COMMON_ARGS = --file=Pkgfile
COMMON_ARGS += --provenance=false
COMMON_ARGS += --progress=$(PROGRESS)
COMMON_ARGS += --platform=$(PLATFORM)
COMMON_ARGS += --build-arg=SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH)
COMMON_ARGS += --build-arg=TAG="$(TAG)"
COMMON_ARGS += --build-arg=PKGS="$(PKGS)"
COMMON_ARGS += --build-arg=PKGS_PREFIX="$(PKGS_PREFIX)"
COMMON_ARGS += --build-arg=TOOLS="$(TOOLS)"
COMMON_ARGS += --build-arg=TOOLS_PREFIX="$(TOOLS_PREFIX)"
COMMON_ARGS += $(BUILD_ARGS)
# extra variables
@ -214,9 +215,10 @@ $(ARTIFACTS)/bldr: $(ARTIFACTS) ## Downloads bldr binary.
@curl -sSL https://github.com/siderolabs/bldr/releases/download/$(BLDR_RELEASE)/bldr-$(OPERATING_SYSTEM)-$(GOARCH) -o $(ARTIFACTS)/bldr
@chmod +x $(ARTIFACTS)/bldr
.PHONY: deps.png
deps.png: ## Generates a dependency graph of the Pkgfile.
@$(BLDR) graph | dot -Tpng -o deps.png
.PHONY: deps.svg
deps.svg: ## Generates a dependency graph of the Pkgfile.
@rm -f deps.png
@$(BLDR) graph $(BUILD_ARGS) | dot -Tsvg -o deps.svg
.PHONY: extensions
extensions: internal/extensions/descriptions.yaml

View File

@ -1,4 +1,4 @@
# syntax = ghcr.io/siderolabs/bldr:v0.5.2
# syntax = ghcr.io/siderolabs/bldr:v0.5.3
format: v1alpha2

View File

@ -261,4 +261,4 @@ Any paths in the `rootfs` should be contained within the following hierarchies:
## Dependency Diagram
![Dependency Diagram](/deps.png)
![Dependency Diagram](/deps.svg)

BIN
deps.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

2238
deps.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 121 KiB

View File

@ -0,0 +1 @@
GRAPH_IGNORE: true

View File

@ -0,0 +1 @@
GRAPH_IGNORE: true