Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.recipe.build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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
  • nexedi
  • slapos.recipe.build
  • Merge requests
  • !27

Open
Created Oct 09, 2025 by Xavier Thompson@xavier_thompsonOwner
  • Report abuse
Report abuse

Draft: Introduce build-time parts

  • Overview 14
  • Commits 1
  • 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
Reviewer
Request review from
Time tracking
Source branch: feat/build-time-parts
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7