diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 16591890d..1879eef11 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,3 +1,5 @@ + + # Plugin Name Please include a summary of what the plugin does. @@ -28,12 +30,12 @@ If this is an update, please include a summary of what changes you made. - **Yes/No**: I am using a tool or software from a 3rd party FOSS project that does not have it's dependencies [statically linked](https://en.wikipedia.org/wiki/Static_library). - **Yes/No**: I am using a custom binary that has all of it's dependencies statically linked. - + ## Testing -- [ ] Tested on SteamOS Stable Update Channel. - -- [ ] Tested on SteamOS Beta Update Channel. - + +- [ ] Tested on SteamOS Stable/Beta Update Channel. + + - [ ] Tested on SteamOS Preview Update Channel. diff --git a/.github/workflows/build-plugins.yml b/.github/workflows/build-plugins.yml index 86a84e20e..1fec8bf5f 100644 --- a/.github/workflows/build-plugins.yml +++ b/.github/workflows/build-plugins.yml @@ -20,13 +20,23 @@ on: force_revision: type: boolean description: Force a revision for for a plugin upload (used to fix issues caused by CI.) + force_pnpm: + type: choice + description: Forces an update to pnpm lockfile version and or Decky Frontend Library. This is only to be used in "oh shit" situations. Otherwise defer to the plugin developer so that they can submit a fix/update. + default: 'none' + options: + - none + - pnpm + - dfl + - pnpm-dfl + test_build: type: boolean description: Build pre-selected list of plugins for testing. They will not be uploaded. env: - still_upload: ${{ inputs.upload }} revision_force: ${{ inputs.force_revision }} + pnpm_force: ${{ inputs.force_pnpm }} testing: ${{ inputs.test_build }} testing_plugins: "Bluetooth ControllerTools SDH-AudioLoader SDH-CssLoader moondeck memory-deck Fantastic" @@ -257,6 +267,21 @@ jobs: mv $tmp $PACKAGE_FILE echo "::endgroup::" + + - uses: pnpm/action-setup@v2 + with: + version: 8 + - name: Force update pnpm lockfile and/or DFL + if: ${{ env.pnpm_force != 'none' }} + run: | + if [[ "${{ env.pnpm_force }}" == "pnpm" ]]; then + $(which pnpm) -C plugins/$plugin install --lockfile-only + elif [[ "${{ env.pnpm_force }}" == "dfl" ]]; then + $(which pnpm) -C plugins/$plugin update --latest decky-frontend-lib + elif [[ "${{ env.pnpm_force }}" == "pnpm-dfl" ]]; then + $(which pnpm) -C plugins/$plugin install --lockfile-only + $(which pnpm) -C plugins/$plugin update --latest decky-frontend-lib + fi - name: Download Decky CLI run: | @@ -331,12 +356,26 @@ jobs: -F "image=$PLUGIN_IMAGE" \ -F "file=@$artifact" ${STORE_URL}/__submit } + + # Temporarily upload to both the old and new store, for benchmarking purposes + upload_plugin_pilot_store () { + curl -X POST \ + -H "Authorization: ${SUBMIT_AUTH_KEY}" \ + -F "name=$PLUGIN_NAME" \ + -F "author=$PLUGIN_AUTHOR" \ + -F "description=$PLUGIN_DESCRIPTION" \ + -F "tags=$PLUGIN_TAGS" \ + -F "version_name=$PLUGIN_VERSION" \ + -F "image=$PLUGIN_IMAGE" \ + -F "file=@$artifact" https://pilot.decky.xyz/__submit + } shouldUpload=$(query_plugin_json '.publish | any(.tags[] == "dnu"; .) | not') if [[ "$shouldUpload" == "true" ]]; then echo "::notice::Uploading" upload_response=$(upload_plugin) + upload_plugin_pilot_store if [[ "$upload_response" =~ "Version already exists" ]]; then echo "::warning title=Could not upload $plugin::Version of plugin being pushed already exists, moving to next plugin." elif [[ "$upload_response" =~ "INVALID AUTH KEY" ]]; then diff --git a/.gitmodules b/.gitmodules index 9a67ad610..de29b4011 100644 --- a/.gitmodules +++ b/.gitmodules @@ -121,12 +121,12 @@ [submodule "plugins/SDH-GameThemeMusic"] path = plugins/SDH-GameThemeMusic url = git@github.com:OMGDuke/SDH-GameThemeMusic.git -[submodule "plugins/Shotty"] - path = plugins/Shotty - url = https://github.com/safijari/Shotty [submodule "plugins/decky-dictation"] path = plugins/decky-dictation url = git@github.com:cboiangiu/decky-dictation.git +[submodule "plugins/decky-bookmarks"] + path = plugins/decky-bookmarks + url = https://codeberg.org/bleonard252/decky-bookmarks.git [submodule "plugins/MicroSDeck"] path = plugins/MicroSDeck url = https://github.com/CEbbinghaus/MicroSDeck diff --git a/plugins/Bluetooth b/plugins/Bluetooth index b06ca54dc..4d4bb10e0 160000 --- a/plugins/Bluetooth +++ b/plugins/Bluetooth @@ -1 +1 @@ -Subproject commit b06ca54dc02a015b2620ac1b969c1eddc7e92c94 +Subproject commit 4d4bb10e0056119bb2af0e8f960720a3a0ddc13b diff --git a/plugins/Emuchievements b/plugins/Emuchievements index 473fe2c46..d3fc8a836 160000 --- a/plugins/Emuchievements +++ b/plugins/Emuchievements @@ -1 +1 @@ -Subproject commit 473fe2c46f74a695d53023beff03e379965a6cf8 +Subproject commit d3fc8a8360f11e71d2a36b3a57d2e452182d8809 diff --git a/plugins/MetaDeck b/plugins/MetaDeck index 670cca326..878cacaf9 160000 --- a/plugins/MetaDeck +++ b/plugins/MetaDeck @@ -1 +1 @@ -Subproject commit 670cca326faed8e3cfa276457bcd8919cde83e00 +Subproject commit 878cacaf9746146b854aea416e886173d74b3b3c diff --git a/plugins/PowerTools b/plugins/PowerTools index 3eea54d80..a8f901ba0 160000 --- a/plugins/PowerTools +++ b/plugins/PowerTools @@ -1 +1 @@ -Subproject commit 3eea54d80df1a523e1de788b22dd70fcea23f971 +Subproject commit a8f901ba0fb39c3bcede61ba0cee1b6bbfdbdf04 diff --git a/plugins/SDH-CssLoader b/plugins/SDH-CssLoader index 000f9950d..4707b7748 160000 --- a/plugins/SDH-CssLoader +++ b/plugins/SDH-CssLoader @@ -1 +1 @@ -Subproject commit 000f9950d05561167bf1bffae116a0b244a442b5 +Subproject commit 4707b774818ad36639c67525545747984f789e3f diff --git a/plugins/SDH-GameThemeMusic b/plugins/SDH-GameThemeMusic index c7ea5d102..35313e9d4 160000 --- a/plugins/SDH-GameThemeMusic +++ b/plugins/SDH-GameThemeMusic @@ -1 +1 @@ -Subproject commit c7ea5d102c8ff88b1973529ab888d245d92b551b +Subproject commit 35313e9d4614677e6c7a069f05e451346c330857 diff --git a/plugins/Shotty b/plugins/Shotty deleted file mode 160000 index ff77df1e2..000000000 --- a/plugins/Shotty +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ff77df1e25e5c379de5b797a7b6dd725aa93a9bc diff --git a/plugins/bash-shortcuts b/plugins/bash-shortcuts index aef84bfbd..b1837cd0d 160000 --- a/plugins/bash-shortcuts +++ b/plugins/bash-shortcuts @@ -1 +1 @@ -Subproject commit aef84bfbdd030017a51096758a28568c2500eadb +Subproject commit b1837cd0d50b6fb3254a261c715b7d9108a504fa diff --git a/plugins/deckfaqs b/plugins/deckfaqs index d66a0d329..819295ffb 160000 --- a/plugins/deckfaqs +++ b/plugins/deckfaqs @@ -1 +1 @@ -Subproject commit d66a0d329fb9f77c5a6798788b82206529efcf3b +Subproject commit 819295ffb7e416bb53f471c8be5964ef733b833a diff --git a/plugins/decky-autoflatpaks b/plugins/decky-autoflatpaks index 982a2f007..55680999c 160000 --- a/plugins/decky-autoflatpaks +++ b/plugins/decky-autoflatpaks @@ -1 +1 @@ -Subproject commit 982a2f0076c4ca2cfc0bcae0b096358105d3bdec +Subproject commit 55680999cc1633b32b4f0596618e8090681ae0e8 diff --git a/plugins/decky-autosuspend b/plugins/decky-autosuspend index 063fc4145..ea68e7483 160000 --- a/plugins/decky-autosuspend +++ b/plugins/decky-autosuspend @@ -1 +1 @@ -Subproject commit 063fc4145ae5773fae115d9f104a92a4ff0f96bb +Subproject commit ea68e7483b268cd9676de0e76c59c5c3393a8d7a diff --git a/plugins/decky-bookmarks b/plugins/decky-bookmarks new file mode 160000 index 000000000..5e58773e6 --- /dev/null +++ b/plugins/decky-bookmarks @@ -0,0 +1 @@ +Subproject commit 5e58773e67e4aea78c44eac15028f0bf437206ec diff --git a/plugins/decky-dictation b/plugins/decky-dictation index e99d8f40e..b1106e507 160000 --- a/plugins/decky-dictation +++ b/plugins/decky-dictation @@ -1 +1 @@ -Subproject commit e99d8f40ef71707bb656c248d1db133ae07d99d5 +Subproject commit b1106e5079405ff012667c34990fb77006848be2 diff --git a/plugins/decky-steamgriddb b/plugins/decky-steamgriddb index 1fd8032e5..d1984a498 160000 --- a/plugins/decky-steamgriddb +++ b/plugins/decky-steamgriddb @@ -1 +1 @@ -Subproject commit 1fd8032e5da54f47282e01a55e71bc9fb42a008e +Subproject commit d1984a498b87f84e2c86564323a0d49d19c3f164 diff --git a/plugins/decky-storage-cleaner b/plugins/decky-storage-cleaner index 2819246c6..3515a3a13 160000 --- a/plugins/decky-storage-cleaner +++ b/plugins/decky-storage-cleaner @@ -1 +1 @@ -Subproject commit 2819246c67ff041264f6a1e6a1afec10e23c3147 +Subproject commit 3515a3a13afd17f6f3bc3213f244cfb963c49b45 diff --git a/plugins/hltb-for-deck b/plugins/hltb-for-deck index d21952eaf..1212206fb 160000 --- a/plugins/hltb-for-deck +++ b/plugins/hltb-for-deck @@ -1 +1 @@ -Subproject commit d21952eaf2e66f98a2c04aba31a81685a261705e +Subproject commit 1212206fbac66a34f51e6bc4aa79b06d44fa1250 diff --git a/plugins/memory-deck b/plugins/memory-deck index d85109895..b7b580728 160000 --- a/plugins/memory-deck +++ b/plugins/memory-deck @@ -1 +1 @@ -Subproject commit d851098956ed86d3df6cc74f2412335ddb0dc72d +Subproject commit b7b580728bc59c6595bd59a7a60b6e1c84c88667 diff --git a/plugins/moondeck b/plugins/moondeck index 7424bb216..676e3b3f5 160000 --- a/plugins/moondeck +++ b/plugins/moondeck @@ -1 +1 @@ -Subproject commit 7424bb2164b9a758084beb502eb91ec4ae99c575 +Subproject commit 676e3b3f5488393af0b4c01407c7bd29656ad54e diff --git a/plugins/protondb-decky b/plugins/protondb-decky index 7f6a8fe03..80f73eec8 160000 --- a/plugins/protondb-decky +++ b/plugins/protondb-decky @@ -1 +1 @@ -Subproject commit 7f6a8fe0396f77361b3ce90ebd119df7afd27bc2 +Subproject commit 80f73eec89710c688cf8585cf2a4fd7ca4620939 diff --git a/plugins/tailscale-control b/plugins/tailscale-control index 1df6df1c5..4883f112a 160000 --- a/plugins/tailscale-control +++ b/plugins/tailscale-control @@ -1 +1 @@ -Subproject commit 1df6df1c54ad9c21ab86a9d38b456f670d040847 +Subproject commit 4883f112a51d93722069c1bd639be7abff30ab03 diff --git a/plugins/vibrantDeck b/plugins/vibrantDeck index fadf68483..e8fe63127 160000 --- a/plugins/vibrantDeck +++ b/plugins/vibrantDeck @@ -1 +1 @@ -Subproject commit fadf68483f84e48103ce34829970216024fe8a0e +Subproject commit e8fe631270b776843350cc10f7c5d80a79b328eb