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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Gary Palter
asdf
Commits
0d7e2a1f
Commit
0d7e2a1f
authored
1 year ago
by
Robert Goldman
Browse files
Options
Downloads
Patches
Plain Diff
Draft: Iss108
parent
9dc59bb2
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
footer.lisp
+7
-0
7 additions, 0 deletions
footer.lisp
upgrade.lisp
+15
-1
15 additions, 1 deletion
upgrade.lisp
with
22 additions
and
1 deletion
footer.lisp
+
7
−
0
View file @
0d7e2a1f
...
...
@@ -82,6 +82,13 @@
(
when
(
boundp
'excl:*warn-on-nested-reader-conditionals*
)
(
setf
excl:*warn-on-nested-reader-conditionals*
uiop/common-lisp::*acl-warn-save*
))
#+
(
and
allegro
allegro-v10.1
)
;; check for patch needed for upgradeability
(
unless
(
assoc
"ma040"
(
cdr
(
assoc
:lisp
sys:*patches*
))
:test
'equal
)
(
warn
'asdf-install-warning
:format-control
"On Allegro Common Lisp 10.1, patch pma040 is ~
needed for correct ASDF upgrading. Please update your Allegro image ~
using (SYS:UPDATE-ALLEGRO)."
))
;; Advertise the features we provide.
(
dolist
(
f
'
(
:asdf
:asdf2
:asdf3
:asdf3.1
:asdf3.2
:asdf3.3
))
(
pushnew
f
*features*
))
...
...
This diff is collapsed.
Click to expand it.
upgrade.lisp
+
15
−
1
View file @
0d7e2a1f
...
...
@@ -12,7 +12,8 @@
#:*post-upgrade-cleanup-hook*
#:cleanup-upgraded-asdf
;; There will be no symbol left behind!
#:with-asdf-deprecation
#:intern*
)
#:intern*
#:asdf-install-warning
)
(
:import-from
:uiop/package
#:intern*
#:find-symbol*
))
(
in-package
:asdf/upgrade
)
...
...
@@ -173,6 +174,19 @@ previously-loaded version of ASDF."
(
call-functions
(
reverse
*post-upgrade-cleanup-hook*
)))
t
))))
(
define-condition
asdf-install-warning
(
simple-condition
warning
)
((
format-control
:initarg
:format-control
)
(
format-arguments
:initarg
:format-arguments
:initform
nil
))
(
:documentation
"Warning class for issues related to upgrading or loading ASDF."
)
(
:report
(
lambda
(
c
s
)
(
format
s
"WARNING: ~?"
(
slot-value
c
'format-control
)
(
slot-value
c
'format-arguments
)))))
(
defun
upgrade-asdf
()
"Try to upgrade of ASDF. If a different version was used, return T.
We need do that before we operate on anything that may possibly depend on ASDF."
...
...
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