| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2021-03-02 | Fix extracting vendor from project config | Scott Bahling | 1 | -1/+1 | |
| 2020-09-03 | Add job history wrappers | Scott Bahling | 1 | -0/+16 | |
| 2020-03-27 | Remove debug print | Scott Bahling | 1 | -1/+0 | |
| 2020-02-13 | Make sure build api arguments match order of OBS api path items. | Scott Bahling | 1 | -1/+1 | |
| This of course breaks the API, but hopefully we stay consistent from this point forward | |||||
| 2020-02-13 | Cleanup sourceapi | Scott Bahling | 1 | -2/+4 | |
| 2020-02-13 | Implement general exception handling | Scott Bahling | 1 | -34/+54 | |
| We trap the low level OBS api calls via a callback and check for success. If error returned, parse the OBS error response and raise an exception. | |||||
| 2020-02-12 | Implement sub-api callbackso | Scott Bahling | 1 | -2/+17 | |
| When an api object makes an API request to the OBS server, in addition to returning the results, it sends a reference to itself to the registered callback function (if set). We use this to track the last api object called so we can access the last raw request response. | |||||
| 2020-02-11 | Set retries to 0 | Scott Bahling | 1 | -2/+2 | |
| 2020-02-10 | Fix get_package_source_version | Scott Bahling | 1 | -3/+3 | |
| 2020-02-07 | Add get_package_source_version() | Scott Bahling | 1 | -3/+34 | |
| 2020-02-06 | Fix get_package_version | Scott Bahling | 1 | -12/+10 | |
| 2020-02-06 | Handle passing bytes to the FileInfo class | Scott Bahling | 1 | -110/+9 | |
| Move class to own file and enhance tests | |||||
| 2020-02-04 | Fix invalid call | Scott Bahling | 1 | -1/+1 | |
| 2020-02-03 | Re-architect the RepoFlags class | Scott Bahling | 1 | -2/+2 | |
| We don't need to create flags - just read and parse them from the project meta config. Remove the unneeded functionality and enhance the structure. All flags from a project and package are accessible via a single RepoFlags object. | |||||
| 2020-02-03 | Reorder arguments to be consistent with get_repo_flags | Scott Bahling | 1 | -8/+2 | |
| 2020-02-03 | Do not default to flag status of enable. We error if no status provided. | Scott Bahling | 1 | -1/+1 | |
| 2020-02-03 | Add remove_flag method | Scott Bahling | 1 | -11/+47 | |
| 2020-02-01 | Add set_flag method | Scott Bahling | 1 | -0/+24 | |
| 2020-01-31 | No need to check if already locked or unlocked | Scott Bahling | 1 | -6/+0 | |
| That's the job of the build service | |||||
| 2020-01-31 | use re for finding vendor macro | Scott Bahling | 1 | -6/+6 | |
| 2020-01-31 | Enhance lock and unlock commands | Scott Bahling | 1 | -17/+9 | |
| Use api 'cmd=lock' post parameter for locking. | |||||
| 2020-01-26 | Add RepoFlags class and api.get_repo_flags method | Scott Bahling | 1 | -0/+4 | |
| 2020-01-25 | Enhance binaries_ls method to return project level binary lists | Scott Bahling | 1 | -1/+4 | |
| 2020-01-21 | PEP8 | Scott Bahling | 1 | -31/+31 | |
| 2020-01-21 | Add get_spec_files method | Scott Bahling | 1 | -0/+11 | |
| 2018-08-24 | Initial user and group methods for ObsApi class | Scott Bahling | 1 | -0/+66 | |
| 2018-08-24 | Enhance api.ls and api.project_ls | Scott Bahling | 1 | -4/+6 | |
| Allow listing projects by passing no 'prj' option to api.ls() | |||||
| 2018-08-24 | remove bare except: | Scott Bahling | 1 | -1/+1 | |
| 2018-08-24 | Generic API get now returns None on failure. Handle appropriately | Scott Bahling | 1 | -5/+11 | |
| 2017-11-01 | Only call osc.conf.get_config() when neededobsapi-0.0.7 | Scott Bahling | 1 | -6/+0 | |
| 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-02-21 | Implement locking api; refactor ObsSourceApi get/put/post calls | Scott Bahling | 1 | -18/+26 | |
| 2016-05-19 | Replace get_binaries with binaries_ls | Scott Bahling | 1 | -1/+1 | |
| 2016-04-19 | Update api core to use buildapi and sourceapiobsapi-0.0.5 | Scott Bahling | 1 | -120/+24 | |
| 2016-03-03 | Add formatter class and extend FileInfo class | Scott Bahling | 1 | -24/+21 | |
| 2016-02-21 | Refactor FileInfo object | Scott Bahling | 1 | -54/+49 | |
| 2016-02-21 | rename source_info method to get_source_info | Scott Bahling | 1 | -1/+1 | |
| Consistency with other get_* methods | |||||
| 2016-02-21 | rename get_binaries to binaries_ls | Scott Bahling | 1 | -2/+4 | |
| Consistency with the other "ls" methods | |||||
| 2016-02-20 | Implement get_build_info and get_nothing_provides | Scott Bahling | 1 | -0/+20 | |
| 2016-02-20 | Implement lock method | Scott Bahling | 1 | -0/+37 | |
| 2016-02-20 | Implement __api_put and get/put meta methods | Scott Bahling | 1 | -2/+39 | |
| 2016-02-20 | Implement source_info | Scott Bahling | 1 | -1/+16 | |
| 2016-02-20 | Modify __api_get to function with self.retries set to 0 | Scott Bahling | 1 | -1/+10 | |
| 2015-08-06 | Add some robustness to http connectionsobsapi-0.0.4 | Scott Bahling | 1 | -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-04-19 | Fix __get_auth | Scott Bahling | 1 | -1/+2 | |
| 2015-04-19 | Fixup get_vendor method | Scott Bahling | 1 | -4/+13 | |
| Handle projects without repositories. | |||||
| 2015-04-19 | Add success property to ObsApi | Scott Bahling | 1 | -1/+8 | |
| Returns True or False if the last api query was successful or not | |||||
| 2015-04-19 | Add ObsApi.get_xml() method | Scott Bahling | 1 | -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-19 | Get OBS authentication from osc if installed | Scott Bahling | 1 | -1/+23 | |
| 2015-02-23 | Initialobsapi-0.0.1 | Scott Bahling | 1 | -0/+235 | |
