Skip to content

also copy component patches to self.cfg in Bundle generic easyblock#1897

Merged
pescobar merged 1 commit intoeasybuilders:developfrom
boegel:bundle_fix_patches
Dec 24, 2019
Merged

also copy component patches to self.cfg in Bundle generic easyblock#1897
pescobar merged 1 commit intoeasybuilders:developfrom
boegel:bundle_fix_patches

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Dec 24, 2019

fixes #1893

This doesn't affect the way in which a bundle of components is installed, but it's important for the checksum check we do in the easyconfigs test suite (see #1893)...

Copy link
Copy Markdown
Member

@pescobar pescobar left a comment

Choose a reason for hiding this comment

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

lgtm

@pescobar pescobar merged commit 04257a8 into easybuilders:develop Dec 24, 2019
@boegel boegel deleted the bundle_fix_patches branch December 24, 2019 10:02
boegel added a commit to Flamefire/easybuild-easyconfigs that referenced this pull request Dec 24, 2019

# reset list of sources/source_urls/checksums
comp_cfg['sources'] = comp_cfg['source_urls'] = comp_cfg['checksums'] = []
comp_cfg['sources'] = comp_cfg['source_urls'] = comp_cfg['checksums'] = comp_cfg['patches'] = []
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is a serious bug. It sets all of them to the same list! So if you do comp_cfg['sources'].append('foo') it will also append it to the others unless some copy trickery is done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bundle Easyblock does not put patches into root config

3 participants