ViewVC logotype

Contents of /meta-cvs/F-B3689DBB46386B16F4B2331934B69223

Parent Directory Parent Directory | Revision Log Revision Log

Revision - (show annotations)
Sun Feb 2 03:31:35 2003 UTC (11 years, 2 months ago) by kaz
Branch: mcvs-1-0-branch
Changes since +5 -0 lines
* code/unix-bindings/wrap.c (impl_spawn): Try waitpid again in a loop
while it returns -1, and errno is EINTR.
Reported by Johannes Grødem <johs@copyleft.no>.
1 Release Notes for Meta-CVS
3 Release 1.0.2, 2002-0?-??:
5 Bugfix in waitpid logic in the C library for running external processes;
6 we were not dealing with an interrupted waitpid.
8 Release 1.0.1, 2003-01-30:
10 Hard link sync optimization: update of a subset of files, commit, and
11 other operations like log and diff don't need to synchronize all
12 hard links, just the ones operated on.
14 The merge and remerge commands support -k option for overriding
15 CVS keyword expansion mode.
17 Fixes to getcwd error handling.
19 Improvement in install.sh script's logic for locating CLISP installation
20 directory.
22 Release 1.0, 2003-01-01:
24 NOTE: It's not possible to upgrade to this release via mcvs-upgrade,
25 because it adds some new C functions to the Lisp executable.
27 Security fix: read-time evaluation was not suppressed when reading
28 structured data, like MCVS/MAP and MCVS/TYPES. This means that it
29 was possible for Alice to check in something that would execute
30 arbitrary code on Bob's computer.
32 Optimization: use fork and exec to launch CVS rather than CLISP's
33 run-program function, which indirects through the shell interpreter.
34 (On Cygwin, the spawnvp function is used).
36 Performance fix: stat() was being called superfluously by the
37 hard synchronization code, twice for each file.
39 Build fix: install.sh works when CLISP executable is called ``lisp.exe'',
40 which is the case under Cygwin with newer CLISP releases.
42 Release 0.99, 2002-11-17:
44 New link command for creating symbolic links.
46 Global option -n (dry run---don't modify filesystem) is processed
47 internally now, not just passed to CVS.
49 Failure to invoke text editor is handled.
51 The -r option of filt is fixed; it has been broken since the change to the
52 new MAP format, because it was reading the raw map representation, not
53 passing it through the right conversion steps that are needed now.
55 Bugfix to purge and remap commands: they were fooled by CVS-generated
56 files in the MCVS/CVS directory. Specifically, files having F- names, and a
57 the suffix ,t.
59 Bugfix to add logic in directory restructuring: there was the possibility
60 of mistakingly taking a clobbered local file to be a new local version of
61 the added file, instead of replacing it. This could happen if the local
62 file had a future timestamp relative to the one coming from the repository.
64 The prop command does not synchronize or write out map if no options are
65 specified.
67 Help text added for move and branch commands. Help text for grab rewritten.
69 The CVSEDITOR and VISUAL environment variables are now checked, not
70 only EDITOR.
72 Release 0.98, 2002-10-13:
74 The prop command was mistakenly reading from MAP-LOCAL and writing to MAP,
75 which could cause information loss if the two differ. It now reads from MAP
76 and writes to MAP. (The property changes propagate to MAP-LOCAL by the
77 update operation invoked by prop, as before).
79 Invocation of external programs included in debug trace.
81 The filt command does not filter F- names if they are immediately preceded by
82 the MCVS/ prefix; such occurences are clearly concrete, sandbox-relative
83 references to the actual F- links, rather than abstract references.
85 The update command now supports the -C option, to fetch the repository
86 copy, throwing away local changes. It also now honors the --metaonly
87 and --nometa options.
89 The export command has been added, for checking out documents without creating
90 a working copy (no MCVS directory in the root of the checkout).
92 The watch command has been added. Note that its syntax differs from that
93 of CVS.
95 The watchers, editors, edit, and unedit commands have been added.
97 A script called mcvs-upgrade is now included, and installs alongside the mcvs
98 script. This allows the Meta-CVS Lisp image to recompile and patch itself,
99 giving users of binary distributions an easy way to upgrade from source
100 code.
102 Release 0.97, 2002-10-06:
104 Meta-CVS now builds and runs on Microsoft Windows, under Cygwin
105 (www.cygwin.com). It still relies on hard links, which requires
106 Windows 2000 or XP, and the NTFS filesystem. It probably won't
107 work over FAT.
109 New --debug option for verbose output.
111 Cleaned up of error messages. Error messages don't specify prefixes like
112 ``mcvs-add:'' or ``mcvs-grab:'' any more. Rather, the error handler adds the
113 ``mcvs:'' prefix when printing the messages in a situation when the error is
114 not continuable.
116 Fixed bug introduced in release 0.13: mcvs add -R was adding only
117 directories, effectively ignoring arguments that are regular files.
118 The error-continuation behavior of mcvs add has been revised.
120 Trying to rename an object onto itself, or to move the sandbox root
121 directory are no longer silent no-ops, but produce an error.
123 The remap command now preserves property lists, and picks up changes
124 in executable permission.
126 The grab command now notices when a file changes from having execute
127 permission to not having execute permission.
129 Operations on the path . now work in a partial sandbox.
131 Release 0.96, 2002-09-21:
133 The restore command was left broken during the change to the new
134 filemap format. It is now fixed.
136 The grab command now handles execute permission bits properly.
138 Some more commands have detailed help.
140 There is now a global option -i which specifies a script to be
141 executed. This allows Meta-CVS to be scripted using Lisp. For
142 instance suppose you have the following script and call it
143 list-matching:
145 #!/usr/local/bin/mcvs -i
146 (in-sandbox-root-dir
147 (let ((mapping (mapping-read *mcvs-map*))
148 (test-func (eval (read-from-string (pop *args*)))))
149 (dolist (entry mapping)
150 (with-slots (path raw-plist) entry
151 (when (funcall test-func raw-plist)
152 (format t "~a~%" path))))))
154 Then to list the names of files whose "importance" property is
155 a value greater than two, run:
157 ./list-matching '(lambda (plist)
158 (let ((imp (getf plist :importance)))
159 (and imp (> imp 2))))'
161 WARNING: Scripting accesses the guts of Meta-CVS directly, so scripts may
162 break as Meta-CVS is maintained. There is currently no published set of
163 stable interfaces.
165 Release 0.95, 2002-09-16:
167 The install.sh script no longer uses a borrowed copy of the clisp-link script
168 or the linkkit directory; these have been removed. These materials
169 are available at every CLISP installation; install.sh now finds them
170 and uses them. Users of non-x86 machines ran into problems because of this
171 because linkkit/clisp.h contains architecture-dependent information.
173 A bug in mcvs filt was fixed; it wasn't handling F- names that aren't found
174 in the map.
176 A more detailed help system now exists, though it's not complete. The ``mcvs
177 help'' command acts just like ``mcvs --help'' without any arguments. If given
178 an additional parameter which specifies a Meta-CVS command, it produces more
179 detailed documentation for that comand. Help exists already for a few
180 commands.
182 The release number is being warped to 0.95, which means that Meta-CVS is now
183 in beta. It is only five updates away from a 1.0 release.
185 Release 0.24, 2002-09-08:
187 The mapping entries for both symlinks and files have extensible property
188 lists now. These are stored in the optional fourth and fifth list elements,
189 respectively of the :FILE and :SYMLINK map entries.
191 Versioning of the execute permission of files is supported, represented as
192 the :EXEC property of a :FILE mapping entry.
194 Some lame syntax is provided for manipulating properties:
196 mcvs prop --set foo --clear bar --remove baz main.c list.c
198 will set the property FOO to true, set the property BAR to false,
199 and remove the property BAZ, in the files main.c and list.c.
200 The execute permission is represented by the property EXEC.
202 Release 0.23, 2002-09-02:
204 Bugfix: the grab command notices edited symlinks and incorporates the
205 changes into the mapping.
207 The grab command now figures out moved symlinks. Moved symlinks are those
208 whose pathname has changed, but which continue to point to the same object
209 (which may also have been moved).
211 Release 0.22, 2002-08-31:
213 Symbolic links are now versioned objects. The format of the MAP file
214 changes to accomodate this; the new Meta-CVS will read old MAP
215 files; when it writes it will write the new format. Old Meta-CVS won't
216 read the new format.
218 When a new module is created from an existing file tree, symbolic
219 links will be recognized and added. The add command will also add
220 symbolic links. Symbolic links can be renamed and moved; this does
221 nothing with their contents. They can point outside of the sandbox
222 using relative or absolute paths.
224 TODO:
226 There doesn't exist yet a special command to create symbolic links, nor to
227 retarget them; retargetting a link can be done manually by editing MCVS/MAP
228 and updating. Retargetting a link using the ln -s command, won't
229 backpropagate to the MAP file; an update will clobber the link.
231 The grab command does not yet compute symbolic link moves; a moved symbolic
232 link is treated as a remove and add. This will be easy to fix.
234 The remap command ignores symlinks.
236 Release 0.21, 2002-08-04:
238 Syntax of grab command changed. The branch is no longer specified as an
239 argument, but using the -r command option. If no revision is specified with
240 -r, then a -A must be specified to make the grab go to the main trunk. This
241 is a safety feature, since grabbing foreign snapshots to the trunk is almost
242 always wrong, though it could be useful during backup recovery, or for fixing
243 mistakes.
245 The way operating system functions are targetted has changed. Instead of
246 relying on the ``linuxlibc6'' module provided by CLISP, Meta-CVS now
247 has its own module for calling foreign functions. This module is portable;
248 it does not depend on the layout of glibc data structures. So Meta-CVS
249 is in theory now portable to other Unixes (provided they have /dev/urandom).
251 Release 0.20, 2002-07-27:
253 The commit command does a true global commit when given no file or directory
254 parameters, and not given the --metaonly option. This means commiting all
255 changes in the MCVS directory, even if they are in F-files that are not
256 currently mapped.
258 Release 0.19, 2002-07-16:
260 When moving multiple files or directories to a subdirectory, a
261 restart is now provided to skip over bad ones and continue.
263 Grab no longer scans files if there are only added files, or only removed
264 files. There are no moves to deduce in that case.
266 Restore properly creates lost+found at the root of a partial sandbox,
267 rather than at the abstract root of the module.
269 Some other algorithmic improvements made.
271 The first few sections of a user guide have been written.
273 Release 0.18, 2002-07-07:
275 Cool new feature: checkout takes an extra argument, which specifies a
276 subdirectory of the project. Specifying a subdirectory results in a ``partial
277 sandbox'', whose root directory is the specified subdirectory of the larger
278 project. The rest of the project is ``invisible'' to that sandbox. A
279 subdirectory argument can also be given to mcvs grab, which will cause it to
280 integrate the new source tree against a subtree of the Meta-CVS project
281 rather than the entire project. The subtree doesn't have to exist; in
282 that case you get an empty sandbox. Adding files to this sandbox will cause
283 the tree to exist in the project.
285 Bugfix: mcvs grab was not computing moves properly over small file sets,
286 wrongly treating them as removes and adds.
288 Release 0.17, 2002-07-02:
290 The create command no longer takes a vendor branch. Instead the symbol
291 ``Created-by-Meta-CVS'' is used as the vendor tag to satisfy CVS.
293 The grab command no longer does useless synchronization on files that
294 are about to be deleted.
296 New purge command; does ``cvs rm'' on deleted files, that is to say, F- files
297 that have no mapping.
299 New restore command; re-enters deleted files into the mapping, under
300 the ``lost+found'' directory, using their F- names as sandbox names.
302 Bugfix: when a checkout bails because it is requested over top of an existing
303 working copy, it must not delete that working copy's MCVS sub directory.
305 Release 0.16, 2002-06-29:
307 Added new heuristics to grab command. Paths are analyzed to determine
308 move distance. Greater distances reduce the confidence in a move.
309 These rules help sort out grabs in a project where similar or
310 duplicate files are subject to parallel moves, the ambiguity being
311 resolved by favoring shorter moves. Word comparisons are case-insensitive
312 now. Common words (those that appear in many files) are ignored when
313 comparing files.
315 New options, --meta and --metaonly. This area of Meta-CVS is cleaned
316 up a little bit. Most reporting commands like log or diff no longer
317 operate on meta files by default; they must be explicitly told to do
318 so with --meta or --metaonly. Only the commit command implicitly includes
319 metafiles by default, and so if this is not wanted, --nometa must be
320 selected. The update command remains special; if it is given file
321 arguments, it does not include meta files. If given no arguments, it
322 does a global CVS up across the entire project.
324 Release 0.15, 2002-06-25:
326 Optimized a string splitting routine which is used heavily for processing
327 paths; the result is a noticeable performance improvement in some commands
328 that process large numbers of files.
330 Renamed ``import'' command to ``create''.
332 Bugfix: checkout and create showed errors when removing directory, due to
333 broken :postorder support in directory walking function.
335 Bugfix: on failure, checkout was failing to delete the MCVS directory when
336 the checkout was directed to an existing directory.
338 New feature: ``mcvs grab'' command imports third-party snapshots to a
339 branch. This is invoked in the root directory of the source tree to import.
340 It determines what files have been added and removed in the snapshot, and
341 tries to compute which removes and adds are actually moves. This is done by
342 analyzing the actual contents of the files according to a crude algorithm to
343 do fuzzy comparisons, so that even files which were modified as well as moved
344 are discovered.
346 Release 0.14, 2002-06-21:
348 Bugfix: mcvs add was broken for files that have no suffix, causing
349 the underlying cvs add to fail. This was broken in 0.7 when type
350 handling was added.
352 Release 0.13, 2002-06-06:
354 Sandbox synchronization now handles the case of two files having
355 the same timestamp. An error is signaled, with interactive resolution
356 to synchronize either way, or do nothing.
358 If a file must be deleted on update, and this cannot be done, it
359 is now a continuable error.
361 Bugfix: pass -I ! to cvs import so that it won't ignore some F- files
362 whose suffix is one of the ones cvs ignores by default.
364 New command: mcvs remap. The user can move or delete files directly without
365 going through Meta-CVS. When mcvs remap is invoked, it will hunt down the
366 moves and deletions, and reconstruct the mapping accordingly; that is,
367 it remaps the new structure. This command uses inode numbers to identify
368 files; if a file is copied and then the original is deleted, that won't
369 be recognized as a move.
371 Release 0.12, 2002-04-18:
373 Bugfix: remove was broken in 0.10, fixed now.
375 Bugfix: status, diff, etc. work in empty project rather than complaining
376 ``. not known to Meta-CVS''.
378 The checkout operation now can now populate an existing directory, including
379 the current working directory (mcvs co -d . modulename). Of course, the
380 target directory cannot be an existing Meta-CVS sandbox.
381 This is a useful feature, which allows sandboxes to blend with an
382 existing directory structure.
384 Checkout now uses the same function for generating the sandbox
385 structure as does update. This is now necessary, because local files
386 can be clobbered by the checkout.
388 Release 0.11, 2002-04-12:
390 Bugfix: when branch invokes rtag, it now takes the CVSROOT information
391 from CVS/Root and passes it via -d. This is necessary because rtag does not
392 look at a local CVS subdirectory for this information, only the
393 -d option or the environment variable.
395 Command for listing branches added (list-branches or lb). Also shows
396 what sticky tag the sandbox is updated to.
398 Command for switching branches added (switch or sw).
400 Merge detects that working copy is on non-branch tag and bails.
402 Absolute paths can now be specified as file arguments. These are
403 based from the root directory of the sandbox, not the actual filesystem root
404 directory.
406 Release 0.10, 2002-04-03:
408 Automatic merging implemented. Branch is created using branch command,
409 and merging from another branch is done using simple merge command.
410 Meta-CVS maintains the tags to keep track of what has been merged
411 from what branch to what branch.
413 Bugfix: checkout -d foo bar was complaining about directory bar already
414 existing, even though it should only care about foo.
416 The remove command now requires explicit -R option to recursively remove
417 a directory. It has more detailed error reporting.
419 The move command has better error reporting.
421 Release 0.9, 2002-03-14:
423 Bugfix: the .cvsignore file is now subject to tagging, status, etc,
424 (unless --nometa is specified, of course).
426 The mcvs filt command takes -r <revision> or -D <date> parameters.
427 This means to retrieve the MAP file as of the specified revision or
428 date and use that mapping to perform the filtering translation,
429 rather than using MAP-LOCAL.
431 The mcvs update command takes filename arguments now and also
432 supports the -p option.
434 Release 0.8, 2002-03-13:
436 Bug fixed in mcvs add; it was not ignoring files that are already
437 listed as :ignore in MCVS/TYPES.
439 Bug fixed in mcvs move: a target with a trailing slash is now treated
440 as a directory (if it does not already exist and is a non-directory).
442 The -d option of mcvs checkout can now be used to override the checkout
443 directory, which is normally the same as the module name.
445 The global options --version, --help, -q, -Q and -e are now supported.
447 New global options --error-continue and --error-terminate to disable
448 interactive error handling in two different ways.
450 Log level of many messages has changed; many messages have been
451 relegated to debug level.
453 The import command now creates a .cvsignore file containing the name
456 Release 0.7, 2002-03-09:
458 The import command collects a list of the file suffixes and brings up
459 a text editor to allow the user to edit their CVS keyword expansion
460 behavior. This information is kept in a new metafile called TYPES. The
461 add command also updates TYPES; it identifies any suffixes which are new,
462 and brings up an editor. The F- files now carry suffixes, which
463 simplifies interfacing with CVS, and also allows cvswrappers to work.
465 Recursive add works (mcvs add -R ...).
467 New command line option --nometa allows metafiles to be excluded from
468 diff, tag, and other commands; without the option they are inserted
469 into the list of files to be processed.
471 The commit option now takes an optional list of files or directories,
472 just like tag, diff, and others.
474 Release 0.6, 2002-02-16:
476 The add operation was horribly broken in 0.5, it is fixed.
478 User can interactively select whether to clobber local files or leave
479 everything alone. Effects on the mapping file of a mcvs move are undone,
480 if the restructuring is rolled back, or raises a condition that leads
481 to termination.
483 Meta-CVS now keeps a new meta-file called MCVS/TYPES. This is created
484 during import, and specifies the CVS keyword expansion mode for files
485 having given suffixes, and can also tell Meta-CVS to ignore certain files
486 when importing or adding.
488 Release 0.5, 2002-02-10:
490 Much improved error handling. Filesystem rearranging code performs
491 sanity checks to prevent adds and moves from accidentally clobbering
492 local files. A rearranging gone bad can be rolled back. Effects
493 of a failed mcvs add can also be rolled back.
495 MAP-LOCAL is now sorted in the same way as MAP.
497 Release 0.4, 2002-02-04:
499 CVS is invoked using internal function resembling the xargs utility,
500 which ensures that multiple command lines are generated if necessary to
501 avoid surpassing the operating system limit on argument and environment
502 vector size. This is important when someone wants to diff or stat a
503 subdirectory, which requires Meta-CVS to pick out the individual files
504 at the CVS level.
506 The tag, log, status and annotate commands are now available.
508 The MAP file is sorted on F- file names now, not path names. This
509 improves merging, since files do not move within the file when
510 they are renamed.
512 Release 0.3, 2002-02-02:
514 Process termination done is properly in top level handler, by a nonlocal
515 exit. The program properly indicates failed termination when it exits
516 due to an error condition.
518 Corrections are made in the command line option processing. If z is an
519 option that takes an argument, and the argument is -zx, then x is
520 treated as the argument to the option. Long options arguments are
521 recognized properly, according to the --opt=arg convention. The option
522 processing is restructured. Most of the commands now take the
523 appropriate cvs command-specific options.
525 The update algorithm performs dupe checking over the map, which could
526 happen during a merge.
528 Some more bugfixing has been done to the move command. It was still not
529 handling right some cases of an unversioned file being clobbered. Also,
530 it wasn't renaming a directory containing just one file.
532 I did some performance investigation for larger file sets, and
533 ended up rewriting the code that computes filesystem restructuring
534 changes and map duplicates.
536 Release 0.2, 2002-01-30:
538 Changed official name from MCVS to Meta-CVS. The move command now
539 performs some filesystem tests so it does the right thing when a versioned
540 file is moved over a non-versioned file, or when a file is moved into
541 a directory not known to Meta-CVS. Factored out reading and writing of
542 map files into functions.
544 Release 0.1, 2002-01-28:
546 Support for mcvs diff -u added. The -R option works for mcvs add command.
547 Bug fixed in mcvs mv command; it wasn't working analogously to the Unix
548 mv command when copying a directory to an existing directory.
550 Release 0.0, 2002-01-27:
552 This is alpha software. It is not complete, and lacks documentation.
553 However, it is already usable in its present state and is being used for
554 version control by its author. If you can program in Common Lisp and would
555 like to help, take a look through the TODO file. Send me patches, ideas,
556 feature requests.

  ViewVC Help
Powered by ViewVC 1.1.5