-
-
Notifications
You must be signed in to change notification settings - Fork 674
Add lastfm client bundle 2.0 #1884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add recipe for calliostro/last-fm-client-bundle v2.0 - Updates configuration key from calliostro_last_fm_client to calliostro_lastfm - Changes api_key and secret configuration structure - Adds optional user_agent and rate_limiter configuration - Removes session key from environment variables (deprecated) - Symfony bundle for Last.fm API integration
- Add missing newlines at end of files - Ensure YAML uses 4-space indentation - Fix Symfony recipes coding standards compliance
- Remove 4 spaces from empty lines (lines 4, 7, 10) - Empty lines must be completely empty per Symfony standards - Fixes GitHub Actions indentation check
- Update bundle class from CalliostroLastFmClientBundle to CalliostroLastfmBundle - Update namespace from LastFmClientBundle to LastfmBundle - Matches actual bundle class in v2.0.0-beta.1
- Move config file to packages/ directory for modern bundle standards - Add session_key configuration option for authenticated operations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a Symfony Flex recipe for calliostro/lastfm-bundle version 2.0, introducing configuration enhancements and structural updates to align with modern Symfony best practices.
Key Changes:
- Relocates configuration files from
config/toconfig/packages/directory - Updates bundle namespace from
CalliostroLastFmClientBundletoCalliostroLastfmBundle - Adds optional
session_keyconfiguration for authenticated operations (scrobbling, user operations)
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
calliostro/last-fm-client-bundle/2.0/manifest.json |
Defines bundle registration with updated namespace, configures file installation to packages/ directory, and declares environment variables including optional LASTFM_SESSION |
calliostro/last-fm-client-bundle/2.0/config/packages/calliostro_lastfm.yaml |
Provides configuration template with required API credentials, optional session key for authenticated operations, and additional optional settings for user agent and rate limiting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # Required: API Key for all practical operations (get from https://www.last.fm/api/account/create) | ||
| api_key: '%env(LASTFM_API_KEY)%' | ||
|
|
||
| # Required for authenticated operations: API Secret |
Copilot
AI
Nov 17, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace detected after "API Secret". This should be removed to maintain code cleanliness.
| # Required for authenticated operations: API Secret | |
| # Required for authenticated operations: API Secret |
|
Closing this PR as the recipe was already added in #1881. |
This PR adds a recipe for
calliostro/lastfm-bundleversion 2.0.Changes
packages/directoryLASTFM_SESSIONenvironment variablesession_keyconfiguration option