Skip to content

Commit 9ed2b05

Browse files
committed
fix: add anthon/ prefix to source URL
This allows for our redirection service to take effect, improving performance.
1 parent 61c8b65 commit 9ed2b05

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

contrib/generate-emukit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ aoscbootstrap \
3131
--branch ${BRANCH:-stable} \
3232
--comps ${COMPS:-main} \
3333
--target emukit \
34-
--mirror ${REPO:-https://repo.aosc.io/debs} \
34+
--mirror ${REPO:-https://repo.aosc.io/anthon/debs} \
3535
--config /usr/share/aoscbootstrap/config/aosc-mainline.toml \
3636
-x \
3737
--arch ${ARCH:-$(dpkg --print-architecture)} \

contrib/generate-releases

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ for i in $@; do
4040
--branch ${BRANCH:-stable} \
4141
--comps ${COMPS:-main} \
4242
--target $i \
43-
--mirror ${REPO:-https://repo.aosc.io/debs} \
43+
--mirror ${REPO:-https://repo.aosc.io/anthon/debs} \
4444
--config /usr/share/aoscbootstrap/config/aosc-mainline.toml \
4545
-x \
4646
--arch ${ARCH:-$(dpkg --print-architecture)} \
@@ -61,7 +61,7 @@ for i in $@; do
6161
--branch ${BRANCH:-stable} \
6262
--comps ${COMPS:-main} \
6363
--target $i \
64-
--mirror ${REPO:-https://repo.aosc.io/debs} \
64+
--mirror ${REPO:-https://repo.aosc.io/anthon/debs} \
6565
--config /usr/share/aoscbootstrap/config/aosc-mainline.toml \
6666
-x \
6767
--arch ${ARCH:-$(dpkg --print-architecture)} \
@@ -78,7 +78,7 @@ for i in $@; do
7878
--branch ${ARCH:-$(dpkg --print-architecture)}-bring-up \
7979
--target $i \
8080
--comps ${COMPS:-main} \
81-
--mirror ${REPO:-https://repo.aosc.io/debs} \
81+
--mirror ${REPO:-https://repo.aosc.io/anthon/debs} \
8282
--config /usr/share/aoscbootstrap/config/aosc-mainline.toml \
8383
-x \
8484
--arch ${ARCH:-$(dpkg --print-architecture)} \
@@ -100,7 +100,7 @@ for i in $@; do
100100
--branch ${BRANCH:-stable} \
101101
--target $i \
102102
--comps ${COMPS:-main} \
103-
--mirror ${REPO:-https://repo.aosc.io/debs-retro} \
103+
--mirror ${REPO:-https://repo.aosc.io/anthon/debs-retro} \
104104
--config /usr/share/aoscbootstrap/config/aosc-retro.toml \
105105
-x \
106106
--arch ${ARCH:-$(dpkg --print-architecture)} \
@@ -115,7 +115,7 @@ for i in $@; do
115115
--branch ${ARCH:-$(dpkg --print-architecture)}-bring-up \
116116
--target $i \
117117
--comps ${COMPS:-main} \
118-
--mirror ${REPO:-https://repo.aosc.io/debs-retro} \
118+
--mirror ${REPO:-https://repo.aosc.io/anthon/debs-retro} \
119119
--config /usr/share/aoscbootstrap/config/aosc-retro.toml \
120120
-x \
121121
--arch ${ARCH:-$(dpkg --print-architecture)} \

scripts/reset-repo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ if command -v apt-gen-list > /dev/null; then
33
apt-gen-list reset-mirror
44
else
55
cat > /etc/apt/sources.list << EOF
6-
deb https://repo.aosc.io/debs ${BRANCH:-stable} main
6+
deb https://repo.aosc.io/anthon/debs ${BRANCH:-stable} main
77
EOF
88
fi

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use std::{
2727
};
2828
use topics::{Topic, fetch_topics, filter_topics};
2929

30-
const DEFAULT_MIRROR: &str = "https://repo.aosc.io/debs";
30+
const DEFAULT_MIRROR: &str = "https://repo.aosc.io/anthon/debs";
3131

3232
#[derive(Parser, Debug)]
3333
#[clap(about, version, author)]

src/topics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub struct Topic {
3636

3737
const ATM_STATE: &str = "var/lib/atm/state";
3838
const ATM_LIST: &str = "etc/apt/sources.list.d/atm.list";
39-
const TOPIC_MANIFEST_URL: &str = "https://repo.aosc.io/debs/manifest/topics.json";
39+
const TOPIC_MANIFEST_URL: &str = "https://repo.aosc.io/anthon/debs/manifest/topics.json";
4040

4141
pub fn fetch_topics() -> Result<Vec<Topic>> {
4242
eprintln!("Fetching topics manifest ...");

0 commit comments

Comments
 (0)