From d3591a948abb75433bb6991830be3e6d593da971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0oltis?= Date: Fri, 1 Nov 2024 14:54:04 +0100 Subject: [PATCH] Drop non-relevant files for cachi2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Šoltis --- docs/gomod.md | 3 +-- docs/metadata.md | 17 ----------------- hack/test_gomod.sh | 8 -------- hack/test_pip.sh | 17 ----------------- 4 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 docs/metadata.md delete mode 100755 hack/test_gomod.sh delete mode 100755 hack/test_pip.sh diff --git a/docs/gomod.md b/docs/gomod.md index fc31495f4..f26bb9293 100644 --- a/docs/gomod.md +++ b/docs/gomod.md @@ -130,8 +130,7 @@ Both are deprecated and will have no effect when set. They are only kept for bac ## Understanding reported dependencies -Cachi2 reports two (arguably three) different types of dependencies in the [metadata](metadata.md) generated for your -Go modules: +Cachi2 reports two (arguably three) different types of dependencies in the generated SBOM for your Go modules: * **gomod** dependencies (Go modules) * **go-package** dependencies (Go packages) diff --git a/docs/metadata.md b/docs/metadata.md deleted file mode 100644 index e73eb6253..000000000 --- a/docs/metadata.md +++ /dev/null @@ -1,17 +0,0 @@ -# Metadata - -⚠ UNDER CONSTRUCTION - -At the moment, Cachi2 does not provide any user-facing metadata. The only metadata available -is the output.json file in the output directory of a `fetch-deps` command - which is neither -standardized nor considered stable. For what it's worth, the format is similar to Cachito's -original [Request JSON][cachito-request-json] and most of the same ideas apply. - -Like the original Cachito, Cachi2 will provide a [Content Manifest][cachito-content-manifest] -in the future. - -Cachi2 may gain support for standardized SBOMs, such as [CycloneDX](https://cyclonedx.org/), -in the (further) future. - -[cachito-request-json]: https://github.com/containerbuildsystem/cachito/blob/master/docs/metadata.md#request-json -[cachito-content-manifest]: https://github.com/containerbuildsystem/cachito/blob/master/docs/metadata.md#content-manifest diff --git a/hack/test_gomod.sh b/hack/test_gomod.sh deleted file mode 100755 index 3d8a5e6cd..000000000 --- a/hack/test_gomod.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -mkdir workdir -git clone git@github.com:release-engineering/retrodep workdir/sources - -./venv/bin/cachi2 fetch-deps \ - --source workdir/sources \ - --output workdir/output \ - gomod diff --git a/hack/test_pip.sh b/hack/test_pip.sh deleted file mode 100755 index f2cfacab6..000000000 --- a/hack/test_pip.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -mkdir -p workdir - -if [[ ! -e workdir/cachito-pip-with-deps ]]; then - git clone https://github.com/cachito-testing/cachito-pip-with-deps.git \ - workdir/cachito-pip-with-deps -fi - -pushd workdir/cachito-pip-with-deps -git checkout 83b387568b6287f6829403cff1e1377b0fb2f5d8 -popd - -venv/bin/cachi2 fetch-deps \ - --source workdir/cachito-pip-with-deps \ - --output workdir/pip-output \ - pip