Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[backend] scmsync: allow to add build config lines via meta #15904

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adrianschroeter
Copy link
Member

A possible usecase is to build only a small set of packages from a large project. We need to have another place, beside the git source to define this subset for temporary test builds. This is because the git source must be always in a mergable state.

This implementation allows to add any build config line via project meta description. Any #! prefixed line of project meta will be put on top of the _config file.

Please note that this is not the final place, but avoids any compat breakage for now and allows people to play with it.

An example description may look like this:
...

This is my test build for Id X
#!BuildFlags: onlybuild:acl
#!BuildFlags: onlybuild:bc
Some other text describing the project
</description

A possible usecase is to build only a small set of packages
from a large project. We need to have another place, beside the
git source to define this subset for temporary test builds.
This is because the git source must be always in a mergable state.

This implementation allows to add any build config line via
project meta description. Any #! prefixed line of project meta
will be put on top of the _config file.

Please note that this is not the final place, but avoids any
compat breakage for now and allows people to play with it.

An example description may look like this:
...
 <description>
 This is my test build for Id X
 #!BuildFlags: onlybuild:acl
 #!BuildFlags: onlybuild:bc
 Some other text describing the project
 </description
@github-actions github-actions bot added the Backend Things regarding the OBS backend label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Things regarding the OBS backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant