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

license - clarify licensing in line with Eclipse Paho standard #224

Merged
merged 5 commits into from
Jan 11, 2024
Merged

license - clarify licensing in line with Eclipse Paho standard #224

merged 5 commits into from
Jan 11, 2024

Conversation

MattBrittan
Copy link
Contributor

Previously there was a LICENSE file (EPL-V2) and a DISTRIBUTION file (EDL-1); this was not
completely clear (as pointed out in issue #223).

This PR copies the license files from paho.mqtt.golang (which follow the standard set in the
C library, with tweaks so pkg.go.dev will display the docs).
The PR also introduces copyright headers in all Go files as required by the eclipse licensing
documentation (https://www.eclipse.org/projects/tools/documentation.php?id=iot.paho).

closes #223

Users could previously access/change the ClientConfig held by `paho.Client`; this
invited race conditions (`paho.Client` could use values from the config at any
time and no locking mechanism was provided).

To avoid this, the config is now private and examples etc have been updated. A getter
for `ClientID` has been added (as this was needed in examples); I suspect additional
getters may be of benefit (but will await feedback for that).

This may break some users code (but that is probably a good thing)
Previously there was a LICENSE file (EPL-V2) and a DISTRIBUTION file (EDL-1); this was not
completely clear (as pointed out in issue #223).

This PR copies the license files from paho.mqtt.golang (which follow the standard set in the
C library, with tweaks so pkg.go.dev will display the docs).
The PR also introduces copyright headers in all Go files as required by the eclipse licensing
documentation (https://www.eclipse.org/projects/tools/documentation.php?id=iot.paho).
Previously there was a LICENSE file (EPL-V2) and a DISTRIBUTION file (EDL-1); this was not
completely clear (as pointed out in issue #223).

This PR copies the license files from paho.mqtt.golang (which follow the standard set in the
C library, with tweaks so pkg.go.dev will display the docs).
The PR also introduces copyright headers in all Go files as required by the eclipse licensing
documentation (https://www.eclipse.org/projects/tools/documentation.php?id=iot.paho).
@alsm alsm merged commit 4063955 into eclipse-paho:master Jan 11, 2024
1 check passed
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.

License clarification
2 participants