If it's possible to lfs-folderstore support FTP/SFTP protocol?
midas7912 opened this issue · 1 comments
The NAS idea is really good approach .
Not sure if anyone just like me , feel FTP/SFTP connection easy than NAS connection to global developer for sharing.
config FTP/SFP specific uid/pwd in config.
[Ubuntu install]
1.sudo apt install -y git
2.sudo apt-get install -y git-lfs
3.wget https://github.com/sinbad/lfs-folderstore/releases/download/v1.0.0/lfs-folderstore-linux-amd64-v1.0.0.zip
4.sudo unzip -j lfs-folderstore-linux-amd64-v1.0.0.zip lfs-folderstore-linux-amd64/lfs-folderstore -d /usr/bin
5.sudo chmod +x /usr/bin/lfs-folderstore
[lfs-mount-via ftp]
1.sudo apt-get install -y curlftpfs
2.sudo mkdir /mnt/lfs-db
3.sudo curlftpfs -o allow_other lfsuser:00000000@192.168.22.157 /mnt/lfs-db
[git clone]
export GIT_SSL_NO_VERIFY=1
export GIT_LFS_SKIP_SMUDGE=1
git -c filter.lfs.smudge= -c filter.lfs.required=false clone https://github.com/XXXXXX/LFS_TEST.git mylfs
Cloning into 'mylfs'...
Username for 'https://github.com': XXXXXX
Password for 'https://XXXXXX@github.com': *******
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 9 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (9/9), done.
cd mylfs
git config --add lfs.customtransfer.lfs-folder.path lfs-folderstore
git config --add lfs.customtransfer.lfs-folder.args "/mnt/lfs-db"
git config --add lfs.standalonetransferagent lfs-folder
git lfs pull
Git LFS: (3 of 3 files) 115.94 MB / 115.94 MB
seems ftp issue can use 3th party application to resolve so there is no need for extra effort to addin.