Skip to content

Introduce "install_logs.sh" #48

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 21 additions & 0 deletions bin/computecanada/install_logs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

cd /cvmfs/soft.computecanada.ca/easybuild/ebfiles_repo
if [[ -z $EBROOTGENTOO ]]; then
YEAR="2017"
else
YEAR="2020"
fi

names=$(for r in $(find . -iname "$1*.eb"); do echo $(basename $(dirname $r)); done | sort | uniq)
for name in $names; do
echo "To see updates and who installed $name; visit https://github.com/ComputeCanada/easybuild-easyconfigs-installed-$RSNT_ARCH/commits/main/$YEAR/$name"
done

echo "==========================================================="
for version in $(find . -iname "$1*.eb"); do
filename=$(basename $version)
name=$(basename $(dirname $version))
echo "To see updates and who installed $filename; visit https://github.com/ComputeCanada/easybuild-easyconfigs-installed-$RSNT_ARCH/commits/main/$YEAR/$name/$filename"
done
echo "==========================================================="
3 changes: 3 additions & 0 deletions bin/computecanada/who_installed.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

echo "See install_logs.sh $1 for more details online."

cd /cvmfs/soft.computecanada.ca/easybuild/ebfiles_repo

for r in $(find . -iname "$1*.eb"); do
Expand Down