Skip to content

Software licenses tracking #1011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
8d3cdf8
populating
Apr 7, 2025
81e4441
testing an idea
Apr 9, 2025
076a601
missing delimiter
Apr 9, 2025
ca1b30e
cleaned json to pass the check
Apr 9, 2025
34b9cd7
now better
Apr 9, 2025
e6986fa
testing
Apr 10, 2025
8d72472
fixes
Apr 10, 2025
c09e8d2
why is git diff failing
Apr 11, 2025
ed044c9
spell check
Apr 11, 2025
a52c3fa
first push for the extension licenses, needs refinement but good start
Apr 16, 2025
c642066
added wrong file
Apr 16, 2025
365afa8
changed license for cachecontrol
agimenog Apr 16, 2025
24b6227
adding things
Apr 16, 2025
25431fc
Merge branch 'licenses_update' of github.com:hvelab/software-layer in…
Apr 16, 2025
2793975
reviewed python licenses
agimenog Apr 17, 2025
26ef9e3
part of perl reviewed
Apr 17, 2025
163f223
Merge branch 'licenses_update' of github.com:hvelab/software-layer in…
Apr 17, 2025
0151c34
R and Perl first batch of revision
Apr 17, 2025
d06e46f
reviewed licenses
agimenog Apr 17, 2025
6cf583d
more revisions
Apr 17, 2025
ac7e2db
Merge branch 'licenses_update' of github.com:hvelab/software-layer in…
Apr 17, 2025
cf44c8d
reviewed licenses
agimenog Apr 17, 2025
d723106
last R and Perl revisioins
Apr 17, 2025
ccdd5eb
Merge branch 'licenses_update' of github.com:hvelab/software-layer in…
Apr 17, 2025
ba48dcb
r-bundle-bioconductor bundles finished
Apr 22, 2025
45fab19
extension licenses update
agimenog Apr 22, 2025
efa1887
Merge branch 'licenses_update' of https://github.com/hvelab/software-…
agimenog Apr 22, 2025
d5495d1
extension licenses update
agimenog Apr 22, 2025
a5811fd
last batch of manual reviews
May 7, 2025
4230409
actions test
May 7, 2025
b403188
another test
May 7, 2025
1ffbe5a
testing an hypothesis
May 28, 2025
668d9a6
tiny fixes
May 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/check_licenses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Check and update licenses

on:
push:
branches: [ "*-software.eessi.io" ]
pull_request:
branches: [ "*-software.eessi.io" ]
# types: [opened, synchronized]
permissions:
contents: read # we dont need to write

jobs:
license_update:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: eessi/github-action-eessi@v3

- name: If an EasyStack has been modified, create a mini EasyStack file to parse
run: |
git fetch https://github.com/${{ github.repository }} ${{ github.base_ref }}
FILES=$(git diff --name-only FETCH_HEAD HEAD | grep -E 'easystacks/.*/eessi-.*\.yml')

echo "$FILES" | while read -r FILE; do
echo "Diff for $FILE:"
git diff --unified=0 --no-color FETCH_HEAD HEAD -- "$FILE" | grep '^+' | grep -v '^+++' | cut -c2- >> new.added_lines.yml
done

- name: Parse this EasyStack
run: |
cat new.added_lines.yml
module load EasyBuild
if [ -s new.added_lines.yml ]; then
echo "Parsing the EasyStack file..."
python licenses/parse_easystack.py new.added_lines.yml
else
echo "No changes detected in the EasyStack file."
fi

Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ easyconfigs:
options:
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/22469
from-commit: fc22841fef99cbb2a221c18029b15e692e78c27c
- Scalasca-2.6.1-gompi-2023b.eb:
options:
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/21135
from-commit: 42baaa17c667c5ebde39eca004cc2c8ffb7050a1
Loading
Loading