Compare commits
4
Commits
v0.4.0
...
04201a66f8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04201a66f8 | ||
|
|
8ae703787c | ||
|
|
c540cde0a4 | ||
|
|
d96e3e3a4d |
No files matched your search
@@ -78,6 +78,7 @@ jobs:
|
|||||||
-x "${PLUGIN_NAME}/.github/*" \
|
-x "${PLUGIN_NAME}/.github/*" \
|
||||||
-x "${PLUGIN_NAME}/.vscode/*" \
|
-x "${PLUGIN_NAME}/.vscode/*" \
|
||||||
-x "${PLUGIN_NAME}/.claude/*" \
|
-x "${PLUGIN_NAME}/.claude/*" \
|
||||||
|
-x "${PLUGIN_NAME}/.gitea/*" \
|
||||||
-x "${PLUGIN_NAME}/CLAUDE.md" \
|
-x "${PLUGIN_NAME}/CLAUDE.md" \
|
||||||
-x "${PLUGIN_NAME}/wp-core" \
|
-x "${PLUGIN_NAME}/wp-core" \
|
||||||
-x "${PLUGIN_NAME}/wp-core/*" \
|
-x "${PLUGIN_NAME}/wp-core/*" \
|
||||||
@@ -87,6 +88,7 @@ jobs:
|
|||||||
-x "${PLUGIN_NAME}/composer.lock" \
|
-x "${PLUGIN_NAME}/composer.lock" \
|
||||||
-x "${PLUGIN_NAME}/*.log" \
|
-x "${PLUGIN_NAME}/*.log" \
|
||||||
-x "${PLUGIN_NAME}/.gitignore" \
|
-x "${PLUGIN_NAME}/.gitignore" \
|
||||||
|
-x "${PLUGIN_NAME}/.gitmodules" \
|
||||||
-x "${PLUGIN_NAME}/.editorconfig" \
|
-x "${PLUGIN_NAME}/.editorconfig" \
|
||||||
-x "${PLUGIN_NAME}/phpcs.xml*" \
|
-x "${PLUGIN_NAME}/phpcs.xml*" \
|
||||||
-x "${PLUGIN_NAME}/phpunit.xml*" \
|
-x "${PLUGIN_NAME}/phpunit.xml*" \
|
||||||
|
|||||||
@@ -507,7 +507,7 @@ wp-fedistream/
|
|||||||
|
|
||||||
### 2026-01-29 - CI/CD Pipeline v0.4.0
|
### 2026-01-29 - CI/CD Pipeline v0.4.0
|
||||||
|
|
||||||
**Summary:** Added Gitea Actions workflow for automated release package creation.
|
**Summary:** Added Gitea Actions workflow for automated release package creation with multiple iterations to fix CI issues.
|
||||||
|
|
||||||
**Features:**
|
**Features:**
|
||||||
|
|
||||||
@@ -520,23 +520,35 @@ wp-fedistream/
|
|||||||
- SHA256 checksum generation
|
- SHA256 checksum generation
|
||||||
- Package structure verification
|
- Package structure verification
|
||||||
- Changelog extraction for release notes
|
- Changelog extraction for release notes
|
||||||
- Automatic Gitea release creation with attachments
|
- Automatic Gitea release creation via API
|
||||||
- Pre-release detection for tags containing `-`
|
- Pre-release detection for tags containing `-`
|
||||||
|
|
||||||
**Files Created:**
|
**Files Created:**
|
||||||
|
|
||||||
- `.gitea/workflows/release.yml` - CI/CD release pipeline
|
- `.gitea/workflows/release.yml` - CI/CD release pipeline
|
||||||
|
- `.gitmodules` - Git submodule configuration
|
||||||
|
- `lib/wc-licensed-product-client/` - Submodule for private dependency
|
||||||
|
|
||||||
**Files Modified:**
|
**Files Modified:**
|
||||||
|
|
||||||
- `CLAUDE.md` - Added CI/CD documentation and updated directory structure
|
- `CLAUDE.md` - Added CI/CD documentation and updated directory structure
|
||||||
- `CHANGELOG.md` - Added v0.4.0 entry
|
- `CHANGELOG.md` - Added v0.4.0 entry
|
||||||
- `wp-fedistream.php` - Version bump to 0.4.0
|
- `wp-fedistream.php` - Version bump to 0.4.0
|
||||||
|
- `composer.json` - Changed to path repository for submodule
|
||||||
|
- `README.md` - Updated for v0.4.0, added release/installation docs
|
||||||
|
|
||||||
|
**CI/CD Fixes Applied:**
|
||||||
|
|
||||||
|
1. `actions/gitea-release-action@v1` doesn't exist - use Gitea API directly with curl
|
||||||
|
2. Private repo network issue - use git submodule with relative URL (`../wc-licensed-product-client.git`)
|
||||||
|
3. Composer path repository for submodule dependency
|
||||||
|
4. `msgfmt` not found - install gettext package
|
||||||
|
5. SIGPIPE error (exit 141) - use `set +o pipefail` and `|| true`
|
||||||
|
|
||||||
**Notes:**
|
**Notes:**
|
||||||
|
|
||||||
- Requires `GITEA_TOKEN` secret configured in repository settings
|
- Requires `SRC_GITEA_TOKEN` secret configured in repository settings
|
||||||
- Uses `shivammathur/setup-php@v2` for PHP setup
|
- Uses `shivammathur/setup-php@v2` for PHP setup
|
||||||
- Uses `actions/gitea-release-action@v1` for release creation
|
- Uses Gitea API directly for release creation (not GitHub Actions)
|
||||||
- Compatible with GitHub Actions syntax
|
- Submodule uses relative URL for CI compatibility
|
||||||
- User simplified checksums to SHA256 only (removed MD5)
|
- Composer symlinks from `lib/wc-licensed-product-client` to vendor
|
||||||
@@ -2,10 +2,11 @@
|
|||||||
|
|
||||||
Stream music over ActivityPub - Build your own music streaming platform for Musicians and Labels.
|
Stream music over ActivityPub - Build your own music streaming platform for Musicians and Labels.
|
||||||
|
|
||||||
[](CHANGELOG.md)
|
[](CHANGELOG.md)
|
||||||
[](https://php.net)
|
[](https://php.net)
|
||||||
[](https://wordpress.org)
|
[](https://wordpress.org)
|
||||||
[](https://www.gnu.org/licenses/gpl-2.0.html)
|
[](https://www.gnu.org/licenses/gpl-2.0.html)
|
||||||
|
[](https://src.bundespruefstelle.ch/magdev/wp-fedistream/actions)
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
@@ -31,29 +32,47 @@ WP FediStream is a WordPress plugin that enables musicians, bands, and labels to
|
|||||||
|
|
||||||
- PHP 8.3 or higher
|
- PHP 8.3 or higher
|
||||||
- WordPress 6.4 or higher
|
- WordPress 6.4 or higher
|
||||||
- Composer (for development/installation)
|
- Valid license key (required for frontend features)
|
||||||
|
|
||||||
### Optional
|
### Optional
|
||||||
|
|
||||||
- [ActivityPub Plugin](https://wordpress.org/plugins/activitypub/) - For Fediverse integration
|
- [ActivityPub Plugin](https://wordpress.org/plugins/activitypub/) - For Fediverse integration
|
||||||
- [WooCommerce](https://woocommerce.com/) 10.0+ - For selling music
|
- [WooCommerce](https://woocommerce.com/) 10.0+ - For selling music
|
||||||
|
|
||||||
|
## License Key
|
||||||
|
|
||||||
|
WP FediStream requires a valid license key for frontend functionality (player, shortcodes, ActivityPub). The admin dashboard works without a license, allowing you to configure the plugin before activation.
|
||||||
|
|
||||||
|
To obtain a license key, contact the author or purchase from the official website.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### From Source
|
### From Release Package (Recommended)
|
||||||
|
|
||||||
1. Clone or download the repository to your WordPress plugins directory:
|
1. Download the latest release from the [Releases page](https://src.bundespruefstelle.ch/magdev/wp-fedistream/releases)
|
||||||
|
|
||||||
|
2. Upload the ZIP file via **Plugins > Add New > Upload Plugin** in WordPress admin
|
||||||
|
|
||||||
|
3. Activate the plugin under **Plugins > Installed Plugins**
|
||||||
|
|
||||||
|
4. Navigate to **FediStream > Settings** and enter your license key
|
||||||
|
|
||||||
|
5. Start using the plugin via the **FediStream** admin menu
|
||||||
|
|
||||||
|
### From Source (Development)
|
||||||
|
|
||||||
|
1. Clone the repository to your WordPress plugins directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd wp-content/plugins/
|
cd wp-content/plugins/
|
||||||
git clone https://src.bundespruefstelle.ch/magdev/wp-fedistream.git
|
git clone --recurse-submodules https://src.bundespruefstelle.ch/magdev/wp-fedistream.git
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install Composer dependencies:
|
2. Install Composer dependencies:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd wp-fedistream
|
cd wp-fedistream
|
||||||
composer install --no-dev
|
composer install
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Activate the plugin in WordPress admin under **Plugins > Installed Plugins**
|
3. Activate the plugin in WordPress admin under **Plugins > Installed Plugins**
|
||||||
@@ -133,6 +152,16 @@ wp-fedistream/
|
|||||||
└── wp-fedistream.php # Plugin entry point
|
└── wp-fedistream.php # Plugin entry point
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Releases
|
||||||
|
|
||||||
|
Release packages are automatically built via Gitea Actions when a version tag is pushed. Each release includes:
|
||||||
|
|
||||||
|
- Production-ready ZIP package with all dependencies
|
||||||
|
- SHA256 checksum for verification
|
||||||
|
- Changelog notes extracted from CHANGELOG.md
|
||||||
|
|
||||||
|
Download releases from: <https://src.bundespruefstelle.ch/magdev/wp-fedistream/releases>
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
This project is in early development. Contributions, bug reports, and feature requests are welcome.
|
This project is in early development. Contributions, bug reports, and feature requests are welcome.
|
||||||
|
|||||||
Reference in new issue
Block a user