Conversation
…sensitively unique.
|
Question: is this asymmetrical? I.e. when a new package is added which collides with an existing one, are they both moved to the longer style of path or just the new one? Either is fine, but if this is going to be path dependent anyway (i.e. the order of adding matters), then you could just as well use sequential numbering like @pfitzseb suggested. I.e. the first one in a collision class gets |
|
Yes, this is asymmetrical. It's more work and gives a more complicated git history to move around existing directories and files. The advantage of using UUID over sequence numbers anyway is that you have a decent chance to navigate to the right directory if you happen to know the name and the (partial) UUID, e.g. from the |
|
Fair enough. Might be good to have an operation to "normalize" the layout of the repo by moving any packages with name collisions to longer directories, but that can be done separately or not at all. |
Fixes #37 as outlined in #37 (comment).
WIP in the absence of tests.