hgitaly merge requestshttps://foss.heptapod.net/heptapod/hgitaly/-/merge_requests2022-01-26T15:18:39Zhttps://foss.heptapod.net/heptapod/hgitaly/-/merge_requests/13Helper for proper NOT_FOUND gRPC responses2022-01-26T15:18:39ZGeorges RacinetHelper for proper NOT_FOUND gRPC responsesThis saves just a bit of boilerplate and give us uniformity, e.g, the caller doesn't have to handle bytes-str complications.This saves just a bit of boilerplate and give us uniformity, e.g, the caller doesn't have to handle bytes-str complications.Heptapod 0.17.0https://foss.heptapod.net/heptapod/hgitaly/-/merge_requests/11Repository loading: returning proper error if not found2022-01-26T15:18:53ZGeorges RacinetRepository loading: returning proper error if not foundWe already had good enough error responses for the case when
the *storage* is not found, but it was missing for the case
when the repository is not found in an existing storage.
This is important, because it can actually break the landi...We already had good enough error responses for the case when
the *storage* is not found, but it was missing for the case
when the repository is not found in an existing storage.
This is important, because it can actually break the landing page
of some users: the Rails application does not seem to expect an
unspecified Gitaly error here, but it should recover from
NOT_FOUND.
I've been impaired by this on dev setup after
with some repository removals, but don't have anything of that
kind on hand any more, which would be more reassuring.Heptapod 0.17.0https://foss.heptapod.net/heptapod/hgitaly/-/merge_requests/10CommitService.ListCommitsByOid: initial implementation2022-01-26T15:18:44ZGeorges RacinetCommitService.ListCommitsByOid: initial implementationIt actually fixed the Commit page right away.
Direct links in Notes work as well (as expected).
Error treatment is coarse: the point is to have a proper
NOT_FOUND rather than a crash. Perhaps we will have eventually
to ignore problemati...It actually fixed the Commit page right away.
Direct links in Notes work as well (as expected).
Error treatment is coarse: the point is to have a proper
NOT_FOUND rather than a crash. Perhaps we will have eventually
to ignore problematic oids instead, we'll see that later.
Closes hgitaly#22Heptapod 0.17.0https://foss.heptapod.net/heptapod/hgitaly/-/merge_requests/9CommitService.LastCommitForPath: initial implementation2022-01-26T15:18:46ZGeorges RacinetCommitService.LastCommitForPath: initial implementationAs explained in the comment, we must really use
`file()` here.
Closes #15As explained in the comment, we must really use
`file()` here.
Closes #15Heptapod 0.17.0https://foss.heptapod.net/heptapod/hgitaly/-/merge_requests/8Bumped Gitaly protocol to 13.4.02022-01-26T15:18:47ZGeorges RacinetBumped Gitaly protocol to 13.4.0This includes instructions on how to do that, with a script that regenerates the stubs.
Closes #11This includes instructions on how to do that, with a script that regenerates the stubs.
Closes #11Heptapod 0.17.0https://foss.heptapod.net/heptapod/hgitaly/-/merge_requests/5RepositoryService: GetArchive method2022-01-26T15:18:38ZGeorges RacinetRepositoryService: GetArchive methodProvides #6 and is a good candidate for the first HGitaly use-case, even before %"HGitaly1: Hg SHAs" if needed (see heptapod#204).Provides #6 and is a good candidate for the first HGitaly use-case, even before %"HGitaly1: Hg SHAs" if needed (see heptapod#204).Heptapod 0.17.0