22 Commits

Author SHA1 Message Date
Stephan Kulow
e6bf5ccb7b Do no longer CC submitters in request comments
Submitters complain more and more about the spam they're getting from
staging projects - and we rather leave that weapon for actual feedback.

One especially annoying case is if a package is added to one staging project
and then later moved to another, the submitter will receive notifications
of all kind of bots and actions for both staging projects.
2018-10-04 09:52:49 +02: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
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
Jimmy Berry
dd68116c9c select_tests: fix after comment rework.
These tests are very ugly due to mocking.
2017-06-01 10:12:27 +02:00
Stephan Kulow
47fc31b93d move constructor in tests 2015-07-18 13:48:15 +02:00
Alberto Planas
c9d1e06ca8 Refactor configuration parameters into configuration file. 2015-02-19 11:39:05 +01:00
70631b27d9 Remove empty line. 2014-07-01 09:30:54 +02:00
414ad1390e Enable comments. 2014-06-27 09:50:08 +02:00
c5daf9a956 Remove fake oscs for testing. 2014-06-23 15:06:03 +02:00
Stephan Kulow
4b432b9bb1 fix the test suite for the subpkg tests
actually the biggest impact has my refusal to select into outdated prjs
2014-06-17 14:39:51 +02:00
Ancor Gonzalez Sosa
84193d62e8 Nicer comments (using the improved OBS markup) for (un)select 2014-06-17 11:39:59 +02:00
Ancor Gonzalez Sosa
507e50d633 Write only one comment per action
* For every 'select' or 'unselect' a single comment is written in
   every affected project
 * Previous automatic comments are deleted (as a first approach)
 * For more info, see https://progress.opensuse.org/issues/2564
2014-06-04 16:54:21 +02:00
77d1d18c48 Rewrite OBS mockup test, fixtures and tests. 2014-06-04 11:04:37 +02:00
Tomáš Chvátal
73084cf3dc Import freeze command visibly and fix select test. 2014-03-07 15:10:04 +01:00
Michal Hrusecky
eda367cd99 Fix yet another test 2014-03-07 15:05:22 +01:00
71170d7aff Check package matches in find_request_package() 2014-03-06 16:59:49 +01:00
Stephan Kulow
742d80d059 fix test by giving real results not fake 2014-03-06 10:44:52 +01:00
Michal Hrusecky
75d88686ec Improve select test suite 2014-03-04 16:35:30 +01:00
Stephan Kulow
57216c9819 fix some bugs in select 2014-03-04 16:05:20 +01:00
Michal Hrusecky
ba8dd50bd5 Implement a way to use custom statuses 2014-03-04 15:13:19 +01:00
Michal Hrusecky
a4455ac6d9 Little improvement to select test 2014-03-04 14:53:17 +01:00
Michal Hrusecky
673d08b8a3 Split select test to separate file 2014-03-04 12:45:44 +01:00