-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Sort by Recently updated #1142
Comments
Hey @ritwik12 - Just breaking down this, since we don't have |
@Zarad1993 Yes, we need to hit GH for this for each repository and collect the last updated time for a repo. |
@Zarad1993 Since it could be a big feature request so it'll be good to break it down in steps so that help from others could also be taken if required. |
@AllanOcelot It will be good to have your reviews on this issue time to time. |
Thanks @ritwik12 . Just a note since we don't have specific key values for |
@Zarad1993 Yeah, also not all site URL are github repo URLs but approx 80-90 percent URL are github URLs. |
Hello guys. I'm new here and new to contributing to OSS in general. I would like to suggest using the Github Rest API v3. A simple GET request can return all info about a repo, including "updated_at" and "pushed_at". For example, https://api.github.com/repos/up-for-grabs/up-for-grabs.net returns all the info about this repository. |
Update: It looks like Github API allows 60 requests/hour for unregistered requests. Using some form of OAuth can raise this to 5000/hour. Anyway, I have created code in projectsService.js that gathers all projects with github urls, sends the requests and processes the responses to add a ''lastUpdateTime" field in _projectsData.projects[i]. I'm now working on sorting the array based on these timestamps and after that I think I will upload the code on my fork for you to see it. I haven't done anything about the html part (maybe we can add a "sort by recently active" button with a warning that some projects might not support this feature). So far, I'm not very familiar with how the data is being presented on screen. |
@savvas94 This looks good, Please send a PR for this for whatever you have done till now and make checks checklists for adding more code. It'll be good to do it step wise so that you'll not spend lots of time doing something different. |
This comment has been minimized.
This comment has been minimized.
Hello, I am looking to contribute to an open source application as a part of my final project for a course. I have a team of five members, and I see many open issues currently. I wanted to know if this issue is active and if I can work on it? |
As per @AllanOcelot in #1140, it will be good to have a sort by
recently updated
ormost active
for projects.The text was updated successfully, but these errors were encountered: