fedora-infra / anitya

A cross-distribution upstream release monitoring project
https://release-monitoring.org
GNU General Public License v2.0
254 stars 105 forks source link

Custom backend, missing version URL error is unreadable #572

Open abitrolly opened 6 years ago

abitrolly commented 6 years ago

I forgot to specify Version URL for custom backend and got error Could not call : "None" of "lenovo-thinkpad-x250", with error: argument of type 'NoneType' is not iterable.

image

Moreover, the project is successfully saved even with this error.

P.S. Yes. I am adding firmware monitoring for my notebook to Anitya. :)

Zlopez commented 6 years ago

This looks like the version url is not checked when saved.

@abitrolly Can you change the version URL when editing project?

abitrolly commented 6 years ago

Yes.

http://abitrolly.id.fedoraproject.org/ edited the project: amqp fields: {'version_prefix': {'new': u'v', 'old': None}, 'version_url': {'new': u'http://docs.oasis-open.org/amqp/core/', 'old': u'http://svn.apache.org/repos/asf/qpid/trunk/qpid/QPID_VERSION.txt'}, 'backend': {'new': u'folder', 'old': u'custom'}}