Actions
Issue #7353
closedbindings for ansible collection are too strict on documentation field
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 80
Quarter:
Description
When syncing:
url: "https://galaxy.ansible.com"
---
collections:
- robertdebock.rundeck_collection"
And then trying to fetch the ansible collection versions, using the bindings 'list' call, i get an error:
ArgumentError: invalid value for "documentation", must conform to the pattern (?-mix:^(?:[a-z0-9.-+])://(?:[^\s:@\/]+(?::[^\s:@\/])?@)?(?:(?:25[0-5]|2[0-4]\d|[0-1]?\d?\d)(?:.(?:25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}|[[0-9a-f:.]+]|(a-z¡-0-9?(?:.(?!-)[a-z¡-0-9-]{1,63}(?<!-)).(?!-)(?:[a-z¡--]{2,63}|xn--[a-z0-9]{1,59})(?<!-).?|localhost))(?::\d{2,5})?(?:[/?#][^\s])?\Z).
pulpcore=# select version,documentation from ansible_collectionversion;
version | documentation
---------+----------------------------------------------------------------------------------
1.0.4 |
1.0.3 | https://github.com/robertdebock/ansible-collection-rundeck/blob/master/README.md
1.0.2 | https://github.com/robertdebock/ansible-collection-rundeck/blob/master/README.md
1.0.1 | https://github.com/robertdebock/ansible-collection-rundeck/blob/master/README.md
1.0.6 | https://github.com/robertdebock/ansible-collection-rundeck/blob/master/README.md
1.0.5 | https://github.com/robertdebock/ansible-collection-rundeck/blob/master/README.md
1.0.4 | https://github.com/robertdebock/ansible-collection-rundeck/blob/master/README.md
1.0.0 | https://github.com/robertdebock/ansible-collection-rundeck/blob/master/README.md
1.0.7 | https://github.com/robertdebock/ansible-collection-rundeck/blob/master/README.md
1.0.3 |
1.0.2 |
1.0.5 |
1.0.0 |
1.0.1 | https://github.com/newswangerd/collection_demo
1.0.10 |
1.0.6 |
(16 rows)
It also looks like the homepage and issues field may have the same issue.
Related issues
Actions
Replace URLField with CharField
https://pulp.plan.io/issues/7353 closes #7353