Commit Graph

14 Commits

Author SHA1 Message Date
Ralph Bean
69a67abc3e Update apidoc. 2016-07-20 15:52:36 -04:00
Lubos Kocman
3e36e33905 pdc: is_module_str needs to check for unicode as well 2016-07-20 19:43:19 +02:00
Lubos Kocman
a503031698 pdc: improve desolving 2016-07-20 17:52:28 +02:00
Lubos Kocman
1fdabfd8cf pdc: make sure that we pass the right filters to pdc 2016-07-20 16:39:55 +02:00
Ralph Bean
f85665f42f Skip the query to PDC for the koji-tag for now. 2016-07-18 10:46:33 -04:00
Ralph Bean
0db0d1d50a Add strict behavior to the pdc interface to make debugging easier. 2016-07-16 19:39:42 -04:00
Ralph Bean
9e3efc3fb4 Remove a bunch of unnecessary stuff.
This is because get_module() is already called *inside* the call to
get_module_tag() and get_module_dependencies().
2016-07-15 13:06:32 -04:00
Ralph Bean
24e7baa6ca Merge branch 'ridad' 2016-07-15 12:14:22 -04:00
Lubos Kocman
1e44e3b299 pdc: unreleasedvariants 2016-07-15 16:04:33 +02:00
Lubos Kocman
4eae650878 rida/pdc.py: add release 2016-07-15 15:06:53 +02:00
Nils Philippsen
6f7e12d35e Use API result structure for dependencies.
Finds runtime and build dependencies in PDC UnreleasedVariant objects
in the fields 'runtime_deps' and 'build_deps'. Both are lists of
dictionaries, each with currently one field 'dependency' which contains
the name of the other variant on which this one depends, with an
optional version constraint. E.g.:

{
  "variant_id": ...,
...
  "runtime_deps": [
    {
      "dependency": "foo>=2"
    }
  ],
  "build_deps": [
    {
      "dependency": "foo>=2"
    }
  ]
}

Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-14 16:21:28 +02:00
Nils Philippsen
81cd81a620 PDC uses plural names for API endpoints.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-14 16:15:12 +02:00
Lubos Kocman
9eb5c25e25 Add rida/pdc.py - A rida related product definition center calls
* renamed and split config.pdc to config.pdc_url, config.pdc_insecure, config.pdc_develop
* test-pdc.py contains example usage

Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2016-07-13 10:31:13 +02:00
Petr Šabata
87df2d3b3d Add the base file structure.
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-23 12:57:45 +02:00