Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 124
    • Merge requests 124
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !129

Merged
Created Jan 19, 2017 by Alain Takoudjou@alain.takoudjouMaintainer

random-recipe: add option create-once to prevent storage file deletion by buildout

  • Overview 14
  • Commits 1
  • Changes 1

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 happend. 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.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: alain
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7