pkp / pkp-lib

The library used by PKP's applications OJS, OMP and OPS, open source software for scholarly publishing.
https://pkp.sfu.ca
GNU General Public License v3.0
307 stars 447 forks source link

Update copyrights for 2018 #3246

Closed asmecher closed 6 years ago

asmecher commented 6 years ago

Useful command lines:

find . -type f -not -iwholename '*node_modules*' -not -iwholename '*.git*' -exec sed -i -e "s/Copyright (c) \(....\)-.... John Willinsky/Copyright (c) \1-2018 John Willinsky/g" "{}" ";"
find . -type f -not -iwholename '*node_modules*'  -not -iwholename '*.git*' -exec sed -i -e "s/Copyright (c) \(....\) John Willinsky/Copyright (c) \1-2018 John Willinsky/g" "{}" ";"
find . -type f -not -iwholename '*node_modules*'  -not -iwholename '*.git*' -exec sed -i -e "s/Copyright (c) \(....\)-.... Simon Fraser University/Copyright (c) \1-2018 Simon Fraser University/g" "{}" ";"
find . -type f -not -iwholename '*node_modules*'  -not -iwholename '*.git*' -exec sed -i -e "s/Copyright (c) \(....\) Simon Fraser University/Copyright (c) \1-2018 Simon Fraser University/g" "{}" ";"
asmecher commented 6 years ago

(@NateWr in particular -- this is going to cause all kinds of rebasing, so let me know when your open PRs are more or less settled!)

NateWr commented 6 years ago

For the command lines, you might also want to exclude the node_modules directory (in app route and under lib/ui-library) since both of those will go very deep.

NateWr commented 6 years ago

All clear on my PRs if you want to go ahead with this.

asmecher commented 6 years ago

Merged! I didn't do ojs-stable-3_1_0 for now.