I know this slightly in the legal realm but its unclear who owns the code if you put proprietary code on github or bitbucket in a private repository.
From Bitbucket we have:
By submitting public (non-private) Content to Avantlumiere for inclusion on your Website, you grant Avantlumiere a world-wide, royalty-free, and non-exclusive license to reproduce, modify, adapt and publish the Content solely for the purpose of displaying and promoting your account or repository. If a repository is marked as private, these terms do not apply.
The question of course is what terms do apply to private accounts.
In theory the code should be safe if a license header with copyright information is on every file... right?
I am not asking for legal advice and will not hold any one responsible.
From GitHub: We claim no intellectual property rights over the material you provide to the Service. Your profile and materials uploaded remain yours. However, by setting your pages to be viewed publicly, you agree to allow others to view your Content.
Bitbucket also provides a secure and reliable platform - and this screencast gives you a brief overview of these features of the Bitbucket platform, in order to help you have peace of mind about the private code that you are hoping to store and build on Bitbucket.
GitHub Free now includes unlimited private repositories. For the first time, developers can use GitHub for their private projects with up to three collaborators per repository for free.
Any opensource project (such as a public github repo) needs to declare a software license. In the case of github, failing to do so implies a default MIT license to any fork (clone), which gives away most rights except attribution.
From GitHub:
We claim no intellectual property rights over the material you provide to the Service. Your profile and materials uploaded remain yours. However, by setting your pages to be viewed publicly, you agree to allow others to view your Content. By setting your repositories to be viewed publicly, you agree to allow others to view and fork your repositories.
As noted in the BitBucket TOS you linked, BitBucket's parent company similarly has no claims to code that you upload into private repos.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With