-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
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.
- Look at the current API and where it uses reference types
- Plan out a migration path based on the above
Some things to consider:
- Whether the input should always be
Qualified
, ie. have a category likerefs/heads
,refs/tags
,refs/remotes
- If we should do any newtype'ing to distinguish qualified refs, e.g.
pub struct Tag(Qualified)
, with smart constructors - Are namespaces important anymore if we go down the protocol route of having a single repo per project? Thus, keep namespaces in the API but can de-prioritise the implementation of them
Metadata
Metadata
Assignees
Labels
No labels