Skip to content
Open
Changes from 2 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
18 changes: 10 additions & 8 deletions bin/computecanada/who_installed.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/bin/bash
cd /cvmfs/soft.computecanada.ca/easybuild/ebfiles_repo

for r in $(find . -iname "$1*.eb"); do
v=$(git blame $r | awk '{print $2,$3,$4,$5}' | sort | uniq | sed -e "s/^(//g")
IFS=$'\n'
for l in $v; do
echo $r $l
done
done | sort -k4
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