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

progress: move from an internal package to external #804

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

mvo5
Copy link
Collaborator

@mvo5 mvo5 commented Jan 21, 2025

This commit makes the previously internal progress package an external API. The is the result of the discussion in images PR#1150 where we decided that the progress module is not a great fit for the "images" library.

We want to share this code between bootc-image-builder and image-builder-cli now. In the future we will also want to use it in the worker-executor in osbuild-composer to parse the stream data from osbuild.

We plan to merge bootc-image-builder and image-builder-cli medium term so importing code from bootc-image-buider in image-builder cli is not that stange.

When we (longer-term) use this code the worker-executor we will need to think about this again and maybe put it back into images. However this commit unblocks us without making anything worse.

Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

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

Nice and simple.

I realise it's weird to have ib-cli import bib for this, but I'm fine with unblocking this work while we discuss what should go where and tidying up later.

@mvo5 mvo5 added this pull request to the merge queue Jan 22, 2025
Copy link
Member

@supakeen supakeen left a comment

Choose a reason for hiding this comment

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

Nice (and temporary while we think about the rest).

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 22, 2025
@mvo5 mvo5 added this pull request to the merge queue Jan 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 23, 2025
@supakeen
Copy link
Member

This will fail with the current osbuild + images main until osbuild/images#1162 and osbuild/osbuild#1990 are in.

@mvo5 mvo5 added this pull request to the merge queue Jan 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 23, 2025
@mvo5 mvo5 added this pull request to the merge queue Jan 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2025
@mvo5 mvo5 added this pull request to the merge queue Jan 24, 2025
@mvo5 mvo5 removed this pull request from the merge queue due to a manual request Jan 24, 2025
@mvo5 mvo5 added this pull request to the merge queue Jan 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2025
This commit makes the previously internal `progress` package an
external API. The is the result of the discussion in images
PR#1150 where we decided that the progress module is not a great
fit for the "images" library.

We want to share this code between bootc-image-builder and
image-builder-cli now. In the future we will also want to
use it in the `worker-executor` in `osbuild-composer` to
parse the stream data from `osbuild`.

We plan to merge bootc-image-builder and image-builder-cli
medium term so importing code from bootc-image-buider in
image-builder cli is not that stange.

When we (longer-term) use this code the `worker-executor`
we will need to think about this again and maybe put it
back into images. However this commit unblocks us without
making anything worse.
@supakeen supakeen force-pushed the make-progress-public branch from cba2ad7 to 80f8d50 Compare January 24, 2025 20:00
@supakeen supakeen enabled auto-merge January 24, 2025 20:14
@supakeen supakeen added this pull request to the merge queue Jan 24, 2025
Merged via the queue into osbuild:main with commit 5dae34c Jan 25, 2025
9 of 12 checks passed
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