Compare commits

..

3 Commits

Author SHA1 Message Date
me 8fcf47255b Attempt to handle the icon file more gracefully. 2026-07-04 07:53:22 -07:00
me 7de61064ed Pull YML and PNG files for apps. 2026-07-03 17:06:06 -07:00
me d01a658c15 Copy any YML files to the metadata folder. 2026-07-03 17:05:43 -07:00
2 changed files with 28 additions and 20 deletions
+11 -3
View File
@@ -43,7 +43,6 @@ ENV REPO_ICON="$REPO_ICON"
RUN sed -i "$ a repo_url: $REPO_DOMAIN/fdroid/repo" "$FDROID/config.yml"
RUN sed -i "$ a repo_name: $REPO_NAME" "$FDROID/config.yml"
RUN sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml"
RUN fdroid update
@@ -114,13 +113,22 @@ RUN bash -c 'if [[ -n "$FILE17" ]]; then wget -P "$REPO" "$FILE17"; fi'
RUN bash -c 'if [[ -n "$FILE18" ]]; then wget -P "$REPO" "$FILE18"; fi'
RUN bash -c 'if [[ -n "$FILE19" ]]; then wget -P "$REPO" "$FILE19"; fi'
# Move any downloaded metadata files to the correct folder.
RUN cp -v "$REPO"/*.yml "$REPO"/../metadata
# Move any downloaded icons to the proper folder.
RUN cp -v "$REPO"/*.png "$REPO"/icons/
# If the icon variable is set, add it to the config file before updating again.
RUN [[ ! -z "$REPO_ICON" ]] && sed -i "$ a repo_icon: $REPO_ICON" "$FDROID/config.yml"
RUN fdroid update -c
# Publish Repo Contents to Web Root #
RUN cp -r "$FDROID" "$WEBROOT/"
RUN cp -rv "$FDROID" "$WEBROOT/"
# The index files are in repo.
# TODO: Can NGINX be configured to serve this as root while still
# having the URL be fdroid/repo/? How do others handle this?
RUN cp -r "$REPO"/* "$WEBROOT/"
RUN cp -rv "$REPO"/* "$WEBROOT/"
+17 -17
View File
@@ -24,22 +24,22 @@ REPO_ICON="peace.png"
# - Currently being done because Obtainium does not read the Gitea release/tag.
FILE00="https://git.hyperling.com/me/android-carb-up/releases/download/latest/CarbUp_v1.0.1.apk"
FILE01=""
FILE02="https://git.hyperling.com/me/flutter-expense-tracker/releases/download/latest/ExpenseTracker_v0.1.3.apk"
FILE03=""
FILE04="https://git.hyperling.com/me/android-infinite-timer/releases/download/latest/InfiniteTimer_v1.1.1.apk"
FILE05=""
FILE06="https://git.hyperling.com/me/android-45-minute-rule/releases/download/latest/The45MinuteRule_v1.0.7.apk"
FILE07=""
FILE08="https://git.hyperling.com/me/android-tictactoe/releases/download/latest/TicTacToe_v1.1.0.apk"
FILE09=""
FILE10="https://git.hyperling.com/me/android-hypergames/releases/download/latest/HyperGames_v0.0.11.apk"
FILE11=""
FILE12=""
FILE13=""
FILE14=""
FILE15=""
FILE16=""
FILE17=""
FILE01="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
FILE02="https://hyperling.com/files/media/icons/ctfu.png"
FILE03="https://git.hyperling.com/me/flutter-expense-tracker/releases/download/latest/ExpenseTracker_v0.1.3.apk"
FILE04="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
FILE05="https://hyperling.com/files/media/icons/expense.png"
FILE06="https://git.hyperling.com/me/android-infinite-timer/releases/download/latest/InfiniteTimer_v1.1.1.apk"
FILE07="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
FILE08="https://hyperling.com/files/media/icons/infinitetimer.png"
FILE09="https://git.hyperling.com/me/android-45-minute-rule/releases/download/latest/The45MinuteRule_v1.0.7.apk"
FILE10="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
FILE11="https://hyperling.com/files/media/icons/t45mr.png"
FILE12="https://git.hyperling.com/me/android-tictactoe/releases/download/latest/TicTacToe_v1.1.0.apk"
FILE13="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
FILE14="https://hyperling.com/files/media/icons/tictactoe.png"
FILE15="https://git.hyperling.com/me/android-hypergames/releases/download/latest/HyperGames_v0.0.11.apk"
FILE16="https://git.hyperling.com/me/android-carb-up/raw/branch/main/TBD.yml"
FILE17="https://hyperling.com/files/media/icons/hypergames.png"
FILE18=""
FILE19="https://hyperling.com/files/media/icons/peace.png"