4607 Commits

Author SHA1 Message Date
Stephan Kulow
e44bbf78cc pkglistgen: Write group stubs for --only-release-packages 2019-01-17 14:35:18 +01:00
Stephan Kulow
15f7e3d9f2 pkglistgen: Move one more function to solv_utils 2019-01-17 14:35:18 +01:00
Stephan Kulow
49a7a66144 pkglistgen: Trim down CommandLine interface to the minimum 2019-01-17 14:35:18 +01:00
Stephan Kulow
f087f56a71 pkglistgen: Introduce file_utils functions 2019-01-17 14:35:18 +01:00
Stephan Kulow
1ec04565e3 pkglistgen: Move dump_solv into its own file 2019-01-17 14:35:18 +01:00
Stephan Kulow
1a3ffa1576 pkglistgen: move do_solve into tools class
(no longer a command used on its own good)
2019-01-17 14:35:18 +01:00
Stephan Kulow
d04f347a74 pkglistgen: Bugfixes for create_sle_weakeremovers 2019-01-17 14:35:18 +01:00
Stephan Kulow
4ab866cb2c pkglistgen: move create_sle_weakremovers to tool class 2019-01-17 14:35:18 +01:00
Stephan Kulow
5729439e0f pkglistgen: Drop list commands
They were mainly used for initial conversion of leap
2019-01-17 14:35:17 +01:00
Stephan Kulow
3b7d7dea8f pkglistgen: Drop update command
The commands using the repos update themselves
2019-01-17 14:35:17 +01:00
Stephan Kulow
8351d2e677 pkglistgen: Move suggested from global to package level
There is no product that wants all suggests for all products on all groups,
so the only product left that wants to have suggests is Tumbleweed for the DVD
pattern

To solve the suggests we run a global transaction on the
result + its suggests to determine packageand supplements.
To avoid problems (in general) we discard obsolete and conflicts
in packages - so we can have product groups with conflicting packages
and still get the additional supplements
2019-01-17 14:35:17 +01:00
Stephan Kulow
33d4e2ae21 pkglistgen: Take the architectures from tool not opts 2019-01-17 14:35:17 +01:00
Stephan Kulow
ab85d07f72 pkglistgen: Move into a folder and split into 3 files
No further refactoring, but some cleanup of imports (which obviously has
dangers in itself)
2019-01-17 14:35:17 +01:00
Stephan Kulow
af61a2f0ac
Merge pull request #1835 from DimStar77/new-prod-gen
ttm: Follow Tumbleweed move to new pkglistgen pkg layout
2019-01-16 20:29:16 +01:00
3cd97b79b0
ttm: Follow Tumbleweed move to new pkglistgen pkg layout 2019-01-16 15:49:55 +01:00
Stephan Kulow
9ab4c3c728
Merge pull request #1832 from nilxam/version_to_attribute
accept_command: add additional version number to OSRT:ProductVersion
2019-01-16 07:01:21 +01:00
2ae694a912 accept_command: add additional version number to OSRT:ProductVersion 2019-01-15 19:46:57 +08:00
a9eeeb0a98
Merge pull request #1829 from coolo/work_on_check_source
Only decline delete requests that affect linked packages within the target
2019-01-10 16:24:40 +08:00
Stephan Kulow
646ce308d7 Only decline delete requests that affect linked packages within the target
This decline reason came from https://github.com/openSUSE/openSUSE-release-tools/pull/603
without much more context, so I'm guessing it's about delete requests for
e.g. kernel-default that should delete kernel-source

Packages that link to *other* projects basically do not exist in openSUSE
distributions but are very common in SLE service packs, so we need to diff
on this.

Fixes #1824
2019-01-09 12:58:54 +01:00
df13caa3f3
Merge pull request #1828 from michelmno/snap_nb
ttm: remove set_snapshot_number in ToTest151PowerPC
2019-01-09 11:30:20 +08:00
Michel Normand
f2759a531d ttm: remove set_snapshot_number in ToTest151PowerPC
same as already done for ToTest151ARM

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2019-01-08 14:00:52 +01:00
537bdd5278
Merge pull request #1821 from dirkmueller/master
ARM: don't set the snapshot version
2019-01-04 16:52:45 +08:00
Stephan Kulow
960b7ba537
Merge pull request #1827 from nilxam/binaryversions_suppkg_rebuild
suppkg_rebuild: use the binaryverions query instead
2018-12-19 11:53:06 +01:00
afe9ce7bdb suppkg_rebuild: use the binaryverions query instead
view=binarylist is too expensive, use view=binaryversions instead.
2018-12-19 18:13:31 +08:00
Stephan Kulow
d14a232ba3
Merge pull request #1825 from nilxam/str_check_duplicates
check_duplicate_binaries: set arch key to string instead of the list
2018-12-18 11:56:28 +01:00
32a88ccddb check_duplicate_binaries: set arch key to string instead of the list 2018-12-18 18:50:43 +08:00
d3b494c359 ARM: don't set the snapshot version
Apparently this is different to how x86 does it, and
we don't want to be different
2018-12-11 11:17:54 +01:00
75e065fb5d
Merge pull request #1785 from Vogtinator/twjeosontotestcontainer
Add JeOS and containers to TW
2018-12-10 11:39:54 +01:00
f966934271 Add JeOS and containers to TW 2018-12-06 10:26:44 +01:00
180ca461ac
Merge pull request #1817 from nilxam/pre_delete_pkgs
fcc_submitter: ignore removed package in the previous version
2018-12-05 21:24:12 +08:00
a7c6f4db86 fcc_submitter: ignore removed package in the previous version 2018-12-05 20:30:50 +08:00
Stephan Kulow
aa1c004dda
Merge pull request #1812 from coolo/remove_ports
Remove 'ports' scope as powerpc is using target
2018-12-04 14:28:52 +01:00
Stephan Kulow
53595a24bf droplist: Ignore Leap:15.1 for Leap:15.1:ARM
The heuristic calculating the product family doesn't really work
for ports, so give the tool some hints in the config. And as 15.1
doesn't have a baseurl yet, we need to give 15.0 one specifically.
2018-12-04 07:42:33 +01:00
Stephan Kulow
5da698c8af Do not generate drop list for leap:15.1:arm at the moment
I moved the baseurl into the remote config so that Dirk can enable it
when the repo was published
2018-12-04 07:03:11 +01:00
Stephan Kulow
ee72a3efb0 No longer default to all scopes but make it configurable
By default only generate the pkglists for the target project, only
for leap we configure rings and stagings as additional scopes to look
at
2018-12-04 04:43:18 +01:00
Stephan Kulow
c31c259530 Also remove 'arm' scope 2018-12-03 19:36:17 +01:00
Stephan Kulow
1eee0c68de Remove 'ports' scope - powerpc uses target project 2018-12-03 15:43:36 +01:00
Stephan Kulow
c2e68c2f9a Fix deleting of files
The Package class would already look at the files, so the addremove
was too late
2018-12-03 14:47:45 +01:00
Stephan Kulow
9273bd42a3 Delete kiwi by glob
openSUSE only has 2 to remove, but SLE has a whole list of e.g. s390
2018-12-03 14:47:37 +01:00
Stephan Kulow
5b04108f81 Add option to only generate release packages
We want to do this before the packages build
2018-12-03 14:47:02 +01:00
Stephan Kulow
ac7c2b5072 Remove skip_release option
This was used for ring2 support - which we don't do anymore
2018-12-03 14:46:51 +01:00
Stephan Kulow
a989b7c8ce Set OBS_NAME ourselves on api.suse.de
(the default is correct for api.opensuse.org)
2018-12-03 14:46:35 +01:00
Stephan Kulow
c4862cd75a pkglistgen: Add --staging option for easier scoping
To run on gitlab worker, it's easier to just use the project name
as argument, as this is also what we pass to other jobs
2018-12-03 14:46:21 +01:00
Stephan Kulow
f45087d1c0
Merge pull request #1810 from jberry-suse/travis-notification-encrypt
travis: use ecrypted e-mail address to avoid spam from forks.
2018-11-29 03:54:44 +01:00
Stephan Kulow
e59bac67a5
Merge pull request #1808 from jberry-suse/metrics-config-key
tests/metrics: add basic test to ensure code is executable.
2018-11-29 03:51:42 +01:00
Stephan Kulow
4c711395b0
Merge pull request #1811 from jberry-suse/cache-double-comment
osclib/cache: remove double comment introduced in #1802.
2018-11-29 03:50:37 +01:00
Jimmy Berry
5ffaf618b0 osclib/cache: remove double comment introduced in #1802. 2018-11-28 19:11:03 -06:00
Jimmy Berry
2df0813d36 metrics: sync config key with recent Leap changes. 2018-11-28 18:56:37 -06:00
Jimmy Berry
1abca4088a tests/metrics: add basic test to ensure code is executable. 2018-11-28 18:56:33 -06:00
Jimmy Berry
a9a77386ab travis: use ecrypted e-mail address to avoid spam from forks.
Rather silly there is not better solution, but as noted by others this is
the only relatively sane way to do it.

- travis-ci/travis-ci#1094
- travis-ci/travis-ci#5063
- mozilla/build-tools@c13a297
2018-11-28 18:51:36 -06:00