Skip to content

Move pkg/chunked/internal to pkg/chunked/internal/minimal#2196

Merged
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
mtrmac:minimal-subpkg
Dec 13, 2024
Merged

Move pkg/chunked/internal to pkg/chunked/internal/minimal#2196
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
mtrmac:minimal-subpkg

Conversation

@mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Dec 12, 2024

We now have several internal subpackages of pkg/chunked, so delineate more explicitly the parts that should be kept as small as possible because the c/image compression package depends on them.

Should not change behavior.


Previously discussed in #2194 (comment) .

I don’t like the internal/minimal subpackage name much; I don’t know how to choose a name that both expresses “be careful not to add dependencies here” and that looks good at the call sites (which don’t all care about the minimizing dependencies). Suggestions for an alternative are very welcome.

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

LGTM

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 12, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe, mtrmac

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

We now have several internal subpackages of pkg/chunked, so delineate
more explicitly the parts that should be kept as small as possible
because the c/image compression package depends on them.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Dec 13, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Dec 13, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 18afcfd into containers:main Dec 13, 2024
@mtrmac mtrmac deleted the minimal-subpkg branch December 13, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants