• Alain Takoudjou's avatar
    random-recipe: add option create-once to prevent storage file deletion by buildout · fdfc1509
    Alain Takoudjou authored
    It sometimes happend that buildout unistall/install the section with this recipe,
    which remore storage_path file and recreate it. In most of cases this is not wanted
    because the recipe is used to generate password, so that password will change when this
    To prevent buildout to remove storage_path, I introduced a new option 'create-once'
    which, when set to True (the default value) will not let buildout play with storage_path file
    by returning None in install recipe. Also install won't remove the file if the size is not 0.
    /reviewed-on !129
Last commit
Last update
recipe Loading commit data...
test Loading commit data...
__init__.py Loading commit data...