Closed Bug 1013596 Opened 8 years ago Closed 5 years ago

Fix copyright for NFC-related files

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kamituel, Assigned: kamituel)

References

Details

We need to fix copyright info on NFC-related files (i.e. NDEFUtils, HandoverManager, NfcManager etc.), both for modules and tests.
Quick scan indicates that DT copyright signature is present in the following files:

apps/settings/js/nfc.js
apps/system/js/ndef_utils.js
apps/system/js/nfc_handover_manager.js
apps/system/js/nfc_manager.js
shared/js/nfc_utils.js

In addition to that, copyright should be present (?) in the following:

apps/system/test/unit/nfc_handover_manager_test.js
apps/system/test/unit/nfc_manager_test.js
apps/system/test/unit/ndef_utils_test.js
apps/system/test/unit/system_nfc_connect_dialog.js
apps/system/test/unit/system_nfc_connect_dialog_test.js
apps/system/test/unit/mock_system_nfc_connect_dialog.js

Did I miss something? Or maybe this list is to broad?
Based on CC's copyright tool, we should use this (or very similar text) to make clear that all the application facing shared library code and tests to be Creative Commons Public Domain (similar to the NFC DOM marionette test cases).

For the shared NFC Utils intended for application use, the Creative Commons tool returned:
/**
 * Public Domain Mark 1.0
 *
 * This work (NFCUtils), identified by Deutsche Telekom, Inc., is free of known copyright restrictions.
 * For more copyright information, please visit: http://creativecommons.org/publicdomain/mark/1.0/
 */

Note: this doesn't include the normal system files (the first list you have there), which should stay the same (DT) and also inherit the usual default Mozilla Gaia copyright and license statement(s).
I came up with this newer list for code and tests that should be pushed to CC public domain based on gitk/log history, file creator, per file:

Shared Code:
shared/js/nfc_utils.js

Gaia Tests:
apps/system/test/unit/mock_system_nfc_connect_dialog.js
apps/system/test/unit/ndef_utils_test.js
apps/system/test/unit/nfc_handover_manager_test.js
apps/system/test/unit/nfc_manager_test.js
apps/system/test/unit/nfc_utils_test.js
apps/system/test/unit/system_nfc_connect_dialog_test.js

geck/dom/nfc/tests/marionette, I assume we just leave off even DT here, and plug in nothing for the originator for the default case but explicitly Public Domain.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.