Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to write or package a Git server as a Java Servlet or Java webapp?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COHi @Brendan, did you thought about using ssh as git server? It's quite convenient you only need some linux server and I suppose everyone can use cheap cloud hosting for that - it's better than run on windows box. Writing git server in java can be challenging project.
      singulars
    2. COHi Vladimir, Thanks for the suggestion. Yeah this is targeted at organizations that don't host in the cloud and keep their firewalls locked down (at least for now) - I think the vast majority of orgs won't post their source to the cloud. Also unfortunately a lot orgs DO use windows in their stack and this solves that at well. I know implementing a git server in java from scratch would be a lot of work but I think JGit already does a lot of what's needed. But I'm looking for guidance on the details around how to expose JGit as a webapp.
      singulars
    3. CO"expose JGit (or Git for that matter)" as a webapp doesn't have a lot of value in itself. The "web" part in Git is only there for authentication. It can be a sshd, or an httpd, but beside that it simply pass the buck to Git itself, or to an authorization package like Gitolite. In any case, JGit wouldn't be involved. A simple "smart http" cgi (packaged with Git) is enough. See also http://stackoverflow.com/questions/5683253/distributed-version-control-systems-and-the-enterprise-a-good-mix/5685757#5685757
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload