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

Provide timestamp of first source project discovery #15

Open
Ly0n opened this issue Jan 5, 2024 · 1 comment
Open

Provide timestamp of first source project discovery #15

Ly0n opened this issue Jan 5, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Ly0n
Copy link

Ly0n commented Jan 5, 2024

It might be interesting for many users of ecosyste.ms to know when an project has been discovery the first time. One example use case of this to determine when a project has been made public. The GitHub API does not provide such information and this value can differ significantly from the timestamp of the first commit, as many repositories are set to public with their first release.

For our use-case at ClimateTriage.com the project age is what we are looking for, but I still think I could be relevant for future use cases.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@Ly0n Ly0n changed the title Provide timestamp of first discovery of an open source projects Provide timestamp of first source project discovery Jan 5, 2024
@andrew
Copy link
Member

andrew commented Jan 5, 2024

For GitHub repositories, if there were not public initially, we can get the PublicEvent, from the timeline service for that repository: https://docs.github.com/en/rest/using-the-rest-api/github-event-types?apiVersion=2022-11-28#publicevent

Timeline api for list of public events: https://timeline.ecosyste.ms/api/v1/events?event_type=PublicEvent

One problem may be that the name of the repository may have changed since it was first made public, and the timeline indexes on name rather than uuid of the repository.

@andrew andrew added enhancement New feature or request help wanted Extra attention is needed labels Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants