Compare commits

...
14 Commits
Author SHA1 Message Date
DragonSlayer_14 f4160df1d7 Merge pull request 'Merge testing in main: Release 1.0.1' (#9) from testing into main
Main Release & Publish / Build, Publish Packages (Stable) & Create Release (push) Successful in 9m24s
Reviewed-on: #9
2026-08-28 15:53:23 +00:00
DragonSlayer_14 3f5f18d98f Merge pull request 'Merge dev in testing: Ändert Container-Image auf Debian Trixie' (#8) from dev into testing
Testing Build, Publish & Preview Release / Build, Publish Packages (Testing) & Create Preview Release (push) Successful in 10m3s
Reviewed-on: #8
2026-08-28 15:34:32 +00:00
DragonSlayer_14 85e9046768 Merge remote-tracking branch 'origin/main' into dev 2026-08-28 17:34:16 +02:00
DragonSlayer_14 5728649c79 Feat: Fügt qodana.yaml hinzu 2026-08-28 17:33:34 +02:00
DragonSlayer_14 8eb0048606 Feat: Hebt Version auf 1.0.1 2026-08-28 17:27:40 +02:00
DragonSlayer_14 d92cb57d87 Feat: Ändert Debian von Bookworm auf Trixie 2026-08-28 17:27:06 +02:00
DragonSlayer_14 884f2dfec1 Merge pull request 'Merge testing in main: Release 1.0.0' (#7) from testing into main
Main Release & Publish / Build, Publish Packages (Stable) & Create Release (push) Successful in 9m5s
Reviewed-on: #7
2026-08-28 15:15:12 +00:00
DragonSlayer_14 e7407da5b4 Merge pull request 'Merge dev in testing: Feat: Hebt Version auf 1.0.0 an' (#6) from dev into testing
Testing Build, Publish & Preview Release / Build, Publish Packages (Testing) & Create Preview Release (push) Successful in 9m35s
Reviewed-on: #6
2026-08-28 15:03:54 +00:00
DragonSlayer_14 0f28e1bdbc Feat: Hebt Version auf 1.0.0 an 2026-08-28 17:03:19 +02:00
DragonSlayer_14 bab42a5e88 Merge pull request 'Merge dev in testing: Feat: Passt assets an und aktualisiert Paket-Abhängigkeiten.' (#5) from dev into testing
Testing Build, Publish & Preview Release / Build, Publish Packages (Testing) & Create Preview Release (push) Successful in 9m35s
Reviewed-on: #5
2026-08-28 12:39:20 +00:00
DragonSlayer_14 65785eac76 Feat: Hebt Version auf 0.1.2 2026-08-28 14:38:42 +02:00
DragonSlayer_14 47c6567ec7 Feat: Passt assets an und aktualisiert Paket-Abhängigkeiten. 2026-08-28 14:38:21 +02:00
DragonSlayer_14 966bcc3778 Merge pull request 'Merge dev in testing: Passt .idea-Files an' (#4) from dev into testing
Testing Build, Publish & Preview Release / Build, Publish Packages (Testing) & Create Preview Release (push) Successful in 8m56s
Reviewed-on: #4
2026-08-27 21:43:45 +00:00
DragonSlayer_14 01e511cdbb Merge pull request 'Merge dev in testing: Feat: Hebt Version auf 0.1.1 an' (#3) from dev into testing
Testing Build, Publish & Preview Release / Build, Publish Packages (Testing) & Create Preview Release (push) Failing after 9m3s
Reviewed-on: #3
2026-08-27 20:38:51 +00:00
5 changed files with 67 additions and 9 deletions
Generated
+1 -1
View File
@@ -866,7 +866,7 @@ dependencies = [
[[package]]
name = "mirror-package"
version = "0.1.1"
version = "1.0.1"
dependencies = [
"anyhow",
"clap",
+14 -6
View File
@@ -1,6 +1,6 @@
[package]
name = "mirror-package"
version = "0.1.1"
version = "1.0.1"
edition = "2024"
authors = ['DragonSlayer_14']
readme = "README.md"
@@ -29,18 +29,26 @@ maintainer = "DragonSlayer_14"
copyright = "2026 DragonSlayer_14"
section = "utils"
priority = "optional"
depends = "$auto"
depends = "$auto, ca-certificates"
extended-description = """\
Spiegelt vorkompilierte Linux-Pakete (.deb, .rpm, .pkg.tar.zst) aus GitHub-Releases in Gitea-Paket-Registries.\
"""
assets = []
assets = [
["target/release/mirror-package", "usr/bin/mirror-package", "755"],
["README.md", "usr/share/doc/mirror-package/README.md", "644"],
["LICENSE", "usr/share/doc/mirror-package/copyright", "644"],
]
[package.metadata.generate-rpm]
assets = []
requires = { }
assets = [
{ source = "target/release/mirror-package", dest = "/usr/bin/mirror-package", mode = "755" },
{ source = "README.md", dest = "/usr/share/doc/mirror-package/README.md", mode = "644", doc = true },
{ source = "LICENSE", dest = "/usr/share/licenses/mirror-package/LICENSE", mode = "644", license = true },
]
requires = { "ca-certificates" = "*", "glibc" = "*" }
[package.metadata.arch]
pkgrel = "1"
arch = "x86_64"
depends = ["gcc-libs", "glibc"]
depends = ["gcc-libs", "glibc", "ca-certificates"]
optdepends = []
+1 -1
View File
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
# Minimales und gehärtetes Runtime-Image
FROM debian:bookworm-slim AS runtime
FROM debian:trixie-slim AS runtime
# CA-Zertifikate und minimale dynamische Laufzeitbibliotheken installieren
RUN apt-get update && \
+1 -1
View File
@@ -120,7 +120,7 @@ Der Container wurde nach höchsten Sicherheitsstandards aufgebaut:
- **Read-Only Root-Dateisystem**: Voll funktionsfähig mit `--read-only` / `read_only: true`.
- **Keine Capabilities**: Sämtliche Linux-Capabilities können sicher entzogen werden (`--cap-drop=ALL`).
- **Keine Rechteausweitung**: Erzwingt `no-new-privileges:true`.
- **Minimale Image-Größe**: Basiert auf Debian Bookworm Slim und enthält nur CA-Zertifikate und notwendige dynamische Bibliotheken (~40 MB).
- **Minimale Image-Größe**: Basiert auf Debian Trixie Slim und enthält nur CA-Zertifikate und notwendige dynamische Bibliotheken (~40 MB).
### 4. Ausführung über Docker CLI
+50
View File
@@ -0,0 +1,50 @@
#-------------------------------------------------------------------------------#
# Qodana analysis is configured by qodana.yaml file #
# https://www.jetbrains.com/help/qodana/qodana-yaml.html #
#-------------------------------------------------------------------------------#
#################################################################################
# WARNING: Do not store sensitive information in this file, #
# as its contents will be included in the Qodana report. #
#################################################################################
version: "1.0"
#Specify inspection profile for code analysis
profile:
name: qodana.starter
#Enable inspections
#include:
# - name: <SomeEnabledInspectionId>
#Disable inspections
#exclude:
# - name: <SomeDisabledInspectionId>
# paths:
# - <path/where/not/run/inspection>
#Execute shell command before Qodana execution (Applied in CI/CD pipeline)
#bootstrap: sh ./prepare-qodana.sh
#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
#plugins:
# - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)
# Quality gate. Will fail the CI/CD pipeline if any condition is not met
# severityThresholds - configures maximum thresholds for different problem severities
# testCoverageThresholds - configures minimum code coverage on a whole project and newly added code
# dependencyLicenses - fails the run on prohibited or unknown dependency licenses
# Code Coverage is available in Ultimate and Ultimate Plus plans
#failureConditions:
# severityThresholds:
# any: 15
# critical: 5
# testCoverageThresholds:
# fresh: 70
# total: 50
# dependencyLicenses:
# failOnProhibited: true
# failOnUnknown: false
#Specify Qodana linter for analysis (Applied in CI/CD pipeline)
linter: jetbrains/qodana-<linter>:2026.2