Opened 11 years ago

Closed 10 years ago

#317 closed enhancement (fixed)

Should provide a way to update the ccl hierarchy

Reported by: gz Owned by: gb
Priority: major Milestone: Clozure CL 1.4
Component: project hosting Version:
Keywords: Cc:

Description

Need a function (or an argument to rebuild-ccl) that does the two step process necessary to properly update a ccl hierarchy from subversion: 'svn up' and then 'svn revert' the kernel and image.

The reason for this is that 'svn up' doesn't overwrite modified binaries, so if a user ever did a rebuild-ccl (which they must if they use the trunk), 'svn up' no longer gets the latest checked in binaries. See for example the thread starting with http://clozure.com/pipermail/openmcl-devel/2008-July/008399.html

Change History (6)

comment:1 Changed 11 years ago by gb

  • Status changed from new to assigned

There's been an undocumented and not very featureful UPDATE-CCL for a while, and (REBUILD-CCL ... :UPDATE T) calls it.

Aside from automatically reverting binaries, it'd be nice if it reported other conflicts (and generally reported changes less tersely than 'svn update' does.)

Mikel's done some work on this for the IDE.

comment:2 Changed 10 years ago by rme

  • Milestone set to Clozure CL 1.4

comment:3 follow-up: Changed 10 years ago by gb

This was added quite a while ago as CCL::UPDATE-CCL and the :UPDATE argument to REBUILD-CCL.

UPDATE-CCL tries to revert conflicting binaries; if there are new binaries, it should probably alert you to that fact, since running the rebuild in the old/current lisp may not work. I don't remember how this is handled. (It'd be plausible to do the rebuild with the new binaries on Unix; Windows would probably have difficulty replacing the running binary.)

Around the time that this was being written a separate/similar piece of functionality was added to the IDE. There's some overlap there ...

comment:4 in reply to: ↑ 3 Changed 10 years ago by gb

Replying to gb:

This was added quite a while ago

Apparently, about 14 months ago.

comment:5 Changed 10 years ago by rme

(In [12896]) In UPDATE-CCL, return a third value that indicates whether binaries were updated. When REBUILD-CCL is called with :UPDATE T, pay attention to that value, and advise the user to restart the lisp and run REBUILD-CCL again if there are new binaries. (see ticket:317)

comment:6 Changed 10 years ago by rme

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.