Commit Graph

28 Commits

Author SHA1 Message Date
Squidly271
5edcf161cd Fix: Changelogs weren't getting the attributes 2025-09-27 14:58:02 -04:00
Squidly271
4699b4de6d Feat: Add note if PR appears to have been merged 2025-09-18 01:38:35 -04:00
Squidly271
377bb01edc Update .github/scripts/generate-pr-plugin.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-17 13:33:33 -04:00
Squidly271
6805ec0c15 Fix: Adding the banner .page isn't a "method" 2025-09-17 13:28:57 -04:00
Squidly271
37c6fe5f29 Refactor PR script generation
Fix update procedure
Change banners to be non dismissable
Add notes saying reboots might be necessary
Wrap Changes within CDATA
2025-09-17 13:22:47 -04:00
Eli Bosley
e1a2c2f86e fix: optimize plugin removal process in generate-pr-plugin.sh by utilizing automatic page reload and clarifying .plg file handling 2025-09-15 13:26:11 -04:00
Eli Bosley
ee9f515551 fix: update PR plugin banner behavior to make update checks non-dismissible and adjust uninstall link dismissibility 2025-09-15 12:28:42 -04:00
Eli Bosley
3eb9b42829 fix: ensure new banner file creation by removing old banner in generate-pr-plugin.sh 2025-09-15 12:26:35 -04:00
Eli Bosley
06d50f131b fix: streamline plugin removal process in generate-pr-plugin.sh by using openPlugin method and adjusting reload timing 2025-09-15 12:25:52 -04:00
Eli Bosley
755885c6c8 fix: improve uninstall link styling in PR plugin banner 2025-09-15 12:23:32 -04:00
Eli Bosley
fc9daea0f8 fix: update generate-pr-plugin.sh to specify installation method for Banner-PR_PLACEHOLDER.page 2025-09-15 12:18:11 -04:00
Eli Bosley
82710b0ebf fix: update generate-pr-plugin.sh to include installation method and remove unnecessary method attribute from Banner-PR_PLACEHOLDER.page 2025-09-15 12:16:47 -04:00
Eli Bosley
a3341d3b74 fix: enhance uninstall functionality for PR plugin with confirmation dialog and improved messaging 2025-09-15 12:13:16 -04:00
Eli Bosley
94a0a929cc fix: add uninstall button to PR plugin banner 2025-09-15 12:08:26 -04:00
Eli Bosley
fbb6ad481e fix: update plugin URL generation and ensure newline at end of Main.page 2025-09-15 12:06:26 -04:00
Eli Bosley
8ecaf59559 fix: update banner when PR plugin updates? 2025-09-15 12:03:59 -04:00
Eli Bosley
95228bf8d6 chore: refine PR plugin script and workflow for improved tarball handling
- Updated `generate-pr-plugin.sh` to clarify usage instructions and rename parameters for local and remote tarball handling.
- Enhanced the GitHub Actions workflow to define local and remote tarball filenames, ensuring consistent naming and preventing SHA conflicts.
- Adjusted the script to use the correct tarball names during SHA256 calculation and plugin file generation, improving accuracy and reliability.
2025-09-10 12:51:03 -04:00
Eli Bosley
2c9c70e7eb chore: update PR plugin script and workflow for versioned tarball generation
- Modified the `generate-pr-plugin.sh` script to create directories and file paths using a versioned naming convention for better organization and clarity.
- Updated the GitHub Actions workflow to generate a versioned tarball filename, ensuring unique identification for each pull request.
- Enhanced the script to maintain consistent backup and manifest paths aligned with the new versioning scheme.
2025-09-10 12:46:41 -04:00
Eli Bosley
3994f06a65 chore: improve backup and restoration process in PR plugin script
- Enhanced the `generate-pr-plugin.sh` script to check for existing backups before creating new ones, preserving original backups across updates.
- Added verbose output during file extraction to provide clearer status updates.
- Implemented a new update method that restores original files before applying new changes, ensuring a clean installation state.
2025-09-10 12:41:06 -04:00
Eli Bosley
976d560b89 chore: enhance output and verification in PR plugin generation script
- Improved the `generate-pr-plugin.sh` script to provide detailed output during tarball examination and file extraction.
- Added a summary of installed files, including counts of modified and new files, to enhance visibility and verification of the installation process.
- Updated echo statements for clarity and consistency in reporting file processing status.
2025-09-10 12:39:17 -04:00
Eli Bosley
6b1171a5fa chore: enhance debugging output in PR plugin generation scripts
- Added debug statements in `generate-pr-plugin.sh` to display the tarball path, backup directory, and list of files being processed, improving visibility during deployment.
- Updated `pr-plugin-build.yml` to include output of the file list and tarball contents, aiding in verification and troubleshooting during the build process.
2025-09-10 12:30:03 -04:00
Eli Bosley
8911531676 chore: enhance PR plugin generation with optional plugin URL
- Updated `generate-pr-plugin.sh` to accept an optional plugin URL parameter for improved flexibility.
- Modified the script to generate a default plugin URL if none is provided, ensuring consistent naming conventions.
- Enhanced the GitHub Actions workflow to generate and output stable URLs for both the tarball and plugin files, facilitating easier updates.
2025-09-10 12:23:08 -04:00
Eli Bosley
72682d1812 chore: optimize file extraction in generate-pr-plugin.sh
- Updated the file extraction method in `generate-pr-plugin.sh` to use a temporary file, improving compatibility and avoiding subshell issues.
- Added cleanup for the temporary file after processing the extracted file list.
2025-09-10 12:11:50 -04:00
Eli Bosley
c10aae2dd7 chore: improve PR plugin script and update UI for testing
- Added error handling and improved variable handling in `generate-pr-plugin.sh`.
- Updated placeholder values in the generated plugin file for clarity.
- Enhanced the UI in `Plugins.page` to indicate that the page is modified for PR testing.
2025-09-10 12:07:20 -04:00
Eli Bosley
683f07c386 chore: enhance PR plugin generation and workflow for TXZ uploads
- Updated `generate-pr-plugin.sh` to include a new parameter for TXZ URL and modified usage instructions.
- Enhanced the GitHub Actions workflow to upload the TXZ file to R2 and generate the corresponding public URL.
- Improved installation instructions in the PR comment to provide direct download links for the PLG and TXZ files.
2025-09-10 12:00:07 -04:00
Eli Bosley
2ab444e463 fix: enhance compatibility in generate-pr-plugin.sh and update workflow instructions
- Modified the sed command in `generate-pr-plugin.sh` to support both Linux and macOS environments.
- Updated the `pr-plugin-build.yml` workflow documentation to include a step for creating the necessary plugin directory.
2025-09-10 11:36:35 -04:00
Eli Bosley
023ca6dfa5 fix: update plugin file paths in generate-pr-plugin.sh
- Changed the local path for the downloaded tarball to include the 'webgui-pr' directory.
- Updated the cleanup command to remove the correct plugin file based on the new path structure.
2025-09-10 11:30:15 -04:00
Eli Bosley
c932b91800 feat: add GitHub Actions workflow and script for generating PR plugins
- Introduced a new script `generate-pr-plugin.sh` to automate the creation of Unraid PR plugin files.
- Added a GitHub Actions workflow `pr-plugin-build.yml` to build and package the plugin when changes are made to the `emhttp` directory.
- The workflow includes steps for checking out code, generating versioning, creating a tarball, and uploading the plugin artifact for PR testing.
2025-09-10 11:29:36 -04:00