Re: [PATCH 0/2] refs: allow setting the reference directory
Patrick Steinhardt <ps@pks.im> writes:
Show 19 quoted lines
> For the reference storage I think we should be moving into a similar
> direction. Sure, for the current formats that we know its sufficient to
> only specify their directory. But I think we should treat the directory
> as an opaque string and then let the reference backend handle it, same
> as with the proposed format for object databases:
>
> # A schema-only variable will be treated as if we specified the
> # common directory.
> [extension]
> refStorage = reftable
>
> # It's also possible to explicitly specify a different location for
> # the backend.
> [extension]
> refStorage = reftable:///foo/bar
>
> # And same as above, we can also specify non-locations.
> [extension]
> refStorage = postgres://127.0.0.1:5432?database=myrepo
Cute. I kinda like it ;-)