3296 Commits

Author SHA1 Message Date
Stephan Kulow
d620a66f16 pkglistgen: Allow new recommended flag to take over recommends
Useful not to duplicate packages in both patterns and package list
2017-10-22 13:31:04 +02:00
Stephan Kulow
3c80321018 pkglistgen: Ignore modules recursively 2017-10-21 20:41:23 +02:00
Stephan Kulow
7e0646497d pkglistgen: Implement UNWANTED support 2017-10-21 13:25:29 +02:00
Stephan Kulow
ca5acd00d4 pkglistgen: Do not ignore recommendes from other modules 2017-10-21 13:25:23 +02:00
Stephan Kulow
6aa06b2357 pkglistgen: Have update command exit 1 if it updated something
The idea is to be able to determine if it's useful to run solve command
2017-10-21 13:25:21 +02:00
Stephan Kulow
d8a8fb2a5d pkglistgen: Create an unsorted.yml and output duplications 2017-10-21 13:24:46 +02:00
Ludwig Nussel
9465b2f6ea Merge pull request #1196 from lnussel/pkglistgen
pkglistgen: shell scripts to actually commit
2017-10-21 09:26:51 +02:00
Jimmy Berry
0479513427 Merge pull request #1215 from jberry-suse/travis-cache
Travis improve caching by installing realpath and enabling pip cache
2017-10-20 23:45:11 -05:00
Jimmy Berry
7f1dc4c1a0 travis: chmod .docker-tmp so non-root can read for caching. 2017-10-20 22:45:48 -05:00
Jimmy Berry
c89065fa91 travis: extend cache timeout to 7 days.
Since storing rpms that change relatively rarely and will auto clear.
2017-10-20 22:45:11 -05:00
Jimmy Berry
924879f212 travis: optimize osc build cache by removing build-root.
Locally it the cache will still remain for optimimal speed when developing.
2017-10-20 22:44:52 -05:00
Jimmy Berry
67d0a69c6a travis: enable pip cache. 2017-10-20 22:07:02 -05:00
Jimmy Berry
bc29bc9905 travis: install realpath to allow docker-run to correctly mount volume.
In turn caching of `osc build` temporary directories works.
2017-10-20 21:56:49 -05:00
Jimmy Berry
ee3417897b Merge pull request #1213 from jberry-suse/travis-coverage-correction
travis: include all files instead of just osclib in coverage.
2017-10-20 21:36:48 -05:00
Jimmy Berry
fb010c77b0 travis: include all files instead of just osclib in coverage. 2017-10-20 18:16:58 -05:00
Jimmy Berry
7d266d5d0a Merge pull request #1201 from dirkmueller/flake8
Flake8 / pep8 formatting fixes
2017-10-20 17:37:31 -05:00
d1c4801578 Another set of low-noise flake8 cleanups 2017-10-20 20:46:44 +02:00
ed01f0681d Parallelize flake8 run
rather than find / xargs we run flake8 over everything which uses all
available cpus by default. Also set max line length to 100 because jimmy
likes it.
2017-10-20 08:54:11 +02:00
Jimmy Berry
24ea059e15 Merge pull request #1126 from jberry-suse/ci-obs-build
dist/ci: rework spec.sh as obs-build-target using `osc build` and provide easy local run, Leap:42.3, and SLE-12-SP3 builds.
2017-10-19 22:14:08 -05:00
Jimmy Berry
e36827e184 dist/ci/docker-run: utilize throwaway credentials to workaround OBS issue. 2017-10-19 21:58:52 -05:00
Jimmy Berry
d33ed73a7c dist/ci/osc-init: print OBS_API and OBS_USER for debugging. 2017-10-19 21:58:52 -05:00
Jimmy Berry
80bac0d71f dist/ci: use hidden directory .docker-tmp instead of HOME and cache on travis. 2017-10-19 21:58:52 -05:00
Jimmy Berry
3fb1a4a641 dist/ci: fallback to /public OBS API in the event of no OBS_PASS 2017-10-19 21:58:52 -05:00
Jimmy Berry
846eb45a6f dist/ci: provide OBS_API parameter. 2017-10-19 21:58:52 -05:00
Jimmy Berry
522b05eac4 travis: add distribution builds for Leap 42.3 and SLE-12-SP3. 2017-10-19 21:58:52 -05:00
Jimmy Berry
4bc92ac0c1 dist/ci: rework spec.sh as obs-build-target using osc build.
Instead of performing a slim rpm build and check directly inside the
container a proper build is performed using `osc build`. The target
package is checked out the _service file pointed at the local copy
and then `osc service disabledrun` before building.
2017-10-19 21:58:49 -05:00
Jimmy Berry
a777ec97da dist/ci: extract common osc setup as osc-init and provide in /usr/bin. 2017-10-19 21:58:29 -05:00
Jimmy Berry
721bb1ed6a dist/ci/Dockerfile: include obs-deploy in /usr/bin.
Paving the way for this image to be built outside of this repository.
2017-10-19 21:58:29 -05:00
Jimmy Berry
6387768211 dist/ci: rename deploy.obs.sh to obs-deploy. 2017-10-19 21:58:29 -05:00
Jimmy Berry
88ebbd6c95 dist/ci/deploy: only commit if changes available to commit. 2017-10-19 21:58:29 -05:00
Jimmy Berry
9392b4daa9 dist/ci/deploy: only add line if missing from _servicedata.
Avoids duplication when multiple PRs are merged quickly after one another.
2017-10-19 21:58:29 -05:00
Jimmy Berry
c2ddfaee4b dist/ci/Dockerfile: switch to base tumbleweed image.
The official base image is now updated regularly so no need to use
custom rebuilding image.
2017-10-19 21:58:29 -05:00
Jimmy Berry
6b7fd1b095 Merge pull request #1202 from dirkmueller/travis
Enable travis / flake8 checks
2017-10-19 21:03:05 -05:00
6e78eb95fe Enable F405,F811 (Unused imports)
Remove imports that are either duplicate or unused
2017-10-20 01:03:00 +02:00
2219190e18 Add Flake8 travis infrastructure
This at least allows the most glaring errors to be found before they
get merged. Almost all lintstyle and make flake8 errors are ignored
right now, to be cleaned up once the testing is in place.
2017-10-20 01:01:23 +02:00
d04bc4fce1 Import all dependencies 2017-10-20 01:01:17 +02:00
1cec490d54 White space / consistent usage of spaces / indentation of 4 fixes 2017-10-20 00:58:05 +02:00
d07e2cdc4a Remove outdated script
This is no longer in use
2017-10-20 00:58:05 +02:00
Jimmy Berry
be5b3ec12d Merge pull request #1206 from jberry-suse/devel-project-osc-160
devel-project: utilize get_request_list(withfullhistory) param provided by osc 0.160.0.
2017-10-19 14:50:31 -05:00
Jimmy Berry
44e44a64f0 Merge pull request #1203 from dirkmueller/checknewer
Rename checknewer to checknewer.py and fix Flake8 fallout
2017-10-18 20:56:35 -05:00
Jimmy Berry
a890767ddb Merge pull request #1200 from jberry-suse/splitter-special
osclib/request_splitter: provide splitter-special-packages config variable.
2017-10-18 20:53:46 -05:00
Jimmy Berry
3349bd964a Merge pull request #1197 from dirkmueller/python3
Python 2.6+ / 3.x style except clauses
2017-10-18 20:50:02 -05:00
Jimmy Berry
5f714c2608 devel-project: utilize get_request_list(withfullhistory) param provided by osc 0.160.0.
The addition of queries to search() breaks the altered implementation of
search. The custom search() can be dropped since openSUSE/osc@902b48f
provides the missing functionality.
2017-10-18 14:46:17 -05:00
Ludwig Nussel
53f281e6b2 Merge pull request #1199 from jberry-suse/select-interactive-remaing-requests
osc-staging: select -i: include remaining requests in comment.
2017-10-17 15:55:34 +02:00
Ludwig Nussel
39b531fa7d dist: add subpackage for pkglistgen 2017-10-17 15:51:56 +02:00
3eb66257e8 Rename checknewer to checknewer.py and fix Flake8 fallout
This is a python script so as the majority of scripts in here
it should end in a .py suffix
2017-10-17 15:47:00 +02:00
Ludwig Nussel
bf6c6a8bbe pkglisten: add some docu 2017-10-17 15:41:52 +02:00
Ludwig Nussel
b8a971be8b pkglistgen: shell scripts to actually commit 2017-10-17 15:41:52 +02:00
1168d474b7 Merge pull request #1198 from dirkmueller/totest_crash
Fix undefined variables 'release'
2017-10-17 11:15:32 +02:00
7058f07d71 Merge pull request #1194 from nilxam/decline_more_invalid_dr
check_source: decline the delete request if duplicated
2017-10-17 15:23:26 +08:00