-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from BristolComputing/kreczko-fixing-github-ac…
…tions build: switch to hatchling (dynamic version, better external data)
- Loading branch information
Showing
18 changed files
with
201 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
#!/bin/sh | ||
#!/bin/bash | ||
|
||
# from https://github.com/snafus/cephsum/blob/master/scripts/xrdcp-tpc.sh | ||
#Original code | ||
#/usr/bin/xrdcp --server -f $1 root://$XRDXROOTD_PROXY/$2 | ||
|
||
# Get the last two variables as SRC and DST, all others are assumed as additional arguments | ||
OTHERARGS="${@:1:$#-2}" | ||
DSTFILE="${@:$#:1}" | ||
SRCFILE="${@:$#-1:1}" | ||
# Collect all arguments except for the last two | ||
OTHERARGS=("${@:1:$#-2}") | ||
|
||
# Get the second-to-last argument | ||
DSTFILE="${*: -2:1}" | ||
|
||
/usr/bin/xrdcp $OTHERARGS --server -f $SRCFILE root://$XRDXROOTD_PROXY/$DSTFILE | ||
# Get the last argument | ||
SRCFILE="${*: -1}" | ||
|
||
# Use the arguments in the xrdcp command | ||
# Note: We use "${OTHERARGS[@]}" to correctly handle spaces in arguments | ||
/usr/bin/xrdcp "${OTHERARGS[@]}" --server -f "$SRCFILE" "root://$XRDXROOTD_PROXY/$DSTFILE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from __future__ import annotations | ||
|
||
version: str | ||
version_tuple: tuple[int, int, int] | tuple[int, int, int, str, str] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.