Check license obligations for custom code
Who: the project manager with a developer, and legal counsel for doubtful cases. When: at delivery and before acceptance. The rules come from Licensing questions: the GPL and Exponential.
Note This page describes features and common practice; it is not legal advice. Check your own case with your legal counsel.
Contents
Before you start
- The list of delivered extensions, designs and libraries.
- The contract's clauses on ownership and source (Intellectual property of custom work clause).
Steps
- Check you received the source of everything: PHP and templates as written, JavaScript and CSS with their unminified originals, images in their editable form (Licensing questions).
- Check the license of each extension: its
ezinfo.php,extension.xmlorcomposer.jsonstates it; the about page lists extensions with their license (About and package pages). Code that extends Exponential and is distributed to you is under the GPL version 2 or later. - Check libraries loaded into the same PHP process: they must be GPL-compatible; libraries reached only over the network are separate (Licensing questions).
- Check assets: fonts, icons and images need a license that allows your use.
- Check that nothing restricts you: no clause or license that forbids changing the code, giving it to another supplier or to another public body.
- Decide on sharing: generally useful extensions can be contributed to the project or shared with other bodies under the GPL (Contribute extensions back).
- Record the result in the acceptance file.
Result
A list of delivered components with their licenses, and confirmation that you hold the source and the rights to maintain, change and pass on the code.
Pitfalls
- Receiving only minified or obfuscated code.
- A "proprietary" extension combined in the same process with GPL code; ask counsel.
- Assuming that running a website obliges you to publish your code: it does not (Licensing questions).
Related pages
- Procurement and training tasks
- Open source and licensing requirements
- FAQ: licensing and open source
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.