Skip to content
Merged
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
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ LSST Shared Stack
=================

Tools for maintaining and updating a shared EUPS product stack. See the
embedded documentation in ``shared_stack.py``.
embedded documentation in ``shared_stack.bash``.
7 changes: 4 additions & 3 deletions shared_stack.bash
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
###############

# Software root directory
ROOT=/scratch/rubinsw
ROOT=/sdf/group/rubin/sw
# State directory
STATE=~/shared-stack
# Top-level products to install
Expand Down Expand Up @@ -91,8 +91,8 @@ $dryrun curl -L https://ls.st/lsstinstall -o $tmp/lsstinstall
$dryrun mv $tmp/lsstinstall lsstinstall

# Get list of tags
curl -L https://eups.lsst.codes/stack/src/tags | while read -r line; do
[[ "$line" =~ \>([dvw][0-9_]+(rc[0-9]+)?)\.list\< ]] && echo "${BASH_REMATCH[1]}"
curl -L https://eups.lsst.cloud/stack/src/tags/index.json | jq . | while read -r line; do
[[ "$line" =~ \"([dvw][0-9_]+(rc[0-9]+)?)\.list\" ]] && echo "${BASH_REMATCH[1]}"
done | sort > $tmp/tags

# For each tag not in the deleted list
Expand Down Expand Up @@ -209,6 +209,7 @@ if [ -f "$tmp/w_list" ]; then
fi
if [ -f "$tmp/d_list" ]; then
(
set +e
latest=$(head -n 1 "$tmp/d_list")
set +x
$dryrun source "$ROOT/tag/$latest/loadLSST.sh"
Expand Down