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

Show all user repos on settings page #93

Open
davydovanton opened this issue Feb 22, 2017 · 4 comments
Open

Show all user repos on settings page #93

davydovanton opened this issue Feb 22, 2017 · 4 comments

Comments

@davydovanton
Copy link
Member

Now we have simple code which displays only first 100 user repos:
https://github.com/ossboard-org/ossboard/blob/master/apps/api/controllers/user_repos/show.rb#L20-L22

What we need show (call N times URL until data will be empty) all repos on this page:
http://www.ossboard.org/users/<username>/settings

P.S.: Also we need to update our tests for this action for this

@alishersadikov
Copy link
Contributor

@davydovanton I would love to work on this.

@alishersadikov
Copy link
Contributor

Fetching all user repos (over 100) was not hard. But I am working on fixing tests and that is getting a little tricky. When I cloned the repo, 7 tests in spec/ossboard/repositories/task_repository_spec.rb were failing, so I am looking into those too. Getting "{"error":"Unauthorized"}" related to gitlab issues in some other tests. I am wondering how user_repos could have caused that.

@davydovanton

@alishersadikov
Copy link
Contributor

actually, CI is passing those task_repository specs so it is just the new ones I need to fix.

@alishersadikov
Copy link
Contributor

alishersadikov commented Mar 1, 2017

#96 User repos settings

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

No branches or pull requests

2 participants