Skip to content

The upload-time and uploader package resources refer to the latest revision and admin who did it. #1145

Open

Description

@Kleidukos

The package sub-resources for upload-time and uploader incorrectly refer to the latest revision and Hackage admin who performed the revision.

For example:

https://hackage.haskell.org/package/AC-Vector-2.3.2

Activity

  1. andreasabel commented on Oct 29, 2022

    @andreasabel
    Member

    @Kleidukos Did you find / can you blame the responsible commit? Maybe there is a comment there whether this is intended behavior or not...

  2. Kleidukos commented on Oct 30, 2022

    @Kleidukos
    MemberAuthor

    @andreasabel There is no "responsible" commit to blame, I believe it was always the behaviour since at least 2013, but it's not a correct behaviour.

  3. gbaz commented on Oct 30, 2022

    @gbaz
    Contributor

    I agree that this is an overt and easy fix -- will bring resources in line with the displayed info on the standard page.

  4. zzantares commented on Oct 11, 2026

    @zzantares
    Contributor

    @gbaz I took a stab on this #1527

  5. ysangkok commented on Oct 15, 2026

    @ysangkok
    Member

    I don't think changing these endpoints to do something else is in line with what they were added to do. They exist for the Mirror feature, and the idea is that when you mirror, you can later patch up the packages such that they fit the original server.

    I think it would be better to just remove them entirely, and have the mirroring feature set the right uploader-time and uploader at creation time, without needing to 'patch up' an already mirrored package.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions