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

Contents of /meta-cvs/F-B3689DBB46386B16F4B2331934B69223

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.98 - (hide annotations)
Fri Sep 6 02:17:27 2002 UTC (11 years, 7 months ago) by kaz
Branch: MAIN
Changes since 1.97: +4 -0 lines
Low level support for versioning executable bit.

* code/unix-bindings/unix.lisp (unix-funcs:chmod): New callout
function.

* code/clisp-unix.lisp (executable-p, make-executable,
make-non-executable): New generic functions.
(executable-p (file-info), make-executable (file-info),
make-executable (string), make-non-executable (file-info),
make-non-executable (string)): New methods.

* code/add.lisp (mcvs-add): Record whether new file is
executable or not, by setting executable slot in mapping-entry.

* code/create.lisp (mcvs-create): Likewise.

* code/sync.lisp (synchronize-files): New parameter,
should-be-executable, tells function which way to set
permissions after synchronizing files.

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

  ViewVC Help
Powered by ViewVC 1.1.5