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

Contents of /meta-cvs/F-B3689DBB46386B16F4B2331934B69223

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.114 - (show annotations)
Sat Sep 21 20:27:09 2002 UTC (11 years, 6 months ago) by kaz
Branch: MAIN
Changes since 1.113: +19 -5 lines
*** empty log message ***
1 Release Notes for Meta-CVS
2
3 Release 0.96, 2002-09-??:
4
5 The restore command was left broken during the change to the new
6 filemap format. It is now fixed.
7
8 The grab command now handles execute permission bits properly.
9
10 Some more commands have detailed help.
11
12 There is now a global option -i which specifies a script to be
13 executed. This allows Meta-CVS to be scripted using Lisp. For
14 instance suppose you have the following script and call it
15 list-matching:
16
17 #!/usr/local/bin/mcvs -i
18 (in-sandbox-root-dir
19 (pop *argv*) ;; skip -i parameter
20 (pop *argv*) ;; skip script name
21 (let ((mapping (mapping-read *mcvs-map*))
22 (test (eval (read-from-string (pop *argv*)))))
23 (dolist (entry mapping)
24 (with-slots (path raw-plist) entry
25 (when (funcall test raw-plist)
26 (format t "~a~%" path))))))
27
28 Then to list the names of files whose "importance" property is
29 a value greater than two, run:
30
31 ./list-matching '(lambda (plist)
32 (let ((imp (getf plist :importance)))
33 (and imp (> imp 2))))'
34
35 Release 0.95, 2002-09-16:
36
37 The install.sh script no longer uses a borrowed copy of the clisp-link script
38 or the linkkit directory; these have been removed. These materials
39 are available at every CLISP installation; install.sh now finds them
40 and uses them. Users of non-x86 machines ran into problems because of this
41 because linkkit/clisp.h contains architecture-dependent information.
42
43 A bug in mcvs filt was fixed; it wasn't handling F- names that aren't found
44 in the map.
45
46 A more detailed help system now exists, though it's not complete. The ``mcvs
47 help'' command acts just like ``mcvs --help'' without any arguments. If given
48 an additional parameter which specifies a Meta-CVS command, it produces more
49 detailed documentation for that comand. Help exists already for a few
50 commands.
51
52 The release number is being warped to 0.95, which means that Meta-CVS is now
53 in beta. It is only five updates away from a 1.0 release.
54
55 Release 0.24, 2002-09-08:
56
57 The mapping entries for both symlinks and files have extensible property
58 lists now. These are stored in the optional fourth and fifth list elements,
59 respectively of the :FILE and :SYMLINK map entries.
60
61 Versioning of the execute permission of files is supported, represented as
62 the :EXEC property of a :FILE mapping entry.
63
64 Some lame syntax is provided for manipulating properties:
65
66 mcvs prop --set foo --clear bar --remove baz main.c list.c
67
68 will set the property FOO to true, set the property BAR to false,
69 and remove the property BAZ, in the files main.c and list.c.
70 The execute permission is represented by the property EXEC.
71
72 Release 0.23, 2002-09-02:
73
74 Bugfix: the grab command notices edited symlinks and incorporates the
75 changes into the mapping.
76
77 The grab command now figures out moved symlinks. Moved symlinks are those
78 whose pathname has changed, but which continue to point to the same object
79 (which may also have been moved).
80
81 Release 0.22, 2002-08-31:
82
83 Symbolic links are now versioned objects. The format of the MAP file
84 changes to accomodate this; the new Meta-CVS will read old MAP
85 files; when it writes it will write the new format. Old Meta-CVS won't
86 read the new format.
87
88 When a new module is created from an existing file tree, symbolic
89 links will be recognized and added. The add command will also add
90 symbolic links. Symbolic links can be renamed and moved; this does
91 nothing with their contents. They can point outside of the sandbox
92 using relative or absolute paths.
93
94 TODO:
95
96 There doesn't exist yet a special command to create symbolic links, nor to
97 retarget them; retargetting a link can be done manually by editing MCVS/MAP
98 and updating. Retargetting a link using the ln -s command, won't
99 backpropagate to the MAP file; an update will clobber the link.
100
101 The grab command does not yet compute symbolic link moves; a moved symbolic
102 link is treated as a remove and add. This will be easy to fix.
103
104 The remap command ignores symlinks.
105
106 Release 0.21, 2002-08-04:
107
108 Syntax of grab command changed. The branch is no longer specified as an
109 argument, but using the -r command option. If no revision is specified with
110 -r, then a -A must be specified to make the grab go to the main trunk. This
111 is a safety feature, since grabbing foreign snapshots to the trunk is almost
112 always wrong, though it could be useful during backup recovery, or for fixing
113 mistakes.
114
115 The way operating system functions are targetted has changed. Instead of
116 relying on the ``linuxlibc6'' module provided by CLISP, Meta-CVS now
117 has its own module for calling foreign functions. This module is portable;
118 it does not depend on the layout of glibc data structures. So Meta-CVS
119 is in theory now portable to other Unixes (provided they have /dev/urandom).
120
121 Release 0.20, 2002-07-27:
122
123 The commit command does a true global commit when given no file or directory
124 parameters, and not given the --metaonly option. This means commiting all
125 changes in the MCVS directory, even if they are in F-files that are not
126 currently mapped.
127
128 Release 0.19, 2002-07-16:
129
130 When moving multiple files or directories to a subdirectory, a
131 restart is now provided to skip over bad ones and continue.
132
133 Grab no longer scans files if there are only added files, or only removed
134 files. There are no moves to deduce in that case.
135
136 Restore properly creates lost+found at the root of a partial sandbox,
137 rather than at the abstract root of the module.
138
139 Some other algorithmic improvements made.
140
141 The first few sections of a user guide have been written.
142
143 Release 0.18, 2002-07-07:
144
145 Cool new feature: checkout takes an extra argument, which specifies a
146 subdirectory of the project. Specifying a subdirectory results in a ``partial
147 sandbox'', whose root directory is the specified subdirectory of the larger
148 project. The rest of the project is ``invisible'' to that sandbox. A
149 subdirectory argument can also be given to mcvs grab, which will cause it to
150 integrate the new source tree against a subtree of the Meta-CVS project
151 rather than the entire project. The subtree doesn't have to exist; in
152 that case you get an empty sandbox. Adding files to this sandbox will cause
153 the tree to exist in the project.
154
155 Bugfix: mcvs grab was not computing moves properly over small file sets,
156 wrongly treating them as removes and adds.
157
158 Release 0.17, 2002-07-02:
159
160 The create command no longer takes a vendor branch. Instead the symbol
161 ``Created-by-Meta-CVS'' is used as the vendor tag to satisfy CVS.
162
163 The grab command no longer does useless synchronization on files that
164 are about to be deleted.
165
166 New purge command; does ``cvs rm'' on deleted files, that is to say, F- files
167 that have no mapping.
168
169 New restore command; re-enters deleted files into the mapping, under
170 the ``lost+found'' directory, using their F- names as sandbox names.
171
172 Bugfix: when a checkout bails because it is requested over top of an existing
173 working copy, it must not delete that working copy's MCVS sub directory.
174
175 Release 0.16, 2002-06-29:
176
177 Added new heuristics to grab command. Paths are analyzed to determine
178 move distance. Greater distances reduce the confidence in a move.
179 These rules help sort out grabs in a project where similar or
180 duplicate files are subject to parallel moves, the ambiguity being
181 resolved by favoring shorter moves. Word comparisons are case-insensitive
182 now. Common words (those that appear in many files) are ignored when
183 comparing files.
184
185 New options, --meta and --metaonly. This area of Meta-CVS is cleaned
186 up a little bit. Most reporting commands like log or diff no longer
187 operate on meta files by default; they must be explicitly told to do
188 so with --meta or --metaonly. Only the commit command implicitly includes
189 metafiles by default, and so if this is not wanted, --nometa must be
190 selected. The update command remains special; if it is given file
191 arguments, it does not include meta files. If given no arguments, it
192 does a global CVS up across the entire project.
193
194 Release 0.15, 2002-06-25:
195
196 Optimized a string splitting routine which is used heavily for processing
197 paths; the result is a noticeable performance improvement in some commands
198 that process large numbers of files.
199
200 Renamed ``import'' command to ``create''.
201
202 Bugfix: checkout and create showed errors when removing directory, due to
203 broken :postorder support in directory walking function.
204
205 Bugfix: on failure, checkout was failing to delete the MCVS directory when
206 the checkout was directed to an existing directory.
207
208 New feature: ``mcvs grab'' command imports third-party snapshots to a
209 branch. This is invoked in the root directory of the source tree to import.
210 It determines what files have been added and removed in the snapshot, and
211 tries to compute which removes and adds are actually moves. This is done by
212 analyzing the actual contents of the files according to a crude algorithm to
213 do fuzzy comparisons, so that even files which were modified as well as moved
214 are discovered.
215
216 Release 0.14, 2002-06-21:
217
218 Bugfix: mcvs add was broken for files that have no suffix, causing
219 the underlying cvs add to fail. This was broken in 0.7 when type
220 handling was added.
221
222 Release 0.13, 2002-06-06:
223
224 Sandbox synchronization now handles the case of two files having
225 the same timestamp. An error is signaled, with interactive resolution
226 to synchronize either way, or do nothing.
227
228 If a file must be deleted on update, and this cannot be done, it
229 is now a continuable error.
230
231 Bugfix: pass -I ! to cvs import so that it won't ignore some F- files
232 whose suffix is one of the ones cvs ignores by default.
233
234 New command: mcvs remap. The user can move or delete files directly without
235 going through Meta-CVS. When mcvs remap is invoked, it will hunt down the
236 moves and deletions, and reconstruct the mapping accordingly; that is,
237 it remaps the new structure. This command uses inode numbers to identify
238 files; if a file is copied and then the original is deleted, that won't
239 be recognized as a move.
240
241 Release 0.12, 2002-04-18:
242
243 Bugfix: remove was broken in 0.10, fixed now.
244
245 Bugfix: status, diff, etc. work in empty project rather than complaining
246 ``. not known to Meta-CVS''.
247
248 The checkout operation now can now populate an existing directory, including
249 the current working directory (mcvs co -d . modulename). Of course, the
250 target directory cannot be an existing Meta-CVS sandbox.
251 This is a useful feature, which allows sandboxes to blend with an
252 existing directory structure.
253
254 Checkout now uses the same function for generating the sandbox
255 structure as does update. This is now necessary, because local files
256 can be clobbered by the checkout.
257
258 Release 0.11, 2002-04-12:
259
260 Bugfix: when branch invokes rtag, it now takes the CVSROOT information
261 from CVS/Root and passes it via -d. This is necessary because rtag does not
262 look at a local CVS subdirectory for this information, only the
263 -d option or the environment variable.
264
265 Command for listing branches added (list-branches or lb). Also shows
266 what sticky tag the sandbox is updated to.
267
268 Command for switching branches added (switch or sw).
269
270 Merge detects that working copy is on non-branch tag and bails.
271
272 Absolute paths can now be specified as file arguments. These are
273 based from the root directory of the sandbox, not the actual filesystem root
274 directory.
275
276 Release 0.10, 2002-04-03:
277
278 Automatic merging implemented. Branch is created using branch command,
279 and merging from another branch is done using simple merge command.
280 Meta-CVS maintains the tags to keep track of what has been merged
281 from what branch to what branch.
282
283 Bugfix: checkout -d foo bar was complaining about directory bar already
284 existing, even though it should only care about foo.
285
286 The remove command now requires explicit -R option to recursively remove
287 a directory. It has more detailed error reporting.
288
289 The move command has better error reporting.
290
291 Release 0.9, 2002-03-14:
292
293 Bugfix: the .cvsignore file is now subject to tagging, status, etc,
294 (unless --nometa is specified, of course).
295
296 The mcvs filt command takes -r <revision> or -D <date> parameters.
297 This means to retrieve the MAP file as of the specified revision or
298 date and use that mapping to perform the filtering translation,
299 rather than using MAP-LOCAL.
300
301 The mcvs update command takes filename arguments now and also
302 supports the -p option.
303
304 Release 0.8, 2002-03-13:
305
306 Bug fixed in mcvs add; it was not ignoring files that are already
307 listed as :ignore in MCVS/TYPES.
308
309 Bug fixed in mcvs move: a target with a trailing slash is now treated
310 as a directory (if it does not already exist and is a non-directory).
311
312 The -d option of mcvs checkout can now be used to override the checkout
313 directory, which is normally the same as the module name.
314
315 The global options --version, --help, -q, -Q and -e are now supported.
316
317 New global options --error-continue and --error-terminate to disable
318 interactive error handling in two different ways.
319
320 Log level of many messages has changed; many messages have been
321 relegated to debug level.
322
323 The import command now creates a .cvsignore file containing the name
324 MAP-LOCAL.
325
326 Release 0.7, 2002-03-09:
327
328 The import command collects a list of the file suffixes and brings up
329 a text editor to allow the user to edit their CVS keyword expansion
330 behavior. This information is kept in a new metafile called TYPES. The
331 add command also updates TYPES; it identifies any suffixes which are new,
332 and brings up an editor. The F- files now carry suffixes, which
333 simplifies interfacing with CVS, and also allows cvswrappers to work.
334
335 Recursive add works (mcvs add -R ...).
336
337 New command line option --nometa allows metafiles to be excluded from
338 diff, tag, and other commands; without the option they are inserted
339 into the list of files to be processed.
340
341 The commit option now takes an optional list of files or directories,
342 just like tag, diff, and others.
343
344 Release 0.6, 2002-02-16:
345
346 The add operation was horribly broken in 0.5, it is fixed.
347
348 User can interactively select whether to clobber local files or leave
349 everything alone. Effects on the mapping file of a mcvs move are undone,
350 if the restructuring is rolled back, or raises a condition that leads
351 to termination.
352
353 Meta-CVS now keeps a new meta-file called MCVS/TYPES. This is created
354 during import, and specifies the CVS keyword expansion mode for files
355 having given suffixes, and can also tell Meta-CVS to ignore certain files
356 when importing or adding.
357
358 Release 0.5, 2002-02-10:
359
360 Much improved error handling. Filesystem rearranging code performs
361 sanity checks to prevent adds and moves from accidentally clobbering
362 local files. A rearranging gone bad can be rolled back. Effects
363 of a failed mcvs add can also be rolled back.
364
365 MAP-LOCAL is now sorted in the same way as MAP.
366
367 Release 0.4, 2002-02-04:
368
369 CVS is invoked using internal function resembling the xargs utility,
370 which ensures that multiple command lines are generated if necessary to
371 avoid surpassing the operating system limit on argument and environment
372 vector size. This is important when someone wants to diff or stat a
373 subdirectory, which requires Meta-CVS to pick out the individual files
374 at the CVS level.
375
376 The tag, log, status and annotate commands are now available.
377
378 The MAP file is sorted on F- file names now, not path names. This
379 improves merging, since files do not move within the file when
380 they are renamed.
381
382 Release 0.3, 2002-02-02:
383
384 Process termination done is properly in top level handler, by a nonlocal
385 exit. The program properly indicates failed termination when it exits
386 due to an error condition.
387
388 Corrections are made in the command line option processing. If z is an
389 option that takes an argument, and the argument is -zx, then x is
390 treated as the argument to the option. Long options arguments are
391 recognized properly, according to the --opt=arg convention. The option
392 processing is restructured. Most of the commands now take the
393 appropriate cvs command-specific options.
394
395 The update algorithm performs dupe checking over the map, which could
396 happen during a merge.
397
398 Some more bugfixing has been done to the move command. It was still not
399 handling right some cases of an unversioned file being clobbered. Also,
400 it wasn't renaming a directory containing just one file.
401
402 I did some performance investigation for larger file sets, and
403 ended up rewriting the code that computes filesystem restructuring
404 changes and map duplicates.
405
406 Release 0.2, 2002-01-30:
407
408 Changed official name from MCVS to Meta-CVS. The move command now
409 performs some filesystem tests so it does the right thing when a versioned
410 file is moved over a non-versioned file, or when a file is moved into
411 a directory not known to Meta-CVS. Factored out reading and writing of
412 map files into functions.
413
414 Release 0.1, 2002-01-28:
415
416 Support for mcvs diff -u added. The -R option works for mcvs add command.
417 Bug fixed in mcvs mv command; it wasn't working analogously to the Unix
418 mv command when copying a directory to an existing directory.
419
420 Release 0.0, 2002-01-27:
421
422 This is alpha software. It is not complete, and lacks documentation.
423 However, it is already usable in its present state and is being used for
424 version control by its author. If you can program in Common Lisp and would
425 like to help, take a look through the TODO file. Send me patches, ideas,
426 feature requests.

  ViewVC Help
Powered by ViewVC 1.1.5