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

Raw file API: deprecate {ref} path parameter + allow shortened commit refs #17185

Closed
wants to merge 6 commits into from

Commits on Sep 29, 2021

  1. Configuration menu
    Copy the full SHA
    2e128ba View commit details
    Browse the repository at this point in the history
  2. raw file api: clarify documentation

    the ?ref= param was added recently in go-gitea#14602, and can fully replace the
    (previously undocumented) ref-prefix of the filepath
    noerw committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    d4fc683 View commit details
    Browse the repository at this point in the history
  3. raw file API: add support for shortened commit SHA

    we just deprecated this API, but this is a short fix to go-gitea#17179
    A more minimal fix would be to check
      if len(parts) > 1
    in line context/repo.go#L698
    noerw committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    df834a7 View commit details
    Browse the repository at this point in the history
  4. add test for short shas

    noerw committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    e1e33a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. Configuration menu
    Copy the full SHA
    436262f View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2021

  1. Configuration menu
    Copy the full SHA
    e2903f4 View commit details
    Browse the repository at this point in the history