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: github/measure-innersource
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e5ac455
Choose a base ref
...
head repository: github/measure-innersource
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 62efffc
Choose a head ref
  • 11 commits
  • 14 files changed
  • 3 contributors

Commits on Sep 30, 2025

  1. fix: remove dead code

    Signed-off-by: Zack Koppert <zkoppert@github.com>
    zkoppert committed Sep 30, 2025
    Configuration menu
    Copy the full SHA
    37f7346 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #62 from github/dead-code

    fix: remove dead code
    zkoppert authored Sep 30, 2025
    Configuration menu
    Copy the full SHA
    4eb2145 View commit details
    Browse the repository at this point in the history
  3. Initial plan

    Copilot committed Sep 30, 2025
    Configuration menu
    Copy the full SHA
    204b3f8 View commit details
    Browse the repository at this point in the history
  4. Add OWNING_TEAM environment variable for custom team ownership

    Co-authored-by: zkoppert <6935431+zkoppert@users.noreply.github.com>
    Copilot and zkoppert committed Sep 30, 2025
    Configuration menu
    Copy the full SHA
    5612879 View commit details
    Browse the repository at this point in the history
  5. Add comprehensive tests for OWNING_TEAM feature and update .env-example

    Co-authored-by: zkoppert <6935431+zkoppert@users.noreply.github.com>
    Copilot and zkoppert committed Sep 30, 2025
    Configuration menu
    Copy the full SHA
    a033b83 View commit details
    Browse the repository at this point in the history
  6. fix: linting fix for readability

    Signed-off-by: Zack Koppert <zkoppert@github.com>
    zkoppert committed Sep 30, 2025
    Configuration menu
    Copy the full SHA
    2b7be5d View commit details
    Browse the repository at this point in the history
  7. ix: resolve infinite loop in test_main_missing_user_in_org_chart

    This commit fixes an issue in the test where the mock commits setup was causing
    an infinite loop. The changes include:
    
    - Converting mock commits to a proper iterator to match real GitHub API behavior
    - Fixing environment variable field names to align with actual main function usage
    - Adding chunk_size to avoid issues in processing loops
    - Adding additional assertions to verify early function exit
    
    Tests that were previously hanging now complete successfully.
    
    Signed-off-by: Zack Koppert <zkoppert@github.com>
    zkoppert committed Sep 30, 2025
    Configuration menu
    Copy the full SHA
    3a45a2d View commit details
    Browse the repository at this point in the history
  8. test: add coverage for original commit author without manager case

    Added test_markdown_writer_original_author_only.py to cover the specific case
    where an original commit author is provided without a manager, ensuring that
    the appropriate heading is written to the report markdown file.
    
    Signed-off-by: Zack Koppert <zkoppert@github.com>
    zkoppert committed Sep 30, 2025
    Configuration menu
    Copy the full SHA
    ec1c434 View commit details
    Browse the repository at this point in the history
  9. refactor: add explicit team_ownership flag for better edge case handling

    This change improves the clarity and maintainability of the codebase by:
    
    - Adding an explicit `team_ownership_explicitly_specified` parameter to track when
      team ownership is provided explicitly rather than derived from commit history
    - Updating logic in markdown_writer.py to prioritize this flag when determining
      report headings
    - Adding a fallback message for cases where neither original author nor explicit
      team ownership is specified
    - Setting flag value in measure_innersource.py based on owning_team parameter
    - Adding comprehensive tests for the new parameter and updated behavior
    
    This change makes the relationship between owning_team and report content more
    explicit and handles edge cases more gracefully.
    
    Signed-off-by: Zack Koppert <zkoppert@github.com>
    zkoppert committed Sep 30, 2025
    Configuration menu
    Copy the full SHA
    2d429f4 View commit details
    Browse the repository at this point in the history
  10. perf: refactor commit processing to use chunking for better memory ef…

    …ficiency
    
    This change improves memory usage and scalability for repositories with large
    commit histories by:
    
    - Replacing list(commits) with chunked processing to avoid loading the entire
      commit history into memory at once
    - Using iterators directly to find the original commit author instead of
      loading all commits first
    - Processing commits in manageable chunks based on the configured chunk_size,
      similar to how pull requests and issues are already handled
    - Adding debug logging for commit processing progress
    
    This approach ensures consistent memory usage regardless of repository size
    and prevents potential out-of-memory issues when analyzing repositories with
    extensive commit histories.
    
    Signed-off-by: Zack Koppert <zkoppert@github.com>
    zkoppert committed Sep 30, 2025
    Configuration menu
    Copy the full SHA
    0bd5cc4 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2025

  1. Configuration menu
    Copy the full SHA
    62efffc View commit details
    Browse the repository at this point in the history
Loading