
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Regression: Hide GitHub Stats for Private Repositories Β· Issue #2081 Β· squidfunk/mkdocs-material
Description:
I've read the contribution guidelines and agree with them I've found a bug and checked that ... ... the problem doesn't occur with the default MkDocs template ... the problem is not in ...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Video & Online Content
- Dating & Relationships
- Cryptocurrency
Content Management System {π}
What CMS is github.com built with?
Github.com is powered by WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,003 visitors per month in the current month.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 4,989,880 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,498.
The estimated annual recurring revenues (ARR) are $251,489,970.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
squidfunk, github, issue, bug, stars, forks, private, open, problem, sign, repositories, closed, resolved, projects, regression, stats, behavior, gitlab, repo, site, session, observe, commented, owner, status, react, navigation, public, code, issues, pull, requests, actions, security, hide, description, ive, doesnt, mkdocs, template, related, fix, expected, shown, docs, number, actual, repository, repourl, browser,
Topics {βοΈ}
mkdocs-material/src/assets/javascripts/patches/source/github/index squidfunk edits owner personal information regression status code bug resolved issue open projects default mkdocs template closed issues behavior change resulted file system information comment metadata assignees package versions python hide github stats private github repository clear session storage public repositories projects milestone github api request closed issue console open private repositories docs 2 material bug concerns bug provide private repository regression github logo github icon github orgs flood github' session storage docker python open 4 mkdocs mkdocs status === 200 issue private repo contribution guidelines automatically requested actual number gh returns 6 project configuration milestone relationships nonexistent repo yml repo_url 7 image browser forks statistic bug
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Regression: Hide GitHub Stats for Private Repositories
articleBody:<!--
β οΈ WARNING
Half of all issues created do not contain enough information to help or are
not appropriate for the issue tracker (i.e. one-line questions). If you think
you found a bug, follow the steps outlined below closely. Any issue that does
not meet these conditions may be closed unnoticed.
Why? Because the maintainers of this project are wasting a lot of time
answering questions that are not directly related to this project.
Make sure that your request fulfills ALL of the following requirements. If one
requirement cannot be satisfied, please explain in detail why.
-->
- [x] I've read the [contribution guidelines][1] and agree with them
__I've found a bug and checked that ...__
- [x] ... the problem doesn't occur with the default MkDocs template
- [x] ... the problem is not in any of my customizations (CSS, JS, template)
- [ ] ... the documentation does not mention anything about my problem (**it confirms it -- see below**)
- [ ] ... there are no open or closed issues that are related to my problem (**there is a closed issue that I think is related -- see below**)
## Description
This bug concerns the visibility of the `X Stars β’ X Forks` statistic.
I am wondering if the behavior change resulted from the fix for #1864.
### Expected behavior
Previously (we had been on 5.1.0), the stats were hidden for private repositories -- only the GitHub logo was shown. This is confirmed to be expected by the docs:
> Additionally, for GitHub and GitLab, the number of stars and forks is automatically requested and rendered for _public repositories_.
(Emphasis in original) [[link]](https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#configuration)
### Actual behavior
Now, `0 Stars β’ 0 Forks` is shown when given a private repository (regardless of the actual number of stars or forks).
### Steps to reproduce the bug
1. Provide a value for `repo_url` that points at a private GitHub repository (or a nonexistent repo).
2. Build and serve the site.
3. Browser: clear session storage.
4. Navigate to the site with the console open.
5. Observe a GitHub API request sent for the repo; for a private repo, GH returns a 404.
6. Observe that the GitHub icon has "0 Stars 0 Forks" underneath it.
7. Observe in session storage, the following value is set: `["0 Stars","0 Forks"]`.
### Package versions
* Python: 2.7.4
* MkDocs: 1.1.2
* Material: 6.1.6
### Project configuration
<!-- Please provide your mkdocs.yml to a reasonable amount of detail -->
``` yaml
... # somewhere in mkdocs.yml
repo_url: https://github.com/some-repo-that-is/private-or-does-not-exist
... # rest of file
```
### System information
<!-- Please provide your operating system and browser version -->
(should be irrelevant for this issue)
* OS: macOS 10.13.6 / site built with docker `python:3.7` image
* Browser: Chrome 86
[1]: https://github.com/squidfunk/mkdocs-material/blob/master/CONTRIBUTING.md
author:
url:https://github.com/NJAldwin
type:Person
name:NJAldwin
datePublished:2020-11-30T23:05:25.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/2081/mkdocs-material/issues/2081
context:https://schema.org
headline:Regression: Hide GitHub Stats for Private Repositories
articleBody:<!--
β οΈ WARNING
Half of all issues created do not contain enough information to help or are
not appropriate for the issue tracker (i.e. one-line questions). If you think
you found a bug, follow the steps outlined below closely. Any issue that does
not meet these conditions may be closed unnoticed.
Why? Because the maintainers of this project are wasting a lot of time
answering questions that are not directly related to this project.
Make sure that your request fulfills ALL of the following requirements. If one
requirement cannot be satisfied, please explain in detail why.
-->
- [x] I've read the [contribution guidelines][1] and agree with them
__I've found a bug and checked that ...__
- [x] ... the problem doesn't occur with the default MkDocs template
- [x] ... the problem is not in any of my customizations (CSS, JS, template)
- [ ] ... the documentation does not mention anything about my problem (**it confirms it -- see below**)
- [ ] ... there are no open or closed issues that are related to my problem (**there is a closed issue that I think is related -- see below**)
## Description
This bug concerns the visibility of the `X Stars β’ X Forks` statistic.
I am wondering if the behavior change resulted from the fix for #1864.
### Expected behavior
Previously (we had been on 5.1.0), the stats were hidden for private repositories -- only the GitHub logo was shown. This is confirmed to be expected by the docs:
> Additionally, for GitHub and GitLab, the number of stars and forks is automatically requested and rendered for _public repositories_.
(Emphasis in original) [[link]](https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#configuration)
### Actual behavior
Now, `0 Stars β’ 0 Forks` is shown when given a private repository (regardless of the actual number of stars or forks).
### Steps to reproduce the bug
1. Provide a value for `repo_url` that points at a private GitHub repository (or a nonexistent repo).
2. Build and serve the site.
3. Browser: clear session storage.
4. Navigate to the site with the console open.
5. Observe a GitHub API request sent for the repo; for a private repo, GH returns a 404.
6. Observe that the GitHub icon has "0 Stars 0 Forks" underneath it.
7. Observe in session storage, the following value is set: `["0 Stars","0 Forks"]`.
### Package versions
* Python: 2.7.4
* MkDocs: 1.1.2
* Material: 6.1.6
### Project configuration
<!-- Please provide your mkdocs.yml to a reasonable amount of detail -->
``` yaml
... # somewhere in mkdocs.yml
repo_url: https://github.com/some-repo-that-is/private-or-does-not-exist
... # rest of file
```
### System information
<!-- Please provide your operating system and browser version -->
(should be irrelevant for this issue)
* OS: macOS 10.13.6 / site built with docker `python:3.7` image
* Browser: Chrome 86
[1]: https://github.com/squidfunk/mkdocs-material/blob/master/CONTRIBUTING.md
author:
url:https://github.com/NJAldwin
type:Person
name:NJAldwin
datePublished:2020-11-30T23:05:25.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/2081/mkdocs-material/issues/2081
Person:
url:https://github.com/NJAldwin
name:NJAldwin
url:https://github.com/NJAldwin
name:NJAldwin
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:3
interactionType:https://schema.org/CommentAction
userInteractionCount:3
External Links {π}(3)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net