On Fri, Dec 09, 2022 at 07:53:24PM +0100, Uwe Brauer wrote:

>> Is it possible to have uni admins host a bunch of Git repositories on
>> premises? Git is sort-of self-hosting in the sense you only need a web server
>> which can do URL rewriting and CGI, so Apache and Nginx - top picks these
>> days - all just work as both can do HTTPS and what is called Basic HTTP
>> authentication.
> 
> Wouldn't that require some software like, say kallithea?

No, provided each student would either use their own branch in a single repo
or a single repo would have been created for each of the users.

Turn-key solutions (like kallithea) are possible but only when they are
exactly what's needed, and they are _much_ harder to install and maintain
than a no-brainer solution ;-)

There also exist solutions which sort of sit in the middle. For instance, good
old gitolite [1] is quite a thin wrapper around Git repositories which is a
no-brainer to install and moderately easy to use (creaing new repos / granting
access etc requires tweaking of a textual configs in a Git repo and pushing it
up to the server, and there Git hooks set in the target repository do the
rest). Compared to turn-key solutions, it does not require, say, setting up
and maintaining a database and stuff like this. A venerable Gitweb package can
then provide a R/O web front-end to view those Git repos. Basically, in any
sensible free unixy OS it's installing two packages provided by that OS and
doing a bunch of configuring.

> In any case I asked that the admins some time ago, well when Covid
> started,  and the willingness to install new things was significantly
> higher, the answer was: good idea, but wait, ask the vice president (of
> the university), and then wait, I think we will not have enough space,
> blabla
> 
> So in short no.

Looks like this stuff it pretty much the same in every country ;-)

 1. https://gitolite.com/gitolite/index.html

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/20221210110041.4gi5zngr6dp7mefc%40carbon.

Reply via email to