datakit icon indicating copy to clipboard operation
datakit copied to clipboard

UI for specifying Git repo is very confusing

Open talex5 opened this issue 7 years ago • 3 comments

Problems:

  1. If you run without arguments, it provides an in-memory-only store. This is only useful for debugging and should not be the default.
  2. If you point it at a bare Git repository, it quietly adds /.git to the path, and thus creates a new empty repository inside the one you wanted to use. We should probably require a --auto-create option or similar to create a new repository, not change the path the user gives, and warn if they give a path with a .git subdirectory.

(discovered while testing with @jdjakub)

talex5 avatar Jul 27 '16 08:07 talex5

This requires a change to Irmin: @samoht will this be in the Irmin 1.0 API?

talex5 avatar Feb 03 '17 10:02 talex5

It could be added yes, is there an issue upstream?

samoht avatar Feb 03 '17 11:02 samoht

I've added https://github.com/mirage/irmin/issues/398 for this.

talex5 avatar Feb 03 '17 11:02 talex5