You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`helpers/pylock-to-requirements.py`| pip | Convert `pylock.<flavor>.toml` (PEP 751) to pip-compatible `requirements.<flavor>.txt` with `--hash` lines. |
230
230
|`helpers/download-pip-packages.py`| pip | Standalone pip downloader: downloads wheels/sdists from a `requirements.txt` (with `--hash` lines) into `cachi2/output/deps/pip/`. Not called by `create-requirements-lockfile.sh` (which has its own inline download from pylock.toml). |
231
-
|`helpers/download-rpms.sh`| RPM | Download RPMs from `rpms.lock.yaml` via `wget` into `cachi2/output/deps/rpm/` and create DNF repo metadata. Standalone alternative to `hermeto-fetch-rpm.sh`. |
232
231
|`helpers/hermeto-fetch-rpm.sh`| RPM | Download RPMs from `rpms.lock.yaml` using [Hermeto](https://github.com/hermetoproject/hermeto) in a container. Handles RHEL entitlement cert extraction for `cdn.redhat.com` auth. Called by `create-rpm-lockfile.sh --download`. |
233
232
|`helpers/hermeto-fetch-npm.sh`| npm | Alternative npm fetcher using [Hermeto](https://github.com/hermetoproject/hermeto) in a container. |
234
233
|`helpers/hermeto-fetch-gomod.sh`| Go modules | Fetches Go dependencies from a directory with `go.mod`/`go.sum` using [Hermeto](https://github.com/hermetoproject/hermeto) in a container. Output: `cachi2/output/deps/gomod/`. Called by `create-go-lockfile.sh`. |
235
234
|`rewrite-npm-urls.sh`| npm (Dockerfile) | Rewrites `resolved` URLs in `package-lock.json` / `package.json` to `file:///cachi2/output/deps/npm/`. |
236
235
|`helpers/rpm-lockfile-generate.sh`| RPM | Runs `rpm-lockfile-prototype` inside the lockfile container. Not for direct host use. |
237
-
|`Dockerfile.rpm-lockfile`| RPM | Builds the container image for `create-rpm-lockfile.sh` (includes `rpm-lockfile-prototype` v0.20.0, `createrepo_c`, `modulemd-tools`). Applies patches from `patches/` at build time. |
238
-
|`helpers/rhsm-pulp.repo`| RPM | DNF repo file for RHEL 9 E4S appstream (used inside the lockfile container to install `modulemd-tools`). |
236
+
|`Dockerfile.rpm-lockfile`| RPM | Builds the container image for `create-rpm-lockfile.sh` (includes `rpm-lockfile-prototype` v0.20.0). Applies patches from `patches/` at build time. Does not install internal-only corp repos. |
239
237
|`patches/apply-patches.sh`| RPM (build) | Applies local patches to pip-installed packages inside the `notebook-rpm-lockfile` container during `docker build`. |
240
238
|`patches/rpm-lockfile-prototype-dnf-conf.patch`| RPM (build) | Adds `RPM_LOCKFILE_MODULE_PLATFORM_ID` and `RPM_LOCKFILE_SKIP_UNAVAILABLE` env var support to `rpm-lockfile-prototype`'s DNF config. |
241
239
@@ -590,25 +588,6 @@ and `--org` to register a temporary UBI container and extract fresh certs.
590
588
591
589
**Requirements:** `podman`, network access.
592
590
593
-
### Helper: `helpers/download-rpms.sh`
594
-
595
-
Standalone alternative to `hermeto-fetch-rpm.sh` that downloads RPMs directly
596
-
via `wget`. Downloads RPMs from a lockfile into `cachi2/output/deps/rpm/`,
597
-
verifies checksums (when `yq` is available), and creates DNF repo metadata using
598
-
the first available method: `createrepo_c`→ `createrepo` → container fallback
599
-
(runs `createrepo_c` + `repo2module` + `modifyrepo_c` inside the
600
-
`notebook-rpm-lockfile`image via podman).
601
-
602
-
Does not handle RHEL entitlement — use `hermeto-fetch-rpm.sh` when downloading
603
-
from `cdn.redhat.com` repos that require subscription certs.
0 commit comments