Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This branch generates the STL's [Status Chart][].

# Getting Started: Repo

1. Install [Node.js][] 15.12.0 or newer.
1. Install [Node.js][] 15.14.0 or newer.
+ You can accept all of the installer's default options.
2. Open a new Command Prompt.
+ You can run `node --version` to verify that Node.js was successfully installed.
Expand Down Expand Up @@ -39,14 +39,15 @@ GitHub's GraphQL API requires authentication:
1. Go to your [Personal Access Tokens][] on GitHub.
2. Click "Generate new token".
3. Name it "STL Status Chart" or anything else you'd like.
4. Select `repo` scope.
4. Don't select any scopes. (This will be a "public access" token.)
5. Click "Generate token". Keep this page open.
6. In your `chart` repo, create a file named `.env` containing:
```
SECRET_GITHUB_PERSONAL_ACCESS_TOKEN=12ab34cd
SECRET_GITHUB_PERSONAL_ACCESS_TOKEN=ghp_abcdABCD0123wxyzWXYZ6789
```
7. Replace `12ab34cd` with the hexadecimal personal access token that you just generated.
7. Replace `ghp_abcdABCD0123wxyzWXYZ6789` with the personal access token that you just generated.
+ The token is unique, so it's used without your username.
+ The [prefix](https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats/) will be `ghp_`.
8. Save the `.env` file.
9. Close the page displaying your personal access token.
10. Clear your clipboard.
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
font-weight: bold;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.0.0-rc.2/dist/chart.min.js"
integrity="sha256-xssPdG71cJqlfhI1MVo3ZdtAV6m7LWoSEUw8/i6R3JM=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.0.2/dist/chart.min.js"
integrity="sha256-9CKDuBNIQo/dQgrK9nyK+XcD2MBjb0JgnPMANrQw6Cs=" crossorigin="anonymous"></script>
<script
src="https://cdn.jsdelivr.net/npm/chartjs-adapter-date-fns@1.1.0-beta.1/dist/chartjs-adapter-date-fns.bundle.min.js"
integrity="sha256-q2odrNqvxEPo98TjGMel7woN8/eHWcw89eSpepVSEZc=" crossorigin="anonymous"></script>
src="https://cdn.jsdelivr.net/npm/chartjs-adapter-date-fns@2.0.0/dist/chartjs-adapter-date-fns.bundle.min.js"
integrity="sha256-xlxh4PaMDyZ72hWQ7f/37oYI0E2PrBbtzi1yhvnG+/E=" crossorigin="anonymous"></script>
<script src="daily_table.js"></script>
<script src="weekly_table.js"></script>
<script src="monthly_table.js"></script>
Expand Down
40 changes: 20 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions usernames_contributors.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This is very far from an exhaustive list of contributors, and confers no special status.
# It's simply a list of contributors who have submitted a PR review marked as CHANGES_REQUESTED.

AdamBucior
AlexGuteniev
fsb4000
MichaelRizkalla
Expand Down
2 changes: 2 additions & 0 deletions weekly_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,6 @@ const weekly_table = [
{ date: '2021-03-05', vso: 159, libcxx: 579 },
{ date: '2021-03-12', vso: 161, libcxx: 579 },
{ date: '2021-03-19', vso: 161, libcxx: 579 },
{ date: '2021-03-26', vso: 159, libcxx: 579 },
{ date: '2021-04-02', vso: 161, libcxx: 579 },
];