wollardj / Mandrill

Multi-user web front-end for managing a Munki repository.
Apache License 2.0
51 stars 3 forks source link

Can't delete a file that isn't tracked by git. #5

Closed wollardj closed 10 years ago

wollardj commented 10 years ago

I use AutoPkg to import updates into the munki repo, but that doesn't add those imported items to the git repo. I had two versions of Chrome staged in the testing catalog and wanted to release the latest one and purge the older of the two. Mandrill refuses to do this because it gets an error from git remove. The solution will be to change the command to git remove -f to force the removal even if the item isn't being tracked by git.

If git isn't enabled, this isn't an issue. You can work around the issue right now by saving the file first (which adds it to the repo) and then deleting it.

wollardj commented 10 years ago

89aad91dcf1ee7451a767a2da3e02422488c5671 should see this issue closed.