diff --git a/asdf.asd b/asdf.asd index 78fd66ba96afe427329b28171f42c763164b3e34..63bb29b5747a906df3125e14b94ca22f170075b3 100644 --- a/asdf.asd +++ b/asdf.asd @@ -15,7 +15,7 @@ :licence "MIT" :description "Another System Definition Facility" :long-description "ASDF builds Common Lisp software organized into defined systems." - :version "2.26.137" ;; to be automatically updated by make bump-version + :version "2.26.138" ;; to be automatically updated by make bump-version :depends-on () :components ((:module "build" :components ((:file "asdf")))) :in-order-to (#+asdf2.27 (compile-op (monolithic-load-concatenated-source-op asdf/defsystem)))) diff --git a/doc/asdf.texinfo b/doc/asdf.texinfo index 100b3c3cefb6f630c151ad2d0125ef153d6ea6e6..3d1a902b83c1576ec7b167c8f5d824c0026b0a05 100644 --- a/doc/asdf.texinfo +++ b/doc/asdf.texinfo @@ -262,15 +262,18 @@ or none at all: @lisp (when (find-package :asdf) - (or (symbol-value (or (find-symbol (string :*asdf-version*) :asdf) - (find-symbol (string :*asdf-revision*) :asdf))) - :antique)) + (let ((ver (symbol-value (or (find-symbol (string :*asdf-version*) :asdf) + (find-symbol (string :*asdf-revision*) :asdf))))) + (etypecase ver + (string ver) + (cons (format nil "~{~D~^.~}" ver)) + (null "1.0")))) @end lisp -If it returns a version number as a string, that's the version of ASDF installed. -If it returns a version number as a list, that's an old CVS version from before 1.365. -If it returns the keyword @code{:ANTIQUE}, it's so old that's not funny. If it returns @code{NIL} then ASDF is not installed. +Otherwise it should return a string. +If it returns @code{"1.0"}, then it can actually be +any version before 1.77 or so, or some buggy variant of 1.x. If you are experiencing problems with ASDF, please try upgrading to the latest released version, diff --git a/header.lisp b/header.lisp index a9cd15c5c3c2df2459e1dcab60dd8a40104d76f4..b9b497ef44cd8fc97134e745881454d7b39323e0 100644 --- a/header.lisp +++ b/header.lisp @@ -1,5 +1,5 @@ ;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp ; coding: utf-8 -*- -;;; This is ASDF 2.26.137: Another System Definition Facility. +;;; This is ASDF 2.26.138: Another System Definition Facility. ;;; ;;; Feedback, bug reports, and patches are all welcome: ;;; please mail to . diff --git a/plan.lisp b/plan.lisp index 2b0ee9291cf85909dfcbe8bc3b4e406f7584acdb..9920b1e41a98e204df33ebef902badcbc2cc2bdd 100644 --- a/plan.lisp +++ b/plan.lisp @@ -363,10 +363,10 @@ the action of OPERATION on COMPONENT in the PLAN")) The plan returned is a list of dotted-pairs. Each pair is the CONS of ASDF operation object and a COMPONENT object. The pairs will be processed in order by OPERATE.")) +(define-convenience-action-methods traverse (operation component &key)) + (defgeneric* perform-plan (plan &key)) (defgeneric* plan-operates-on-p (plan component)) -(defgeneric* (traverse) (operation component &key &allow-other-keys)) -(define-convenience-action-methods traverse (operation component &key)) (defparameter *default-plan-class* 'sequential-plan) diff --git a/test/script-support.lisp b/test/script-support.lisp index 9728b1f8e7d05bb12e797b4ea09b52909f471487..859953d36676981152562c621adc159ab94fa677 100644 --- a/test/script-support.lisp +++ b/test/script-support.lisp @@ -356,9 +356,13 @@ is bound, write a message and exit on an error. If (defun get-asdf-version () (when (find-package :asdf) - (or (symbol-value (or (find-symbol (string :*asdf-version*) :asdf) - (find-symbol (string :*asdf-revision*) :asdf))) - (string :1.x)))) + (let ((ver (symbol-value (or (find-symbol (string :*asdf-version*) :asdf) + (find-symbol (string :*asdf-revision*) :asdf))))) + (typecase ver + (string ver) + (cons (format nil "~{~D~^.~}" ver)) + (null "1.0"))))) + (defun test-upgrade (old-method new-method tag) ;; called by run-test (with-test () diff --git a/test/test-run-program.script b/test/test-run-program.script index 9ebf51bb7b8203b37a287f717cf72c19644ea005..c8d03cb81cc7ce1f9859228fbbedf0296683cf84 100644 --- a/test/test-run-program.script +++ b/test/test-run-program.script @@ -16,6 +16,8 @@ ;; NB2: we do NOT support stderr capture to *verbose-out* anymore in run-shell-command. ;; If you want 2>&1 redirection, you know where to find it. (assert-equal '("ok 1") (run-program "echo ok 1" :output :lines)) - (assert-equal '("ok 1") (run-program '("echo" "ok 1") :output :lines)) + (assert-equal "ok 1" (run-program '("echo" "ok 1") :output :line)) + (assert-equal '(:ok 1) (run-program '("echo" ":ok 1") :output :forms)) + (assert-equal (format nil "ok 1~%") (run-program '("echo" "ok 1") :output :string)) t) diff --git a/upgrade.lisp b/upgrade.lisp index b9e3a15481459902856ea0d18e1297c3e882d749..3dd26243a1a71c00a48662ee1512de40e28856fd 100644 --- a/upgrade.lisp +++ b/upgrade.lisp @@ -35,7 +35,7 @@ ;; "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.6.7" would be your seventh local modification of development version 2.345.6 - (asdf-version "2.26.137") + (asdf-version "2.26.138") (existing-asdf (find-class (find-symbol* :component :asdf nil) nil)) (existing-version *asdf-version*) (already-there (equal asdf-version existing-version)) diff --git a/version.lisp-expr b/version.lisp-expr index 3fb32504d3d745fe1369a83544969f18b89e270b..38330557560a8e16daddc29b7e75d5e3e2f97129 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -1 +1 @@ -"2.26.137" +"2.26.138"