#!/bin/sed # --- T2-COPYRIGHT-BEGIN --- # t2/misc/share/CVTranslations # Copyright (C) 2005 - 2025 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- # normal user will always find their files on our mirrors, so this will be used only by developers # sourceforge hell s,^http://.*dl.\(sourceforge\|sf\).net/\([^s][^o][^u][^r]\),http://dl.sourceforge.net/sourceforge/\2, s,^http://.*dl.\(sourceforge\|sf\).net/sourceforge/\([^/]*\)/,http://sourceforge.net/projects/\2/files/, s,^\(http.*github.com/.*\)/releases,\1/tags, s,^\(http.*github.com/.*\)/archive.*,\1/tags, s,^\(http.*github.com/.*\)/tags/.*,\1/tags, #s,^http.*github.com/\([^/]*\)/\([^/]*\)/.*,https://api.github.com/repos/\1/\2/releases/latest, #s,\(.*gitlab[^/]*\)/\([^/]*\)/\([^/]*\).*,\1/api/v4/projects/\2%2F\3/releases, #s,\(gitlab.*\)/archive/.*,\1/tags/, #s,\(gitlab.*\)/tages/.*,\1/releases/, # Apache downloads s,^http://dl.apache.org/,http://www.eu.apache.org/,