Huawei-owned copyright and license headers in the ops-ras repository need to use a consistent, auditable year expression. Legacy years, year ranges, and dynamic year placeholders should be normalized to the single year 2026.
PR #66 implements this normalization across the repository and updates the relevant copyright header generators.
Origin(信息来源)
This requirement is derived directly from PR #66 and commit b99891d049e8fe158c7cdc3ad1548e57d196143d in the cann/ops-ras repository.
No originating department or team is specified in the PR metadata.
Benefit / Necessity (价值/作用)
Establishes a consistent copyright year format for Huawei-owned files.
Prevents generated files from reintroducing legacy years, year ranges, or dynamic year placeholders.
Keeps the mechanical copyright normalization isolated from unrelated code and documentation changes.
Preserves third-party copyright years and license text.
Design(设计方案)
Normalize 460 Huawei copyright records across 455 tracked files to the single year 2026.
Update scripts/package/package.py and scripts/util/ascendc_impl_build.py so generated copyright headers consistently use 2026.
Preserve third-party copyright years, license text, documentation content, and unrelated code behavior.
Validate that all 474 Huawei copyright records contain exactly one year equal to 2026.
Confirm that the diff contains no third-party copyright changes.
Backgroud(背景信息)
Huawei-owned copyright and license headers in the
ops-rasrepository need to use a consistent, auditable year expression. Legacy years, year ranges, and dynamic year placeholders should be normalized to the single year2026.PR #66 implements this normalization across the repository and updates the relevant copyright header generators.
Origin(信息来源)
This requirement is derived directly from PR #66 and commit
b99891d049e8fe158c7cdc3ad1548e57d196143din thecann/ops-rasrepository.No originating department or team is specified in the PR metadata.
Benefit / Necessity (价值/作用)
Design(设计方案)
2026.scripts/package/package.pyandscripts/util/ascendc_impl_build.pyso generated copyright headers consistently use2026.2026.关联 PR:https://gitcode.com/cann/ops-ras/merge_requests/66