Skip to Content.
Sympa Menu

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

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 (bd6ecb956a9e2a4eeffd59c7adc87a7f73d87d7f)
  • Date: Mon, 24 Nov 2025 18:22:50 +0000

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

usr/lib/sorcery/cmd/sightsee | 47
+++++++++++++++++++++++++++++++------------
1 file changed, 34 insertions(+), 13 deletions(-)

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

sightsee: Remove architecture suffix on filenames

commit 6fe18897d3761672b656b164cbfc574a7c347abc
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

sightsee: Remove unused variables

diff --git a/usr/lib/sorcery/cmd/sightsee b/usr/lib/sorcery/cmd/sightsee
index 46edfde..0dc354d 100755
--- a/usr/lib/sorcery/cmd/sightsee
+++ b/usr/lib/sorcery/cmd/sightsee
@@ -14,16 +14,12 @@ upstream_rel_get() {
num_parens = split(fname, text, /[()]/, parens) - 1
for (i = 0; i < num_parens; i++) {
if (parens[i] == "(") {
- depth++
- idx++
+ last_group++
if (match(text[i+1], /^\?<[^>]+>/)) {
group_name = substr(text[i+1], \
3, RLENGTH - 3)
- grpname2num[group_name] = idx
+ grpname2num[group_name] = last_group
}
- last_group = idx
- } else {
- depth--
}
}
split("", text)
@@ -125,15 +121,40 @@ find "${paths[@]}" -name DETAILS -exec awk
-vdebug="$debug" '
if (version != "") nextfile
}
function select_regex(spell, url) {
+ version_re = "(?<version>[rv]?" \
+
"([0-9]+[-_.+~])*[0-9]+(([a-z]|rc|alpha|beta)[0-9]*)?" \
+ ")"
+ arch_re = "(" \
+ "src|" \
+ "sources?|" \
+ "alpha|" \
+ "(uefi-)?arm(64|el|hf)?|" \
+ "aarch64|" \
+ "hppa|" \
+ "(hurd-|uefi-)?i[3-6]86|" \
+ "x32|" \
+ "ia64|" \
+ "loong64|" \
+ "m68k|" \
+ "mips(64|n32)?(r6)?(el)?|" \
+ "(uefi-)?(x86_|amd)64|" \
+ "powerpc(spe)?|" \
+ "ppc64(el)?|" \
+ "riscv64|" \
+ "s390x?|" \
+ "sh4|" \
+ "sparc(64)?|" \
+ "noarch|" \
+ "all" \
+ ")"
if (url ~ /^https:\/\/github\.com\/.*\/tags$/)
- return "/archive/refs/tags/(v|" spell
"-)?(?<version>[0-9.]+)[.]tar"
+ return "/archive/refs/tags/(v|" spell "-)?"
version_re "[.]tar"
if (url ~ /gitlab/)
- return "/" spell "/-/archive/(v|" spell
"-)?(?<version>[0-9.]+)/" spell "-"
- return spell \
- "([-_]src|[-_]sources?)?" \
-
"[-_](?<version>R?[-_.+~0-9]+(([a-z]|rc|alpha|beta)[0-9]*)?)" \
- "([-.]src|[-.]sources?)?" \
-
"[.]((orig[.])?tar|zip|t[bgx]z|7z|sha?r|cpio|rpm|deb|[ot]tf)"
+ return "/" spell "/-/archive/(v|" spell "-)?"
version_re "/" spell "-"
+ return spell "([-_](src|sources?))?[-_]" version_re \
+ "([-_.]" arch_re ")?" \
+ "[.](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 (bd6ecb956a9e2a4eeffd59c7adc87a7f73d87d7f), Ismael Luceno, 11/24/2025

Archive powered by MHonArc 2.6.24.

Top of Page