Skip to content

Entry from function name to get its history #5

Description

@statnmap

I'd find interesting to know the history of a specific function in a specific package.
In particular:

  • when did this specific function appear in the package ?
    • That would allow to choose a minimal version number in DESCRIPTION file
  • In which versions did this function change ?
    • Change in arguments for instance would allow developers to create their functions conditional to package version number

Thank you

Activity

  1. csgillespie commented on Jun 1, 2022

    @csgillespie
    Contributor

    That's a nice idea! The data is all there, just need to think about how to structure the front end.

  2. timbrock commented on Jun 8, 2022

    @timbrock

    One option would be...

    1. Add a little "history" icon to each function entry.
    2. Click it and a modal shows up with all the package versions where the function changed (a bit like the history page for a file on Github).
    3. For each of those there's a link to the diff of that package version against the one before it. The link also includes a url search parameter that specifies the function of interest.
    4. When the link is opened the url parameter is read and the page is scrolled to the corresponding function which is also set to open.
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions