Comments (2)
We can skip the "commit days" idea for now, it's not that big of an improvement. This means we can skip fetching the commits of other users.
For the time badge we only need the first and last user commit. We don't need the user commits in the middle.
For the user contribs graph we only need the user commits, not all commits. If the user has too many commits then maybe we could linearly extrapolate between the first user commit and the last user commit.
Also if we skip the commit days idea then we can use endpoints like stats/contributors that give coarser info. (This one doesn't seem to have an option to filter by author though, so it's not that helpful for us. But maybe there are some GraphQL endpoints that would help.)
From my side, the only feature that would sadden me if we don't implement it, is the user contribs graph. The rest I can live fine without.
But anyways, we can always work on something else. There are many things we can do without extra data. (E.g. hall of fame, medals summary like on military vests)
So to sum up: Can we get the date of the first user commit and the date of the last user commit? (I checked on api v3 and it seems that we cannot invert the sorting order. But I vaguely remember that it's possible on the graphql api. Didn't check that out yet.)
from db.
@brillout FYI here is how a "commit list file" looks like when it's truncated: https://s3.amazonaws.com/ghuser/data/repoCommits/torvalds/linux.json
{
"contributors": {
"torvalds": {
"2018-09-16": 2,
"2018-09-15": 7,
...
}
},
"last_fetched_commit": {
"sha": "7876320f88802b22d4e2daf7eb027dd14175a0f8",
"date": "2018-09-16T18:52:37Z"
},
"ghuser_truncated": true
}
from db.
Related Issues (18)
- S3 turns out to be too expensive HOT 1
- Use a real database
- Leverage GraphQL HOT 1
- Leverage alternate sources of data HOT 3
- orgs.json is getting big
- Remove obsolete data HOT 1
- fetchBot is failing - getting 403 from rawgit
- API rate limit exceeded for user ID HOT 1
- Leverage gharchive.org dataset
- Leverage git clone
- The history or contributor list is too large to list contributors for this repository via the API
- fetchRepos.js runs out of memory
- Move `data/` away from this repo
- Some repos take hours to refresh
- DB should contain the number of commits per user per month for each repo HOT 2
- HTTP 500 when fetching pull requests HOT 1
- Improve CLI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from db.