-
Notifications
You must be signed in to change notification settings - Fork 28
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
Extract github API into its own module and refactor cache warmer to use it #48
Comments
diegomanuel
added a commit
that referenced
this issue
Feb 22, 2020
…Behaviour implemented at Backends.Github for get_org/2, get_members/1, get_repos/1, get_topics/2 and headers/0 (WIP).
diegomanuel
added a commit
that referenced
this issue
Feb 23, 2020
…ted Coophub.Backends.call_api_get/2.
diegomanuel
added a commit
that referenced
this issue
Feb 23, 2020
… that runs "mix dialyzer --check=false" + "mix test".
diegomanuel
added a commit
that referenced
this issue
Feb 24, 2020
diegomanuel
added a commit
that referenced
this issue
Feb 26, 2020
…he behaviour to just have the minimal needed specific implementation.
diegomanuel
added a commit
that referenced
this issue
Feb 26, 2020
diegomanuel
added a commit
that referenced
this issue
Feb 26, 2020
diegomanuel
added a commit
that referenced
this issue
Mar 15, 2020
diegomanuel
added a commit
that referenced
this issue
Mar 15, 2020
…r to use it (#50) * Created 3 modules: Coophub.Backends, Coophub.Backends.Behaviour and Coophub.Backends.Github. * Renaming Repos.Warmer to CacheWarmer. * Created Makefile with some useful targets. * Adding dep "dialyzex" to have "mix dialyzer".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to #4, as second step to archieve gitlab support (the first one was the PR #47).
The
repos_warmer
should be refactored to call behaviourized functions to fetch data from external sources. The first source will be github (and after this, in another issue, the gitlab one).Each external source module should implement the required functions to fetch the remote data and return structs defined at #47 (
Organization
andRepository
).The text was updated successfully, but these errors were encountered: