Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
asdf
asdf
Commits
6bb7b778
Commit
6bb7b778
authored
Jan 24, 2013
by
Francois-Rene Rideau
Browse files
2.26.143: better identify old ASDF versions.
parent
3abb3e42
Changes
8
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
6bb7b778
...
@@ -167,11 +167,10 @@ replace-sbcl-asdf: build/asdf.lisp
...
@@ -167,11 +167,10 @@ replace-sbcl-asdf: build/asdf.lisp
replace-ccl-asdf
:
build/asdf.lisp
replace-ccl-asdf
:
build/asdf.lisp
${CCL}
--eval
'(progn(compile-file "$<" :output-file (compile-file-pathname (format nil "~Atools/asdf.lisp" (ccl::ccl-directory))))(quit))'
${CCL}
--eval
'(progn(compile-file "$<" :output-file (compile-file-pathname (format nil "~Atools/asdf.lisp" (ccl::ccl-directory))))(quit))'
WRONGFUL_TAGS
:=
1.37 1.1720 README RELEASE STABLE
WRONGFUL_TAGS
:=
1.37 1.1720 README RELEASE STABLE
# It's not 1.37, it's 1.85! 1.37 is for the README.
# Delete wrongful tags from local repository
# Delete wrongful tags from local repository
fix-local-git-tags
:
fix-local-git-tags
:
for
i
in
${WRONGFUL_TAGS}
;
do
git tag
-d
$$
i
;
done
for
i
in
${WRONGFUL_TAGS}
;
do
git tag
-d
$$
i
;
done
git tag 1.37 c7738c62
# restore the *correct* 1.37 tag.
# Delete wrongful tags from remote repository
# Delete wrongful tags from remote repository
fix-remote-git-tags
:
fix-remote-git-tags
:
...
...
TODO
View file @
6bb7b778
* Bug found by fe[nl]ix: infinite loop if the definitions in an asd file
are not in strict dependency order.
* fix upgrade on (abcl, clisp, cmucl)
* fix upgrade on (abcl, clisp, cmucl)
** Extract minimal test case
** Extract minimal test case
* Bug found by fe[nl]ix: infinite loop if the definitions in an asd file
are not in strict defsystem-depends-on dependency order. Document the issue.
* fe[nl]ix: Defer evaluation of defsystem forms?
* Learn to use cl-grid-test, to make sure ASDF changes don't break stuff,
* Learn to use cl-grid-test, to make sure ASDF changes don't break stuff,
and that breakage gets fixed quickly.
and that breakage gets fixed quickly.
* Test stassats's thing:
* Test stassats's thing:
(asdf:enable-asdf-binary-locations-compatibility :centralize-lisp-binaries t :default-toplevel-directory *fasl-dir*)
(asdf:enable-asdf-binary-locations-compatibility :centralize-lisp-binaries t :default-toplevel-directory *fasl-dir*)
* Get package upgrade right
Try a newer CLISP than 2.44.1, and if it still breaks, try harder,
by e.g. having ensure-package return a working defpackage form.
* Make load-op a generic operation that selects the proper strategy
* Make load-op a generic operation that selects the proper strategy
for each system, module or file, according to component properties and user-configuration:
for each system, module or file, according to component properties and user-configuration:
compile the lisp file then load the fasl (load-compiled-op),
compile the lisp file then load the fasl (load-compiled-op),
...
...
asdf.asd
View file @
6bb7b778
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
:licence
"MIT"
:licence
"MIT"
:description
"Another System Definition Facility"
:description
"Another System Definition Facility"
:long-description
"ASDF builds Common Lisp software organized into defined systems."
:long-description
"ASDF builds Common Lisp software organized into defined systems."
:version
"2.26.14
2
"
;; to be automatically updated by make bump-version
:version
"2.26.14
3
"
;; to be automatically updated by make bump-version
:depends-on
()
:depends-on
()
:components
:components
((
:module
"build"
((
:module
"build"
...
...
header.lisp
View file @
6bb7b778
;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp -*-
;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp -*-
;;; This is ASDF 2.26.14
2
: Another System Definition Facility.
;;; This is ASDF 2.26.14
3
: Another System Definition Facility.
;;;
;;;
;;; Feedback, bug reports, and patches are all welcome:
;;; Feedback, bug reports, and patches are all welcome:
;;; please mail to <asdf-devel@common-lisp.net>.
;;; please mail to <asdf-devel@common-lisp.net>.
...
@@ -59,9 +59,12 @@
...
@@ -59,9 +59,12 @@
(
unless
(
member
:asdf2.27
*features*
)
(
unless
(
member
:asdf2.27
*features*
)
(
let*
((
existing-version
(
let*
((
existing-version
(
when
(
find-package
:asdf
)
(
when
(
find-package
:asdf
)
(
or
(
symbol-value
(
or
(
find-symbol
(
string
:*asdf-version*
)
:asdf
)
(
or
(
symbol-value
(
find-symbol
(
string
:*asdf-version*
)
:asdf
))
(
find-symbol
(
string
:*asdf-revision*
)
:asdf
)))
(
let
((
ver
(
symbol-value
(
find-symbol
(
string
:*asdf-revision*
)
:asdf
))))
(
string
:1.x
))))
(
etypecase
ver
(
string
ver
)
(
cons
(
format
nil
"~{~D~^.~}"
ver
))
(
null
"1.0"
))))))
(
away
(
format
nil
"~A-~A"
:asdf
existing-version
)))
(
away
(
format
nil
"~A-~A"
:asdf
existing-version
)))
(
when
existing-version
(
when
existing-version
(
rename-package
:asdf
away
)
(
rename-package
:asdf
away
)
...
...
test/run-tests.sh
View file @
6bb7b778
...
@@ -235,12 +235,12 @@ upgrade_tags () {
...
@@ -235,12 +235,12 @@ upgrade_tags () {
echo
$ASDF_UPGRADE_TEST_TAGS
;
return
echo
$ASDF_UPGRADE_TEST_TAGS
;
return
fi
fi
# REQUIRE is a magic tag meaning whatever your implementation provides
# REQUIRE is a magic tag meaning whatever your implementation provides
# 1.
37
is the last release by Daniel Barlow
# 1.
85
is the last release by Daniel Barlow
(not 1.37, which is the README revision!)
# 1.97 is the last release before Gary King takes over
# 1.97 is the last release before Gary King takes over
# 1.369 is the last release by Gary King
# 1.369 is the last release by Gary King
# 2.000 to 2.019 and 2.20 to 2.27 and beyond are Faré's "stable" releases
# 2.000 to 2.019 and 2.20 to 2.27 and beyond are Faré's "stable" releases
# 2.26.61 is the last single-package ASDF.
# 2.26.61 is the last single-package ASDF.
echo
REQUIRE 1.
37
1.97 1.369
echo
REQUIRE 1.
85
1.97 1.369
git tag
-l
'2.0??'
git tag
-l
'2.0??'
git tag
-l
'2.??'
git tag
-l
'2.??'
}
}
...
...
test/script-support.lisp
View file @
6bb7b778
...
@@ -357,12 +357,12 @@ is bound, write a message and exit on an error. If
...
@@ -357,12 +357,12 @@ is bound, write a message and exit on an error. If
(
defun
get-asdf-version
()
(
defun
get-asdf-version
()
(
when
(
find-package
:asdf
)
(
when
(
find-package
:asdf
)
(
let
((
ve
r
(
symbol-value
(
or
(
find-symbol
(
string
:*asdf-version*
)
:asdf
)
(
o
r
(
symbol-value
(
find-symbol
(
string
:*asdf-version*
)
:asdf
)
)
(
find-symbol
(
string
:*asdf-revision*
)
:asdf
))))
)
(
let
((
ver
(
symbol-value
(
find-symbol
(
string
:*asdf-revision*
)
:asdf
))))
(
typecase
ver
(
e
typecase
ver
(
string
ver
)
(
string
ver
)
(
cons
(
format
nil
"~{~D~^.~}"
ver
))
(
cons
(
format
nil
"~{~D~^.~}"
ver
))
(
null
"1.0"
)))))
(
null
"1.0"
)))))
)
(
defun
test-upgrade
(
old-method
new-method
tag
)
;; called by run-test
(
defun
test-upgrade
(
old-method
new-method
tag
)
;; called by run-test
...
...
upgrade.lisp
View file @
6bb7b778
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
;; "2.345.6" would be a development version in the official upstream
;; "2.345.6" would be a development version in the official upstream
;; "2.345.0.7" would be your seventh local modification of official release 2.345
;; "2.345.0.7" would be your seventh local modification of official release 2.345
;; "2.345.6.7" would be your seventh local modification of development version 2.345.6
;; "2.345.6.7" would be your seventh local modification of development version 2.345.6
(
asdf-version
"2.26.14
2
"
)
(
asdf-version
"2.26.14
3
"
)
(
existing-asdf
(
find-class
(
find-symbol*
:component
:asdf
nil
)
nil
))
(
existing-asdf
(
find-class
(
find-symbol*
:component
:asdf
nil
)
nil
))
(
existing-version
*asdf-version*
)
(
existing-version
*asdf-version*
)
(
already-there
(
equal
asdf-version
existing-version
))
(
already-there
(
equal
asdf-version
existing-version
))
...
...
version.lisp-expr
View file @
6bb7b778
"2.26.14
2
"
"2.26.14
3
"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment