4 ms·
What are they gonna do if you use TOR to set up a public repo of this code? It's not like they can send their petty legal letters anywhere. If github is forced
by Kenji 11y ago
What are they gonna do if you use TOR to set up a public repo of this code? It's not like they can send their petty legal letters anywhere. If github is forced to take it down, we need some kind of a distributed github.
- ludamad 11y agoGit is distributed. If it is taken down it will immediately be uploaded somewhere else. EDIT: Immediately in people-time, not some git mechanism :-)
- Kenji 11y agoNo, the origin is one central server. Or am I missing something? If I work on a piece of open-source code with a github repository, if github is down, nobody else will be able to access my code unless I upload it somewhere else (which doesn't happen automatically).
- rubyrescue 11y agoanyone who has ever cloned the repo will have a full copy though.
- granos 11y agoWith git there doesn't need to be a central server. Many people/orgs use one (e.g. github) because that pattern is very well understood and most developers are used to it. There is no reason that you can't push branches/commits between individual clones (in this context called remotes). Origin is one remote, but you can set up any other clone to be a remote as well.
- schoen 11y agoOr even exchange pull requests via e-mail, like git was originally designed for.
- mahyarm 11y agoMost git clone operations copy everything, so it's just a matter of uploading your clone to somewhere other web interface. Even that is not necessary.
- c22 11y agoGithub is a somewhat atypical implementation.
- zzalpha 11y agoJust to expand on the other comments: yup, you're missing something! :D Specifically, git is a DVCS/DSCM (distributed version control system/source code management system), which means that each "checkout" of the repository that exists is a complete clone of the original, including the full commit history and a cryptographically verifiable codebase. In this world the "master" repository is simply a convention: everyone agrees that <insert person here> has the "master". But in reality everyone's copy is a peer of every other. Sharing between repositories can be done any number of ways. Github is convenient, but originally email was the way code moved between copies. In fact, I host a number of my own private repositories over straight SSH. So Github is a useful piece in the puzzle, but fortunately it's not a single point of failure in any way.
- teacup50 11y agoThis is already the case for DRM-breaking code that is not DMCA-compliant, but you'll be hard-pressed to find a service willing to host arbitrary 3rd-party repositories via TOR.
- s73v3r 11y agoWhy? Why not create an open server to replace What'sApp, instead of considering yourself entitled to use their server.