From 038f23c9971265f0ebb0ecfde9b12672eb034d66 Mon Sep 17 00:00:00 2001 From: Mike Lake <Mike.Lake@uts.edu.au> Date: Tue, 15 Feb 2022 10:25:34 +1100 Subject: [PATCH] Made license clearer --- LICENSE => LICENSE.txt | 0 README.md | 20 +++++++++++++++++--- check_utilisation.py | 17 ++++++++++++++++- 3 files changed, 33 insertions(+), 4 deletions(-) rename LICENSE => LICENSE.txt (100%) diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/README.md b/README.md index 72f4b9a..0b47eb7 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,20 @@ for our site at UTS. This is not included with this repo. The schema is: You will probably need to modify the code to pull such information from another source. -Mike Lake -eResearch UTS -October 2021 +## License + +HPC Utilisation 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) any later version. + +HPC Utilisation is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +Data Directory Cataloger. If not, see http://www.gnu.org/licenses/. + +Copyright 2021 Mike Lake +eResearch UTS + diff --git a/check_utilisation.py b/check_utilisation.py index 5b56dc7..540ee8e 100755 --- a/check_utilisation.py +++ b/check_utilisation.py @@ -19,7 +19,22 @@ Cannot use job key 'euser'from pbs_connect(pbs_server): You need to use 'job_owner' as a key. The attribute job['euser'] is like u999777 while j['job_owner'] is u999777@hpcnode1 where the last part is the login node name. -Author: Mike Lake +License + +HPC Utilisation 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) any later version. + +HPC Utilisation is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with Foobar. +If not, see <https://www.gnu.org/licenses/>. + +Copyright 2021 Mike Lake + Releases: 2021-04-29 First release. 2021-11-01 Use docopt arg parsing instead or argparse. Had to add a virtualenv for this. -- GitLab