github / gh-classroom

GitHub Classroom CLI Extension is a powerful and easy-to-use command line tool that enhances the functionality of the GitHub CLI, specifically tailored for educators using GitHub Classroom.
MIT License
83 stars 14 forks source link

Feature request: indicate that more pages exist in clone student-repos #4

Closed kapravel closed 1 year ago

kapravel commented 1 year ago

It took me a second to realize that not all of the repos were downloaded, but only the first page (30 repositories). It would be nice to print the number of pages or some sort of message that indicates that not all repositories were downloaded (30/100).

For reference, here's what worked for me: gh classroom clone student-repos --per-page 100

girodg commented 1 year ago

Thank you. I didn't see your issue and entered my own without seeing your solution.

RyanHecht commented 1 year ago

Hi! We're going to look into ways we can make this more apparent in-product in addition to having it called out in docs

shanep commented 1 year ago

@RyanHecht and @zrdaley With pr #37 now merged on main can this issue be closed?

zrdaley commented 1 year ago

@shanep I think we still want to add more logging to the clone command in order to close this issue.

shanep commented 1 year ago

@zrdaley No problem on the more logging, Added it in with pr #46 :)

shanep commented 1 year ago

Hi @zrdaley so with the additional logging and all code merged can we consider this issue closed?

zrdaley commented 1 year ago

Yes, thank you @shanep!

doctorscott commented 8 months ago

I cannot get the per page to work. I just get a "HTTP 500: Server Error" with the assignment link: (https://api.github.com/assignments/540986/accepted_assignments?page=1&per_page=99)

I updated cli and still this error. Honestly, I have no idea why you would limit it to 30 assignments in the first place. And updating the documentation is not a sufficient fix.