Compare commits

...
Author SHA1 Message Date
dependabot[bot]andGitHub 7199d4787d build(deps): bump the patches group in /docs with 3 updates
Bumps the patches group in /docs with 3 updates: [packaging](https://github.com/pypa/packaging), [platformdirs](https://github.com/tox-dev/platformdirs) and [zensical](https://github.com/zensical/zensical).


Updates `packaging` from 26.2 to 26.3
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/26.2...26.3)

Updates `platformdirs` from 4.11.0 to 4.11.1
- [Release notes](https://github.com/tox-dev/platformdirs/releases)
- [Changelog](https://github.com/tox-dev/platformdirs/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/platformdirs/compare/4.11.0...4.11.1)

Updates `zensical` from 0.0.52 to 0.0.53
- [Release notes](https://github.com/zensical/zensical/releases)
- [Commits](https://github.com/zensical/zensical/compare/v0.0.52...v0.0.53)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '26.3'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patches
- dependency-name: platformdirs
  dependency-version: 4.11.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patches
- dependency-name: zensical
  dependency-version: 0.0.53
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patches
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-12 08:33:27 +00:00
Harrison BlackandGitHub 21b134fd2b docs: Add docs for CurseForge regex filename matcher (#4223) 2026-08-09 08:09:24 -05:00
renovate[bot]andGitHub 9b12eb6a6c Update dependency itzg/mc-image-helper to v1.66.0 (#4222) 2026-08-08 16:55:21 -05:00
renovate[bot]andGitHub 14c83f1015 Update dependency itzg/easy-add to v0.8.16 (#4219) 2026-08-08 12:56:31 -05:00
Andrew BarnesandGitHub 7ba5a858b9 Remove redundant CF_API_KEY_FILE handling (#4220) 2026-08-07 07:26:34 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8bf8a7bc8d build(deps): bump the patches group in /docs with 2 updates (#4217)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-05 22:04:30 -05:00
renovate[bot]andGitHub bbb8f7ffec Update dependency itzg/mc-image-helper to v1.65.0 (#4215) 2026-08-05 12:25:01 -05:00
dependabot[bot]andGitHub 4657c5f8f3 build(deps): bump docker/login-action from 4.5.2 to 4.6.0 in the updates group (#4216) 2026-08-05 07:01:48 -05:00
renovate[bot]andGitHub 4fc54b9e43 Update dependency itzg/mc-image-helper to v1.64.2 (#4214) 2026-08-04 10:31:27 -05:00
7 changed files with 25 additions and 32 deletions
+2 -2
View File
@@ -195,14 +195,14 @@ jobs:
tests/test.sh
- name: Login to DockerHub
uses: docker/login-action@v4.5.2
uses: docker/login-action@v4.6.0
if: env.HAS_IMAGE_REPO_ACCESS == 'true'
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GHCR
uses: docker/login-action@v4.5.2
uses: docker/login-action@v4.6.0
if: env.HAS_IMAGE_REPO_ACCESS == 'true'
with:
registry: ghcr.io
+2 -2
View File
@@ -28,7 +28,7 @@ ARG APPS_REV=1
ARG GITHUB_BASEURL=https://github.com
# renovate: datasource=github-releases packageName=itzg/easy-add
ARG EASY_ADD_VERSION=0.8.15
ARG EASY_ADD_VERSION=0.8.16
ADD ${GITHUB_BASEURL}/itzg/easy-add/releases/download/${EASY_ADD_VERSION}/easy-add_${TARGETOS}_${TARGETARCH}${TARGETVARIANT} /usr/bin/easy-add
RUN chmod +x /usr/bin/easy-add
@@ -57,7 +57,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
# renovate: datasource=github-releases packageName=itzg/mc-image-helper versioning=loose
ARG MC_HELPER_VERSION=1.64.1
ARG MC_HELPER_VERSION=1.66.0
ARG MC_HELPER_BASE_URL=${GITHUB_BASEURL}/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION}
# used for cache busting local copy of mc-image-helper
ARG MC_HELPER_REV=1
+4 -4
View File
@@ -4,7 +4,7 @@ deepmerge==2.1.0
ghp-import==2.1.0
griffe==2.1.0
Jinja2==3.1.6
Markdown==3.10.2
Markdown==3.10.3
MarkupSafe==3.0.3
mergedeep==1.3.4
mkdocs==1.6.1
@@ -12,9 +12,9 @@ mkdocs-autorefs==1.4.4
mkdocs-get-deps==0.2.2
mkdocstrings==1.0.6
mkdocstrings-python==2.0.5
packaging==26.2
packaging==26.3
pathspec==1.1.1
platformdirs==4.11.0
platformdirs==4.11.1
Pygments==2.20.0
pymdown-extensions==11.0.1
python-dateutil==2.9.0.post0
@@ -22,4 +22,4 @@ PyYAML==6.0.3
pyyaml_env_tag==1.1
six==1.17.0
watchdog==6.0.0
zensical==0.0.51
zensical==0.0.53
@@ -109,7 +109,7 @@ The latest modpack file and its associated mod loader will be located and instal
- Use `CF_PAGE_URL`, but include the full URL to a specific file
- Set `CF_FILE_ID` to the numerical file ID
- Specify a substring to match the desired filename with `CF_FILENAME_MATCHER`
- Specify either a substring or a regex pattern surrounded with "/" to match the desired filename with `CF_FILENAME_MATCHER`
The following shows where to get the URL to the specific file and also shows where the file ID is located:
@@ -131,6 +131,21 @@ The following examples all refer to version 1.0.7 of ATM8:
CF_FILENAME_MATCHER: 1.0.7
```
To use a regular expression instead, surround the pattern with `/` characters:
```yaml
# Matches filenames containing a 1.0.7 version
CF_SLUG: all-the-mods-8
CF_FILENAME_MATCHER: '/1\.0\.7/'
```
Regular expressions can use `^` to anchor a match to the beginning of the filename and `$` to anchor it to the end. The following matches an ATM8 filename that starts with `all-the-mods-8` and ends with `1.0.7.zip`:
```yaml
CF_SLUG: all-the-mods-8
CF_FILENAME_MATCHER: '/^All the Mods 8-1\.0\.7\.zip$/'
```
Pinning modpack version also pins the mod loader (to the version specified by the modpack). Mod loader version cannot be pinned independently of the modpack.
### Custom modloader versions
+1 -1
View File
@@ -611,7 +611,7 @@ This image maps known server properties as described in [this section](configura
</tr>
<tr>
<td><code>CF_FILENAME_MATCHER</code></td>
<td>Specify a substring to match the desired filename</td>
<td>Specify either a substring or a regex pattern surrounded with "/" to match the desired filename</td>
<td><code></code></td>
<td>⬜️</td>
</tr>
-11
View File
@@ -22,22 +22,11 @@ set -eu
: "${CF_DOWNLOADS_REPO=$([ -d /downloads ] && echo '/downloads' || echo '')}"
: "${CF_MODPACK_MANIFEST:=}"
: "${CF_API_CACHE_DEFAULT_TTL:=}" # as ISO-8601 duration, such as P2D or PT12H
: "${CF_API_KEY_FILE:=}" # Path to file containing CurseForge API key
: "${CF_MOD_LOADER_VERSION:=}" # Override mod loader version
: "${CF_USE_HTTP2:=false}" # CF downloads are faster with HTTP 1.1
resultsFile=/data/.install-curseforge.env
if [[ -n ${CF_API_KEY_FILE} ]]; then
if [[ -r "${CF_API_KEY_FILE}" ]]; then
CF_API_KEY="$(cat "${CF_API_KEY_FILE}")"
export CF_API_KEY
else
logError "CF_API_KEY_FILE is not readable: ${CF_API_KEY_FILE}"
exit 1
fi
fi
isDebugging && set -x
ensureRemoveAllModsOff "MODPACK_PLATFORM=AUTO_CURSEFORGE"
-11
View File
@@ -9,23 +9,12 @@ set -e -o pipefail
: "${PLUGINS_FILE:=}"
: "${REMOVE_OLD_MODS_DEPTH:=1} "
: "${REMOVE_OLD_MODS_INCLUDE:=*.jar,*-version.json}"
: "${CF_API_KEY_FILE:=}" # Path to file containing CurseForge API key
: "${CF_USE_HTTP2:=false}" # CF downloads are faster with HTTP 1.1
: "${MODRINTH_LOADER:=}"
# shellcheck source=start-utils
. "$(dirname "$0")/start-utils"
if [[ -n ${CF_API_KEY_FILE} ]]; then
if [[ -r "${CF_API_KEY_FILE}" ]]; then
CF_API_KEY="$(cat "${CF_API_KEY_FILE}")"
export CF_API_KEY
else
logError "CF_API_KEY_FILE is not readable: ${CF_API_KEY_FILE}"
exit 1
fi
fi
isDebugging && set -x
sum_file=/data/.generic_pack.sum