fedora-infra / mobile

An Android app that allows the Fedora community to interact with Fedora's web apps on the go.
https://fedoraproject.org/mobile
Other
27 stars 10 forks source link

Clean up webapi/* #27

Closed relrod closed 9 years ago

relrod commented 10 years ago

We currently interact with ~4 APIs (Badges, Datagrepper, HRF, Pkgwat) and each time we do so slightly differently.

Let's unify how we access these, abstract out what we can, wrap everything in Scalaz IO so we can reason about it, and generally make the code less ugly to hack on.

relrod commented 10 years ago

Once IO and Task get merged together in Scalaz, there will be less confusion over what to do here, I think. :)

When that happens, we can just use Task here as opposed dealing with both Promise/Task and IO.

relrod commented 10 years ago

whoops. :(

relrod commented 9 years ago

This is mostly done. Going to close it for now. There is some remaining work to do, but this can be done pretty incrementally.