115 Commits

Author SHA1 Message Date
Jimmy Berry
0c35cd935b pkglistgen: do_dump_solv(): handle old-style product repo format.
This allows for generating solv cache for Leap versions prior to 15.0
which avoids the need to have them checked into git like previous
package-lists repository.
2018-02-06 00:14:38 -06:00
Jimmy Berry
29b60fcda1 pkglistgen: do_create_droplist(): print to file when output_dir available. 2018-02-06 00:14:38 -06:00
Jimmy Berry
9bf4425ce5 pkglistgen: provide update_merge() to combine free and nonfree solv. 2018-02-06 00:14:30 -06:00
Stephan Kulow
93502e851a pkglistegen: Fix overlap generation
Don't remove packages from modules *below* overlap or they are gone for good
2018-02-01 11:56:20 +01:00
Jimmy Berry
f98a78c1ae Remove Vim config in favor of EditorConfig. 2018-01-23 00:48:00 -06:00
Ludwig Nussel
a825608376 pkglistgen: delete kiwis by scope
Replace config option pkglistgen-delete-kiwis by
pkglistgen-delete-kiwis-$scope. The main project needs all kiwis while
in Rings and Stagings we don't want the ftp tree for example.
2018-01-17 14:33:36 +01:00
Ludwig Nussel
67f2773e76 pkglistgen: typo locals vs locales 2018-01-10 17:19:15 +01:00
Ludwig Nussel
cf09e41995 pkglistgen: add correct staging DVD repo 2018-01-10 17:19:15 +01:00
Ludwig Nussel
39946dbc98 pkglistgen: use xdg.BaseDirectory 2018-01-10 11:51:04 +01:00
Jimmy Berry
ba07d6b512 pkglistgen: do_update_and_solve: staging correct :DVD subproject append. 2018-01-09 17:25:24 -06:00
Jimmy Berry
cf2b591c09 pkglistgen: first pass __file__ through realpath due to packaging symlink.
Same setup as repo-checker.py rather than what worked due to wrapper
scripts.
2018-01-09 17:24:38 -06:00
Jimmy Berry
3ae00c11ac pkglistgen: update_and_solve: include step in output for debugging. 2018-01-08 23:16:52 -06:00
Jimmy Berry
bca8b714d8 pkglistgen: update_and_solve: handle --dry for undelete_package(). 2018-01-08 23:16:17 -06:00
Jimmy Berry
590fb39a60 pkglistgen: update_and_solve: include ignore_unresolvable and local options for solve. 2018-01-08 23:16:11 -06:00
Jimmy Berry
8892c0d821 pkglistgen: update_and_solve: set input_dir to group_dir for solve. 2018-01-08 22:46:58 -06:00
Jimmy Berry
5e9392f4a0 pkglistgen: migrate bash scripts to python. 2017-12-21 01:05:55 -06:00
31da422cda
Fix travis failure introduced with 3e5f3b137 2017-12-19 13:15:18 +01:00
Ludwig Nussel
fd7deddcf0
Merge pull request #1302 from coolo/output_overlap
pkglistgen: Actually remove overlapping packages
2017-12-18 10:12:57 +01:00
Ludwig Nussel
290355c08f
Merge pull request #1297 from dirkmueller/master
Add support for non-x86_64 products (Leap 15.0/aarch64)
2017-12-18 10:11:42 +01:00
Stephan Kulow
9fc8ffe21d pkglistgen: Actually remove overlapping packages 2017-12-15 09:03:46 +01:00
3e5f3b1377 Add support for non-x86_64 products (Leap 15.0/aarch64) 2017-12-14 14:41:23 +01:00
Stephan Kulow
1a29bc5073 pkglistgen: Output the overlaping packages into overlap.group 2017-12-13 19:01:34 +01:00
Ludwig Nussel
8e3fcbf952 pkglistgen: dump_solv function 2017-12-07 14:09:53 +01:00
Ludwig Nussel
5cda9f060e pkglistgen: add droplist generator 2017-12-07 14:09:53 +01:00
Ludwig Nussel
ae242fb47d Implement namespace callback for locales
Needs https://github.com/openSUSE/libsolv/issues/231
2017-11-24 13:45:33 +01:00
Ludwig Nussel
3038aa3e91 pkglistgen: Optionally include suggested packages too 2017-11-24 13:43:38 +01:00
Ludwig Nussel
384746715d pkglistgen: use new cache format of repo_checker 2017-11-13 17:39:52 +01:00
Ludwig Nussel
2110ded1a6 pkglistgen: fix up coolo's code 2017-11-09 15:22:27 +01:00
Ludwig Nussel
48a572ed59 Merge remote-tracking branch 'coolo/create_unsorted' 2017-11-09 15:03:03 +01:00
Ludwig Nussel
ee81a524d1 pkglistgen: also output suggested packages 2017-10-27 17:18:37 +02:00
Ludwig Nussel
7529c30194 pkglistgen: dont mirror debug packages 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
1cec490d54 White space / consistent usage of spaces / indentation of 4 fixes 2017-10-20 00:58:05 +02:00
Ludwig Nussel
d167d0e0fd pkglistgen: add --ignore-unresolvable and --ignore-recommends options
by default write the error string to the xml so it doesn't build
anymore. With the --ignore-unresolvable option only comments are
added.

With the --ignore-recommends option recommended packges will only
be listed as comment.
2017-10-12 11:47:17 +02:00
Ludwig Nussel
c9875469d3 pkglistgen: make --repositories option use an array 2017-10-12 11:47:17 +02:00
Ludwig Nussel
85222b1243 pkglistgen: initial work for openSUSE
- allow to specify architecures
- need to specify default support status
- use correct api (still dirty)
2017-10-12 11:47:17 +02:00
Stephan Kulow
ea55704eb0 Lock all binaries duplicated between repos - the first one wins 2017-09-26 08:29:31 +02:00
Stephan Kulow
f4ae960e6d Generate recommends (requires new python-solv) 2017-09-26 08:29:31 +02:00
Stephan Kulow
45bbd8eaa1 Generate development packages into group comments 2017-09-26 08:29:31 +02:00
Stephan Kulow
7b93d0eaa7 Generate errors into group comments 2017-09-26 08:29:31 +02:00
Stephan Kulow
b580e01044 Generic OUTPUT handling 2017-09-26 08:29:31 +02:00
Stephan Kulow
1eba8f9794 Output devel packages per module 2017-09-26 08:29:31 +02:00
Stephan Kulow
9639c6bd98 Solve the packages one by one instead of a group 2017-09-26 08:29:31 +02:00
Stephan Kulow
d5acacbe3d Use project instead of FACTORY 2017-09-26 08:29:31 +02:00