Create Groups based on directory
Hi,
It would be nice if the search repository function would add all directories of the repositories as group.
In https://smartgit.userecho.com/communities/1/topics/558-import-repositories-creating-groups-based-on-directory was one level of groups added. I manage like 200 repositories (some of them with the same name) in different directories based on my root directory.
E.g.
- root
|- foo
|- lib
|- app
|- docker
|- bar
|- lib
|- lib1
|- lib2
|- app
|- docker
Would result in the group / repository structure:
root/foo/{lib,app,docker}
root/bar/lib/{lib1,lib2}
root/bar/{app,docker}
where each directory is a group and one can walk the group tree like the directory tree on the disk.
I created a python implementation for smartgit 22.1 as a holiday project under MIT license, if someone is also interested in this:
https://gitlab.com/sackers/smartgit-repository-grouping-dumper
Customer support service by UserEcho