conary
conary copied to clipboard
cvc commit does not dereference recipe symlinks
Conary will not dereference symlink recipe file, but instead commits the symlink. Later attempts to update the source will cause the repository to return 500 Internal Server Errors.
Steps to reproduce:
- Create a file
foo.recipe. - Use
cvcto create a new packagefoo - Create a symlink within the
foocheckout tofoo.recipe - Add and commit the symlinked recipe
- Copy the real
foo.recipeover the symlink and change the version - Commit the recipe
Conary will fail with a 500 ISE.
Workaround: if you use cvc remove to remove the recipe symlink and then use cvc add to add back a real file, then the commit will succeed.