radicle-dev / radicle-git

Everything Radicle growing around Git
Other
44 stars 5 forks source link

surf: convert to git-ref-format #15

Closed FintanH closed 1 year ago

FintanH commented 2 years ago

radicle-surf, historically, defined its own domain of reference types. This has, historically, caused some headaches for converting from surf types into radicle-link types. Now that git-ref-format is available to surf, we should plan out the conversion of the API to use those types instead.

Some things to consider:

cloudhead commented 2 years ago

Good point about namespaces; we aren't using them in the new protocol!

keepsimple1 commented 1 year ago

When I was working on the PR, I was wondering what are the best examples of git-ref-format's benefits? I understand the points in its doc page, but it is not clear to me how much benefits it brings to overweigh the cost.

FintanH commented 1 year ago

When I was working on the PR, I was wondering what are the best examples of git-ref-format's benefits? I understand the points in its doc page, but it is not clear to me how much benefits it brings to overweigh the cost.

What are the costs you refer to here?

The benefits are:

keepsimple1 commented 1 year ago

Thanks. The costs I was referring to are fallible constructions of types in git-ref-format.

FintanH commented 1 year ago

Closed via #48