Giter Club home page Giter Club logo

Comments (8)

jwhui avatar jwhui commented on July 18, 2024 1

Copyright generally applies at the time of creation. The year clarifies when that creation occurred. Updating the copyright year generally occurs when new creative input was made.

from rs-matter.

ivmarkov avatar ivmarkov commented on July 18, 2024

@kedars ^^^

from rs-matter.

kedars avatar kedars commented on July 18, 2024

@andreilitvin are there any project-chip-wide policies that are being followed by other repos?

from rs-matter.

kedars avatar kedars commented on July 18, 2024

Copyright generally applies at the time of creation. The year clarifies when that creation occurred. Updating the copyright year generally occurs when new creative input was made.

That aligns with my understanding too.

So @ivmarkov the option to choose would be to update the year after the - whenever the particular file is updated.

from rs-matter.

ivmarkov avatar ivmarkov commented on July 18, 2024

@kedars OK just to confirm on 100%:

  • Year before - is only updated once - on file creation time
  • Year after - is updated each time the file is modified (and we hopefully don't forget that)

Right?

from rs-matter.

andy31415 avatar andy31415 commented on July 18, 2024

Let's start with: new files should have the current year (unless copied and pasted file content or rename).

Beyond that, I would like to reduce developer churn work as much as possible while still making lawyers happy. Currently I am not commenting on year changes on existing files, only remarked that if we create a new file we can add the current year.

from rs-matter.

ivmarkov avatar ivmarkov commented on July 18, 2024

Let's start with: new files should have the current year (unless copied and pasted file content or rename).

Beyond that, I would like to reduce developer churn work as much as possible while still making lawyers happy. Currently I am not commenting on year changes on existing files, only remarked that if we create a new file we can add the current year.

Here's a plan forward:

  • Don't ad-hoc change some headers (yet)
  • Do a regexp replace as follows, on everything:
    • Start year: 2022 (it is 2020 now). The earliest commit in the repo seems to be from Dec 12 2022. Or shall we just do 2023? @kedars Is it true that you guys started in 2022, or do I have it wrong and you've worked in another repo before that?
    • End year: 2024 (it is 2022 now). I think we have touched almost every file either in 2023 (when I did the no-std thing) or in 2024 anyway
  • After the change, follow what @andy31415 suggests: bump the beginning year for new files. We can also retro-actively apply this for some files that we do know popped up in 2024 - mostly in the reworked transport, as well as BTP

from rs-matter.

kedars avatar kedars commented on July 18, 2024

Here's a plan forward:

Sounds good to me

Start year: 2022 (it is 2020 now). The earliest commit in the repo seems to be from Dec 12 2022. Or shall we just do 2023? @kedars Is it true that you guys started in 2022, or do I have it wrong and you've worked in another repo before that?

Let's keep it as 2021, I was working on a personal repo since 2021. The initial commit to this repo squashed everything since then into a single commit

from rs-matter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.