Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
slapos.recipe.template
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • nexedi
  • slapos.recipe.template
  • Merge Requests
  • !2

Merged
Opened Jan 18, 2017 by Vincent Pelletier@vpelletier
  • Report abuse
Report abuse

Add render-once support

Allows, for example, generating zope's inituser file using templates.

On the specific topic of zope's inituser file, there is a little-known through-the-web solution which makes zope ignore the inituser file: just create any other use in zope root's acl_users. This would allow much simpler instanciation, but risks exposing and/or locking users out of any old instance upgrading to a Software Release version which always creates this file.

@kazuhiko @jm @rafael @alain.takoudjou : what is the procedure to release next egg version ? Just push to master, tag and python setup.py sdist upload ?

I need this to be released to upgrade ERP5 SR, and @yusei is waiting on my SR upgrade for a deployment, so we would appreciate if the review of this (rather short) change could be quick.

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch https://lab.nexedi.com/vpelletier/slapos.recipe.template.git master
git checkout -b vpelletier/slapos.recipe.template-master FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/master
git merge --no-ff vpelletier/slapos.recipe.template-master

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 13
  • Commits 2
  • Changes 4
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: nexedi/slapos.recipe.template!2

Cherry-pick this commit

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7