The hg-git type are served as regular Mercurial repository. So they can be listed as Mercurial repository safely
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Sep 17 2021
Jun 3 2021
In T3352#65758, @Alphare wrote:I think @marmoute's intention was to more closely convey the semantics of Mercurial's branching system. A branch tip or head are not a branches themselves, so it would be "wrong" to put them under branches/. Thus, since the plural of "a branch head" is "branch heads" I don't feel like the second change would be appropriate either.
But then again, you have the final say, and I won't die on this hill. :)
In T3352#65752, @zack wrote:My point here is for user looking at the structure to easily distinguish between the different mapping format. Something based on the "visit data" and associated documentation seems quite fragile.
But a version number for the mapping format will be completely meaningless for a user. It's too Software Heritage-specific. The more I think of it the more I'm convinced we should just offer names that are as natural and self-explanatory as possible. Our notion of what is self-explanatory might change in the future (also based on user feedback), but so be it. It is not going to be a new problem in the archive, as @olasd pointed out, so we will not be making it any worse.
In practical terms here I concur that that means dropping the "refs/hg" prefix.
In T3352#65749, @olasd wrote:In T3352#65655, @zack wrote:I'm happy with the HEAD branch being an alias to a name that's more representative of the corresponding mercurial concept (which would be tip, I guess).
Jun 1 2021
In T3352#65657, @zack wrote:So, to pivot the question around, what is the minimal (also in the sense that it is shorter / has less cruft) naming scheme that would allow us to represent without ambiguity all the Mercurial naming aspects that you want to capture?
May 31 2021
In T3352#65655, @zack wrote:Is the ability to recognize that a snapshot comes from Mercurial an actual goal here? I don't think we care about "clashes" between snapshot created from different VCS, but maybe I'm missing something.
@Alphare proposal is missing the branch-name part for branch-tip. I would ajust it as such:
I would go: refs/hg/branch-tip/ instead of just tip
Dec 8 2020
In T2849#54256, @olasd wrote:In T2849#54254, @zack wrote:Thanks, this would be an important new feature. Some comments/random thoughts below.
Further design point, which I think it's already implicit in what you wrote, but that it'd be useful to make explicit:
- this new mapping table is needed "only" to speed up things, if we lose it, it will just mean we will be slower in doing future archival (at least for a while), but won't be the end of the world
assuming this is true, loaders will need to be designed with graceful degradation for the incompleteness (or entire disappearance) of the mapping table.
Agreed. Missing objects in the mapping table would just mean that the loader does a bit more work to re-create the associated objects, and, hopefully, generate the same SWHIDs again (which would then be used to populate the mapping table).
Dec 3 2020
In T2849#53968, @olasd wrote:In T2849#53961, @marmoute wrote:scope: mercurial will only need the mapping for revisions;
Mercurial could also use that mapping for every object. However, just keeping that mapping for revision is already providing a very large complexity boost (or reduction I should says) so that is "good enough" for us. I strongly suspect the same will apply to baazar.
Ack. I think having this for all objects in the short term would make it "too large", and having it for "objects with a history where computing the swhid is (deeply) recursive and expensive" (i.e. revisions and releases) is a decent balance.
scope: mercurial will only need the mapping for revisions;
Nov 26 2020
Nov 25 2020
Ther is (maybe) a last small bit to document, but the patch looks good overall.
almost there.
I only have one last question. The rest seems fine.
Nov 24 2020
Nov 23 2020
Nov 20 2020
I have two small feedback. this looks good otherwise.
Nov 13 2020
Nov 9 2020
Looks overall good. I made various feedback that could be included in this patch or done as follow up.
Oct 21 2020
Oct 12 2020
Oct 10 2020
Also: the build seems to fails, can you check why ?
Nothing major found, but a swarm of small feedback.
Except for the small feedback about the exception, this looks fine.