aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-04-07 00:09:14 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-04-07 00:09:14 +0100
commit234d6a6e8a4f73ddea627dd4fd78dfb4a91d5a83 (patch)
treedc2e5376618ae601a4e1623d8e47cb8fc56a7583
parentb0d709745fd7228ff451a4eb8693798e12e0b1db (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'.
-rw-r--r--.dir-locals.el2
-rw-r--r--.gitignore2
-rw-r--r--README-hacking.md22
-rw-r--r--README.md9
-rw-r--r--reproduce/config/gnuastro/astbuildprog.conf2
-rw-r--r--reproduce/config/gnuastro/astconvertt.conf2
-rw-r--r--reproduce/config/gnuastro/aststatistics.conf2
-rw-r--r--reproduce/config/gnuastro/gnuastro.conf2
-rw-r--r--reproduce/config/pipeline/INPUTS.mk2
-rw-r--r--reproduce/config/pipeline/LOCAL.mk.in2
-rw-r--r--reproduce/config/pipeline/dependency-numpy-scipy.cfg2
-rw-r--r--reproduce/config/pipeline/dependency-texlive.mk2
-rw-r--r--reproduce/config/pipeline/pdf-build.mk2
-rw-r--r--reproduce/config/pipeline/texlive.conf2
-rw-r--r--reproduce/src/bash/git-post-checkout2
-rw-r--r--reproduce/src/bash/git-pre-commit2
16 files changed, 46 insertions, 13 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 3ffb548..20d5a6e 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -9,6 +9,8 @@
;;
;; For more information see (info "(emacs) Directory Variables")
;;
+;; Copyright (C) 2018-2019 Mohammad Akhlaghi.
+;;
;; Copying and distribution of this file, with or without modification,
;; are permitted in any medium without royalty provided the copyright
;; notice and this notice are preserved. This file is offered as-is,
diff --git a/.gitignore b/.gitignore
index 2808dc1..c612cc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,8 @@
# To help readability, please add new files based on the length of the
# line you wish to add.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
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
diff --git a/README.md b/README.md
index 8bd75ae..bd4dab0 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-Copyright (C) 2018-2019 Mohammad Akhlaghi.
-See the end of the file for license conditions.
-
Reproduction pipeline for paper XXXXXXX
=======================================
+Copyright (C) 2018-2019 Mohammad Akhlaghi.
+See the end of the file for license conditions.
+
This is the reproduction pipeline for the paper titled "**XXXXXX**", by
XXXXXXXX et al. (**IN PREPARATION**). To learn more about the purpose,
principles and technicalities of this reproducible paper, please see
@@ -91,6 +91,9 @@ Copyright information
This file is part of the reproducible paper template
https://gitlab.com/makhlaghi/reproducible-paper
+Copyright (C) 2018-2019 Mohammad Akhlaghi.
+See the end of the file for license conditions.
+
This template is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
diff --git a/reproduce/config/gnuastro/astbuildprog.conf b/reproduce/config/gnuastro/astbuildprog.conf
index a6da3c4..6feb1ac 100644
--- a/reproduce/config/gnuastro/astbuildprog.conf
+++ b/reproduce/config/gnuastro/astbuildprog.conf
@@ -2,6 +2,8 @@
# along with the rest of Gnuastro. So we'll set any specific configuration
# we want here, then import those.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/config/gnuastro/astconvertt.conf b/reproduce/config/gnuastro/astconvertt.conf
index fc3ba04..6558edd 100644
--- a/reproduce/config/gnuastro/astconvertt.conf
+++ b/reproduce/config/gnuastro/astconvertt.conf
@@ -12,6 +12,8 @@
# $ info astconvertt # All options and input/output.
# $ info gnuastro "Configuration files" # How to use configuration files.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/config/gnuastro/aststatistics.conf b/reproduce/config/gnuastro/aststatistics.conf
index 0bf3b83..3ace941 100644
--- a/reproduce/config/gnuastro/aststatistics.conf
+++ b/reproduce/config/gnuastro/aststatistics.conf
@@ -12,6 +12,8 @@
# $ info aststatistics # All options and input/output.
# $ info gnuastro "Configuration files" # How to use configuration files.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/config/gnuastro/gnuastro.conf b/reproduce/config/gnuastro/gnuastro.conf
index 20ba4a9..3d53e06 100644
--- a/reproduce/config/gnuastro/gnuastro.conf
+++ b/reproduce/config/gnuastro/gnuastro.conf
@@ -10,6 +10,8 @@
# pipeline is taken from the default Gnuastro configuration from its
# source (`bin/gnuastro.conf').
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/config/pipeline/INPUTS.mk b/reproduce/config/pipeline/INPUTS.mk
index 6d08d9f..7f5a4c1 100644
--- a/reproduce/config/pipeline/INPUTS.mk
+++ b/reproduce/config/pipeline/INPUTS.mk
@@ -2,6 +2,8 @@
#
# This file is read by the configure script and running Makefiles.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/config/pipeline/LOCAL.mk.in b/reproduce/config/pipeline/LOCAL.mk.in
index 00b907a..b986520 100644
--- a/reproduce/config/pipeline/LOCAL.mk.in
+++ b/reproduce/config/pipeline/LOCAL.mk.in
@@ -3,6 +3,8 @@
# This is just a template for the `./configure' script to fill in. Please
# don't make any change to this file.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/config/pipeline/dependency-numpy-scipy.cfg b/reproduce/config/pipeline/dependency-numpy-scipy.cfg
index 642e061..d250b5b 100644
--- a/reproduce/config/pipeline/dependency-numpy-scipy.cfg
+++ b/reproduce/config/pipeline/dependency-numpy-scipy.cfg
@@ -7,6 +7,8 @@
# appropriate sections. Not all packages will use all sections so you
# should leave out sections that your package does not use.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/config/pipeline/dependency-texlive.mk b/reproduce/config/pipeline/dependency-texlive.mk
index 71c0648..0e3b4ff 100644
--- a/reproduce/config/pipeline/dependency-texlive.mk
+++ b/reproduce/config/pipeline/dependency-texlive.mk
@@ -4,6 +4,8 @@
# name to this variable (you can check in `ctan.org' to find the official
# name).
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/config/pipeline/pdf-build.mk b/reproduce/config/pipeline/pdf-build.mk
index ee421ab..ccf9f64 100644
--- a/reproduce/config/pipeline/pdf-build.mk
+++ b/reproduce/config/pipeline/pdf-build.mk
@@ -12,6 +12,8 @@
# LaTeX. Otherwise, a notice will just printed that for now, no PDF will be
# created.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/config/pipeline/texlive.conf b/reproduce/config/pipeline/texlive.conf
index 1f515c1..0010c70 100644
--- a/reproduce/config/pipeline/texlive.conf
+++ b/reproduce/config/pipeline/texlive.conf
@@ -3,6 +3,8 @@
# installdir: Install directory
# topdir: Top pipeline directory
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any
diff --git a/reproduce/src/bash/git-post-checkout b/reproduce/src/bash/git-post-checkout
index a56c21f..12fbc9c 100644
--- a/reproduce/src/bash/git-post-checkout
+++ b/reproduce/src/bash/git-post-checkout
@@ -3,6 +3,8 @@
# The example hook script to store the metadata information of version
# controlled files (with each commit) using the `metastore' program.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# This script is taken from the `examples/hooks/pre-commit' file of the
# `metastore' package (installed within the pipeline, with an MIT license
# for copyright). We have just changed the name of the `MSFILE' and also
diff --git a/reproduce/src/bash/git-pre-commit b/reproduce/src/bash/git-pre-commit
index cd06c25..424df04 100644
--- a/reproduce/src/bash/git-pre-commit
+++ b/reproduce/src/bash/git-pre-commit
@@ -3,6 +3,8 @@
# The example hook script to store the metadata information of version
# controlled files (with each commit) using the `metastore' program.
#
+# Copyright (C) 2018-2019 Mohammad Akhlaghi.
+#
# This script is taken from the `examples/hooks/pre-commit' file of the
# `metastore' package (installed within the pipeline, with an MIT license
# for copyright). We have just changed the name of the `MSFILE' and also