Commit Graph

36 Commits

Author SHA1 Message Date
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
83d009f891 chore: update PR plugin build workflow to prevent SHA conflicts
- Modified the GitHub Actions workflow to generate versioned TXZ URLs and keys, ensuring unique paths for each pull request.
- Updated comments for clarity regarding the purpose of versioning in the upload process.
2025-09-10 12:43:43 -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
805b50737c chore: enhance PR plugin build workflow with debug output
- Updated the GitHub Actions workflow to append changed files to the output for PR comments.
- Added debug output to display the list of changed files found during the workflow execution.
2025-09-10 12:09:25 -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
48c67746a9 chore: update GitHub Actions workflow to enhance artifact handling
- Added permissions for reading contents and pull requests, and reading actions.
- Introduced a step to retrieve the artifact download URL after uploading the plugin artifact.
- Updated installation instructions to provide direct links for downloading the plugin files from GitHub Artifacts.
2025-09-10 11:43:10 -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
Eli Bosley
fa62a71ac3 fix: do not run crowdin workflow on forked repos 2025-07-23 15:59:53 -04:00
Eli Bosley
9b0bf2a941 Update crowdin-upload.yml 2025-07-15 13:29:05 -04:00
Eli Bosley
5af1a84297 fix: do not preserve heirarchy 2025-07-15 13:29:05 -04:00
Eli Bosley
79fa79b599 fix: no wildcards in exports 2025-07-15 13:29:05 -04:00
Eli Bosley
2d44be8834 chore: helptext 2025-07-15 13:29:05 -04:00
Eli Bosley
a7cbe489b7 fix: no base path 2025-07-15 13:29:05 -04:00
Eli Bosley
a9ea2e6d3f chore: remove base path 2025-07-15 13:29:05 -04:00
Eli Bosley
76d34831b4 chore: more logging 2025-07-15 13:29:05 -04:00
Eli Bosley
1e15272911 feat: crowdin.yml 2025-07-15 13:29:05 -04:00
Eli Bosley
1f5fb389af feat: try commas 2025-07-15 13:29:05 -04:00
Eli Bosley
1d3694b833 fix: try wildcard for sources 2025-07-15 13:29:05 -04:00
Eli Bosley
903544c9c9 fix: base URL 2025-07-15 13:29:05 -04:00
Eli Bosley
fb8e91e0e5 chore: base URL 2025-07-15 13:29:05 -04:00
Eli Bosley
79870e4b61 chore: translations 2025-07-15 13:29:05 -04:00
Eli Bosley
c55262c1d7 fix: upload to crowdin on all PRs temporarily 2025-07-15 13:29:05 -04:00
Eli Bosley
472e26c020 fix: crowdin 2025-07-15 13:29:05 -04:00
Eli Bosley
963d42c1fe fix: file naming 2025-07-15 13:29:05 -04:00
Eli Bosley
5bb9644ee8 fix: workflow fixes 2025-07-15 13:29:05 -04:00
Eli Bosley
4f0bb8d802 Update .github/workflows/crowdin-upload.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-15 13:29:05 -04:00
Eli Bosley
7693aabadf Update .github/workflows/crowdin-upload.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-15 13:29:05 -04:00
Eli Bosley
a0791151ab feat: add initial automated translation support 2025-07-15 13:29:05 -04:00