Skip to content

Commit

Permalink
Update hardcoded home path in syncPerfGraphs.py (chapel-lang#24654)
Browse files Browse the repository at this point in the history
Update a hardcoded home path from the soon-to-be decommissioned
`/users/chapelu` to `/hpcdc/data/users/chapelu`.

The path is still hardcoded as this script is meant to be run from a
system other than the one where the path exists. We could use a `~` for
`$HOME` to be expanded on the destination system but I feel less
confident in that being portable, and not getting expanded on the source
system side.

[urgent test fix, not reviewed]
  • Loading branch information
riftEmber authored Mar 20, 2024
2 parents 1ca20ef + 3d96ee4 commit d96e852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/cron/syncPerfGraphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def syncToCrayWebhost(dirToSync, destDir, logFile, numRetries):
# Assumes correct username and authentication for iad1-shared-b8-21.dreamhost.com is
# configured for the current system.
webHost = 'chapcs11.us.cray.com'
perfBaseDir = '/users/chapelu/public_html/perf'
perfBaseDir = '/hpcdc/data/users/chapelu/public_html/perf'
perfDir = posixpath.join(perfBaseDir, destDir)

rsyncDesc = 'rsync perf graphs to internal webhost'
Expand Down

0 comments on commit d96e852

Please sign in to comment.