web analytics

How-to chose a Software License ?

1. Find and compare software licenses

You will find the SPDX License ID according to your criteria
through this European Commission Licensing Assistant:
Stacks Image 1370

How-to set-up a License reference in your project ?

We have today a clear and easy way to handle it through SPDX ISO/IEC 5962:2021 standard.
1. Choose a licence that suit your intent, and get it’s SPDX reference.
2. Create a /LICENSES directory and put the (or each) license official file in it.
3. In each source file: put these lines in the heading of your file

-- SPDX-License-Identifier: Apache-2.0
-- SPDX-FileCopyrightText: Copyright 2020-2022 John Smith ((john.smith@myisp.com)
(Optional)
-- SPDX-Creator: Jane Doe (jane.doe@myisp.com)
-- SPDX-FileContributor: Modified by Jane Doe (jane.doe@myisp.com)
-- SPDX-FileContributor: Modified by John Wayne (john.wayne@myisp.com)
-- SPDX-Annotator: Bob Kart (bob.kart@myisp.com)
⚠️ (Change this sample where appropriate)

That’s it !

No more lengthy annoying license text cluttering your code 😎

EEC GDPR compliant