已关闭
[Requirement|需求建议]: Normalize Huawei copyright years to 2026 #4
LiuZonggu创建于  7月17日关闭于  7月20日
LiuZonggu成员
7月17日 创建

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
LLiuZonggu成员
7月17日 添加了label:requirement
LLiuZonggu成员
7月17日 将 LiuZonggu 设为负责人
CANN-robotCANN-robot成员
7月20日 关闭了 issue
CANN-robotCANN-robot成员
8月12日 添加了label:resolved