diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-04-07 00:09:14 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-04-07 00:09:14 +0100 |
commit | 234d6a6e8a4f73ddea627dd4fd78dfb4a91d5a83 (patch) | |
tree | dc2e5376618ae601a4e1623d8e47cb8fc56a7583 /README-hacking.md | |
parent | b0d709745fd7228ff451a4eb8693798e12e0b1db (diff) |
Copyright notice added to all files missing one
Until now, for short files, we only had a license notice, not an actual
copyright notice. With this commit, a copyright notice has also been
added. We use this new command to find these files, suggested by
`ineiev@gnu.org'.
Diffstat (limited to 'README-hacking.md')
-rw-r--r-- | README-hacking.md | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/README-hacking.md b/README-hacking.md index ed9f153..eddac1a 100644 --- a/README-hacking.md +++ b/README-hacking.md @@ -516,18 +516,20 @@ advanced in later stages of your work. git remote add origin XXXXXXXXXX ``` - - **Copyright**, **name** and **date**: Go over the existing scripting - files and add your name and email to the copyright notice. You can - find the files by searching for the placeholder email - `your@email.address` (which you should change) with the command below - (you can ignore this file, and any in the `tex/` directory). Don't - forget to add your name after the copyright year also. When making new - files, always remember to add a similar copyright statement at the top - of the file and also ask your colleagues to do so when they edit a - file. This is very important. + - **Copyright**, **name** and **date**: All the "copyrightable" files + (those larger than 10 lines) must have a copyright statement and + license notice. As you progress with the project and modify files to + customize for your project change the copyright owner to your self + (since this template is free software, you can do this after you edit + any part of it). Also, don't forget to add similar notices to new + files you add for your own project. You can always find the files + without a copyright notice using this command: ```shell - $ grep -r your@email.address ./* + find . -type f ! -path ./.git/\* \ + | while read i; do \ + grep -qi 'copyright \((c)\|[&]copy;\|@copyright\)' $i || echo $i;\ + done ``` - **Title**, **short description** and **author** in source files: In this |