3 ms·
Gitbucket [1] a git hosting system built in scala is as simple as typing "java -jar gitbucket.war" [1] https://github.com/gitbucket/gitbucket https://github.co
by sandGorgon 11y ago
Gitbucket [1] a git hosting system built in scala is as simple as typing "java -jar gitbucket.war"
[1] https://github.com/gitbucket/gitbucket https://github.com/gitbucket/gitbucket
- geodel 11y ago40MB download + requirement of Java Runtime (~100MB) to be present is not quite same. Though to their credit they have packaged all jar dependencies besides JRE in WEB-INF/lib
- sandGorgon 11y agoThat's how WAR files get built. It's a very standard mechanism for deploying Java apps. I think having Java on your machine is a reasonable requirement. I mean the equivalent in Ruby would be to have Ruby, install all gems and THEN launch the app.
- fooster 11y agoExcept with go I don't have to have anything else installed. And that is the way it should be.
- geodel 11y agoWhy Java on machine is reasonable requirement? The Gogs service does not need Go to run. So having Java is extra requirement for Gitbucket. I know about packaging and running Java web apps. I am pointing out that compare to Gogs, Java based solution has extra requirement of JRE which I have to keep patched and updated. And this is independent of any fix/improvement of Gitbucket itself.
- sandGorgon 11y agoYour patched and updated argument is an equivalent one. Are you saying if go gets updated, you will not have to rebuild your gogs binary? Go does not provide a better security infrastructure than Java. I grant that just running a binary is cool, but as I said, having Java is OK as far as requirements go IMHO. others may have different opinions. Atleast its better than installing a ruby app.
- weberc2 11y agoOne runtime dependency isn't bad, but it's still worse than zero. :/
- eropple 11y agoDid libc stop being a runtime dependency when I wasn't looking?
- weberc2 11y agoI don't know if libc ever was a Go dependency, but it isn't today.
- eropple 11y agoI spoke imprecisely; you are correct. That said, I don't think, of the software that has escaped the Golang pits and weaseled its way into systems I am forced to maintain, any of it does not have a cgo, and thus a libc, dependency.
- nine_k 11y agoIf you actually want to run this software, JVM is a reasonable requirement: it's well-known, well-tested, easy to install, and comes in one package. It's not zero requirements, though. (Go binaries still need platform-specific libc, AFAIK, but it's usually also a reasonable requirement.)
- giovannibajo1 11y agoActually, they mostly don't. Go doesn't use libc, fortunately.
- hobarrera 11y agoRuntimes like ruby and python are quite commonly found in the default installation of many distributions (and OSX, IIRC). Java is not.