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

Disabling the package registry does not work #19275

Closed
arulagrawal opened this issue Mar 31, 2022 · 1 comment · Fixed by #19276
Closed

Disabling the package registry does not work #19275

arulagrawal opened this issue Mar 31, 2022 · 1 comment · Fixed by #19276
Labels
skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Milestone

Comments

@arulagrawal
Copy link

arulagrawal commented Mar 31, 2022

Description

Disabling the package registry as per https://docs.gitea.io/en-us/config-cheat-sheet/#packages-packages does not seem to work, the package pages are still available in the repos and the user pages.

To be clear I have this in my app.ini:

[packages]
ENABLED = false

Gitea Version

43332a4

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.34.1

Operating System

Debian 11

How are you running Gitea?

Docker

Database

SQLite

@lunny lunny added this to the 1.17.0 milestone Mar 31, 2022
@lunny lunny added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Mar 31, 2022
6543 pushed a commit that referenced this issue Mar 31, 2022
@arulagrawal
Copy link
Author

@lunny the package tab is still visible in the repository view.
tabs

Although is a 404 if you click on it:
404

The version shows as f11ab18 because that's the merge commit on my fork but the latest real commit is indeed 420851c.

@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
AbdulrhmnGhanem pushed a commit to kitspace/gitea that referenced this issue Aug 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants