I wonder if publishing some code on github is considered a distribution.
According to this answer, it seems that it would be :
Yes, this is considered redistribution. If not what would?
Also, that answer states :
Redistribution happens whenever you make the work accessible to another party. It doesn't matter if that party is anyone who knows about your website or one specific person.
However, even if it makes perfect sense that a public repository shall be considered a form of distribution, isn't there a flaw here ?
I mean : Github has it's right to fork policy, so that would mean that any project on a public Github repository gives automatically full redistribution rights to anyone ? What if the license limits the redistribution (only allow distribution of modified software, or allow unmodified redistribution only another name) ? Then the simple action of forking the repository would be against the license, because it is not yet modified, or otherwise stated, the license would conflict with github ToS.
Would that also mean that any form of contribution through a fork-and-pull approch would be considered redistribution, and so that any contributor shall take care of fullfilling every distribution criteria of the license ?