chore(license): Phase B follow-on — relicense 3 scripts/ source files from Apache 2.0 to EUPL-1.2
Missed by Phase B (d600f6ed) which swept src/ headers but not scripts/ headers.
All 3 follow the Phase B precedent pattern:
- scripts/check-attack-surface.js (the inst_084 validator hook itself)
- scripts/sync-prod-audit-logs.js
- scripts/migrate-to-schema-v3.js
Two header formats encountered:
- Standard Apache 2.0 JS block header (first two files): full block swap to
EUPL-1.2 equivalent with Licence/British spelling and EC canonical URL.
- Brief JSDoc-style reference (migrate-to-schema-v3.js): short-form swap
with Licence reference + URL line.
Other scripts/ files with Apache text references NOT in scope here:
- scripts/relicense-apache-to-eupl.js (DATA: Apache patterns are search
targets for the relicense tool itself)
- scripts/fix-markdown-licences.js (DATA: Apache regex patterns for a
migration script's find-and-replace)
- scripts/migrate-licence-to-cc-by-4.js (DATA: Apache source patterns
for a different migration workflow)
- scripts/upload-document.js (DATA: Apache-2.0 is a valid SPDX tag for
uploadable documents; retained as valid metadata option)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a4db3e62ec
commit
51fd0bb6a3
3 changed files with 16 additions and 15 deletions
|
|
@ -3,17 +3,17 @@
|
|||
/*
|
||||
* Copyright 2025 John G Stroh
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed under the European Union Public Licence, Version 1.2 (EUPL-1.2);
|
||||
* you may not use this file except in compliance with the Licence.
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* You may obtain a copy of the Licence at:
|
||||
* https://interoperable-europe.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* distributed under the Licence is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* See the Licence for the specific language governing permissions and
|
||||
* limitations under the Licence.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@
|
|||
* - Adds v3.0: securityClassification
|
||||
*
|
||||
* Copyright (c) 2025 John G Stroh. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0
|
||||
* Licensed under the European Union Public Licence, Version 1.2 (EUPL-1.2)
|
||||
* https://interoperable-europe.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
||||
*/
|
||||
|
||||
const fs = require('fs');
|
||||
|
|
|
|||
|
|
@ -3,17 +3,17 @@
|
|||
/*
|
||||
* Copyright 2025 John G Stroh
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed under the European Union Public Licence, Version 1.2 (EUPL-1.2);
|
||||
* you may not use this file except in compliance with the Licence.
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* You may obtain a copy of the Licence at:
|
||||
* https://interoperable-europe.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* distributed under the Licence is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* See the Licence for the specific language governing permissions and
|
||||
* limitations under the Licence.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue