4 ms·
For everyone who is currently loosing productivity, perhaps your time might be well spent reviewing `git daemon`: http://git-scm.com/book/en/v2/Git-on-the-Serve
by jballanc 11y ago
For everyone who is currently loosing productivity, perhaps your time might be well spent reviewing `git daemon`: http://git-scm.com/book/en/v2/Git-on-the-Server-Git-Daemon http://git-scm.com/book/en/v2/Git-on-the-Server-Git-Daemon
- sp4ke 11y agoOr setup Gitlab for bigger teams, they even offer a Docker image.
- znpy 11y agoThere's even an AMI image for Amazon ec2 hosts IIRC, which brings down the costs when coupled with a reserved instance.
- jobvandervoort 11y agoYou can also run `sudo apt-get / yum install gitlab-ce` nowadays.
- sytse 11y agoYou remember correctly, it is available on https://about.gitlab.com/aws/ https://about.gitlab.com/aws/
- Xylakant 11y agohow does that help for the long long lists of external dependencies, for the bugtrackers of projects where I'd like to look up if someone else had the same issue and maybe there's a workaround, to view and compare code for older revisions of projects I'm using? With a ton of projects now hosted on github, github being down is a major dent in my overall productivity even though we _do_ have an internal git server.
- DCoder 11y agoFor repositories your projects depend on, you can set up a local proxy so you at least have local copies for continuous integration. E.g. PHP's Composer project has _Toran_ and _Satis_ for this: http://tech.m6web.fr/composer-installation-without-github.html http://tech.m6web.fr/composer-installation-without-github.ht...
- Xylakant 11y agodoesn't give me easy access to the source, browseable and searchable, I can't link to it when discussing with a colleague via chat, can't browse the docs and the wiki and I can't update them. It's a minor advantage at the cost of running yet another piece in my infrastructure that may die or exhibit problems. We use nexus as a proxy for various repositories and so far I've had nexus down more often than github.
- _asummers 11y agoYou can host your own Nexus servers, for whatever that's worth, if you were unaware. Again, adding more infrastructure, but it at least solves the "it's down on the internet!" problem.
- Xylakant 11y agowe are hosting our own nexus servers - but they tend to have issues of their own. Bugs, repositories get broken, storage full, machines down for maintenance and patching, yadda yadda. Githubs track record at being up is better than our nexus track record.
- kjjw 11y agoOK I get what you're saying, but honestly, who is really 'losing productivity'? I suspect the ones saying they are in fact just getting on with other tasks they can do because they are, despite github, still using distributed version control and do have access to and the ability to commit to code repositories. You don't need to host your own git daemon or github clone to get that functionality. I don't use github because it gives me a git daemon. I use it because the interface allows me interact with non-technical people when dealing with code and resources. I use github because, even though it is down right now, my stuff is backed up, I don't have to deal with the nitty gritty of ensuring backups succeed, I don't have to deal with the system when it goes down - someone else does that for me. Hence I would never want to run a local github clone.
- kmfrk 11y agoIt kinda sucks when you rely on continuous integration, though.
- ad-hominem 11y agoCan't you just run your tests locally?
- vacri 11y agoI guess no-one else has deployment scripts that pull from github, just because you don't have them.
- zymhan 11y agoGitHub isn't made for that though, if you need scripts to pull downm files for important work, then you should really be storing that stuff in S3. And probably some other place you can switch to if something goes wrong.
- _asummers 11y agoSomeone pushed code to master or some other specified pre-master branch. Jenkins pulls down, builds, runs tests, uploads artifacts to S3. That doesn't sound unrealistic or risky on the surface, modulo relying on both GH and S3 being up. Arguably you should be able to mirror on both an internal git repository somewhere, but GitHub is down infrequently enough that it's hard to justify that work + continuing costs if you don't have your own hardware + security patching + other admin costs to managers until you see multiple outages in a small enough window.
- chr1 11y agoThis is very useful for people who do not like browsing HN. And want to have something more worklike to do when their git server goes down.
- gflandre 11y agoFor everyone who is currently losing productivity, perhaps you should close your HN tab
- cositarica 11y agohey, I just met you and this is crazy, but here's my number, so call me maybe WALTER MERCADO
- dalanmiller 11y ago^ /thread
- kpcyrd 11y agogit daemon isn't encrypted, you might consider using regular git over ssh instead.