The more I upgrade it the more hardware it seems to eat, while shitting itself regularly. It’s that bad that I think i have a cron.daily “restart this fucker” script now, and it still doesn’t fix things.
e: removed docker build runner, we’ll see how that goes i guess
e2: literally yandex bot sniffing through the repo brings LA to 6 while gitlab shits itself. fucking ruby garbage.
the plan for the time being is as follows (unless something comes up with gogs)
i have migrated all the relevant repos and wiki crap
gitlab is going to be removed, primarily because updating it is a retarded adventure for a source build and i’m unwilling to use omnibus / omnibus docker for ~reasons~ (gogs lives in a very nice lightweight docker container)
unfortunately i can’t migrate the users so 10 people or so who regularly contribute will have to re-register and be given correct rights
i’ll do what i can to keep previous https clone urls working, ssh clone urls for contributors should keep working (?) once gogs is going through system ssh (haven’t tried this yet)
e: SSH clone url is going to change just a bit, fox is replaced with git because gogs is weird and some features are only accessible to “organizations”. can’t do redirects for ssh, lol.
#!/bin/sh
for i in *; do
if [ -d "$i" ]; then
cd $i
URL=$(git remote get-url origin 2>/dev/null)
case "$URL" in
*git.tt-rss.org:fox* )
URL=$(echo $URL | sed s/:fox/:git/)
git remote set-url origin "$URL"
;;
esac
cd ..
fi
done
yeah redirects are a pain (only got them partially working so far), native gogs urls work fine tho
Nothing earth shattering if you know how to use git… The last command is an alias for "!git remote update -p; git merge --ff-only @{u}" which I find useful.