bedrocklinux / bedrocklinux-userland

This tracks development for the things such as scripts and (defaults for) config files for Bedrock Linux
https://bedrocklinux.org
GNU General Public License v2.0
616 stars 69 forks source link

feat: chimera linux brl-fetch port #310

Open slbsh opened 3 weeks ago

slbsh commented 3 weeks ago

A brl-fetch target for Chimera Linux.
Huge thanks to the chimera people for help :)

JamiKettunen commented 2 weeks ago

This would supercede #298, check the recent mirror comment from me there if you want to include it here

netkv commented 3 days ago

Did quick testing, it seems to get stuck at

[ 4/14 ( 28%)] Determining mirror
* Checking bedrock.conf [brl-fetch-mirror] items
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%

no idea why it gets stuck but after removing the other mirror and changing list-mirrors function into

list_mirrors() {
    echo "https://repo.chimera-linux.org"
}

it fetches just fine and resulting stratum seems to work, so otherwise than that detail great job 👍🏻

slbsh commented 1 day ago

I blame @JamiKettunen lmao, gonna undo that one

JamiKettunen commented 23 hours ago

:shrug: I can load https://au.mirror.7bit.org/chimera from EU even if latency is around a second, sounds like something the mirror tester definitely should be able to handle (no idea how it works) and subsequently skip if latency is way too high

netkv commented 2 hours ago

looking at it more, it doesn't seem to have anything with mirror (btw im in EU) (i think if it was mirror speed issue it'd get stuck right after, with bedrock showing number of mirrors it decides from like * Finding fastest mirror from 2)

judging by set -x it seems like it gets stuck at cat tried following and it works

list_mirrors() {
    echo "https://repo.chimera-linux.org
https://au.mirror.7bit.org/chimera
"
}

no idea why cat heredec doesnt work, it should achieve same result, but maybe my shell knowledge is rusty btw does it work for you? i assume yes if that's so, that's odd, no idea why it'd be different (btw im using latest bedrock (0.7.31beta2) to test it on)