Add git-fat support
This adds git-fat support to gitlab-shell.
git-fat access is handled with the rsync
command which can be used over SSH similar to how Git operates. git-fat support must be configured per-project via the add-fat
/rm-fat
commands via GitLab.
Shell support is updated for rsync
support:
- detect
rsync
command - determine read or write access via
--sender
argument - extract target directory as: namespace/repo_name
- check remaining arguments for safety
Updated project management commands:
- add-fat: creates a namespace/project.fat directory for large files
- rm-fat: deletes the .fat directory
- mv-project: additionally moves the .fat directory
- fork-project: additionally copies the .fat directory