/[meta-cvs]/meta-cvs/F-B3689DBB46386B16F4B2331934B69223
ViewVC logotype

Contents of /meta-cvs/F-B3689DBB46386B16F4B2331934B69223

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5