Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SocketDev/socket-python-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.51
Choose a base ref
...
head repository: SocketDev/socket-python-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.55
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Dec 12, 2025

  1. feat: add batched PURL endpoint calls and conditional license fetching (

    #140)
    
    * feat: add batched PURL endpoint calls and conditional license fetching
    
    - Add --max-purl-batch-size flag (default: 5000, range: 1-9999) to control
      batch size for license detail API calls
    - Skip PURL endpoint entirely when --generate-license is not set, improving
      performance for scans that don't need license attribution/details
    - Implement batching in get_license_text_via_purl() to process packages in
      configurable chunks, preventing API overload on large repos
    - Add validation for max_purl_batch_size parameter with clear error messages
    - Remove unused check_full_scans_status() method (dead code cleanup)
    
    This change optimizes license data retrieval by:
    1. Only calling PURL endpoint when license output is actually needed
    2. Processing packages in manageable batches to avoid timeouts/limits
    3. Providing tunable batch sizes for different repo sizes
    
    * Fixing --ignore-commit-files to properly work again
    
    * properly included the enable diff param to the main module
    
    * Adding NPM CLI to Dockerfile
    dacoburn authored Dec 12, 2025
    Configuration menu
    Copy the full SHA
    7329f50 View commit details
    Browse the repository at this point in the history
Loading