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

Release attachments remain on disk after deleting the release #2618

Closed
1 of 4 tasks
thmo opened this issue Sep 28, 2017 · 6 comments · Fixed by #6068
Closed
1 of 4 tasks

Release attachments remain on disk after deleting the release #2618

thmo opened this issue Sep 28, 2017 · 6 comments · Fixed by #6068
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality
Milestone

Comments

@thmo
Copy link

thmo commented Sep 28, 2017

  • Gitea version (or commit ref): 1.2.0+rc3
  • Git version: 2.11.0
  • Operating system: Debian GNU/Linux 9 (stretch)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite

Description

When deleting a release, the files attached to this release are not deleted from the data/attachments folder of Gitea.

@lafriks lafriks added the type/enhancement An improvement of existing functionality label Sep 28, 2017
@lafriks lafriks added this to the 1.x.x milestone Sep 28, 2017
@stale
Copy link

stale bot commented Feb 12, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Feb 12, 2019
@adelowo
Copy link
Member

adelowo commented Feb 12, 2019

Unstale

good bot

@stale stale bot removed the issue/stale label Feb 12, 2019
@lunny lunny added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Feb 13, 2019
@rakshith-ravi
Copy link
Contributor

Quick question: If I have deleted some releases with attachments earlier, how do I remove them from disk as of now? Is there any way to "clean" the attachments folder?

@lunny
Copy link
Member

lunny commented Apr 10, 2019

Currently no tool to do that and I think we need a tool to clean that on admin panel or command line.

@adelowo
Copy link
Member

adelowo commented Apr 10, 2019

I should find time to complete #6068

@zhanhb
Copy link

zhanhb commented Jun 16, 2019

IMO, when editing release draft, the uploaded attachment should be appeared in the list.
I want to know if I'm right if the api become stable?

@lunny lunny modified the milestones: 1.x.x, 1.10.0 Sep 22, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants