URL fix
Details
Details
Diff Detail
Diff Detail
- Repository
- rRPMLINT task-rpmlint
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
kparal |
task-rpmlint |
URL fix
NA
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Path | Packages | |||
---|---|---|---|---|
M | run_rpmlint.py (2 lines) |
Commit | Tree | Parents | Author | Summary | Date |
---|---|---|---|---|---|
7571ab5024b6 | 5f5d812bba9c | 5b9b92fc2976 | sumantro93 | URL fix (Show More…) | Feb 21 2017, 10:09 PM |
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 24 | def run(koji_build, workdir='.', artifactsdir='artifacts'): | |||
---|---|---|---|---|---|
49 | else: | 49 | else: | ||
50 | log.critical('No .src.rpm files found in: %s', workdir) | 50 | log.critical('No .src.rpm files found in: %s', workdir) | ||
51 | log.debug('Files available in the workdir:\n%s', '\n'.join(files)) | 51 | log.debug('Files available in the workdir:\n%s', '\n'.join(files)) | ||
52 | raise AssertionError('No .src.rpm files found. That should never happen, all Koji builds ' | 52 | raise AssertionError('No .src.rpm files found. That should never happen, all Koji builds ' | ||
53 | 'should have a source RPM.') | 53 | 'should have a source RPM.') | ||
54 | 54 | | |||
55 | # run rpmlint on RPMs | 55 | # run rpmlint on RPMs | ||
56 | # disable network checks to avoid hitting websites too much (also the network checks were | 56 | # disable network checks to avoid hitting websites too much (also the network checks were | ||
57 | # already) performed on the SRPM. See https://phab.qadevel.cloud.fedoraproject.org/T760 | 57 | # already) performed on the SRPM. See https://phab.qa.fedoraproject.org/T760 | ||
58 | if rpms: | 58 | if rpms: | ||
59 | command = ['rpmlint', '-o', 'NetworkEnabled False'] + rpms | 59 | command = ['rpmlint', '-o', 'NetworkEnabled False'] + rpms | ||
60 | rpm_result = run_rpmlint(command) | 60 | rpm_result = run_rpmlint(command) | ||
61 | else: | 61 | else: | ||
62 | log.warn('No binary rpm files found in: %s', workdir) | 62 | log.warn('No binary rpm files found in: %s', workdir) | ||
63 | rpm_result = Result('PASSED', [], 0, 0) | 63 | rpm_result = Result('PASSED', [], 0, 0) | ||
64 | 64 | | |||
65 | # compute overall results | 65 | # compute overall results | ||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |