Skip to content
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

feat: bucketeer integration #1

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

Ubisoft-potato
Copy link
Collaborator

@Ubisoft-potato Ubisoft-potato commented Feb 4, 2025

Convert LaunchDarkly Code References to Bucketeer Code References

Overview

This PR converts the LaunchDarkly code references tool to work with Bucketeer's API and infrastructure. The tool maintains its core functionality of scanning codebases for feature flag references while adapting to Bucketeer's specific requirements and terminology.

Key Changes

Configuration & CLI

  • Renamed binary from ld-find-code-refs to bucketeer-find-code-refs
  • Updated configuration parameters:
    • Replaced accessToken with apiKey
    • Added baseUri for Bucketeer API endpoint
    • Removed LaunchDarkly-specific projKey parameter
    • Added repoOwner parameter
  • Updated environment variable prefix from LD_ to BUCKETEER_
  • Updated configuration file path from .launchdarkly/coderefs.yaml to .bucketeer/coderefs.yaml

API Integration

  • Replaced LaunchDarkly API client with Bucketeer API client
  • Updated API request/response handling to match Bucketeer's API structure
  • Implemented new methods for creating, updating, and deleting code references in Bucketeer

Code Structure

  • Refactored code reference processing to align with Bucketeer's data model
  • Simplified project structure by removing multi-project support
  • Updated CSV output format to match Bucketeer's requirements
  • Removed extinction tracking functionality
  • Streamlined branch pruning logic

@Ubisoft-potato Ubisoft-potato marked this pull request as draft February 4, 2025 12:24
@Ubisoft-potato Ubisoft-potato marked this pull request as ready for review February 6, 2025 03:56
@Ubisoft-potato Ubisoft-potato marked this pull request as draft February 6, 2025 03:58
@Ubisoft-potato Ubisoft-potato marked this pull request as ready for review February 6, 2025 04:02
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