Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit 6b1f956

Browse files
committed
remove dep on cloudflare
1 parent 897b5d1 commit 6b1f956

File tree

10 files changed

+17
-82
lines changed

10 files changed

+17
-82
lines changed

.github/workflows/build_aarch64_Linux.yaml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,8 @@ jobs:
5656
mkdir -p "${HOME}/bin"
5757
sudo apt update -y
5858
sudo apt install dos2unix -y
59-
##Setup rClone
60-
mkdir -p "${HOME}/.config/rclone"
61-
echo "${{ secrets.RCLONE_CF_R2_PUB }}" > "${HOME}/.config/rclone/rclone.conf"
6259
##User-Agent
63-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
60+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
6461
echo "USER_AGENT=${USER_AGENT}" >> "${GITHUB_ENV}"
6562
continue-on-error: true
6663

@@ -89,22 +86,6 @@ jobs:
8986
sudo apt-get install apt-utils software-properties-common -y
9087
sudo apt-get update -y
9188
continue-on-error: true
92-
#------------------------------------------------------------------------------------#
93-
- name: rClone BackUp Repo ("https://pub.ajam.dev/repos/${GITHUB_REPOSITORY}")
94-
run: |
95-
# Presets
96-
set +x ; set +e
97-
#--------------#
98-
#copy & chdir to Repo
99-
cp -fr "${GITHUB_WORKSPACE}/main" "${SYSTMP}/REPO" && cd "${SYSTMP}/REPO"
100-
#Git pull
101-
git pull origin main --no-edit 2>/dev/null
102-
#Del Bloat
103-
rm -rf "$(pwd)/.git"
104-
#Upload to Pub
105-
echo -e "[+] Syncing ${GITHUB_REPOSITORY} to pub.ajam.dev/repos/${GITHUB_REPOSITORY} \n"
106-
rclone sync "." "r2:/pub/repos/${GITHUB_REPOSITORY}/" --user-agent="${USER_AGENT}" --buffer-size="10M" --s3-upload-concurrency="50" --s3-chunk-size="10M" --multi-thread-streams="50" --checkers="2000" --transfers="100" --retries="10" --check-first --checksum --copy-links --fast-list --progress
107-
continue-on-error: true
10889
#------------------------------------------------------------------------------------#
10990
#------------------------------------------------------------------------------------#
11091
build-fetch-packages:
@@ -155,11 +136,8 @@ jobs:
155136
##Setup Minisign
156137
mkdir -pv "${HOME}/.minisign"
157138
echo "${{ secrets.MINISIGN_SIGKEY }}" > "${HOME}/.minisign/pkgforge.key"
158-
##Setup rClone
159-
mkdir -pv "${HOME}/.config/rclone"
160-
echo "${{ secrets.CF_META }}" > "${HOME}/.config/rclone/rclone.conf"
161139
##User-Agent
162-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
140+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
163141
echo "USER_AGENT=${USER_AGENT}" >> "${GITHUB_ENV}"
164142
continue-on-error: true
165143

@@ -270,10 +248,10 @@ jobs:
270248
fi
271249
##rClone Upload logs
272250
7z a -t7z -mx=9 -mmt="$(($(nproc)+1))" -bsp1 -bt "./${{ github.run_id }}.log.xz" "${SYSTMP}/BUILD.log" 2>/dev/null
273-
rclone copyto "./${{ github.run_id }}.log.xz" "r2:/meta/pkgcache/logs/${{ github.run_id }}.log.xz" --checksum --check-first --user-agent="${USER_AGENT}" &
251+
#rclone copyto "./${{ github.run_id }}.log.xz" "r2:/meta/pkgcache/logs/${{ github.run_id }}.log.xz" --checksum --check-first --user-agent="${USER_AGENT}" &
274252
if [[ -s "${SYSTMP}/BUILD_FAILED.log" && $(stat -c%s "${SYSTMP}/BUILD_FAILED.log") -gt 10 ]]; then
275253
7z a -t7z -mx=9 -mmt="$(($(nproc)+1))" -bsp1 -bt "./${{ github.run_id }}.log.xz" "${SYSTMP}/BUILD_FAILED.log" 2>/dev/null
276-
rclone copyto "./${{ github.run_id }}.log.xz" "r2:/meta/pkgcache/logs/${{ github.run_id }}.log.xz" --checksum --check-first --user-agent="${USER_AGENT}"
254+
#rclone copyto "./${{ github.run_id }}.log.xz" "r2:/meta/pkgcache/logs/${{ github.run_id }}.log.xz" --checksum --check-first --user-agent="${USER_AGENT}"
277255
fi
278256
wait ; echo
279257
fi

.github/workflows/build_x86_64_Linux.yaml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,8 @@ jobs:
5656
mkdir -p "${HOME}/bin"
5757
sudo apt update -y
5858
sudo apt install dos2unix -y
59-
##Setup rClone
60-
mkdir -p "${HOME}/.config/rclone"
61-
echo "${{ secrets.RCLONE_CF_R2_PUB }}" > "${HOME}/.config/rclone/rclone.conf"
6259
##User-Agent
63-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
60+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
6461
echo "USER_AGENT=${USER_AGENT}" >> "${GITHUB_ENV}"
6562
continue-on-error: true
6663

@@ -89,22 +86,6 @@ jobs:
8986
sudo apt-get install apt-utils software-properties-common -y
9087
sudo apt-get update -y
9188
continue-on-error: true
92-
#------------------------------------------------------------------------------------#
93-
- name: rClone BackUp Repo ("https://pub.ajam.dev/repos/${GITHUB_REPOSITORY}")
94-
run: |
95-
# Presets
96-
set +x ; set +e
97-
#--------------#
98-
#copy & chdir to Repo
99-
cp -fr "${GITHUB_WORKSPACE}/main" "${SYSTMP}/REPO" && cd "${SYSTMP}/REPO"
100-
#Git pull
101-
git pull origin main --no-edit 2>/dev/null
102-
#Del Bloat
103-
rm -rf "$(pwd)/.git"
104-
#Upload to Pub
105-
echo -e "[+] Syncing ${GITHUB_REPOSITORY} to pub.ajam.dev/repos/${GITHUB_REPOSITORY} \n"
106-
rclone sync "." "r2:/pub/repos/${GITHUB_REPOSITORY}/" --user-agent="${USER_AGENT}" --buffer-size="10M" --s3-upload-concurrency="50" --s3-chunk-size="10M" --multi-thread-streams="50" --checkers="2000" --transfers="100" --retries="10" --check-first --checksum --copy-links --fast-list --progress
107-
continue-on-error: true
10889
#------------------------------------------------------------------------------------#
10990
#------------------------------------------------------------------------------------#
11091
build-fetch-packages:
@@ -155,11 +136,8 @@ jobs:
155136
##Setup Minisign
156137
mkdir -pv "${HOME}/.minisign"
157138
echo "${{ secrets.MINISIGN_SIGKEY }}" > "${HOME}/.minisign/pkgforge.key"
158-
##Setup rClone
159-
mkdir -pv "${HOME}/.config/rclone"
160-
echo "${{ secrets.CF_META }}" > "${HOME}/.config/rclone/rclone.conf"
161139
##User-Agent
162-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
140+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
163141
echo "USER_AGENT=${USER_AGENT}" >> "${GITHUB_ENV}"
164142
continue-on-error: true
165143

@@ -270,10 +248,10 @@ jobs:
270248
fi
271249
##rClone Upload logs
272250
7z a -t7z -mx=9 -mmt="$(($(nproc)+1))" -bsp1 -bt "./${{ github.run_id }}.log.xz" "${SYSTMP}/BUILD.log" 2>/dev/null
273-
rclone copyto "./${{ github.run_id }}.log.xz" "r2:/meta/pkgcache/logs/${{ github.run_id }}.log.xz" --checksum --check-first --user-agent="${USER_AGENT}" &
251+
#rclone copyto "./${{ github.run_id }}.log.xz" "r2:/meta/pkgcache/logs/${{ github.run_id }}.log.xz" --checksum --check-first --user-agent="${USER_AGENT}" &
274252
if [[ -s "${SYSTMP}/BUILD_FAILED.log" && $(stat -c%s "${SYSTMP}/BUILD_FAILED.log") -gt 10 ]]; then
275253
7z a -t7z -mx=9 -mmt="$(($(nproc)+1))" -bsp1 -bt "./${{ github.run_id }}.log.xz" "${SYSTMP}/BUILD_FAILED.log" 2>/dev/null
276-
rclone copyto "./${{ github.run_id }}.log.xz" "r2:/meta/pkgcache/logs/${{ github.run_id }}.log.xz" --checksum --check-first --user-agent="${USER_AGENT}"
254+
#rclone copyto "./${{ github.run_id }}.log.xz" "r2:/meta/pkgcache/logs/${{ github.run_id }}.log.xz" --checksum --check-first --user-agent="${USER_AGENT}"
277255
fi
278256
wait ; echo
279257
fi

.github/workflows/matrix_builds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ jobs:
218218
mkdir -pv "${HOME}/.minisign"
219219
echo "${{ secrets.MINISIGN_SIGKEY }}" > "${HOME}/.minisign/pkgforge.key"
220220
##User-Agent
221-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
221+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
222222
echo "USER_AGENT=${USER_AGENT}" >> "${GITHUB_ENV}"
223223
continue-on-error: true
224224

.github/workflows/repo_linter.yaml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ on:
1313

1414
#env:
1515
#GHCR_TOKEN: "${{ secrets.GHCR_TOKEN }}"
16-
#RCLONE_CF_R2_PUB: "${{ secrets.RCLONE_CF_R2_PUB }}"
1716
jobs:
1817
#------------------------------------------------------------------------------------#
1918
check-post:
@@ -49,12 +48,8 @@ jobs:
4948
#temp
5049
SYSTMP="$(dirname $(mktemp -u))" && export SYSTMP="${SYSTMP}"
5150
echo "SYSTMP=${SYSTMP}" >> "${GITHUB_ENV}"
52-
##Setup rClone
53-
mkdir -p "${HOME}/.config/rclone"
54-
echo "${{ secrets.RCLONE_CF_R2_PUB }}" > "${HOME}/.config/rclone/rclone.conf"
55-
export RCLONE_STATS="120s" ; echo "RCLONE_STATS=${RCLONE_STATS}" >> "${GITHUB_ENV}"
5651
##User-Agent
57-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
52+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
5853
echo "USER_AGENT=${USER_AGENT}" >> "${GITHUB_ENV}"
5954
continue-on-error: true
6055

@@ -147,20 +142,4 @@ jobs:
147142
#commit_message: "‎‎‏‏‎ ‎"
148143
commit_message: "✅ Linted (Repo) 🛍️"
149144
#push_options: '--force'
150-
continue-on-error: true
151-
152-
- name: rClone BackUp Repo ("https://pub.ajam.dev/repos/${GITHUB_REPOSITORY}")
153-
run: |
154-
# Presets
155-
set +x ; set +e
156-
#--------------#
157-
#copy & chdir to Repo
158-
cp -fr "${GITHUB_WORKSPACE}/main" "${SYSTMP}/REPO" && cd "${SYSTMP}/REPO"
159-
#Git pull
160-
git pull origin main --no-edit 2>/dev/null
161-
#Del Bloat
162-
rm -rf "$(pwd)/.git"
163-
#Upload to Pub
164-
echo -e "[+] Syncing ${GITHUB_REPOSITORY} to pub.ajam.dev/repos/${GITHUB_REPOSITORY} \n"
165-
rclone sync "." "r2:/pub/repos/${GITHUB_REPOSITORY}/" --user-agent="${USER_AGENT}" --buffer-size="10M" --s3-upload-concurrency="50" --s3-chunk-size="10M" --multi-thread-streams="50" --checkers="2000" --transfers="100" --retries="10" --check-first --checksum --copy-links --fast-list --progress
166-
continue-on-error: true
145+
continue-on-error: true

.github/workflows/schedule_builds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
sudo apt update -y
3939
sudo apt install dos2unix -y
4040
##User-Agent
41-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
41+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
4242
echo "USER_AGENT=${USER_AGENT}" >> "${GITHUB_ENV}"
4343
continue-on-error: true
4444

.github/workflows/sync_gh_releases.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
sudo apt-get install git-lfs -y -qq
5757
#-------------#
5858
##User-Agent
59-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
59+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
6060
echo "USER_AGENT=${USER_AGENT}" >> "${GITHUB_ENV}"
6161
continue-on-error: true
6262

.github/workflows/sync_gh_releases_metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
sudo apt-get install git-lfs -y -qq
5757
#-------------#
5858
##User-Agent
59-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
59+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')" && export USER_AGENT="${USER_AGENT}"
6060
echo "USER_AGENT=${USER_AGENT}" >> "${GITHUB_ENV}"
6161
continue-on-error: true
6262

scripts/github/sync_releases.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export TZ="UTC"
2424
SYSTMP="$(dirname $(mktemp -u))" && export SYSTMP="${SYSTMP}"
2525
TMPDIR="$(mktemp -d)" && export TMPDIR="${TMPDIR}" ; echo -e "\n[+] Using TEMP: ${TMPDIR}\n"
2626
if [[ -z "${USER_AGENT}" ]]; then
27-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')"
27+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')"
2828
fi
2929
##Host
3030
HOST_TRIPLET="$(uname -m)-$(uname -s)"

scripts/github/sync_releases_metadata.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export TZ="UTC"
2323
SYSTMP="$(dirname $(mktemp -u))" && export SYSTMP="${SYSTMP}"
2424
TMPDIR="$(mktemp -d)" && export TMPDIR="${TMPDIR}" ; echo -e "\n[+] Using TEMP: ${TMPDIR}\n"
2525
if [[ -z "${USER_AGENT}" ]]; then
26-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')"
26+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')"
2727
fi
2828
##Host
2929
HOST_TRIPLET="$(uname -m)-$(uname -s)"

scripts/runner/setup_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PATH="$(echo "${PATH}" | awk 'BEGIN{RS=":";ORS=":"}{gsub(/\n/,"");if(!a[$0]++)pr
1616
OWD_TMP="$(realpath .)" ; export OWD_TMP
1717
PKG_REPO="pkgcache"
1818
TMPDIRS="mktemp -d --tmpdir=${SYSTMP}/pkgforge XXXXXXX_SBUILD"
19-
USER_AGENT="$(curl -qfsSL 'https://pub.ajam.dev/repos/Azathothas/Wordlists/Misc/User-Agents/ua_chrome_macos_latest.txt')"
19+
USER_AGENT="$(curl -qfsSL 'https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Misc/User-Agents/ua_chrome_macos_latest.txt')"
2020
export HOST_TRIPLET PKG_REPO SYSTMP TMPDIRS USER_AGENT
2121
if [[ "${KEEP_PREVIOUS}" != "YES" ]]; then
2222
rm -rf "${SYSTMP}/pkgforge"

0 commit comments

Comments
 (0)