Skip to content

Commit

Permalink
Deprecate code with GPL licenses (#251)
Browse files Browse the repository at this point in the history
Signed-off-by: David P. Chassin <david.chassin@me.com>
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
Signed-off-by: Alyona Teyber <Ivanova.alyona5@gmail.com>
Signed-off-by: Duncan Ragsdale <88173870+Thistleman@users.noreply.github.com>
Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>
Co-authored-by: Alyona Teyber <Ivanova.alyona5@gmail.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Duncan Ragsdale <88173870+Thistleman@users.noreply.github.com>
Signed-off-by: David P. Chassin <david.chassin@me.com>
  • Loading branch information
5 people committed Sep 27, 2024
1 parent f1bf719 commit bd0f93e
Show file tree
Hide file tree
Showing 44 changed files with 95 additions and 8,221 deletions.
50 changes: 28 additions & 22 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,34 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup system
run: sudo ./setup.sh --local

- name: Build gridlabd
run: sudo ./build.sh --system --parallel

- name: Install openfido
run: curl -sL https://raw.githubusercontent.com/openfido/cli/main/install.sh | sudo sh

- name: Validate system
run: sudo gridlabd -D keep_progress=TRUE -T 0 --validate -D github_actions=yes || ( sudo utilities/save_validation_errors ; false )

- name: Upload artifacts on failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: validate-result
path: |
validate.txt
validate.tar.gz
- uses: actions/checkout@v4

- name: Setup system
run: sudo ./setup.sh --local

- name: Build gridlabd
run: sudo ./build.sh --system --parallel

- name: Install openfido
run: |
test -x /usr/local/bin/python3 || sudo ln -sf $(which python3) /usr/local/bin/python3
sudo /usr/local/bin/python3 -m venv /usr/local/opt/openfido
source /usr/local/opt/openfido/bin/activate
sudo /usr/local/bin/python3 -m pip install requests pandas docker
curl -sL https://raw.githubusercontent.com/openfido/cli/main/install.sh | sudo sh
- name: Validate system
run: sudo gridlabd -D keep_progress=TRUE -T 0 --validate -D github_actions=yes || ( sudo utilities/save_validation_errors ; false )

- name: Upload artifacts on failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: validate-result
path: |
validate.txt
validate.tar.gz
7 changes: 6 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ jobs:
run: sudo ./build.sh --system --parallel

- name: Install openfido
run: curl -sL https://raw.githubusercontent.com/openfido/cli/main/install.sh | sudo sh
run: |
test -x /usr/local/bin/python3 || sudo ln -sf $(which python3) /usr/local/bin/python3
sudo /usr/local/bin/python3 -m venv /usr/local/opt/openfido
source /usr/local/opt/openfido/bin/activate
sudo /usr/local/bin/python3 -m pip install requests pandas docker
curl -sL https://raw.githubusercontent.com/openfido/cli/main/install.sh | sudo sh
- name: Validate system
run: sudo gridlabd -D keep_progress=TRUE -T 0 --validate -D github_actions=yes || ( sudo utilities/save_validation_errors ; false )
Expand Down
13 changes: 0 additions & 13 deletions COPYRIGHT
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,3 @@ Copyright (C) 2020-2022, Regents of the Leland Stanford Junior University
GridLAB-D Version 1.0-4.0
Copyright (C) 2004-2019, Battelle Memorial Institute
All Rights Reserved

This program 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.

This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
11 changes: 9 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
BSD 3-Clause License

Copyright (c) 2018, Regents of the Leland Stanford Junior University
All rights reserved.
Arras Energy Version 4.3
Copyright (C) 2023-, LF Energy

HiPAS GridLAB-D 4.1-4.2
Copyright (C) 2020-2022, Regents of the Leland Stanford Junior University

GridLAB-D Version 1.0-4.0
Copyright (C) 2004-2019, Battelle Memorial Institute
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
Loading

0 comments on commit bd0f93e

Please sign in to comment.