/[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.35 - (show annotations)
Mon Feb 3 05:30:36 2003 UTC (11 years, 2 months ago) by kaz
Branch: mcvs-1-0-branch
Changes since 1.127.2.34: +4 -0 lines
Make tag command work on whole tree if no arguments are given,
just like commit.

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

  ViewVC Help
Powered by ViewVC 1.1.5