Skip to content

download_assets: ensure files from obs_scm service are parsed too#1120

Open
fcrozat wants to merge 1 commit intoopenSUSE:masterfrom
fcrozat:fix_download_assets
Open

download_assets: ensure files from obs_scm service are parsed too#1120
fcrozat wants to merge 1 commit intoopenSUSE:masterfrom
fcrozat:fix_download_assets

Conversation

@fcrozat
Copy link
Copy Markdown

@fcrozat fcrozat commented Jan 21, 2026

If a Dockerfile is fetched using obs_scm source service, download_assets will ignore the file.

This should fix it.

Comment thread download_assets
for my $file (sort keys %$files) {
next unless $file eq 'sources' || $file eq 'go.sum' || $file eq 'PKGBUILD' || $file eq 'APKBUILD' || $file eq 'Dockerfile' || $file =~ /^Dockerfile\./ || $file =~ /\.(?:spec|dsc|kiwi)/;
my $_file_to_match = $file;
$_file_to_match =~ s/^_service:obs_scm\.// if $_file_to_match =~ /^_service:obs_scm\./;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

if at all which should block all _service: files and have no specifics to a service implementation.

Question for me is if we should support the mix of (server side) services with assets at all.

The idea is still to replace obs_scm with remote assets instead.

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.

2 participants