[darcs-devel] [patch1417] Rename Prim.V3 to Prim.FileUUID (and 7 more)

Ganesh Sittampalam bugs at darcs.net
Tue Jan 12 07:22:09 UTC 2016


New submission from Ganesh Sittampalam <ganesh at earth.li>:

For discussion initially.

Darcs.Patch.Prim.V3 was an experiment in implementing UUIDs
for file identity (which e.g. helps with
http://darcs.net/Ideas/AddAddConflicts)

It's quite a long way from being finished and doesn't have
working tests, and with Pijul-style patches hopefully
coming along we may not want to use the file UUID code for V3
patches after all (equally we might; Pijul helps with
avoiding conflicts within a file, UUIDs help with avoiding
conflicts at the directory level).

Anyway, although I think we should keep the code live for now,
it seems better to rename it so we have more freedom what
we put into the eventual V3.

As well as the renaming in the initial patch, I've done some
cleaning up. That can be applied even if we don't apply the
renaming.

8 patches for repository darcs-unstable at darcs.net:screened:

patch 9bd66fa57b18c718003ca166ab6cddb9293e02dd
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Mon Jan 11 07:57:49 GMT 2016
  * Rename Prim.V3 to Prim.FileUUID
  It's an unfinished experiment that won't necessarily form part of the
  next patch version, so make this explicit in the naming.

patch 097a7518c418b5675e879c2753d0430b736611a6
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Mon Jan 11 21:14:02 GMT 2016
  * swap argument order to ApplyMonad/ApplyMonadTrans

patch 8b62f962b4aa2bf91822a41c5c78383776b8412e
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Mon Jan 11 21:57:03 GMT 2016
  * disentangle the state-specific ApplyMonad methods
  ConstraintKinds allows this simplification

patch 313fa05fb9f5071c610f246cd414d0102aabfbdb
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Mon Jan 11 22:04:14 GMT 2016
  * move the ObjectMap related code to the FileUUID patch type

patch ac8989ef639d62b63462c093f85b79baaed3304d
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Mon Jan 11 22:25:29 GMT 2016
  * drop unused (and never defined) putApplyState

patch 4c2bc7ee43f73c9590c8963647bfa3155c7aacaa
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Mon Jan 11 22:38:50 GMT 2016
  * simplify type

patch 070ec61b4693d2090f4b94750baed4f55799cc4c
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Mon Jan 11 22:53:21 GMT 2016
  * drop unnecessary constraint

patch d6bf19466a46ae2256a83d394f02cdfb7181647a
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Tue Jan 12 07:12:04 GMT 2016
  * applyToTree is just a specialisation of applyToState

----------
files: patch-preview.txt, rename-prim_v3-to-prim_fileuuid.dpatch, unnamed
messages: 18898
nosy: ganesh
status: needs-screening
title: Rename Prim.V3 to Prim.FileUUID (and 7 more)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1417>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 22971 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20160112/031c19ca/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rename-prim_v3-to-prim_fileuuid.dpatch
Type: application/x-darcs-patch
Size: 49056 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20160112/031c19ca/attachment-0003.bin>
-------------- next part --------------
.





More information about the darcs-devel mailing list