con / con/flux

The design/idea

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Problem**: quite often it is difficult to understand the "topology" of available clones of a git (git-annex) repository. Especially it is hard for `git` which allows different names for remotes across clones.

`git-annex` provides each git-annex capable clone clone with a unique UUID which helps to identify clones.

`git-annex info` is handy to visualize the known to git annex remotes. By default their descriptions are in the form `hostname:path` which provides a great hint to discover them.

**Desire**: a tool which would automagically crawl through the the clones and draw a schematic figure providing a "map" of the remotes/clones/git-annex special remotes. A somewhat crude motivation example was to draw a schematic for
- https://github.com/spatialtopology/spacetop-prep/issues/67#issuecomment-1956759514

I would like the tool capable (aspects should be configurable) of

- automatically going through
- ssh `git remote`s
- https? remotes
- git annex special remotes
- groupping them per each hostname or medium (e.g. multiple S3 special remotes in the same "cloud" on diagram)
- establishing errors as corresponding remote names
- showing git-annex UUID (may be abbreviated as `cc9...835` for `cc937fa9-542c-49ec-b3fc-b7c4df5d4835`)
- expressing that "map" as mermaid diagram (so similar to what I did manually in https://github.com/spatialtopology/spacetop-prep/issues/67#issuecomment-1956759514)

OR may be such a tool already exists?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.