I can imagine some source types might require more than a simple string to identify it. Maybe instead of having source_type and then simple source string we could have
"source": { "type": "tag", "tag": "f26", "packages": ["httpd"] }
Where type key would always exist and other keys would depend on source type?
Anyone else want to weight in on this?
My hunch is that this would be an API breaking change which would be okay to make now so long as too many people aren't using ODCS directly. We can easily control freshmaker queries if that's still the only user.
Done here: https://pagure.io/odcs/pull-request/48
Metadata Update from @jkaluza: - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/pungi/odcs/issues/35
Please continue any further discussion there.