Closed
[Requirement|需求建议]: Normalize Huawei copyright years to 2026 #4
LiuZongguAdd on  Jul 17Closed at  Jul 20
LiuZongguCollaborators
Jul 17 Create

Backgroud(背景信息)

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.

关联 PR:https://gitcode.com/cann/ops-ras/merge_requests/66

likedislike
LLiuZongguCollaborators
Jul 17 Added label: requirement
LLiuZongguCollaborators
Jul 17 Assign LiuZonggu as responsible person
CANN-robotCANN-robotCollaborators
Jul 20 Close issue
CANN-robotCANN-robotCollaborators
Aug 12 Added label: resolved