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
remove executable flag from easyconfigs #18646
base: develop
Are you sure you want to change the base?
Conversation
Lot's of issues with existing ECs in test_pr_sanity_check_paths, test_pr_sha256_checksums & test_pr_python_packages How do you want to proceed? |
3ae777d
to
c023781
Compare
@smoors Rebased after merge of #18647 Would be great to get this merged as there were 4 new files with wrong permissions (likely C&P) but getting all the tests to pass is more work than it's worth |
this should be a significant help here: |
c023781
to
32a6d96
Compare
@Flamefire: Tests failed in GitHub Actions, see https://github.com/easybuilders/easybuild-easyconfigs/actions/runs/6143357244
bleep, bloop, I'm just a bot (boegelbot v20200716.01) |
@boegel How to proceed here? |
@Flamefire: Tests failed in GitHub Actions, see https://github.com/easybuilders/easybuild-easyconfigs/actions/runs/6546322045
bleep, bloop, I'm just a bot (boegelbot v20200716.01) |
@Flamefire It's probably better to re-do this exercises in the |
Agree to do that in addition but I'd expect users to still use the (next) 4.x release to copy ECs from and submit PRs so fleshing out those issues is IMO cheap enough to do here once in bulk |
OK, but the failing CI is making that a really painful merge... Do we have a test in place to verify that easyconfigs touched in a PR don't have exec permissions? |
Can't you ignore the failing CI and still merge that? Other PRs should succeed then (There already was one where the exec permissions led to failures unrelated to the changes in that PR) Hence I think it is less painful to do that straight-forward merge here once and ignore CI than to have contributors have to deal with the possible many times in the future.
Yes, since #18647 |
This permission flag seems to have been set accidentally.
bb20ac4
to
5363818
Compare
I found a bunch of ECs that were marked executable which they clearly should not. Might even be bad for security
I fixed that and added a test, that (changed) ECs are readable, owner-writable and non-executable, i.e. at least 0644 without any executable flag.
An example failure I forced to test the test:
AssertionError: CFITSIO-3.34-ictce-5.5.0.eb must be readable (owner, group, other), not executable, at least owner writable, is: 0o100511
As some of the ECs (mostly/only? in
__archive__
) didn't parse correctly anymore making the test fail I did the minimal changes to fix them.