I start with a working GPL project. I wholesale gut out modules and rewrite them from scratch. Sometimes my rewrite would combine a few modules into one module. Other times my rewrite would subdivide a module into a few more modules. So I don't even preserve the modular structure. I'd do this until nothing remains of the GPL code. As I go I'd be modifying the interfaces a bit as well, so even interfaces between modules would be unrecognizable from the original.

See the strategy. I'm just using the GPL project as a test harness as I insert my rewrites. It would be kind of a dwindling test harness. In this case, where there would be no GPL code left in my project, do I have any obligations under GPL?

I found this FAQ, but it is about making mods not replacing all code.

  • 5
    Does this answer your question? Theseus' Paradox applied to code copyright - while the question mentions the Apache License, the actual license is irrelevant. Apr 5, 2022 at 17:54
  • Should I close this as a duplicate now that you found that?
    – Joe C
    Apr 5, 2022 at 19:27
  • 2
    If you feel it answers your question, then yes please. If you think your question is different, then please edit it to explain what the difference is - thanks! Apr 5, 2022 at 19:28
  • I'd be inclined to close it as a duplicate of this question, not because there's anything great about my answer, but because it gathers together a number of questions here that address the same issue.
    – MadHatter
    Apr 5, 2022 at 19:53
  • @MadHatter I'd almost be thinking we should mark one of those two questions as a duplicate of the other and we can then have one canonical question for this. Apr 5, 2022 at 22:19


Browse other questions tagged or ask your own question.