Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update backends to request data from web APIs where possible #108

Open
brainwane opened this issue Nov 20, 2013 · 0 comments
Open

Update backends to request data from web APIs where possible #108

brainwane opened this issue Nov 20, 2013 · 0 comments

Comments

@brainwane
Copy link
Contributor

We should update the Allura, GitHub, Bugzilla, Redmine, JIRA, and (maybe) Gerrit backends to get data from APIs rather than via Beautiful Soup. Per the mailing list discussion:

Most bicho backends, such as jira.py, currently do search queries to get an XML file with many bug URLs at once and then use Beautiful Soup to grab information from the rendered HTML. This is not optimal; screenscraping is less robust than calling a web API.

Whenever possible, we want to use available APIs. However, some old bugtrackers used to not have APIs, and even today, some APIs don't give us all of the information that we want. So we need to be able to fall back to HTML scraping/parsing in cases where the bug tracker's API doesn't exist (maybe an old version of Bugzilla/JIRA/etc.) or doesn't provide stuff we want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant