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

Make gitea work using cmd.exe again #22073

Merged
merged 5 commits into from
Dec 14, 2022

Commits on Dec 8, 2022

  1. Make gitea work using cmd.exe again

    Gitea will attempt to lookup its location using LookPath however,
    this fails on cmd.exe if gitea is in the current working directory.
    
    exec.LookPath will return an exec.ErrDot error which we can test for
    and then simply using filepath.Abs(os.Args[0]) to absolute gitea
    against the current working directory.
    
    Fix go-gitea#22063
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    fa1a3ae View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. fix to work on go1.18

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    88a5270 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6793726 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4bfc82 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

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