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

Contents of /meta-cvs/F-B3689DBB46386B16F4B2331934B69223

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.99 - (show annotations)
Fri Sep 6 03:19:07 2002 UTC (11 years, 7 months ago) by kaz
Branch: MAIN
Changes since 1.98: +6 -1 lines
Be transparent with respect to mapping entry property lists:
preserve unrecognized indicators and values.

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

  ViewVC Help
Powered by ViewVC 1.1.5