Log hash/name and reason of removal for removed files #65
No reviewers
Labels
No labels
nagonag
nagonag/ignore
bug
doc
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IUS/once!65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/44-log-removal-details"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Log key (UUID), filename, and reason whenever a file is removed.
remove.go: logkey=<uuid> name="<filename>" by=<user> reason=manualon manual removal; properly handle FindFile errors (return 404)store.goClean(): promote debug-only messages tolog.Printfwith structured fields: key, name, reason (info-expired / upload-expired)Fixes #44
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.