git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Stef Bon <stefbon@gmail.com>
To: git@vger.kernel.org
Subject: FUSE fs for git.
Date: Sun, 21 Feb 2021 11:12:19 +0100	[thread overview]
Message-ID: <CANXojcx0TOP9SSr1NgXCddQ3PWze-wBLZA5SRO3YhczqO68u0Q@mail.gmail.com> (raw)

Hi,

I'm working on a network fs mount service for Linux (I call it Open
Secure Network Services, short OSNS) which mounts sftp access on hosts
found in the network (using Avahi) and provides a browseable map to
the user like:

sbon@ws-001 OSNS]$ ls -al /run/network/sbon/fs/Open\ Secure\
Network/bononline.nl/alarm/public
total 3
drwxrwx--- 5 nobody users 4096 Feb 21 05:05  .
drwxr-xr-x 5 root   root  4096 Feb 21 05:04  ..
-rw-r--r-- 1 sbon   users    0 Aug 15  2018  1234
drwxr-xr-x 2 nobody users 4096 Jan 24 04:52  backup
-rw-r--r-- 1 nobody users   21 Feb 21  2017  .bash_logout
-rw-r--r-- 1 nobody users   57 Feb 21  2017  .bash_profile
-rw-r--r-- 1 nobody users  141 Feb 21  2017  .bashrc
drwxr-xr-x 2 nobody users 4096 May 27  2017  Projects
-rw-r--r-- 1 nobody users    4 Jul  1  2017  test
-rw-r--r-- 1 sbon   users   24 Aug  6  2017  test1
-rw-r--r-- 1 sbon   users    4 Aug 10  2017  test2
-rw------- 1 sbon   users    0 Aug 15  2018 'Text File'
-rw------- 1 sbon   users    0 Aug 15  2018 'Text File (1)'
-rw------- 1 sbon   users    0 Aug 15  2018 'Text File (2)'

See: https://github.com/stefbon/OSNS

It supports SFTP (over SSH) versions 3 (used by Openssh) to 6 (latest draft).
Other things I want to add is:
- own sftp client (osns_sftp_subsystem)
- backup on server of user defined directories and files (osns_backup_subsystem)
- next to SFTP also support SMB using libsmb2 by R. Sahlberg for
integration in Windows Networks
- fsnotify support in SFTP and in userland using a specific user agent
like osns_client_user (maybe also in SMB) (support in SFTP means an
extension)
- textchat and/or videochat (osns_chat_subsystem)
- forward connection to server over SSH using a simple api to talk to
osns_client for databases, and something like nx (emulation of
desktop)
- an own server osns_server
- support for use in large environments and roaming users (-> CA, ldap etc)

Now I'm looking it's possible and usefull to add a git fuse fs. The
thing I ask is:

- is there an api I can use (lowlevel and/or highlevel or whatever is
available)?

- is it usefull, in other words is there a serious benefit of a git
filesystem: does it add something?

Any other suggestion is appreciated,

Stef Bon
the Netherlands

             reply	other threads:[~2021-02-21 10:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-21 10:12 Stef Bon [this message]
2021-02-25  4:40 ` FUSE fs for git Ori Bernstein
2021-03-01  7:45   ` Stef Bon
2021-03-01 14:08     ` Ævar Arnfjörð Bjarmason
2021-02-25  5:32 ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANXojcx0TOP9SSr1NgXCddQ3PWze-wBLZA5SRO3YhczqO68u0Q@mail.gmail.com \
    --to=stefbon@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).