Jimmy Berry
a2e4d58e49
obs_clone: clone projects and dependencies between OBS instances.
2017-10-24 17:43:41 -05:00
Jimmy Berry
a6d397e88f
devel-project: list: only remove self if in devel project list.
2017-10-24 16:23:04 -05:00
Jimmy Berry
443b432699
Merge pull request #1219 from jberry-suse/conffile-over-env
...
osclib/conf: prefer already parsed conffile over OSC_CONFIG env variable.
2017-10-24 15:15:33 -05:00
Jimmy Berry
4d13526b70
Merge pull request #1218 from jberry-suse/tests-obs-cache-fix
...
tests/obs: move Cache.delete_all() after CACHE_DIR changed.
2017-10-24 15:14:39 -05:00
1c17971d6a
Merge pull request #1220 from dirkmueller/master
...
Blacklist new warnings introduced by flake8 3.5.0
2017-10-24 11:33:24 +02:00
ba253a61f3
Blacklist new warnings introduced by flake8 3.5.0
...
The module isn't ready for this yet. Fixes #1217
2017-10-24 11:08:27 +02:00
Stephan Kulow
737d39a1db
Merge pull request #1216 from lnussel/pkglistgen
...
pkglistgen: skip one cycle when undeleting
2017-10-24 06:32:14 +02:00
Jimmy Berry
f8225a3d48
osclib/conf: prefer already parsed conffile over OSC_CONFIG env variable.
...
This is consistent with expected behavior when using:
osc.core.conf.get_config(override_conffile...)
Also removes the need to change the environment in OBS() which removes a
leak.
2017-10-23 23:03:24 -05:00
Jimmy Berry
4eecb9c5c0
tests/obs: move Cache.delete_all() after CACHE_DIR changed.
...
Otherwise, the real caches are cleared whenever tests are run.
2017-10-23 23:00:44 -05:00
Ludwig Nussel
7529c30194
pkglistgen: dont mirror debug packages
2017-10-23 17:44:02 +02:00
Ludwig Nussel
b0256d048c
pkglistgen: skip one cycle when undeleting
2017-10-23 17:44:02 +02:00
Stephan Kulow
0d96bdaf79
pkglistgen: Output overlapping packages as yaml
2017-10-23 12:47:24 +02:00
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