Commit 98a32bf0 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau

3.0.1: tweak version-satisfies for compatibility with quicklisp.

Also, better document the entire version business.
This is an incompatible change, but the previous behavior was not documented,
wasn't fully working until rather recently and looks like it wasn't relied upon,
so this should be OK.
parent a925fdf8
......@@ -74,7 +74,7 @@
:licence "MIT"
:description "Another System Definition Facility"
:long-description "ASDF builds Common Lisp software organized into defined systems."
:version "3.0.0" ;; to be automatically updated by make bump-version
:version "3.0.1" ;; to be automatically updated by make bump-version
:depends-on ()
#+asdf3 :encoding #+asdf3 :utf-8
;; For most purposes, asdf itself specially counts as a builtin system.
......
......@@ -198,6 +198,7 @@
(assert (first pv))
(assert (second pv))
(unless (third pv) (appendf pv (list 0)))
(unless (fourth pv) (appendf pv (list 0)))
(incf (car (last pv)))
(unparse-version pv)))
......
......@@ -272,7 +272,7 @@ another pathname in a degenerate way."))
(version-satisfies (component-version c) version))
(defmethod version-satisfies ((cver string) version)
(version-compatible-p cver version)))
(version<= version cver)))
;;; all sub-components (of a given type)
......
cl-asdf (2:3.0.1-1) unstable; urgency=low
ASDF 3.0.1 is an emergency release for better compatibility with Quicklisp.
* version-satisfies now uses uiop:version<= for comparison,
and does not check for a same major version number,
like version-compatible-p does, which was the
undocumented behavior since ASDF 1.
-- Francois-Rene Rideau <fare@tunes.org> Mon, 16 May 2013 19:20:28 -0400
cl-asdf (2:3.0.0-1) unstable; urgency=low
ASDF 3.0.0 is the first official release of ASDF 3;
......@@ -18,7 +29,7 @@ cl-asdf (2:3.0.0-1) unstable; urgency=low
* Build cleanup so make and concatenate-source-op create the same asdf.lisp
-- Francois-Rene Rideau <fare@tunes.org> Mon, 05 May 2013 23:57:22 -0400
-- Francois-Rene Rideau <fare@tunes.org> Mon, 15 May 2013 23:57:22 -0400
cl-asdf (2:2.33-1) unstable; urgency=low
......
This diff is collapsed.
Tweaks-for-a-debian-release-of-3.0.0
This diff is collapsed.
;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp -*-
;;; This is ASDF 3.0.0: Another System Definition Facility.
;;; This is ASDF 3.0.1: Another System Definition Facility.
;;;
;;; Feedback, bug reports, and patches are all welcome:
;;; please mail to <asdf-devel@common-lisp.net>.
......
......@@ -36,7 +36,7 @@
(assert
(version-satisfies (asdf-version) "3.0"))
(assert
(not (version-satisfies (asdf-version) "2.0")))
(version-satisfies (asdf-version) "2.0"))
(assert
(version<= "2.0" (asdf-version)))
(assert
......
......@@ -52,7 +52,7 @@ You can compare this string with e.g.: (ASDF:VERSION-SATISFIES (ASDF:ASDF-VERSIO
;; "3.4.5.67" would be a development version in the official upstream of 3.4.5.
;; "3.4.5.0.8" would be your eighth local modification of official release 3.4.5
;; "3.4.5.67.8" would be your eighth local modification of development version 3.4.5.67
(asdf-version "3.0.0")
(asdf-version "3.0.1")
(existing-version (asdf-version)))
(setf *asdf-version* asdf-version)
(when (and existing-version (not (equal asdf-version existing-version)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment