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

Some maintainers metadata does not seem accurate #1039

Open
jasminewang0 opened this issue Feb 11, 2025 · 1 comment
Open

Some maintainers metadata does not seem accurate #1039

jasminewang0 opened this issue Feb 11, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@jasminewang0
Copy link

In exploring some packages, the "created_at" data field for maintainers seems inaccurate. For example, hitting the API for pkg:npm/sntp has inaccurate timestamps for user nlf in the response body:

        "uuid": "nlf",
        "login": "nlf",
        "name": null,
        "email": ...,
        "url": null,
        "packages_count": 315,
        "html_url": "https://www.npmjs.com/~nlf",
        "role": null,
        "created_at": "2022-11-20T02:07:53.894Z",
        "updated_at": "2022-11-20T02:07:53.894Z",
        "packages_url": "https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/nlf/packages"

This user has been on the platform for much longer than 2022, having published packages since at least 12 years ago.

I also noticed that the other 3 maintainers in this package have the "created_at" field as 2023-12-13T21:49:58, with a difference of milliseconds, which is also inaccurate since 2 of the maintainers (1, 2) at a quick glance have been publishing packages for a decade now.

Is the created_at timestamp actually intended to be the first time the API has seen and recorded the user?

@andrew
Copy link
Member

andrew commented Feb 24, 2025

Is the created_at timestamp actually intended to be the first time the API has seen and recorded the user?

Yeah this is the case, the majority package manager registries do not provide the date the user was created in their APIs, so it's when the record was first created in our database.

@andrew andrew added the documentation Improvements or additions to documentation label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants