Hi again, as I mentioned here
http://www.haskell.org/pipermail/cvs-ghc/2008-August/044260.html http://www.haskell.org/pipermail/cvs-ghc/2008-August/044275.html I'd like to see some improvements to darcs-all. For reference, I attach my current version of "darcs-all":- stop with a message (before pulling other repos) when "darcs-all" or "packages" themselves have changed in the the initial "pull". TODO: the message should come as the final script output, but currently, it appears at the top (this might just be a question of calling some flushing op, or setting an autoflush option, but it is odd to see
output after a die message; perhaps it is darcs2 terminal meddling?). - try to summarize any darcs warnings, conflicts and missing repos (one might call "get" on the missing repos directly? darcs2 reportssome messages to stderr; is the list of darcs "warning" prefixes in line 62 complete?)
- try to account for the "Warning: ./packages-0: renameFile: permission denied (Permission denied)"
issue by reading and closing "packages" before calling darcs, so that darcs can freely update that file http://bugs.darcs.net/issue1034 So, when pulling today, using this version of "darcs-all", I got: 1. "darcs-all or packages updated; please re-run your darcs-all command at ./darcs-all line 105."which is better than trying to pull the remaining repos with the old in-memory package/darcs-all version.
2. this little summary at the end of the second run, corresponding to Ian's "heads up" message: -- there are missing packages: libraries/timeout (required repo!) libraries/getopt (required repo!) nofib (optional 'nofib' repo) libraries/unique (required repo!) libraries/st (required repo!) libraries/concurrent (required repo!) libraries/dph (optional 'dph' repo) Claus
darcs-all
Description: Binary data
_______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
