Ask HN: AGPL - what do I have to give up, and to whom?
If my enterprise server application links to a library that is made available under the AGPL, and I do not pay for a license, what source code am I responsible for making available, and to whom?
In my head I am seeing two extreme interpretations:
A. It covers literally every single line of source code my company owns - even if it never touches code that goes anywhere near the library.
B. Only the code actually calling the library needs to be released.
Option A seems arbitrary and extreme, and seems to exist only as a punitive measure to get me to buy a license. It also seems difficult to comply with, as it could potentially cover one-off database scripts that DBAs used to import or maintain some data, which I may not even be aware of the existence of, but may put us in violation of the AGPL.
Option B could be implemented in a way that would be totally unfair to the spirit of the license - i.e., write a simple utility class that does nothing but wrap the library calls and then claim we only need to release that utility class.
Also, to whom must the source be made available? If the company is a B2B operation, does it only need to be made available to the customers, or to their end-users as well?