Skip to content

Commit

Permalink
Doc: Update License Notice (ECP-WarpX#4171)
Browse files Browse the repository at this point in the history
- We do not need to cover year ranges (just the starting range).
- Update to exact wording of current notice texts.
  • Loading branch information
ax3l authored Aug 9, 2023
1 parent 5313c5d commit cbe63b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
WarpX v23.08 Copyright (c) 2018-2023, The Regents of the University of California, through Lawrence Berkeley National Laboratory, and Lawrence Livermore National Security, LLC, for the operation of Lawrence Livermore National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
WarpX Copyright (c) 2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory, and Lawrence Livermore National Security, LLC, for the operation of Lawrence Livermore National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.


Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ To contact the developers, feel free to open an issue on this repo, or visit our

Our workflow is described in [CONTRIBUTING.rst](CONTRIBUTING.rst).

## License
## Copyright Notice

WarpX Copyright (c) 2018-2023, The Regents of the University of California,
WarpX Copyright (c) 2018, The Regents of the University of California,
through Lawrence Berkeley National Laboratory (subject to receipt of any
required approvals from the U.S. Dept. of Energy). All rights reserved.

Expand All @@ -64,4 +64,5 @@ Software to reproduce, distribute copies to the public, prepare derivative
works, and perform publicly and display publicly, and to permit other to do
so.

License for WarpX can be found at [LICENSE.txt](LICENSE.txt).
Please see the full license agreement in [LICENSE.txt](LICENSE.txt).
The SPDX license identifier is `BSD-3-Clause-LBNL`.
14 changes: 0 additions & 14 deletions Tools/Release/newVersion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,20 +125,6 @@ sed -i "s/"\
"release = u'${VERSION_STR}'/g" \
${REPO_DIR}/Docs/source/conf.py

# LICENSE
# LICENSE.txt: WarpX vYY.MM Copyright (c) 20YY, The Regents of ...
sed -i -E "s/"\
"(WarpX v)(.*)([[:blank:]]+Copyright \(c\) 2018-)(.*)(, The Regents of.*)/"\
"\1${VERSION_STR_NOSUFFIX}\3$(date +%Y)\5/g" \
${REPO_DIR}/LICENSE.txt

# README.md
# README.md: WarpX Copyright (c) 2018-2021, The Regents of ...
sed -i -E "s/"\
"(WarpX Copyright \(c\) 2018-)(.*)(, The Regents of.*)/"\
"\1$(date +%Y)\3/g" \
${REPO_DIR}/README.md


# Epilog ######################################################################

Expand Down

0 comments on commit cbe63b6

Please sign in to comment.