API docs#2
Open
fwilhe wants to merge 2 commits into
Open
Conversation
Vincinator
reviewed
Jul 11, 2024
Contributor
Vincinator
left a comment
There was a problem hiding this comment.
We should describe prepare_source and prepare_binary hooks.
Otherwise looks good to me.
|
|
||
| `import_upstream_patches [patch_dir(default=./upstream_patches)]` | ||
|
|
||
| ### `prepare_binary` |
Contributor
There was a problem hiding this comment.
Content for prepare binary missing.
The package pipeline has three stages.
- source (uses bin/source)
- binary (uses bin/binary)
- release (defined in GH actions only)
For package builds that need special treatment, we have introduced hooks where we can add additional steps
- prepare_source hook is executed in stage 1
- prepare_binary hook is executed in stage 2
commel
reviewed
Jan 21, 2026
|
|
||
| Use source code from a local path (todo: how does that work?) | ||
|
|
||
| `apply_patched [patch_dir(default=./patches)]` |
|
|
||
| Use source code from a given apt source package. | ||
|
|
||
| `git_src $git_url` |
There was a problem hiding this comment.
Might want to add some common parameters:
--branch v1.2.3
|
|
||
| ### `prepare_source` | ||
|
|
||
| `apt_src [--ignore-orig] $package_name` |
There was a problem hiding this comment.
You can add a package version here as well:
$package_name=$version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.