Skip to content

Commit

Permalink
Import GitHub created events
Browse files Browse the repository at this point in the history
  • Loading branch information
norm committed Apr 9, 2021
1 parent 0dd12f6 commit 44ad0af
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 1 deletion.
24 changes: 23 additions & 1 deletion script/add_github_events
Expand Up @@ -66,7 +66,29 @@ for day in sorted(day_events):
)

if event['type'] == 'CreateEvent':
update += ''
if event['payload']['ref_type'] == 'branch':
update += '* %s — created branch %s on [`%s`](%s)\n' % (
timestamp.strftime('%H:%M'),
event['payload']['ref'],
event['repo']['name'],
api_to_website(event['repo']['url']),
)
elif event['payload']['ref_type'] == 'tag':
update += '* %s — created tag `%s` on [`%s`](%s)\n' % (
timestamp.strftime('%H:%M'),
event['payload']['ref'],
event['repo']['name'],
api_to_website(event['repo']['url']),
)
elif event['payload']['ref_type'] == 'repository':
update += '* %s — created repo [`%s`](%s)\n' % (
timestamp.strftime('%H:%M'),
event['repo']['name'],
api_to_website(event['repo']['url']),
)
else:
print(event)
raise UnknownEvent
elif event['type'] == 'DeleteEvent':
if event['payload']['ref_type'] == 'branch':
update += '* %s — deleted branch %s from [`%s`](%s)\n' % (
Expand Down
3 changes: 3 additions & 0 deletions source/2021/02/22/github_activity.markdown
Expand Up @@ -5,15 +5,18 @@ source = "api.github.com"
type = "github"
```

* 17:17 — created branch exclude_future on [`norm/flourish`](https://github.com/norm/flourish)
* 17:18 — Pushed 1 commit to `main` on [`norm/flourish`](https://github.com/norm/flourish) ([diff](https://github.com/norm/flourish/compare/4d6d78da7fae91907a622202dedbe565d17cc95d..5c8f927803d0ef9f76ef3e502bb1fb2d5fe322c2))
* [Fix documented target for building for pypi](https://github.com/norm/flourish/commit/5c8f927803d0ef9f76ef3e502bb1fb2d5fe322c2)
* 17:22 — Pushed 2 commits to `main` on [`norm/flourish`](https://github.com/norm/flourish) ([diff](https://github.com/norm/flourish/compare/5c8f927803d0ef9f76ef3e502bb1fb2d5fe322c2..44aeac4bf2fdde7546da21e139b6227b0734bfdc))
* [Allow excluding sources with future dates](https://github.com/norm/flourish/commit/0afd0b2b88c7752c5f663c48bb25029cda9112af)
* [Merge pull request #32 from norm/exclude_future](https://github.com/norm/flourish/commit/44aeac4bf2fdde7546da21e139b6227b0734bfdc)
* 17:22 — deleted branch exclude_future from [`norm/flourish`](https://github.com/norm/flourish)
* 17:26 — created branch release-092 on [`norm/flourish`](https://github.com/norm/flourish)
* 17:27 — Pushed 2 commits to `main` on [`norm/flourish`](https://github.com/norm/flourish) ([diff](https://github.com/norm/flourish/compare/44aeac4bf2fdde7546da21e139b6227b0734bfdc..283aca3ccb2b535f4649606a080e9a884204207b))
* [Version 0.9.2 has been uploaded to pypi](https://github.com/norm/flourish/commit/a349d96fdb53261d76b2de4985d3ca57ad34bd99)
* [Merge pull request #33 from norm/release-092](https://github.com/norm/flourish/commit/283aca3ccb2b535f4649606a080e9a884204207b)
* 17:27 — created tag `v0.9.2` on [`norm/flourish`](https://github.com/norm/flourish)
* 17:28 — deleted branch release-092 from [`norm/flourish`](https://github.com/norm/flourish)
* 17:28 — deleted branch master from [`norm/flourish`](https://github.com/norm/flourish)
* 17:28 — deleted branch release-07 from [`norm/flourish`](https://github.com/norm/flourish)
Expand Down
1 change: 1 addition & 0 deletions source/2021/02/23/github_activity.markdown
Expand Up @@ -5,6 +5,7 @@ source = "api.github.com"
type = "github"
```

* 09:15 — created branch five-levels on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net)
* 09:34 — Pushed 2 commits to `five-levels` on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net) ([diff](https://github.com/norm/gifs.cackhanded.net/compare/94c8aab47b457d3c8831bff2b3429c7e16720cf1..4e5ec51c872c1e09bcab522dfdd32c36de190ba3))
* [Schedule remaining "5 levels of drinking" GIFs](https://github.com/norm/gifs.cackhanded.net/commit/b439dd45d78e9410255446ddcba7677109211742)
* [Reorder the "5 levels of drinking" GIFs](https://github.com/norm/gifs.cackhanded.net/commit/4e5ec51c872c1e09bcab522dfdd32c36de190ba3)
Expand Down
3 changes: 3 additions & 0 deletions source/2021/03/03/github_activity.markdown
Expand Up @@ -9,15 +9,18 @@ type = "github"
* [Add "talking to you is tiring"](https://github.com/norm/gifs.cackhanded.net/commit/eb95cb67046b6190006d5f2c17097f35a61d5273)
* 14:59 — Pushed 1 commit to `main` on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net) ([diff](https://github.com/norm/gifs.cackhanded.net/compare/eb95cb67046b6190006d5f2c17097f35a61d5273..997aa39269bbe9ab19968cc324294d9eb8eb550f))
* [Add more Horizon GIFs](https://github.com/norm/gifs.cackhanded.net/commit/997aa39269bbe9ab19968cc324294d9eb8eb550f)
* 16:25 — created branch cloudfront-invalidate on [`norm/flourish`](https://github.com/norm/flourish)
* 16:27 — Pushed 1 commit to `cloudfront-invalidate` on [`norm/flourish`](https://github.com/norm/flourish) ([diff](https://github.com/norm/flourish/compare/72ab1da0d58a153c4990b2f1e4be3306bea6bae6..c30d48becb6f593a1843f271bda13543a39cd6f2))
* [Issue CloudFront invalidations on upload](https://github.com/norm/flourish/commit/c30d48becb6f593a1843f271bda13543a39cd6f2)
* 16:29 — Pushed 2 commits to `main` on [`norm/flourish`](https://github.com/norm/flourish) ([diff](https://github.com/norm/flourish/compare/283aca3ccb2b535f4649606a080e9a884204207b..d8f0d1b3fdd2e9240b30196b5f41adc015f46701))
* [Issue CloudFront invalidations on upload](https://github.com/norm/flourish/commit/c30d48becb6f593a1843f271bda13543a39cd6f2)
* [Merge pull request #34 from norm/cloudfront-invalidate](https://github.com/norm/flourish/commit/d8f0d1b3fdd2e9240b30196b5f41adc015f46701)
* 16:29 — deleted branch cloudfront-invalidate from [`norm/flourish`](https://github.com/norm/flourish)
* 16:32 — created branch release-093 on [`norm/flourish`](https://github.com/norm/flourish)
* 16:34 — Pushed 2 commits to `main` on [`norm/flourish`](https://github.com/norm/flourish) ([diff](https://github.com/norm/flourish/compare/d8f0d1b3fdd2e9240b30196b5f41adc015f46701..66c0dce4ecb155efd93b73b30470553f68beab47))
* [0.9.3 has been uploaded to pypi](https://github.com/norm/flourish/commit/5ccdb9f1148e56190e2051939d4543a82eca508f)
* [Merge pull request #35 from norm/release-093](https://github.com/norm/flourish/commit/66c0dce4ecb155efd93b73b30470553f68beab47)
* 16:34 — created tag `v0.9.3` on [`norm/flourish`](https://github.com/norm/flourish)
* 16:37 — Pushed 1 commit to `main` on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net) ([diff](https://github.com/norm/gifs.cackhanded.net/compare/997aa39269bbe9ab19968cc324294d9eb8eb550f..9cb14068c762a030bbca078910750ad53a19b52c))
* [Issue cloudfront invalidations on upload](https://github.com/norm/gifs.cackhanded.net/commit/9cb14068c762a030bbca078910750ad53a19b52c)
* 16:41 — Pushed 1 commit to `main` on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net) ([diff](https://github.com/norm/gifs.cackhanded.net/compare/9cb14068c762a030bbca078910750ad53a19b52c..d53f9cf8a04423edb2db2776fed3cc0ca4133c9a))
Expand Down
1 change: 1 addition & 0 deletions source/2021/03/05/github_activity.markdown
Expand Up @@ -7,6 +7,7 @@ type = "github"

* 11:21 — Pushed 1 commit to `main` on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net) ([diff](https://github.com/norm/gifs.cackhanded.net/compare/c1b5ce8ba1c87f6d668e47a0572e6baef4edeaf2..d4ff3c72e937d6e66e75a254bfd59570a6471f4b))
* [Fix the timing of the Ted Lasso spit-take](https://github.com/norm/gifs.cackhanded.net/commit/d4ff3c72e937d6e66e75a254bfd59570a6471f4b)
* 15:43 — created branch add-innerspace on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net)
* 15:51 — Pushed 2 commits to `main` on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net) ([diff](https://github.com/norm/gifs.cackhanded.net/compare/d4ff3c72e937d6e66e75a254bfd59570a6471f4b..d5b400be6d99a1419fb3dd07c6df2e24f44a5724))
* [Add some Innerspace GIFs](https://github.com/norm/gifs.cackhanded.net/commit/1253eb5095261157ca45bc3a446485c5252c4e35)
* [Merge pull request #6 from norm/add-innerspace](https://github.com/norm/gifs.cackhanded.net/commit/d5b400be6d99a1419fb3dd07c6df2e24f44a5724)
Expand Down
2 changes: 2 additions & 0 deletions source/2021/03/17/github_activity.markdown
Expand Up @@ -5,5 +5,7 @@ source = "api.github.com"
type = "github"
```

* 15:05 — created repo [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 15:06 — created branch main on [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 15:07 — Pushed 1 commit to `main` on [`norm/eurovision_data`](https://github.com/norm/eurovision_data) ([diff](https://github.com/norm/eurovision_data/compare/56f5bf7ad44f1d686444bd44bd4376eba2892799..a6a0e4b44cbfc7b11f63172025e6f6c86adcee0d))
* [Fix link in README](https://github.com/norm/eurovision_data/commit/a6a0e4b44cbfc7b11f63172025e6f6c86adcee0d)
5 changes: 5 additions & 0 deletions source/2021/03/19/github_activity.markdown
Expand Up @@ -5,6 +5,7 @@ source = "api.github.com"
type = "github"
```

* 07:41 — created branch add-1958 on [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 07:45 — Pushed 2 commits to `add-1958` on [`norm/eurovision_data`](https://github.com/norm/eurovision_data) ([diff](https://github.com/norm/eurovision_data/compare/5d65abb8ff6b6b50d17e45dad1d0ff57daad1e72..f72ef73eb0903ae9f7f57d50e84ed38bb2dbed64))
* [Add script to fetch Eurovision data](https://github.com/norm/eurovision_data/commit/5a8707651e621fa6de88b6f4c0dfacc99e5841e5)
* [Add 1958](https://github.com/norm/eurovision_data/commit/f72ef73eb0903ae9f7f57d50e84ed38bb2dbed64)
Expand All @@ -17,6 +18,7 @@ type = "github"
* [Run integrity tests on branches too](https://github.com/norm/eurovision_data/commit/eeb1307c14dd6452b0d9c7ebde75e35b419aa563)
* [Merge pull request #1 from norm/add-1958](https://github.com/norm/eurovision_data/commit/0ab165bcd6eca005cca3efd1fb07f4f850fb7e99)
* 07:47 — deleted branch add-1958 from [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 09:25 — created branch add-1959 on [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 09:25 — Pushed 6 commits to `main` on [`norm/eurovision_data`](https://github.com/norm/eurovision_data) ([diff](https://github.com/norm/eurovision_data/compare/0ab165bcd6eca005cca3efd1fb07f4f850fb7e99..cf92d25a48f6f099c4301a5a99bb316c9a93dad0))
* [Create missing files if needed](https://github.com/norm/eurovision_data/commit/ccba8af244e829c222732899c828c86e06308b15)
* [Update the contests data](https://github.com/norm/eurovision_data/commit/44cbb3a7f94239c94926790f3e161684bbb95602)
Expand All @@ -25,17 +27,20 @@ type = "github"
* [Add data for 1959](https://github.com/norm/eurovision_data/commit/08a142b8454eda2db3be232897fa3b3be0cff2ee)
* [Merge pull request #2 from norm/add-1959](https://github.com/norm/eurovision_data/commit/cf92d25a48f6f099c4301a5a99bb316c9a93dad0)
* 09:25 — deleted branch add-1959 from [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 16:15 — created branch add-langs on [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 16:15 — Pushed 4 commits to `main` on [`norm/eurovision_data`](https://github.com/norm/eurovision_data) ([diff](https://github.com/norm/eurovision_data/compare/cf92d25a48f6f099c4301a5a99bb316c9a93dad0..3244656f6d852d20a6efa5f66a181f3c6554130f))
* [Correct some data](https://github.com/norm/eurovision_data/commit/66f69483c43a00d2798d6af1fd3f30f967f57903)
* [Whitespace changes](https://github.com/norm/eurovision_data/commit/3ce71325ea23617d901e63cc9cecb95ac15b3e73)
* [Add the language(s) of the songs](https://github.com/norm/eurovision_data/commit/59d71aa32205ced6526b7ac90b2cf2fed295ed00)
* [Merge pull request #3 from norm/add-langs](https://github.com/norm/eurovision_data/commit/3244656f6d852d20a6efa5f66a181f3c6554130f)
* 16:16 — deleted branch add-langs from [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 16:16 — created branch add-1960 on [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 16:17 — Pushed 3 commits to `main` on [`norm/eurovision_data`](https://github.com/norm/eurovision_data) ([diff](https://github.com/norm/eurovision_data/compare/3244656f6d852d20a6efa5f66a181f3c6554130f..0335880687bf695b9dacb2c6d6ece34d538f854f))
* [Check score totals and points distributions](https://github.com/norm/eurovision_data/commit/e766df39757f87f807bc2dd11d0bfbc7d63e205f)
* [Add data for 1960](https://github.com/norm/eurovision_data/commit/8c73284a149f031164318e2cfb1b458bdcc392ae)
* [Merge pull request #4 from norm/add-1960](https://github.com/norm/eurovision_data/commit/0335880687bf695b9dacb2c6d6ece34d538f854f)
* 16:17 — deleted branch add-1960 from [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 16:53 — created branch add-61-64 on [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 16:54 — Pushed 14 commits to `main` on [`norm/eurovision_data`](https://github.com/norm/eurovision_data) ([diff](https://github.com/norm/eurovision_data/compare/0335880687bf695b9dacb2c6d6ece34d538f854f..32dfc2cff3fce30f25477a732df05536ba7be7dd))
* [Add data for 1961](https://github.com/norm/eurovision_data/commit/2248823c1d0c41457b976ddb1e1361e49c2f4ee9)
* [Add data for 1962](https://github.com/norm/eurovision_data/commit/20bc26789e4ead515836ad4d3a847d87832d1691)
Expand Down
1 change: 1 addition & 0 deletions source/2021/03/20/github_activity.markdown
Expand Up @@ -5,6 +5,7 @@ source = "api.github.com"
type = "github"
```

* 09:24 — created branch add-60s on [`norm/eurovision_data`](https://github.com/norm/eurovision_data)
* 09:25 — Pushed 8 commits to `main` on [`norm/eurovision_data`](https://github.com/norm/eurovision_data) ([diff](https://github.com/norm/eurovision_data/compare/32dfc2cff3fce30f25477a732df05536ba7be7dd..b73b3c1237b396e6bbca44608a97f808c5249a0f))
* [Add language placeholder to new song template](https://github.com/norm/eurovision_data/commit/0a72e596daf95409a587c10561638933845cf369)
* [Years without a scoring test should also fail](https://github.com/norm/eurovision_data/commit/7004de8f493daaf2eefb27cdafb79a1ea1d1bd63)
Expand Down
1 change: 1 addition & 0 deletions source/2021/03/21/github_activity.markdown
Expand Up @@ -5,6 +5,7 @@ source = "api.github.com"
type = "github"
```

* 07:26 — created branch innerspace on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net)
* 07:29 — deleted branch innerspace from [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net)
* 07:30 — Pushed 4 commits to `main` on [`norm/gifs.cackhanded.net`](https://github.com/norm/gifs.cackhanded.net) ([diff](https://github.com/norm/gifs.cackhanded.net/compare/4b044ed0b56960bb6934d1b23337cc0872d993dc..1c5bf75a6faa0244cd6cc003ec83d96c0ba98a98))
* [Tuck's name is spelt Pendelton, not Pendleton](https://github.com/norm/gifs.cackhanded.net/commit/0df67040d141cd765451323b2aea35ef0adc99ef)
Expand Down
3 changes: 3 additions & 0 deletions source/2021/03/22/github_activity.markdown
Expand Up @@ -7,14 +7,17 @@ type = "github"

* 11:24 — Pushed 1 commit to `main` on [`norm/marknormanfrancis.com`](https://github.com/norm/marknormanfrancis.com) ([diff](https://github.com/norm/marknormanfrancis.com/compare/5589a249bb5886e26ae05658bbd19744abb122b0..46cc85afb7b1b8d5bd0234d933a7ba4ee1721872))
* [Add week 11 2021 weekchips summary](https://github.com/norm/marknormanfrancis.com/commit/46cc85afb7b1b8d5bd0234d933a7ba4ee1721872)
* 14:58 — created branch generator_requirements on [`norm/flourish`](https://github.com/norm/flourish)
* 15:01 — Pushed 1 commit to `generator_requirements` on [`norm/flourish`](https://github.com/norm/flourish) ([diff](https://github.com/norm/flourish/compare/2ea1924a8f83f2680847fc69c8c00fe0783688fc..b6374356b3437c11f6592acfe87b70138456ef70))
* [Catch obvious errors in the CLI](https://github.com/norm/flourish/commit/b6374356b3437c11f6592acfe87b70138456ef70)
* 15:02 — Pushed 3 commits to `main` on [`norm/flourish`](https://github.com/norm/flourish) ([diff](https://github.com/norm/flourish/compare/66c0dce4ecb155efd93b73b30470553f68beab47..d7a677759d564899bb1864b68fcc3500bb7b4a54))
* [Don't require unused _site.toml keys](https://github.com/norm/flourish/commit/dd6f0153b858b44f462569e4f29000f093c29477)
* [Catch obvious errors in the CLI](https://github.com/norm/flourish/commit/b6374356b3437c11f6592acfe87b70138456ef70)
* [Merge pull request #36 from norm/generator_requirements](https://github.com/norm/flourish/commit/d7a677759d564899bb1864b68fcc3500bb7b4a54)
* 15:02 — deleted branch generator_requirements from [`norm/flourish`](https://github.com/norm/flourish)
* 15:11 — created branch release-094 on [`norm/flourish`](https://github.com/norm/flourish)
* 15:12 — Pushed 2 commits to `main` on [`norm/flourish`](https://github.com/norm/flourish) ([diff](https://github.com/norm/flourish/compare/d7a677759d564899bb1864b68fcc3500bb7b4a54..23cd4e4fb79d35678dd0700a8a31f26776dc7221))
* [Version 0.9.4 has been uploaded to pypi](https://github.com/norm/flourish/commit/700fdf8c4a41860f9e25d1a87d620cfac8de3b1e)
* [Merge pull request #37 from norm/release-094](https://github.com/norm/flourish/commit/23cd4e4fb79d35678dd0700a8a31f26776dc7221)
* 15:12 — deleted branch release-094 from [`norm/flourish`](https://github.com/norm/flourish)
* 15:13 — created tag `v0.9.4` on [`norm/flourish`](https://github.com/norm/flourish)
1 change: 1 addition & 0 deletions source/2021/03/27/github_activity.markdown
Expand Up @@ -5,6 +5,7 @@ source = "api.github.com"
type = "github"
```

* 08:46 — created branch add-youtube-videos on [`norm/marknormanfrancis.com`](https://github.com/norm/marknormanfrancis.com)
* 08:47 — Pushed 9 commits to `main` on [`norm/marknormanfrancis.com`](https://github.com/norm/marknormanfrancis.com) ([diff](https://github.com/norm/marknormanfrancis.com/compare/46cc85afb7b1b8d5bd0234d933a7ba4ee1721872..0a9baa6648d7b52a13d2f582092499e1446b1842))
* [Fetch public YouTube channel uploads](https://github.com/norm/marknormanfrancis.com/commit/cf543211660bc5719ee0fd6b9f3eedca0bccf8fd)
* [Only change stats counts on existing YouTube vids](https://github.com/norm/marknormanfrancis.com/commit/0a959a698160ae2cedc40a8e044c7b713687e53d)
Expand Down
1 change: 1 addition & 0 deletions source/2021/04/01/github_activity.markdown
Expand Up @@ -21,3 +21,4 @@ type = "github"
* [Script to copy/restore the game's save data](https://github.com/norm/game_shows_support/commit/63d06a7d10df47e5f8a9df29aa2d3d41214b9b8b)
* [Add current Ezio footage annotations](https://github.com/norm/game_shows_support/commit/ec1f4042c295092a823711688e518c2927335244)
* [The channel images are not specific to HZD](https://github.com/norm/game_shows_support/commit/d921f2c3d50fd0e0216409727b1cb5e04d4c1715)
* 14:17 — created branch ezch3 on [`norm/game_shows_support`](https://github.com/norm/game_shows_support)
1 change: 1 addition & 0 deletions source/2021/04/06/github_activity.markdown
Expand Up @@ -9,3 +9,4 @@ type = "github"
* [Pull missed PS4 tweets](https://github.com/norm/marknormanfrancis.com/commit/b8afa2e5fb1cba078309f3b6af9c10b26415e69c)
* [I made myself a little something](https://github.com/norm/marknormanfrancis.com/commit/ed8716638ce8177b229886be8e52b48fe9931821)
* [Add week 13 2021 weekchips summary](https://github.com/norm/marknormanfrancis.com/commit/f528b2f32e617e4507fa752ec83750bbb1fff8f1)
* 15:47 — created branch add-csv-sources on [`norm/flourish`](https://github.com/norm/flourish)

0 comments on commit 44ad0af

Please sign in to comment.