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

refactor: import dataclasses from cc-utils / pipeline-template #282

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

ccwienk
Copy link
Collaborator

@ccwienk ccwienk commented Dec 6, 2024

Reduce dependencies from delivery-service-repository towards cc-utils (in particular such dependenceis against cc-util's pipeline-template).

As GithubIssueTemplateCfg is quite a trivial datastructure, copy it for now (will be deduplicated again by planned mv of upstream github.compliance-package - which is currently blocked by remaining, pipeline-based scans (CX + OS-id), yet to be migrated into ocm-gear-extensions).

LicenseCfg was not longer used within cc-utils.

@ccwienk ccwienk requested a review from a team as a code owner December 6, 2024 13:41
@ocm-ci-robot-0 ocm-ci-robot-0 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Dec 6, 2024
@ccwienk

This comment was marked as outdated.

@ccwienk
Copy link
Collaborator Author

ccwienk commented Dec 6, 2024

/unhold

ccwienk added a commit to gardener/cc-utils that referenced this pull request Dec 6, 2024
ccwienk added a commit to gardener/cc-utils that referenced this pull request Dec 6, 2024
Prepare making github-package to be easier to consume outside
Gardener-CICD-Pipeline-Template. Hence mv shared dataclass
(GithubIssueTemplateCfg) into (transient) module github.issue (the
latter will be resolved after fully migrating github.compliance and
friends to delivery-service-repository.

see: open-component-model/delivery-service#282
config.py Outdated Show resolved Hide resolved
Reduce dependencies from delivery-service-repository towards cc-utils
(in particular such dependenceis against cc-util's pipeline-template).

As GithubIssueTemplateCfg is quite a trivial datastructure, copy it for
now (will be deduplicated again by planned mv of upstream
github.compliance-package - which is currently blocked by remaining,
pipeline-based scans (CX + OS-id), yet to be migrated into
ocm-gear-extensions).

LicenseCfg was not longer used within cc-utils.
@ccwienk ccwienk force-pushed the refactor-dependencies branch from 7ebdcf9 to 3466f90 Compare December 9, 2024 09:44
@ocm-ci-robot-0 ocm-ci-robot-0 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Dec 9, 2024
ccwienk added a commit to gardener/cc-utils that referenced this pull request Dec 9, 2024
ccwienk added a commit to gardener/cc-utils that referenced this pull request Dec 9, 2024
Prepare making github-package to be easier to consume outside
Gardener-CICD-Pipeline-Template. Hence mv shared dataclass
(GithubIssueTemplateCfg) into (transient) module github.issue (the
latter will be resolved after fully migrating github.compliance and
friends to delivery-service-repository.

see: open-component-model/delivery-service#282
Copy link
Member

@8R0WNI3 8R0WNI3 left a comment

Choose a reason for hiding this comment

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

/lgtm

@ccwienk ccwienk merged commit 3b9a29e into master Dec 9, 2024
3 checks passed
@ccwienk ccwienk deleted the refactor-dependencies branch December 9, 2024 11:34
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.

4 participants