Skip to content

repo-age should use github api for repo date creation. #10012

Closed

Description

@waifucon

Description

Hello, repo-age, is inaccurate for the repo date creation. it uses the first commit date, git could be manipulated to fake commit date.

It should use the date from GitHub API created_at.

How to replicate the issue + URL

https://github.com/NextAlone/Nagram
https://api.github.com/repos/NextAlone/Nagram

Image Image

Extension version

26.8.8

Browser(s) used

Firefox

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Activity

  1. changed the title [-]`repo-age` should relay on github api for repo date creation.[/-] [+]`repo-age` should use github api for repo date creation.[/+] on Aug 29, 2026
  2. fregante commented on Aug 29, 2026

    @fregante
    Member

    git could be manipulated to fake commit date.

    git could be manipulated to fake commit date with or without repo-age. The feature specifically mentions and links to the first commit, so we're effectively dating the first commit anyway.

    I guess we could highlight any substantial difference between these two dates though, e.g. if >10% difference, show question mark and/or additional info in tooltip.

  3. waifucon commented on Aug 29, 2026

    @waifucon
    Author

    I guess we could highlight any substantial difference between these two dates though, e.g. if >10% difference, show question mark and/or additional info in tooltip.

    it would be better if we judge from the api.

    https://api.github.com/repos/NextAlone/Nagram

    there is a created_at.

  4. fregante commented on Aug 29, 2026

    @fregante
    Member

    No it should still use what it does now, but also pull that date.

  5. added
    small
    and removed on Aug 31, 2026
  6. kumaranurag00748-byte commented on Oct 16, 2026

    @kumaranurag00748-byte

    Hey, I'm first-time contributor here, can I work on it?

  7. waifucon commented on Oct 16, 2026

    @waifucon
    Author

    7. Hey, I'm first-time contributor here, can I work on it?

    why not? this is open-source everyone could contribute.

  8. fregante commented on Oct 20, 2026

    @fregante
    Member

    It should use the date from GitHub API created_at.

    Done. And then it appends a question with the first commit's date if it's in a different year. This was the easiest setup to implement and understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedenhancementsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions