Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !308

slap/standalone: Enable slapos node format

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xavier Thompson requested to merge xavier_thompson/slapos.core:slapformat_in_standalone into master Jun 04, 2021
  • Overview 15
  • Commits 2
  • Pipelines 0
  • Changes 3

Enable slapos node format in StandaloneSlapOS configuration:

  • add a slapformat-definition.cfg file
  • add a [slapformat] section in slapos.cfg referencing slapformat-definition.cfg

Formatting in standalone is handled by StandaloneSlapOS.format() in an independent way that doesn't require these configuration files.

Now, calling StandaloneSlapOS.format() also updates these configuration files so that subsequent calls to slapos node format should produce the same outcome.

In the future, StandaloneSlapOS.format() and slapos node format could be further unified by making StandaloneSlapOS.format() call slapos node format as part of its implementation.

Also, fix a spurious slapos node format warning.

Edited Jun 15, 2021 by Xavier Thompson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: slapformat_in_standalone
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7