Closed EtienneDx closed 9 months ago
Create the actual gmt server project. It should rely on the git-server crate to open the ssh port and accept incoming connections.
git-server
For initial setup, we can use a SimpleRepositoryProvider from the example project until the database is added.
SimpleRepositoryProvider
User-wise, we can use an enum as follow:
pub enum User { Public, Connected(UserData), Admin, }
With admin being an ssh super-user 'admin' backed-up with the developers public API keys.
Create the actual gmt server project. It should rely on the
git-server
crate to open the ssh port and accept incoming connections.For initial setup, we can use a
SimpleRepositoryProvider
from the example project until the database is added.User-wise, we can use an enum as follow:
With admin being an ssh super-user 'admin' backed-up with the developers public API keys.