Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master sorcery by Ismael Luceno (532fd0e94fd0f36403ac31d1e4debaad0166eb0e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master sorcery by Ismael Luceno (532fd0e94fd0f36403ac31d1e4debaad0166eb0e)
  • Date: Wed, 31 Jul 2024 09:38:31 +0000

GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:

usr/lib/sorcery/cmd/sightsee | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 532fd0e94fd0f36403ac31d1e4debaad0166eb0e
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

sightsee: Add a special case for Gitlab

commit 557b8a089f291562fdc40c4438775482ef121a69
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

sightsee: Add matching for Debian-style tarball names

diff --git a/usr/lib/sorcery/cmd/sightsee b/usr/lib/sorcery/cmd/sightsee
index 563f604..17523a1 100755
--- a/usr/lib/sorcery/cmd/sightsee
+++ b/usr/lib/sorcery/cmd/sightsee
@@ -101,10 +101,12 @@ find "${paths[@]}" -name DETAILS -exec awk
-vdebug="$debug" '
function select_regex(spell, url) {
if (url ~ /^https:\/\/github\.com\/.*\/tags$/)
return "/archive/refs/tags/v?([0-9.]+)[.]tar"
+ if (url ~ /gitlab/)
+ return "/" spell "/-/archive/v?([0-9.]+)/" spell "-"
return spell \
"[-_](R?[-_.+~0-9]+(([a-z]|rc|alpha|beta)[0-9]*)?)" \
"([-.]src|[-.]sources?)?" \
- "[.](tar|zip|t[bgx]z|7z|sha?r|cpio|rpm|deb|[ot]tf)"
+
"[.]((orig[.])?tar|zip|t[bgx]z|7z|sha?r|cpio|rpm|deb|[ot]tf)"
}
function print_spell() {
if (watch_url == "") {


  • [[SM-Commit] ] GIT changes to master sorcery by Ismael Luceno (532fd0e94fd0f36403ac31d1e4debaad0166eb0e), Ismael Luceno, 07/31/2024

Archive powered by MHonArc 2.6.24.

Top of Page