Skip to content

Commit

Permalink
change data directory to /usr/local/data/github/${DEFAULT_REPOSITORY_…
Browse files Browse the repository at this point in the history
…OWNER}/${DEFAULT_REPOSITORY} #29
  • Loading branch information
BradleyA committed Jul 30, 2019
1 parent ecc918c commit d05d669
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions github-repository/owner.repository
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/bin/bash
# github-repository/owner.repository 2.47.213 2019-07-30T10:16:41.350645-05:00 (CDT) https://github.com/BradleyA/Linux-admin uadmin two-rpi3b.cptx86.com 2.46-1-gecc918c
# change data directory to /usr/local/data/github/${DEFAULT_REPOSITORY_OWNER}/${DEFAULT_REPOSITORY} #29
# github-repository/owner.repository 2.46.211 2019-07-29T23:01:41.869793-05:00 (CDT) https://github.com/BradleyA/Linux-admin uadmin two-rpi3b.cptx86.com 2.45-1-gf0b02ec
# initial commit
# github-repository/BradleyA.Search-docker-registry-v2-script.1.0 2.44.208 2019-07-29T16:15:06.086978-05:00 (CDT) https://github.com/BradleyA/Linux-admin uadmin two-rpi3b.cptx86.com 2.43-4-g200539f
# complete ruffing out github command
# github-repository/BradleyA.Search-docker-registry-v2-script.1.0 2.44.208 2019-07-29T16:12:02.918649-05:00 (CDT) https://github.com/BradleyA/Linux-admin uadmin two-rpi3b.cptx86.com 2.43-4-g200539f
# complete ruffing out github command
### production standard 3.0 shellcheck
### production standard 5.1.160 Copyright
# Copyright (c) 2019 Bradley Allen
Expand All @@ -14,7 +12,7 @@ COMMAND_NAME=$(echo "${0}" | sed 's/^.*\///')
DEFAULT_REPOSITORY_OWNER=$(echo "${COMMAND_NAME}" | cut -d '.' -f 1)
DEFAULT_REPOSITORY=$(echo "${COMMAND_NAME}" | sed "s/^${DEFAULT_REPOSITORY_OWNER}\.//")
TODAY=$(date +%Y-%m-%d)
DEFAULT_DATA_DIR="/usr/local/data/github"
DEFAULT_DATA_DIR="/usr/local/data/github/${DEFAULT_REPOSITORY_OWNER}/${DEFAULT_REPOSITORY}"
###
mkdir -p ${DEFAULT_DATA_DIR}
# Get the total number of clones over the last 14 days.
Expand Down

0 comments on commit d05d669

Please sign in to comment.