[darcs-users] [patch374] the state of the adventure

Petr Ročkai bugs at darcs.net
Thu Sep 2 16:33:35 UTC 2010


Petr Ročkai <me at mornfall.net> added the comment:

Hi,

I know we still haven't worked out the adventure process, but I have worked a
bit more on this. The news is that I managed to ditch a lot more obsolete code
without compromising functionality. Most code in Darcs.Repository.HashedIO is
gone, I have replaced (Readable/Writeable) Directory monad classes with a
simpler ApplyMonad which actually reflects what it is used for, FilePathMonad
is rewritten (it still does the same thing, it's just using State monad from
mtl instead of hand-rolled version). The last had the side-effect of making the
annotate monad a bit nicer.

The near-term plan is to add a restricted apply monad, that'll work on a list
of files (with contents, as opposed to FilePathMonad) so we can improve the
performance of darcs show contents (which is now officially slower than
annotate on some files).

The other near-term thing is directory annotate, since that is currently what
stands between me and passing tests.

Yours,
   Petr.

PS: I know I am owing some responses to the review that's in progress. I'll
look into that a bit later, either tonight or tomorrow, time permitting.

65 patches for repository http://darcs.net:

Wed Jul 14 19:52:08 CEST 2010  Petr Rockai <me at mornfall.net>
  * Wibble path building in Repository.Prefs.

Thu Jul 15 10:59:38 CEST 2010  Petr Rockai <me at mornfall.net>
  * Use more meaningful names for seal_up_patches' parameters.

Sat Jul 17 10:40:48 CEST 2010  Petr Rockai <me at mornfall.net>
  * Update haddock.

Wed Aug 11 17:39:29 CEST 2010  Petr Rockai <me at mornfall.net>
  * First stab at a hashed-storage 0.6 port.

Wed Aug 11 21:25:55 CEST 2010  Petr Rockai <me at mornfall.net>
  * Move the preferences system into IO where it belongs.

Wed Aug 11 21:45:04 CEST 2010  Petr Rockai <me at mornfall.net>
  * Make FileName an alias to Relative (from Hashed.Storage.Path).

Wed Aug 11 22:12:49 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix annotate that got broken due to path format change.

Thu Aug 12 00:02:43 CEST 2010  Petr Rockai <me at mornfall.net>
  * Replace FilePath with FileName in SelectChanges and ChooseTouching.

Thu Aug 12 00:09:46 CEST 2010  Petr Rockai <me at mornfall.net>
  * Make SubPath just another alias for Relative.

Thu Aug 12 00:16:21 CEST 2010  Petr Rockai <me at mornfall.net>
  * Introduce a new Darcs.Path module to centralise path handling.

Thu Aug 12 00:36:15 CEST 2010  Petr Rockai <me at mornfall.net>
  * Merge Darcs.Patch.FileName into Darcs.Path.

Thu Aug 12 00:47:39 CEST 2010  Petr Rockai <me at mornfall.net>
  * Remove the now-redundant sp2fn.

Thu Aug 12 01:05:34 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix announceFiles in WhatsNew (abolish unsafePathFrom*).

Thu Aug 12 01:06:04 CEST 2010  Petr Rockai <me at mornfall.net>
  * Restore the ".." check in isMaliciousPath.

Thu Aug 12 01:29:40 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix a subtle bug in onlyHunks with rather curious side-effects.

Thu Aug 12 01:30:27 CEST 2010  Petr Rockai <me at mornfall.net>
  * Merge Darcs.RepoPath into Darcs.Path.

Thu Aug 12 01:31:25 CEST 2010  Petr Rockai <me at mornfall.net>
  * Drop unused and redundant pathFromFileName.

Thu Aug 12 01:32:08 CEST 2010  Petr Rockai <me at mornfall.net>
  * Make the tests pass (mostly ./foo versus foo in user-visible output).

Wed Aug 18 22:53:38 CEST 2010  Petr Rockai <me at mornfall.net>
  * Optimize darcs diff.

Sun Aug 29 18:30:19 CEST 2010  Petr Rockai <me at mornfall.net>
  * Resolve hashed-storage dependency conflicts.

Sun Aug 29 18:30:33 CEST 2010  Petr Rockai <me at mornfall.net>
  * Resolve conflict in Commands.Diff imports.

Sun Aug 29 18:30:50 CEST 2010  Petr Rockai <me at mornfall.net>
  * Resolve conflicts in Commands.WhatsNew imports.

Sun Aug 29 18:31:05 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix conflicts in Darcs.Diff.

Sun Aug 29 18:31:15 CEST 2010  Petr Rockai <me at mornfall.net>
  * Resolve conflicts in Darcs.Patch.*.

Sun Aug 29 18:46:13 CEST 2010  Petr Rockai <me at mornfall.net>
  * Resolve a (bogus?) conflict in darcs.cabal.

Sun Aug 29 18:51:11 CEST 2010  Petr Rockai <me at mornfall.net>
  * First round of OF removal.

Sun Aug 29 18:53:36 CEST 2010  Petr Rockai <me at mornfall.net>
  * Also remove support for getting old-fashioned (to hashed).

Sun Aug 29 18:54:41 CEST 2010  Petr Rockai <me at mornfall.net>
  * Only test Darcs2 and Hashed (and not OF).

Sun Aug 29 19:14:28 CEST 2010  Petr Rockai <me at mornfall.net>
  * Set a $format variable in lib, depending on current repo format under test.

Sun Aug 29 19:15:01 CEST 2010  Petr Rockai <me at mornfall.net>
  * Make the tests a bit less verbose (do not print all of lib every time).

Sun Aug 29 19:15:18 CEST 2010  Petr Rockai <me at mornfall.net>
  * Modernize the conflict-doppleganger test.

Sun Aug 29 19:16:00 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix up the module list in darcs.cabal.

Sun Aug 29 19:16:18 CEST 2010  Petr Rockai <me at mornfall.net>
  * Update couple more tests for absence of OF.

Sun Aug 29 19:43:58 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix the optimize --upgrade functionality.

Sun Aug 29 19:44:48 CEST 2010  Petr Rockai <me at mornfall.net>
  * Add a tarball of a small oldfashioned repository for testing purposes.

Sun Aug 29 19:57:34 CEST 2010  Petr Rockai <me at mornfall.net>
  * Adapt bad-format to the current OF-less situation.

Sun Aug 29 19:57:50 CEST 2010  Petr Rockai <me at mornfall.net>
  * Adapt issue1248 test to current OF-less situation.

Sun Aug 29 19:58:18 CEST 2010  Petr Rockai <me at mornfall.net>
  * Remove parts of the hashed_inventory that require conversion to OF.

Sun Aug 29 19:58:46 CEST 2010  Petr Rockai <me at mornfall.net>
  * Getting OF repos is not supported, reflect that in Commands.Get.

Sun Aug 29 21:14:09 CEST 2010  Petr Rockai <me at mornfall.net>
  * Correctly fail on encountering unsupported repository format in Commands.Get.

Sun Aug 29 21:14:46 CEST 2010  Petr Rockai <me at mornfall.net>
  * Remove redundant imports from Commands.Get.

Sun Aug 29 21:15:00 CEST 2010  Petr Rockai <me at mornfall.net>
  * Print a list of (shell) tests that have failed after a test run.

Sun Aug 29 21:15:37 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix a few more tests since the OF support removal.

Sun Aug 29 21:17:17 CEST 2010  Petr Rockai <me at mornfall.net>
  * Remove the now-defunct Distribution directory.

Mon Aug 30 01:09:43 CEST 2010  Petr Rockai <me at mornfall.net>
  * A new implementation of per-file annotate, part one.

Mon Aug 30 01:16:51 CEST 2010  Petr Rockai <me at mornfall.net>
  * A slight improvement to file annotate performance.

Mon Aug 30 01:22:17 CEST 2010  Petr Rockai <me at mornfall.net>
  * Avoid a bogus trailing empty line in annotate output.

Mon Aug 30 01:24:04 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix the annotation of the first line.

Mon Aug 30 09:46:28 CEST 2010  Petr Rockai <me at mornfall.net>
  * Use linesPS in patch application -- the trailing empty line is significant.

Mon Aug 30 09:47:54 CEST 2010  Petr Rockai <me at mornfall.net>
  * Use fluffier and more readable formatting for annotate.

Mon Aug 30 10:17:54 CEST 2010  Petr Rockai <me at mornfall.net>
  * Cut the old annotate code from Commands.Annotate.

Mon Aug 30 10:24:56 CEST 2010  Petr Rockai <me at mornfall.net>
  * Remove the Population code (part of the old annotate implementation).

Mon Aug 30 10:29:42 CEST 2010  Petr Rockai <me at mornfall.net>
  * Make the annotate formatting ever so fluffier.

Thu Sep  2 13:20:06 CEST 2010  Petr Rockai <me at mornfall.net>
  * Avoid a redundant readRecorded in readRecordedAndPending.

Thu Sep  2 13:45:05 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix a bug with following indirect renames in annotate.

Thu Sep  2 13:45:31 CEST 2010  Petr Rockai <me at mornfall.net>
  * Replace (Readable/Writeable)Directory with ApplyMonad.

Thu Sep  2 16:19:49 CEST 2010  Petr Rockai <me at mornfall.net>
  * Break away textDiff out of treeDiff.

Thu Sep  2 16:21:29 CEST 2010  Petr Rockai <me at mornfall.net>
  * Use lib in tests/issue257.sh.

Thu Sep  2 16:23:45 CEST 2010  Petr Rockai <me at mornfall.net>
  * Re-implement create(Partials)PristineDirectoryTree in terms of readRecorded.

Thu Sep  2 16:25:15 CEST 2010  Petr Rockai <me at mornfall.net>
  * Remove a pile of virtually unused HashedIO code.

Thu Sep  2 18:03:15 CEST 2010  Petr Rockai <me at mornfall.net>
  * Avoid useless expansion of recorded in Commands.Add.

Thu Sep  2 18:19:52 CEST 2010  Petr Rockai <me at mornfall.net>
  * Add missed mReadFilePS to Storage.Hashed.Monad implementation of ApplyMonad.

Thu Sep  2 18:20:24 CEST 2010  Petr Rockai <me at mornfall.net>
  * Do not try to replayRepository in optimize --upgrade (redundant, broken).

Thu Sep  2 18:20:49 CEST 2010  Petr Rockai <me at mornfall.net>
  * (Nearly) make it possible to thread fetchFileUsingCache into Storage.Hashed.Darcs.

Thu Sep  2 18:27:12 CEST 2010  Petr Rockai <me at mornfall.net>
  * Fix withTentative (needs to run the copy from inside the repo).

----------
title: ADV: the initial pile -> the state of the adventure

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch374>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wibble-path-building-in-repository_prefs_.dpatch
Type: text/x-darcs-patch
Size: 490465 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100902/ce8e4731/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnamed
Type: application/octet-stream
Size: 5 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100902/ce8e4731/attachment-0001.obj>


More information about the darcs-users mailing list