flutter / flutter/devtools

Create consistent copyright year across the DevTools codebase

Offen
#7,884 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
hurts-developer-velocity needs discussion P3
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.