Skip to content

API docs#2

Open
fwilhe wants to merge 2 commits into
mainfrom
fwilhe-patch-2
Open

API docs#2
fwilhe wants to merge 2 commits into
mainfrom
fwilhe-patch-2

Conversation

@fwilhe
Copy link
Copy Markdown
Contributor

@fwilhe fwilhe commented Jul 2, 2024

No description provided.

@fwilhe fwilhe marked this pull request as ready for review July 11, 2024 13:48
Copy link
Copy Markdown
Contributor

@Vincinator Vincinator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should describe prepare_source and prepare_binary hooks.

Otherwise looks good to me.

Comment thread README.md

`import_upstream_patches [patch_dir(default=./upstream_patches)]`

### `prepare_binary`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Content for prepare binary missing.

The package pipeline has three stages.

  1. source (uses bin/source)
  2. binary (uses bin/binary)
  3. release (defined in GH actions only)

For package builds that need special treatment, we have introduced hooks where we can add additional steps

@fwilhe fwilhe closed this Aug 14, 2024
@fwilhe fwilhe deleted the fwilhe-patch-2 branch August 14, 2024 15:28
@fwilhe fwilhe restored the fwilhe-patch-2 branch October 17, 2024 08:39
@fwilhe fwilhe reopened this Oct 17, 2024
Comment thread README.md

Use source code from a local path (todo: how does that work?)

`apply_patched [patch_dir(default=./patches)]`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's called apply_patches now.

Comment thread README.md

Use source code from a given apt source package.

`git_src $git_url`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to add some common parameters:
--branch v1.2.3

Comment thread README.md

### `prepare_source`

`apt_src [--ignore-orig] $package_name`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add a package version here as well:
$package_name=$version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants