3 ms·
Nope. If the project actually uses tests for its function and it is accessible they would be required to provide the source to anyone user who requested it. M
by mattsah 14y ago
Nope. If the project actually uses tests for its function and it is accessible they would be required to provide the source to anyone user who requested it.
Much like the regular GPL, AGPL is dependent on distribution.
If you create a project that uses it to perform testing on the project, unless your testing is a function of the actual project then you wouldn't have to do anything of the sorts.
If you created a testing platform online that used it to render services, then you would, yes.
- 0x0 14y agoOh okay. I haven't really looked much into AGPL, I just assumed it was "infecting" the whole project sorta like the GPL.
- mattsah 14y agoLet me clarify, I don't think anyone's projects that are web facing actually use their testing library to perform the tasks. So for all intents and purposes their projects as they are "distributed" over a network are not linking to it even though it may exist in their source tree. The only exception to this would be if the project is actually for testing, like say an online service that tests your code. Also any private non-distributed use does not require source distribution.
- RyanZAG 14y agoWhy is it AGPL then and not GPL? This seems to just create a minefield in the strange event when some test function needs to be exposed to the public for some reason. While this probably won't occur, if it does, suddenly the whole source needs to be released. There does not seem to be any benefit to making this AGPL as it as the source release on use feature of AGPL is not intended to be used during regular usage. Change it to GPL - it makes no practical difference, yet increases potential usage of the library at no cost.
- mattsah 14y agoGPL only applies to binary software. PHP is not compiled and linked.
- RyanZAG 14y agoYou're correct... I find this completely insane though! Everything is just 0s and 1s that are transformed and ultimately can be passed through the logic gates on a CPU to do math. Whether code is compiled or interpreted has no effect on the end goal - such as an instruction to the CPU to add two numbers. Copyright is such a mess.
- 0x0 14y agoFWIW, I don't think that is correct. See comment above.
- mattsah 14y agoI tried to clarify above. What I am trying to get at is that traditionally web software is not distributed at all. That is, the software itself is never provided to the user and the user just interfaces with it externally. The point regarding binary stuff was as it applies to distributed projects because if PHP or any other interpreted language is "distributed" in a traditional sense, it is already in source code. I feel as though the confusion here is because people are looking at the initial distribution to other developers and thinking that's it. But that distribution completely allows for a developer to "link to it", modify it, and keep it behind closed doors if it is never distributed. And it isn't if it's sitting behind a web server... someone is just interfacing with it through a completely open protocol. The point of the AGPL is to say that someone who is using a program, regardless of the fact that the program itself is never being distributed to them, has a right to get the source.
- deleted 14y ago[deleted]
- 0x0 14y agoThat sounds like a very dangerous opinion to present as if it were a fact. Is it not more a matter of whether a piece of software is a "derivative" of the GPL software? Looks like even the FSF does not have a clear black&white answer to this question: http://www.gnu.org/licenses/gpl-faq.html#MereAggregation http://www.gnu.org/licenses/gpl-faq.html#MereAggregation: "if the semantics of the communication are intimate enough, exchanging complex internal data structures, that too could be a basis to consider the two parts as combined into a larger program" I remember the mysql guys used to claim that any software connecting to a mysql server would be "infected" with GPL, at least if it was written to depend on the official mysql client libraries, even if the software in question didn't actually copy a single character from any mysql distributions. (?)
- mattsah 14y agoGPL does not "infect" a whole project either. GPL only requires you distribute source if you distribute the binary. It is designed so that users maintain the right to modify software that they use. The only difference with the Aferro clause is that it considers network use of web software to be distribution and pertains to obfuscated software (i.e. server side source) even if it's not binary.
- 0x0 14y agoYeah, that's why I put it in quotes, I just assumed that if the AGPL library was included in the project, then the whole project had to abide by the AGPL.