Skip to content

Conversation

@calliostro
Copy link
Contributor

Q A
License MIT
Packagist https://packagist.org/packages/calliostro/last-fm-client-bundle

This PR adds a recipe for calliostro/lastfm-bundle version 2.0.

Changes

  • Move config to packages/ directory
  • Add optional LASTFM_SESSION environment variable
  • Add session_key configuration option

- 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
Copilot AI review requested due to automatic review settings November 17, 2025 18:51
Copilot finished reviewing on behalf of calliostro November 17, 2025 18:53
Copy link

Copilot AI left a 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/ to config/packages/ directory
  • Updates bundle namespace from CalliostroLastFmClientBundle to CalliostroLastfmBundle
  • Adds optional session_key configuration 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
Copy link

Copilot AI Nov 17, 2025

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.

Suggested change
# Required for authenticated operations: API Secret
# Required for authenticated operations: API Secret

Copilot uses AI. Check for mistakes.
@calliostro
Copy link
Contributor Author

Closing this PR as the recipe was already added in #1881.
Will create a new PR to complete the missing features.

@calliostro calliostro closed this Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant