-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Change language statistics to save size instead of percentage #11681
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lafriks
added
type/enhancement
An improvement of existing functionality
backport/v1.12
labels
May 29, 2020
zeripath
approved these changes
May 29, 2020
GiteaBot
added
the
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
label
May 29, 2020
CirnoT
suggested changes
May 29, 2020
CirnoT
reviewed
May 29, 2020
lafriks
force-pushed
the
fix/langstats_storage
branch
from
May 29, 2020 18:27
c9baf71
to
c5007df
Compare
CirnoT
approved these changes
May 29, 2020
GiteaBot
added
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
and removed
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
labels
May 29, 2020
How does this fix the case of |
@silverwind what do you mean |
You linked #11672 but I fail to see how it's related. |
@silverwind It includes fix from #11672 along with necessary changes, so that there is no need to resolve merge conflicts for either of PRs. |
Ah, missed that. Carry on. |
@lafriks needs an update |
…base Co-Authored-By: Cirno the Strongest <[email protected]>
lafriks
force-pushed
the
fix/langstats_storage
branch
from
May 29, 2020 23:01
c5007df
to
995d265
Compare
@zeripath fixed some edge cases with special languages, should pass tests now |
make lg-tm work |
lafriks
added a commit
to lafriks-fork/gitea
that referenced
this pull request
Jun 1, 2020
…ea#11681) * Change language statistics to save size instead of percentage in database Co-Authored-By: Cirno the Strongest <[email protected]> * Do not exclude if only language * Fix edge cases with special langauges Co-authored-by: Cirno the Strongest <[email protected]>
lafriks
added a commit
that referenced
this pull request
Jun 2, 2020
#11690) * Change language statistics to save size instead of percentage (#11681) * Change language statistics to save size instead of percentage in database Co-Authored-By: Cirno the Strongest <[email protected]> * Do not exclude if only language * Fix edge cases with special langauges Co-authored-by: Cirno the Strongest <[email protected]> * Fix language stat calculation (#11692) * Fix language stat calculation * Group languages and ignore 0 size files * remove unneeded code Co-authored-by: Cirno the Strongest <[email protected]>
ydelafollye
pushed a commit
to ydelafollye/gitea
that referenced
this pull request
Jul 31, 2020
…ea#11681) * Change language statistics to save size instead of percentage in database Co-Authored-By: Cirno the Strongest <[email protected]> * Do not exclude if only language * Fix edge cases with special langauges Co-authored-by: Cirno the Strongest <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
backport/done
All backports for this PR have been created
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
type/enhancement
An improvement of existing functionality
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #11672
Fixes #10567
Co-Authored-By: Cirno the Strongest [email protected]