Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support Basic Authentication for archive downloads#35087

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lunny merged 2 commits intogo-gitea:mainfrompvgoran:archives-basic-authentication
Jul 16, 2025

Conversation

@pvgoran
Copy link
Contributor

Resolves#35083

@GiteaBotGiteaBot added the lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelJul 15, 2025
@github-actionsgithub-actionsbot added the modifies/goPull requests that update Go code labelJul 15, 2025
@pvgoran
Copy link
ContributorAuthor

It just occurred to be that the PR/commit title should say "repository archive" rather than just "archive". Not changing it now sincehttps://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md#maintaining-open-prs possibly implies that I shouldn't. (Unless someone says it's OK to do.)

@lunny
Copy link
Member

It's better to have a test for that.

@pvgoran
Copy link
ContributorAuthor

It's better to have a test for that.

Where could a test be added, what would it test, and how would I run such a test? (I don't know a thing about testing facilities of Gitea - or of Go in general, for that matter.)

When I look at#33371 for inspiration, I only find something that looks like a test for theisFeedRequest() function. Here, do I need to test just theisArchivePath() function in a similar way, too?

@GiteaBotGiteaBot added lgtm/need 1This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelsJul 16, 2025
@wxiaoguangwxiaoguang added this to the1.25.0 milestoneJul 16, 2025
@wxiaoguangwxiaoguang added the type/enhancementAn improvement of existing functionality labelJul 16, 2025
@GiteaBotGiteaBot added lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1This PR needs approval from one additional maintainer to be merged. labelsJul 16, 2025
@lunnylunny added the reviewed/wait-mergeThis pull request is part of the merge queue. It will be merged soon. labelJul 16, 2025
@lunnylunny merged commit891a827 intogo-gitea:mainJul 16, 2025
26 checks passed
@GiteaBotGiteaBot removed the reviewed/wait-mergeThis pull request is part of the merge queue. It will be merged soon. labelJul 16, 2025
zjjhot added a commit to zjjhot/gitea that referenced this pull requestJul 18, 2025
* giteaofficial/main:  [skip ci] Updated translations via Crowdin  Increase gap on latest commit (go-gitea#35104)  Fix job status aggregation logic (go-gitea#35000)  Fix some missed GitHeadRefName when renaming (go-gitea#35102)  Fix error logs and improve some comments/messages (go-gitea#35105)  Support Basic Authentication for archive downloads (go-gitea#35087)  Run `uv run` with `--frozen` (go-gitea#35097)  Improve package API log handling (go-gitea#35100)  Rename pull request GetGitRefName to GetGitHeadRefName (go-gitea#35093)  Fix review comment/dimiss comment x reference can be refereced back (go-gitea#35094)  Fix submodule nil check (go-gitea#35096)  Redirect to a presigned URL of HEAD for HEAD requests (go-gitea#35088)
@go-giteago-gitea locked asresolvedand limited conversation to collaboratorsOct 14, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@wxiaoguangwxiaoguangwxiaoguang approved these changes

+1 more reviewer

@hiifonghiifonghiifong approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore.modifies/goPull requests that update Go codetype/enhancementAn improvement of existing functionality

Projects

None yet

Milestone

1.25.0

Development

Successfully merging this pull request may close these issues.

Basic authentication doesn't work for archive downloads

5 participants

@pvgoran@lunny@wxiaoguang@hiifong@GiteaBot

[8]ページ先頭

©2009-2025 Movatter.jp