Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pascal J. Bourguignon
asdf
Commits
42bdbd0e
Commit
42bdbd0e
authored
14 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
1.703: be less dumb in detecting a NO-OP non-upgrade.
parent
86e387d0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
asdf.lisp
+8
-2
8 additions, 2 deletions
asdf.lisp
doc/asdf.texinfo
+12
-8
12 additions, 8 deletions
doc/asdf.texinfo
with
20 additions
and
10 deletions
asdf.lisp
+
8
−
2
View file @
42bdbd0e
...
...
@@ -63,15 +63,21 @@
(
remove
"asdf"
excl::*autoload-package-name-alist*
:test
'equalp
:key
'car
))
(
let*
((
asdf-version
;; the 1+ hair is to ensure that we don't do an inadvertent find and replace
(
subseq
"VERSION:1.70
2
"
(
1+
(
length
"VERSION"
))))
(
subseq
"VERSION:1.70
3
"
(
1+
(
length
"VERSION"
))))
(
existing-asdf
(
find-package
:asdf
))
(
versym
'
#:*asdf-version*
)
(
existing-version
(
and
existing-asdf
(
find-symbol
(
string
versym
)
existing-asdf
)))
(
existing-version
(
and
existing-asdf
(
symbol-value
(
find-symbol
(
string
versym
)
existing-asdf
))))
(
redefined-functions
'
(
#:perform
#:explain
#:output-files
#:operation-done-p
#:perform-with-restarts
#:component-relative-pathname
#:system-source-file
)))
(
unless
(
equal
asdf-version
existing-version
)
(
when
existing-asdf
(
format
*error-output*
"~&Upgrading ASDF package ~@[from version ~A ~]to version ~A~%"
existing-version
asdf-version
))
(
labels
((
rename-away
(
package
)
(
loop
:with
name
=
(
package-name
package
)
:for
i
:from
1
:for
new
=
(
format
nil
"~A.~D"
name
i
)
...
...
This diff is collapsed.
Click to expand it.
doc/asdf.texinfo
+
12
−
8
View file @
42bdbd0e
...
...
@@ -172,7 +172,7 @@ the ASDF internals and how to extend ASDF.
@emph
{
Nota Bene
}
:
We are preparing for a release of ASDF 2,
which will have version 2.000 and later.
Current releases, in the 1.
6
00 series and beyond,
Current releases, in the 1.
7
00 series and beyond,
should be considered as release candidates.
We're still working on polishing the code and documentation.
@ref
{
FAQ,,``What has changed between ASDF 1 and ASDF 2?''
}
.
...
...
@@ -241,7 +241,7 @@ If it returns the keyword @code{:OLD},
then you're using an old version of ASDF (from before 1.635).
If it returns @code
{
NIL
}
then ASDF is not installed.
If you are running a version older than 1.
678
,
If you are running a version older than 1.
703
,
we recommend that you load a newer ASDF using the method below.
...
...
@@ -2499,7 +2499,7 @@ which will have version 2.000 and later.
While the code and documentation are essentially complete
we are still working on polishing them before release.
Releases in the
1
.
6
00
series and beyond
Releases in the
1
.
7
00
series and beyond
should be considered as release candidates.
For all practical purposes,
ASDF
2
refers to releases later than
1
.
656
,
...
...
@@ -2516,7 +2516,7 @@ If you are experiencing problems or limitations of any sort with ASDF 1,
we recommend that you should upgrade to ASDF
2
or its latest release candidate.
@subsection ASDF can portably name files in
side systems and component
s
@subsection ASDF can portably name files in
subdirectorie
s
Common Lisp namestrings are not portable,
except maybe for logical pathnamestrings,
...
...
@@ -2598,14 +2598,18 @@ similarly for @code{compile-system}, @code{test-system}.
These issues and many others have been fixed,
including the following:
Dependencies were not correctly propagated
across submodules within a system.
The infamous TRAVERSE function has been revamped significantly,
with many bugs squashed.
In particular, dependencies were not correctly propagated
across submodules within a system but now are.
The :version and :feature features and
the :force
(
system
1
.. systemN
)
feature have been fixed.
Many features used to not be portable,
especially where pathnames were involved.
The internal test suite used to massively fail
i
n many implementations.
o
n many implementations.
Support was broken for some implementations
(
notably ABCL
)
.
...
...
@@ -2626,7 +2630,7 @@ or take great pains to have the correct version of ASDF installed.
With ASDF
2
, we provide a new stable set of working features
that everyone can rely on from now on.
Use @code
{
#
+
asdf
2
}
to detect presence of ASDF
2
,
@code
{
(
asdf:version
-
satisfies
(
asdf:asdf
-
version
)
"
1
.
678
"
)
}
@code
{
(
asdf:version
-
satisfies
(
asdf:asdf
-
version
)
"
1
.
703
"
)
}
to check the availability of a version no earlier than required.
@subsection ASDF can be upgraded
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment