diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 4642547..32a2c14 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -2,27 +2,28 @@ name: Docker Image CI on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: - build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - - name: Build the Docker image - run: docker buildx build --platform linux/amd64 -t hackclub/replit-takeout:latest . + - uses: actions/checkout@v4 + + - name: Rust Cache + uses: Swatinem/rust-cache@v2.7.3 + + - name: Build the Docker image + run: docker buildx build --platform linux/amd64 -t hackclub/replit-takeout:latest . - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Push the Docker image - run: docker push hackclub/replit-takeout:latest + - name: Push the Docker image + run: docker push hackclub/replit-takeout:latest diff --git a/.gitignore b/.gitignore index 8015ce7..2abbe3b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,7 @@ repls repls2 .DS_Store .env +kustomization.yaml +namespace.yaml +rbac.yaml +vector-agent.yaml diff --git a/Cargo.lock b/Cargo.lock index f504d7f..d4505ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2079,7 +2079,7 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "replit-takeout" -version = "1.7.5" +version = "1.7.6" dependencies = [ "airtable-api", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 4e8eb4f..3581176 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "replit-takeout" -version = "1.7.5" +version = "1.7.6" edition = "2021" authors = ["Ben Dixon "] diff --git a/templates/all_success.html b/templates/all_success.html deleted file mode 100644 index bf18b5d..0000000 --- a/templates/all_success.html +++ /dev/null @@ -1,8 +0,0 @@ -

- Hey {{ username }}, we successfully exported all {{ repl_count_total }} of - your repls. -

- -

- Here's the link to download them. -

diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 3133ed0..0000000 --- a/templates/base.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - {{ title }} - {% block head %}{% endblock %} - - - - {% block content %} -

Placeholder content

- {% endblock %} - - diff --git a/templates/greet.html b/templates/greet.html deleted file mode 100644 index ee72c40..0000000 --- a/templates/greet.html +++ /dev/null @@ -1,5 +0,0 @@ -

Heya {{ username }}!

- -

Your Replit⠕ takeout 🥡 will be with you shortly.

- -

Please stand in line while our interns pack your order 📦.

diff --git a/templates/partial_success.html b/templates/partial_success.html deleted file mode 100644 index 02ff6cc..0000000 --- a/templates/partial_success.html +++ /dev/null @@ -1,19 +0,0 @@ -

- Hey {{ username }}, we successfully exported {{ repl_count_success }} of - your {{ repl_count_total }} repls. -

- -

- Here's the link to download them. -

- -

Here are the links to the repls that Replit didn't let us download fully:

- diff --git a/templates/test.html b/templates/test.html deleted file mode 100644 index b543e3a..0000000 --- a/templates/test.html +++ /dev/null @@ -1,63 +0,0 @@ -{% extends "base.html" %} - {% block title %} Hello! {% endblock %} -{% block head %} - -{% endblock %} {% block content %} - -
- {% for y in 1..16 %} -
- {% for x in 1..10 %} {% if x > y %} -
- {% else %} -
- {% endif %} {% endfor %} -
- {% endfor %} - -{% endblock %}