Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.recipe.build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • slapos.recipe.build
  • Merge requests
  • !27

Draft: Introduce build-time parts

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Xavier Thompson requested to merge xavier_thompson/slapos.recipe.build:feat/build-time-parts into master Oct 09, 2025
  • Overview 14
  • Commits 1
  • Pipelines 0
  • Changes 1

Build-time parts are exactly like shared parts, except shared parts are installed in paths specified by buildout:shared-parts, while build-time parts are installed in paths specified by buildout:build-time-parts.

A part is build-time when build-time=true, and shared when shared=true and the part is not build-time: build-time takes precedence.

This gives the opportunity to set build-time=true for parts that are only needed to build other parts, but are not needed at runtime for any service in the instance. Then by setting buildout:build-time-parts but not buildout:shared-parts, these parts can be shared even when runtime parts should not be shared.

This would notably be useful for building SRs for the binary cache, because the binary cache does not support shared parts currently, and therefore shared parts are disabled by unsetting buildout:shared-parts causing the binary SR to be needlessly bloated with all the build-time parts.

Enabling build-time parts only would very simply exclude build-time parts from the binary SR pushed to the binary cache.

Edited Oct 09, 2025 by Xavier Thompson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feat/build-time-parts
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7