flutter / flutter/devtools

Create consistent copyright year across the DevTools codebase

未关闭
#7,884 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
hurts-developer-velocity needs discussion P3
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

Other codebases in Flutter use a consistent year in copyright headers on all source files. Some examples:

**flutter/flutter** - 2014 is the year
```
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
```

**flutter/packages** - 2013 is the year
```
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
```

We regularly have code review comments on PRs for the DevTools codebase to modify the copyright year to the current year or to revert a copyright year change for a moved file, and this causes excess churn on PRs and productivity loss. If we had a consistent year across the codebase, there would no longer be any debate, confusion, or errors on setting up a copyright header for a new file.

贡献指南

打开贡献指南

调研方向

在 DevTools 代码库中搜索版权标头,并比较源文件中使用的年份。按照 issue 中的描述选择并应用一个统一的年份,然后验证相关源文件中不再包含相互冲突的版权年份。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
tooling
Issue 类型
重构
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。