24 Commits

Author SHA1 Message Date
Stephan Kulow
ea9061ccf5 Import urllib2 python agnostic 2018-11-16 09:01:45 +01:00
Jimmy Berry
6069245350 Remove SUSE copyright, warranty, and license headers.
Distinct copyrights were left as I do not wish to track down commit
history to ensure it properly documents the copyright holders. Also left
non-GPLv2 licenses and left bs_copy untouched as a mirror from OBS.

Already have a mix of with and without headers and even OBS does not place
on majority of files. If SUSE lawyers have an issue it will come up in
legal review for Factory.
2018-08-23 19:18:06 -05:00
Jimmy Berry
536e17cb79 osclib/stagingapi: rename dashboard_content_* methods to pseudometa_file_*.
No need to be confusing and use the deprecated dashboard name.
2018-08-17 23:19:24 -05:00
Jimmy Berry
760ddf39e6 osclib/conf: decouple from StagingAPI and always fetch remote config.
As the remote config is no longer optional for SLE and is utilized by
openSUSE to the point were it is dangerous not to load the remote config
it should be required. Currently only certain users call apply_remote()
while this will make it built-in during construction and thus makes the
usage consistent and no longer require StagingAPI.
2018-08-16 21:53:40 -05:00
67f5d0213b suppkg_rebuild: count Support tag also 2017-11-17 18:52:36 +08:00
d1c4801578 Another set of low-noise flake8 cleanups 2017-10-20 20:46:44 +02:00
3cf49d9556 Python 2.6+ / 3.x style except clauses
This newer style except statement allows for compatibility with
Python 3.x and does not harm on python 2.6+.
2017-10-16 22:47:58 +02:00
73f33aea3a suppkg_rebuild: VMInstall is also valid on build service 2017-09-11 19:29:26 +08:00
Jimmy Berry
85dbc57f12 stagingapi: provide dashboard_content_{load,save,ensure}() and utilize. 2017-07-27 23:52:58 -05:00
61b7dd5910 Empty the supportpkg list in case no candidate 2017-06-07 18:39:12 +08:00
c969d6e2d6 Fix regression: fromstring basically returned the root of the tree 2017-06-07 18:38:06 +08:00
Jimmy Berry
2ce63658f9 suppkg_rebuild: drop unused self.debug. 2017-05-12 09:47:13 -05:00
Jimmy Berry
786f9482bd suppkg_rebuild: drop unused get_buildinfo_version(). 2017-05-12 09:47:13 -05:00
Jimmy Berry
1c6ac04fef suppkg_rebuild: drop unused get_package_buildinfo(). 2017-05-12 09:47:13 -05:00
Jimmy Berry
4a3e4cf144 suppkg_rebuild: drop unused get_source_packages(). 2017-05-12 09:47:13 -05:00
Jimmy Berry
754f914373 suppkg_rebuild: utilize osc.core.rebuild(). 2017-05-12 09:47:13 -05:00
Jimmy Berry
5fd21c7bb2 suppkg_rebuild: only save rebuild data if it changed. 2017-05-12 09:47:13 -05:00
Jimmy Berry
4984593f45 suppkg_rebuild: utilize stagingapi.{load,save}_file_content(). 2017-05-12 09:47:08 -05:00
0fd85e18d7 Remove unused debugging output 2017-04-27 19:20:08 +08:00
12a9651661 Make sure sub-package also in the staged packages 2017-04-27 18:32:34 +08:00
663d9d6804 Drop unneeded update_suppkgs variable 2017-04-19 02:55:12 +08:00
0acf542c09 Add rebuild condition for a special case 2017-04-19 02:39:45 +08:00
e5b726dc75 Updating suppkg list anyway in case it has changed 2017-04-18 22:49:54 +08:00
5a51961421 New tool suppkg_rebuild.py
Rebuild staging project if it has staged support package, this tool will
trigger project rebuild when the state is stale.
2017-03-21 19:39:09 +08:00