Skip to content

DevIndex: Enhance Updater with Private Contributions & Metadata #9118

@tobiu

Description

@tobiu

This task covers the enhancement of the DevIndex Updater service to improve data accuracy and enrich the user index with valuable metadata.

Problem:

  1. Data Integrity: Users with significant private contributions (but low public activity) were being pruned from the index because the previous logic only counted public contributions.
  2. Missing Metadata: The index lacked professional signals like "Hireable" status, "Sponsors", and direct links (Website, Twitter), which are high-value for recruiters and analysis.

Changes:

  1. Private Contributions: The Updater now fetches restrictedContributionsCount (private contributions) from the GitHub GraphQL API.
  2. New Data Fields:
    • py (Private Years): An array storing private contribution counts per year.
    • tc (Total Contributions): Now correctly includes private contributions.
    • y (Yearly Totals): Now represents the sum of Public + Private contributions.
  3. Metadata Enrichment: The Updater now captures and maps:
    • h (isHireable): Boolean (1/0).
    • s (hasSponsorsListing): Boolean (1/0).
    • t (twitterUsername): String.
    • w (websiteUrl): String.

Impact:

  • Prevents pruning of high-value enterprise/private contributors.
  • Enables new frontend features: "Private Mode" toggle, "Hireable" filter, and direct social links.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions