ViewVC logotype

Contents of /meta-cvs/F-B3689DBB46386B16F4B2331934B69223

Parent Directory Parent Directory | Revision Log Revision Log

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

  ViewVC Help
Powered by ViewVC 1.1.5