5 ms·
Git actually is bundling a lot of stuff you probably don't realize. Run 'git instaweb' for example and it will spin up a local CGI server and perl CGI script t
by qbasic_forever 3y ago
Git actually is bundling a lot of stuff you probably don't realize. Run 'git instaweb' for example and it will spin up a local CGI server and perl CGI script to give a very simple web UI: https://git-scm.com/docs/git-instaweb https://git-scm.com/docs/git-instaweb Fossil isn't much different in core functionality here.
There is a ton of email client integration and functionality in git too that most people who only use GitHub probably have absolutely no idea exists or even why it's there. Stuff like sending email patches right from git: https://git-scm.com/docs/git-send-email https://git-scm.com/docs/git-send-email
- thayne 3y agoFWIW, that isn't actually part of the core git binary. Because unlike fossil, git is a collection of executables, not just one.
- qbasic_forever 3y agoYes, which is why git is a pain in the butt to install and you have to rely on your OS packages (which includes all the kitchen sink stuff) or a GUI installer with all the necessary dependencies vs. Fossil which is just download executable and done.
- westurner 3y agoSecuring the software supply chain for software updaters and VCS systems means PKI and/or key distribution, cryptographic hashes and signatures, file manifests with per-archive-file checksums, and DAC extended filesystem attributes for installed files; Ironically, there's more to it than just `curl`'ing a binary into place and not remembering to update it. And that is why package managers.
- westurner 3y agoAnd sigstore; for centralized software artifact (package,) hashes: https://sigstore.dev/ https://sigstore.dev/
- backendanon 3y agogit...is difficult to install? What's difficult about apt-get install git?
- mrighele 3y ago> you have to rely on your OS packages (which includes all the kitchen sink stuff)
- avikalp 3y agoThese is exactly what my first thought was! Installing open-ssh and git is kind of my first activity on a new computer. But I believe they are talking about setting up a git server. The thing that we rely on GitHub/GitLab/Bitbucket for. Richard counts them as an added dependency. (I mean, he is not wrong in being worried about that. You are basically giving your all your code to a company. Which does not matter for open-source projects like SQLite, but it does for many private projects with code as their primary IP)
- School-Cotton 3y agoWhat is a “git server”? There’s no distinction between client and server in git; you can “git pull” from any machine with the normal “git” program installed that you have SSH access to.
- pwdisswordfishc 3y agoBehold: https://git-scm.com/docs/git-daemon https://git-scm.com/docs/git-daemon
- yencabulator 3y agoWho uses git-daemon these days? When's the last time you saw git:// in a README? Practically all use of git is either the "smart HTTP" protocol over HTTPS, or over SSH. git-daemon is plaintext, you wouldn't want to push over that, and for public use HTTPS has won. I believe grandparent means what is these days called "forges", a web frontend with user accounts and such, with an extra heaping pile of features.
- 9dev 3y agoCome on, isn’t that kind of an argument from the 90ies, when disk space was scarce, and internet connections slow? I mean like, I have space for millions of kitchen sinks now. Considering that, I kind of refuse to accept that out of all things, bundle size is a valid distinction criterion for VCS‘es.
- avikalp 3y agoI tried that (primarily because I didn't know about it and was excited), but it didn't work. It needs me to install "lighttpd" to work. And the steps to install that are not straightforward. I like that a lot of functionality is not bundled up in the git that I have already installed in my computer, but at the same time, I agree with the fact that adding these separate binaries is not easy as a user.
- seba_dos1 3y agoUhm, `sudo apt install lighttpd` - or equivalent?
- ckolkey 3y agoYou can use different httpd backends - webrick if you have ruby, python, etc
- Culonavirus 3y ago> lighttpd Wow now that's a blast from the past. That's a nice relic from the times of people getting annoyed with Apache's one process per request model and Nginx not being popular just yet. Does anyone use that anymore for, well, anything?
- jpgvm 3y agoStill very common in low resource environments.
- nwallin 3y ago> Run 'git instaweb' for example and it will spin up a local CGI server and perl CGI script to give a very simple web UI: ~ $ git instaweb fatal: git was built without support for git-instaweb (NO_PERL=YesPlease).
- matheusmoreira 3y agoGit send-email is actually the best email client I've ever used. It's the only reason I managed to post to mailing lists. I couldn't figure out anything else.