plonebuildout

Why does buildout delete my instance/etc and Extensions folder each time it is run?


Everytime I run buildout to add a product egg, it deletes all the stuff under parts.

How do people deal with this?


Solution

  • Update: To only register a new egg to the instance, you can use buildout's install-command to only build specific parts like this:

    buildout install instance
    

    "Why does buildout delete my instance/etc and Extensions folder each time it is run?"

    -> Because that's what buildout is made for: To build automatically the parts, the way it is defined in the buildout-configuration-file. Not deleting former dirs and files would easily result in conflicts and errors, I guess. Can anyone confirm?

    "How do people deal with this?"

    -> By not putting anything in the parts directory at all ;) No seriously, it is not recommended to do it.

    What's your specific use-case?