Skip to content

Commit

Permalink
entrypoint.sh: fix path, adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jgehrcke committed Sep 30, 2023
1 parent 6fbbfb9 commit 28e3f96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ git status --untracked=no --porcelain
# Exit code 0 when nothing added
git add ghrs-data/snapshots

git add ghrs-data/ghrs-data/stargazer-snapshots.csv || echo "failed, ignore"
git add ghrs-data/stargazer-snapshots.csv || echo "failed, ignore"

# exit code 1 upon 'nothing to commit, working tree clean'
git commit -m "ghrs: snap ${UPDATE_ID} for ${STATS_REPOSPEC}" || echo "commit failed, ignore (continue)"
Expand Down
6 changes: 3 additions & 3 deletions fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ def fetch_and_write_stargazer_ts(repo: Repository.Repository, args):

if updated_sdf is not None:
tmppath = args.stargazer_ts_snapshots_inoutpath + ".tmp" # todo: rnd string
# The idea here is to write this snapshot-based history before even
# before the 40k limit is reached to simplify testing executed for all
# repos, not just those unicorn repos).
# The idea here is to write the snapshot-based history before the 40k
# limit is reached to not have too divergent code paths between types
# of repos.
log.info(
"write cumulative/snapshot-based stargazer time series to %s, then rename to %s",
tmppath,
Expand Down

0 comments on commit 28e3f96

Please sign in to comment.