sftpgo/dataprovider
Nicola Murino 0a025aabfd add support for Git over SSH
We use the system commands "git-receive-pack", "git-upload-pack" and
"git-upload-archive". they need to be installed and in your system's
PATH. Since we execute system commands we have no direct control on
file creation/deletion and so quota check is suboptimal: if quota is
enabled, the number of files is checked at the command begin and not
while new files are created.
The allowed size is calculated as the difference between the max quota
and the used one. The command is aborted if it uploads more bytes than
the remaining allowed size calculated at the command start. Quotas are
recalculated at the command end with a full home directory scan, this
could be heavy for big directories.
2019-11-26 22:26:42 +01:00
..
bolt.go dataprovider: add support for user status and expiration 2019-11-13 11:36:21 +01:00
dataprovider.go add support for Git over SSH 2019-11-26 22:26:42 +01:00
memory.go dataprovider: add support for user status and expiration 2019-11-13 11:36:21 +01:00
mysql.go dataprovider: add support for user status and expiration 2019-11-13 11:36:21 +01:00
pgsql.go dataprovider: add support for user status and expiration 2019-11-13 11:36:21 +01:00
sqlcommon.go dataprovider: add support for user status and expiration 2019-11-13 11:36:21 +01:00
sqlite.go dataprovider: add support for user status and expiration 2019-11-13 11:36:21 +01:00
sqlqueries.go dataprovider: add support for user status and expiration 2019-11-13 11:36:21 +01:00
user.go add support for Git over SSH 2019-11-26 22:26:42 +01:00