-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Language statistics bar for repositories #8037
Conversation
Could the async update be solved via some kind of cron which looks every couple minutes if a repo has been updated in since the last sync and then updates? |
I'm working on a lib for embedded/persistent async job queue currently that could be used here and also for other async tasks |
Please resolve the conflicts |
Please resolve the conflicts. |
I still need to finish work on async queue first |
b790a21
to
bb28ad3
Compare
Codecov Report
@@ Coverage Diff @@
## master #8037 +/- ##
==========================================
+ Coverage 43.42% 43.46% +0.03%
==========================================
Files 576 582 +6
Lines 79640 79955 +315
==========================================
+ Hits 34587 34753 +166
- Misses 40778 40885 +107
- Partials 4275 4317 +42
Continue to review full report at Codecov.
|
bb28ad3
to
f1bfcf4
Compare
Hi @lafriks what about the modules/queue/Queue? |
f1bfcf4
to
65ecd0c
Compare
9fff39f
to
4a5e64c
Compare
@zeripath I needed something more persistent so I implemented it same as code indexer queue |
It is now complete and ready for review |
14a571c
to
7e64c40
Compare
CI failed. |
7e64c40
to
bffa528
Compare
@lunny fixed |
bffa528
to
0ab78f6
Compare
9165446
to
c0a036f
Compare
c0a036f
to
843c454
Compare
Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module
843c454
to
b3e60ec
Compare
@lunny can you comment on this more? |
Let's do it :) |
@ALZlper pleace open a new Issue, you can reference this pull but dont komment in a merged pull |
Replaces #4824 after accidentally breaking branch :)
Fixes #2165
Implements language statistic calculation using https://github.com/src-d/enry library.
TODO:
(cleanup depends on Implement getting HTML color code for languages src-d/enry#233)Add support for(this could be added later in other PR)linguist-vendored
in.gitattributes
fileScreenshots: