Exa
Exa2w ago

Tools to clean the codebase from proprietary and commercial code snippets

Hello, As part of the license, Windmill provide tools to remove the proprietary and commercial source code from the repository source code:
Windmill Labs, Inc. provide tools to clean the codebase from those snippets upon demand.
Where can I find those tools? Thank you.
11 Replies
rubenf
rubenf2w ago
You can just use the code source as is, there are no proprietary code in it, the proprietary code is in another repo that we merge when we build the image. However, it's still licensed as AGPLv3 so your fork will also need to be AGPLv3 and open-source. If not you will need a commercial license. actually that's not fully true, when compiling the backend, do not use the feature "enterprise" and indeed that would need to be cleaned up
Exa
Exa2w ago
As far as I can understand, there are enterprise compile-time flags everywhere in the backend. Is there a way to automatically clean the codebase? I think there are some code that don't have the flag but are only imported when this flag is set, for example.
rubenf
rubenf2w ago
We do not have the tool but it would probably not be too hard to build one What's the use-case you have for it?
Exa
Exa2w ago
I'm simply requesting the tools that are mentioned in the license. Currently I do not think an open source version of Windmill is provided in the repository. I'd like to receive a copy of Windmill source code that is AGPLv3 compliant, without additional terms.
rubenf
rubenf2w ago
Right, it's to go around the limits, like last time
Exa
Exa2w ago
Windmill is advertised as open source, but it's not possible to get a copy of the source code under an open source license (as per OSI definition). I think this is a problem.
rubenf
rubenf2w ago
Then contribute, build a tool that remove the blocks under the feature flags "enterprise" if you want a fully clean source code. You can compile windmill from source currently and have a binary that is fully licensed under AGPLv3. But just for clarity, last time you had the same request so you could go around the limits we have put in the community edition for your employer and I assume this time it's the same. for a new employer I suppose. We monitor closely for violation of AGPLv3 such as forking our open-source code without open-sourcing your own fork under the same license and you expose your employer to severe legal risks by doing so.
Exa
Exa2w ago
I am not representing my employer in this thread, I am acting as an individual. I do not plan to violate the terms of the AGPLv3 license. Currently, if I try to remove the proprietary and commercial code snippets from a copy of the source code repository, I won't be 100% sure that such code is no longer included. Only you can provide a copy of the source code that is fully AGPLv3. There are no clear boundaries between the open source version and the enterprise version of the source code.
rubenf
rubenf2w ago
It's clearly delimited, remove every code blocks that is delimited by the enterprise feature flag and you're good. It does take efforts.
Exa
Exa2w ago
some code are under a negative enterprise flag, how is it covered?
rubenf
rubenf2w ago
negative feature flag of enterprise is not enterprise so it's not proprietery/commercial