-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed image fetching in search * Better update system * Removed fresh partials Since Fresh partials are doing funny stuff to the theme color changing, they have been removed. Will have to revisit a new way of thinking how theme colors should be changed so that it doesn't interfere with fresh partials. * Version bump * YOLO * Updated home * More fixes * Updated database * Added navbar text * Added update apps github workflow Updated authorLink to authorUrl Update apps in preview mode only executes when CHECK_APPS is set * Fixed workflow * Add workflow_dispatch event to update workflow * Hook up update script to workflow * Updated life counter * Updated workflow file * Update backgammon * Updated apps * Updated workflow * Added author link * Updated Permissions * Removed author link * Added update script * Removed author url * Updated check updates * Removed author url * Updated check updates * Updated life counter * Updated check updates again * Fixed typo * Updated docs and more * Updated branch * Version bump * Removed RecNet * Test app deletion * Another Test app deletion and creation * Updated script to actually delete remove apps * Updated check update script * Check update script * Updated script to check for updates in all files * Test updates * Deleted an app * Testing app creation * Testing app update * App update * Updated preview to update less often
- Loading branch information
1 parent
e805982
commit 347253f
Showing
34 changed files
with
180 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Update Apps in Preview | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 1 * *' | ||
push: | ||
paths: | ||
- 'apps/**' | ||
branches: | ||
- preview | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update_apps: | ||
runs-on: ubuntu-latest | ||
environment: Preview | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Install Deno | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v1.x | ||
|
||
- name: Get changed files | ||
id: get_changed_files | ||
run: echo "files=$(git diff --name-only HEAD^ | awk -F '/' '{print $NF}' | sed 's/\.json$//' | tr '\n' ' ')" >> $GITHUB_OUTPUT | ||
if: ${{ github.event_name == 'push' }} | ||
|
||
- name: Update Apps | ||
run: deno task update:apps ${{ steps.get_changed_files.outputs.files }} | ||
env: | ||
DENO_KV_ACCESS_TOKEN: ${{ secrets.DENO_KV_ACCESS_TOKEN }} | ||
DENO_KV_PATH: ${{ secrets.DENO_KV_PATH }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Update Apps | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
push: | ||
paths: | ||
- 'apps/**' | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update_apps: | ||
runs-on: ubuntu-latest | ||
environment: Production | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Install Deno | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v1.x | ||
|
||
- name: Get changed files | ||
id: get_changed_files | ||
run: echo "files=$(git diff --name-only HEAD^ | awk -F '/' '{print $NF}' | sed 's/\.json$//' | tr '\n' ' ')" >> $GITHUB_OUTPUT | ||
if: ${{ github.event_name == 'push' }} | ||
|
||
- name: Update Apps | ||
run: deno task update:apps ${{ steps.get_changed_files.outputs.files }} | ||
env: | ||
DENO_KV_ACCESS_TOKEN: ${{ secrets.DENO_KV_ACCESS_TOKEN }} | ||
DENO_KV_PATH: ${{ secrets.DENO_KV_PATH }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
# How updates work | ||
|
||
Paquet fetches your app's details every 12 hours at 00:00 UTC. | ||
This is called a **update cycle**. To save on resources, | ||
we check for changes to your app's specification and app's manifest. | ||
This is called an **update cycle**. | ||
|
||
## When does it update? | ||
During an update cycle, Paquet will fetch your app's manifest file and compare it with the existing data. | ||
If there are any changes, Paquet will update your app's details in the database. | ||
|
||
Your app listing will update whenever the manifest's content changes | ||
or when the **version number** has been increased in the [app specification](/docs/app-spec.md). | ||
Other changes from the app specification will not trigger the update cycle to update your app. | ||
|
||
> In the future we will also check if the filename has changed | ||
Apps are forcefully updated whenever there are changes to the app specification. | ||
This means that if you update your app's specification, Paquet will update your app's details in the database immediately. |
Oops, something went wrong.