summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-07-18Handle retrieving binary files properlyScott Bahling2-2/+10
2018-07-18Remove output noiseScott Bahling1-2/+0
2018-07-18Make flake8 happyScott Bahling3-2/+35
Add dummy logger for now
2017-11-01Only call osc.conf.get_config() when neededobsapi-0.0.7Scott Bahling2-13/+13
osc.conf.get_config() can cause calls to password managers like kwallet. Move this action from module init to the functions that actually need to access the OBS api and require authentication. We also cache the results in a local variable now.
2017-11-01Add test for sourceapi.put_metaScott Bahling2-0/+20
2017-10-04Move test project/package to build.opensuse.orgScott Bahling3-29/+29
2017-02-21Implement locking api; refactor ObsSourceApi get/put/post callsScott Bahling5-29/+132
2016-05-20remove printScott Bahling1-1/+0
2016-05-19Replace get_binaries with binaries_lsScott Bahling1-1/+1
2016-04-19Update api core to use buildapi and sourceapiobsapi-0.0.5Scott Bahling3-125/+32
2016-03-03Add formatter class and extend FileInfo classScott Bahling5-24/+118
2016-03-03Add ObsBuildApi classScott Bahling2-0/+177
2016-03-03Add ObsSourceApi classScott Bahling2-0/+115
2016-03-03Add ObsHttpApi classScott Bahling1-0/+104
2016-02-21Refactor FileInfo objectScott Bahling1-54/+49
2016-02-21Add test for get_binary_fileinfoScott Bahling1-0/+14
2016-02-21rename source_info method to get_source_infoScott Bahling2-1/+10
Consistency with other get_* methods
2016-02-21rename get_binaries to binaries_lsScott Bahling2-4/+16
Consistency with the other "ls" methods
2016-02-20Implement get_build_info and get_nothing_providesScott Bahling1-0/+20
2016-02-20Implement lock methodScott Bahling1-0/+37
2016-02-20Implement __api_put and get/put meta methodsScott Bahling1-2/+39
2016-02-20Implement source_infoScott Bahling1-1/+16
2016-02-20Modify __api_get to function with self.retries set to 0Scott Bahling1-1/+10
2015-08-06Add some robustness to http connectionsobsapi-0.0.4Scott Bahling1-3/+15
- Add a retry loop. Shouldn't be required, but sometimes api.suse.com fails with authentication and a second retry works. - Add verify_ssl option to turn off SSL verification. Needed when facing temporary SSL certificate issues on the api server.
2015-06-30Requires python-requestsScott Bahling1-0/+1
2015-04-19Update versioneer and add first unit testsobsapi-0.0.3Scott Bahling7-529/+869
2015-04-19Fix __get_authScott Bahling1-1/+2
2015-04-19Fixup get_vendor methodScott Bahling1-4/+13
Handle projects without repositories.
2015-04-19Add success property to ObsApiScott Bahling1-1/+8
Returns True or False if the last api query was successful or not
2015-04-19Add ObsApi.get_xml() methodScott Bahling1-14/+27
get_xml will attempt to retrieve the xml response from the obs api. If response failes, a dummy, blank xml file will be returned. This makes the helper functions more robust against api connection errors. If query failes, empty data will be simply be returned to the client. The client is responsible for any response error checking. The 'response' property is added to the ObsApi. This holds the full requests response from the last api query. The client can check this property to test for query success when required.
2015-04-19Get OBS authentication from osc if installedScott Bahling1-1/+23
2015-04-10.gitattributes for versioneer supportScott Bahling1-0/+1
2015-04-08Make rpmlint happyScott Bahling1-1/+1
2015-04-08Remove ChangeLog from repoScott Bahling2-11/+2
2015-04-08add python- prefix to specfileScott Bahling2-1/+7
2015-04-08Setup packageobsapi-0.0.2Scott Bahling7-3/+963
2015-02-23Initialobsapi-0.0.1Scott Bahling8-0/+635