Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a few valid dependency cases #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nilshamerlinck
Copy link

disclaimer: I'm not a lawyer :)

based on Odoo's licenses:

  • LGPL-3/MIT module can depend on OEEL-1/OPL-1 module

also MIT module can depend on LGPL-3 module (but not on Apache module; removed Apache from the comment to avoid ambiguity; wasn't taken into account anyway)

- LGPL-3 module -> OEEL-1/OPL-1 module
- MIT module -> LGPL-3/OEEL-1/OPL-1 module
@sbidoul
Copy link
Member

sbidoul commented Sep 10, 2023

Thanks. Would you mind adding a news fragment (58.feature - or is it a bugfix?) and a couple of test cases to reproduce the problem this fixes?

@ng-ife
Copy link

ng-ife commented Nov 7, 2024

I addressed the issues in #74 . @sbidoul Do you mind having a look?

@sbidoul
Copy link
Member

sbidoul commented Nov 7, 2024

Thanks @ng-ife

Looking at this again, I have a concern. Imagine

  • A: AGPL
  • B: LGPL
  • C: proprietary
    With A depending on B and B depending on C.

Before this change, B depending on C will be flagged.

With this change, B can depend on C. But then A (AGPL) depends on B, which depends on a proprietary module, so that is not ok?

Or do I miss something?

@ng-ife
Copy link

ng-ife commented Nov 11, 2024

@sbidoul Thanks for your feedback.
Situation seems to be a bit tricky. (As indicated here.
Following this argumentation I would say A based on B should already be invalid.

What do you think?

@sbidoul
Copy link
Member

sbidoul commented Nov 11, 2024

Following this argumentation I would say A based on B should already be invalid.

I think AGPL can depend on LGPL, that is fine.
LGPL depending on AGPL is problematic, IMO, as it "hides" a less permissive license.

@ng-ife
Copy link

ng-ife commented Nov 11, 2024

Thanks @sbidoul for clarification. This way it really seems to be impossible to open source code that is based on proprietary software (in this case Odoo EE modules). This is to bad but I get the point. Will close #74 then.

@sbidoul
Copy link
Member

sbidoul commented Nov 11, 2024

I'm not saying I have the definitive answer :) It's a complex matter.

It might make sense to have open source that depends on proprietary, but if we allow it in manifestoo, we'll probably need a more sophisticated algorithm to detect transitive incompatibilities.

@sbidoul
Copy link
Member

sbidoul commented Nov 11, 2024

MIT module can depend on LGPL-3 module (but not on Apache

@nilshamerlinck out of curiosity, do you have a reference about MIT/Apache compatibility ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants