AUR web interface

Tasklist

FS#45347 - Impossible overwrite repo after package deletion

Attached to Project: AUR web interface
Opened by Eugene Dvoretsky (radioxoma) - Tuesday, 16 June 2015, 12:28 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 17 June 2015, 14:57 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.0-rc3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The issue was posted in the [AUR list](https://lists.archlinux.org/pipermail/aur-requests/2015-June/007524.html) and Lukas Fleischer directed me here.

I maintain two packages (fiji-binary, micromanager-git) which previously been stored on github. After splitting and uploading those packages with `import-to-aur4.sh`, I noticed that my name in some commits is invalid. After fixing this with [instruction](https://help.github.com/articles/changing-author-info/) it appears that I can't overwrite packages repos.

I requested deletion (#3576, #3577) and Muflone had deleted packages, but repos still exist and I can't overwrite it.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Wednesday, 17 June 2015, 14:57 GMT
Reason for closing:  Not a bug
Comment by Lukas Fleischer (lfleischer) - Tuesday, 16 June 2015, 12:46 GMT
Reading the bug description and the deletion requests again, it seems like you tried to bypass our non-fast-forward protection by filing deletion requests. I personally think this is an invalid reason for package removal. Non-fast-forward pushes are forbidden for a good reason: If you rewrite history, it is going to cause trouble for everyone who has a clone of your package. There are a few cases where non-fast-forwards are okay, e.g. when illegal or secret data was committed. Having a typo in the name certainly doesn't fall into this category, though. If there are mistakes in the files, you can fix them by making a fix-up commit.
Comment by Eugene Dvoretsky (radioxoma) - Tuesday, 16 June 2015, 13:57 GMT
You right, I just wanted to start my AUR repos clean after accidentally committing and seems like I did it too late (https://bbs.archlinux.org/viewtopic.php?pid=1535664#p1535664). Those packages are not popular, so my attempt to fix it should be unnoticed.

But why repositories exists after package deletion?
Comment by Lukas Fleischer (lfleischer) - Tuesday, 16 June 2015, 14:05 GMT
We cannot tell how "popular" a repository is, i.e. how many clones there are. Repositories are kept after deletion to reduce the risk of data loss, e.g. if a package is removed accidentally. Actually, your case is another good reason for keeping them: We do not want to confront users with non-fast-forwards.
Comment by Eugene Dvoretsky (radioxoma) - Tuesday, 16 June 2015, 14:33 GMT
Ok. I made some changes and push new commits. Deleted packages appeared again, but with zero votes. Info about first package submitter (dreieck) was lost too.

https://aur4.archlinux.org/packages/?SeB=m&K=radioxoma
Comment by Lukas Fleischer (lfleischer) - Wednesday, 17 June 2015, 14:57 GMT
Sure, that's because the package was deleted. Thanks for resubmitting.

Loading...