Skip to content

Commit

Permalink
cleanup: drop migration-code
Browse files Browse the repository at this point in the history
  • Loading branch information
8R0WNI3 committed Nov 26, 2024
1 parent 0d6cb62 commit 8cb9bed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
6 changes: 0 additions & 6 deletions cnudie/migrate.py

This file was deleted.

9 changes: 1 addition & 8 deletions concourse/steps/component_descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import ci.util
import cnudie.util
import cnudie.retrieve
import cnudie.migrate
import version

import ocm
Expand Down Expand Up @@ -38,7 +37,6 @@ def base_component_descriptor_v2(
repo_url: str,
):
import datetime
import cnudie.migrate
import ocm
import version as version_util
parsed_version = version_util.parse_to_semver(effective_version)
Expand All @@ -58,12 +56,7 @@ def base_component_descriptor_v2(
# logical names must not contain slashes or dots
logical_name = component_name_v2.replace('/', '_').replace('.', '_')

if cnudie.migrate.emit_compatible_to_cnudie_v2:
provider = 'internal'
else:
provider = {
'name': 'SAP SE',
}
provider = 'SAP SE'

component_labels = list(component_labels)
component_labels.append(
Expand Down

0 comments on commit 8cb9bed

Please sign in to comment.