Skip to Content.
Sympa Menu

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

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
  • Subject: [SM-Commit] GIT changes to master sorcery by Ismael Luceno (1bfd5c6f9fa29aecc6ce7de089de8fba7edf561a)
  • Date: Tue, 6 Jan 2015 01:06:27 -0600

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

ChangeLog | 3 +++
var/lib/sorcery/modules/libcodex | 6 +-----
2 files changed, 4 insertions(+), 5 deletions(-)

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

libcodex: Fix version indexing for scm versions

diff --git a/ChangeLog b/ChangeLog
index 54436c5..5db557f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2015-01-06 Ismael Luceno <ismael AT sourcemage.org>
+ * libcodex: Fixed version indexing for scm versions
+
2015-01-04 Ismael Luceno <ismael AT sourcemage.org>
* dl_axel: Added alternative http/https/ftp download handler
* libqueue: Improved version comparison, no automatic downgrades
diff --git a/var/lib/sorcery/modules/libcodex
b/var/lib/sorcery/modules/libcodex
index 42d3da3..70a6dca 100755
--- a/var/lib/sorcery/modules/libcodex
+++ b/var/lib/sorcery/modules/libcodex
@@ -980,15 +980,11 @@ function codex_create_version_cache () {
printf "%s ", $2
next
}
- $1 == "VERSION" && "VERSION" in f {
+ $1 == "VERSION" && ("VERSION" in f || $2 ~ /\$/) {
print "multiversioned"
split("", f)
nextfile
}
- $1 == "VERSION" && $2 ~ /^\$/ {
- f[$1] = "scm"
- next
- }
{ f[$1] = $2 }
' | sort > "$1/$VERSION_INDEX_FILE"
}



  • [SM-Commit] GIT changes to master sorcery by Ismael Luceno (1bfd5c6f9fa29aecc6ce7de089de8fba7edf561a), Ismael Luceno, 01/06/2015

Archive powered by MHonArc 2.6.24.

Top of Page