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

[Feature Request] Support of multiple licenses per file #6933

Open
2 tasks done
wwmayer opened this issue May 29, 2022 · 9 comments
Open
2 tasks done

[Feature Request] Support of multiple licenses per file #6933

wwmayer opened this issue May 29, 2022 · 9 comments
Labels
Feature FR for improvements or new features Good first issue Suitable issues for potential first-time contributors

Comments

@wwmayer
Copy link
Contributor

wwmayer commented May 29, 2022

Is there an existing request for this?

  • I have searched the existing requests

Forums discussion

https://forum.freecadweb.org/viewtopic.php?f=13&t=69030

Subproject(s) affected?

No response

Idea description

Sometimes people want to share a project file not only under a single license but multiple licenses. At the moment this is not possible and there is only the workaround to use the comment field of a document.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@wwmayer
Copy link
Contributor Author

wwmayer commented May 29, 2022

Suggestion: add a property AdditionalLicenses of type PropertyMap and extend the class DlgProjectInformationImp accordingly.

@luzpaz luzpaz added Feature FR for improvements or new features Good first issue Suitable issues for potential first-time contributors labels May 29, 2022
@AdarshRawat1
Copy link

Can I work on this feature?

@wwmayer
Copy link
Contributor Author

wwmayer commented Mar 18, 2023

Sure.

In order to be backward compatible I recommend to add a new property of type App::PropertyStringList. The name of the property can be AdditionalLicences, FurtherLicenses, MultiLicense, ... or something like that and will be filled if more than one license is used.

The currently used property License must not be changed or removed as otherwise older FreeCAD versions won't be able to show the correct license of files created with a newer version.

Then DlgProjectInformationImp should be extended to conveniently set additional licenses

@gauriimaheshwarii
Copy link

@wwmayer Which file should be modified to add the feature?

@wwmayer
Copy link
Contributor Author

wwmayer commented Mar 18, 2023

src/App/Document.cpp and .h

@yorikvanhavre
Copy link
Member

Can I ask in what kind of scenario would someone want multiple license per file?

@wwmayer
Copy link
Contributor Author

wwmayer commented Mar 22, 2023

The request came from the German sub-forum. The issue is that some OSS licenses are not compatible with each other and then it might be helpful to have a file dual-licensed.

@hashoak
Copy link

hashoak commented Jun 10, 2023

I'm currently working on the issue. Should I also design the UI part? or just the backend part is sufficient?

@luzpaz
Copy link
Contributor

luzpaz commented Oct 1, 2023

ping @hashoak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature FR for improvements or new features Good first issue Suitable issues for potential first-time contributors
Projects
None yet
Development

No branches or pull requests

6 participants