Skip to content

Commit 9300e3e

Browse files
committed
renamed repository to Strong App Workout Sync
1 parent 3680448 commit 9300e3e

11 files changed

Lines changed: 28 additions & 28 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
run: |
8787
BASE_BRANCH="${{ github.event.pull_request.base.ref }}"
8888
git fetch origin "$BASE_BRANCH"
89-
for DIR in "strong-api-lib" "strong-api-fetch"
89+
for DIR in "strong-api-lib" "strong-sync-service"
9090
do
9191
echo "Checking $DIR"
9292
CHANGED_FILES=$(git diff --name-only origin/"$BASE_BRANCH"...HEAD -- "$DIR")

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Extract version from Cargo.toml
3636
run: |
37-
VERSION=$(grep '^version' strong-api-fetch/Cargo.toml | head -n 1 | sed -E 's/version *= *"([^"]+)".*/\1/')
37+
VERSION=$(grep '^version' strong-sync-service/Cargo.toml | head -n 1 | sed -E 's/version *= *"([^"]+)".*/\1/')
3838
echo "VERSION=$VERSION" >> $GITHUB_ENV
3939
echo "Version extracted: $VERSION"
4040
@@ -70,7 +70,7 @@ jobs:
7070

7171
- name: Extract version from Cargo.toml
7272
run: |
73-
VERSION=$(grep '^version' strong-api-fetch/Cargo.toml | head -n 1 | sed -E 's/version *= *"([^"]+)".*/\1/')
73+
VERSION=$(grep '^version' strong-sync-service/Cargo.toml | head -n 1 | sed -E 's/version *= *"([^"]+)".*/\1/')
7474
echo "VERSION=$VERSION" >> $GITHUB_ENV
7575
echo "Version extracted: $VERSION"
7676

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
resolver = "3"
33
members = [
44
"strong-api-lib",
5-
"strong-api-fetch"
5+
"strong-sync-service"
66
]
77

88
[profile.ci]

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM rust:bookworm AS builder
2-
WORKDIR /usr/src/strong-api-fetch
2+
WORKDIR /usr/src/strong-sync-service
33
COPY . .
4-
RUN cd strong-api-fetch && RUSTFLAGS="-C debuginfo=2" cargo install --path . --debug
4+
RUN cd strong-sync-service && RUSTFLAGS="-C debuginfo=2" cargo install --path . --debug
55

66
FROM debian:bookworm-slim
77
ARG VERSION=0.2.1
@@ -13,15 +13,15 @@ RUN apt-get update && apt-get install -y \
1313
curl \
1414
cron
1515

16-
WORKDIR /usr/strong-api-fetch
17-
COPY --from=builder /usr/local/cargo/bin/strong-api-fetch /usr/bin/strong-api-fetch
16+
WORKDIR /usr/strong-sync-service
17+
COPY --from=builder /usr/local/cargo/bin/strong-sync-service /usr/bin/strong-sync-service
1818
COPY .env /.env
1919
# will run the cron job every day at 18:00, 18:30, 19:00, 19:30, 20:00, and 20:30
20-
RUN echo "0,30 18-20 * * * root RUST_BACKTRACE=1 RUST_LOG=debug /usr/bin/strong-api-fetch >> /var/log/cron.log 2>&1" > /etc/cron.d/strong-api-fetch
20+
RUN echo "0,30 18-20 * * * root RUST_BACKTRACE=1 RUST_LOG=debug /usr/bin/strong-sync-service >> /var/log/cron.log 2>&1" > /etc/cron.d/strong-sync-service
2121

2222
# Ensure the cron job file has proper permissions
23-
RUN chmod 0644 /etc/cron.d/strong-api-fetch && \
24-
chmod +x /usr/bin/strong-api-fetch
23+
RUN chmod 0644 /etc/cron.d/strong-sync-service && \
24+
chmod +x /usr/bin/strong-sync-service
2525

2626
# Create the log file so that it exists when cron writes to it
2727
RUN touch /var/log/cron.log

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Strong APP Workout Fetch
1+
# Strong App Workout Sync
22

33
This is a Rust-based service to fetch workouts from the [Strong App](https://www.strong.app/) (available for [Apple](https://apps.apple.com/us/app/strong-workout-tracker-gym-log/id464254577) and [Android](https://play.google.com/store/apps/details?id=io.strongapp.strong)) and store them in a ClickHouse database.
44

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
services:
2-
strong-api-fetch:
2+
strong-sync-service:
33
image: factorion-bot:${VERSION}
4-
container_name: strong-api-fetch
4+
container_name: strong-sync-service
55
restart: unless-stopped
66
depends_on:
77
clickhouse-server:
88
condition: service_started
99
volumes:
10-
- ./:/usr/strong-api-fetch
10+
- ./:/usr/strong-sync-service
1111
networks:
1212
- service-network
1313

examples/grafana/services/php-heatmap/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Dockerfile
22
#
33
# Build and run without Docker Compose. You need a ClickHouse server running and accessible from the container.
4-
# You should use the docker compose from https://github.com/tolik518/strong-api-workout-fetch additionally to
4+
# You should use the docker compose from https://github.com/tolik518/strong-api-workout-sync additionally to
55
# have a ClickHouse server running with the workout data.
66
#
77
# docker build -t heatmap .
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "strong-api-fetch"
2+
name = "strong-sync-service"
33
version = "0.2.2"
44
edition = "2024"
55

File renamed without changes.

0 commit comments

Comments
 (0)