1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Commit Graph

341 Commits

Author SHA1 Message Date
Sarah Schneider
37177a0977 bump concurrency down to see if that improves perf via Actions 2021-01-22 10:49:25 -05:00
Sarah Schneider
b0677b2442 use script instead of jest, much faster 2021-01-22 09:28:06 -05:00
Kevin Heis
2fb2e962bc Move site search to use an endpoint (#17359)
* Move site search to use an endpoint

* Update browser.js

* Update search.js

* Update lib/search/versions.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Fix URLs

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-01-20 15:37:42 +00:00
James M. Greene
c5c2347f0a Prevent overly verbose broken link logging from linkinator (#17381)
* Prevent overly verbose broken link logging from linkinator

* Reduce unnecessary second 'map' call

* Be VERY sure we aren't logging the failureDetails in case the linkinator implementation changes

* Really smoosh that '.map' call down to size
2021-01-20 15:12:59 +00:00
Rachael Sewell
58aae970cf add troubleshooting message to openapi script (#17253)
* add troubleshooting message to openapi script

* i always forget to lint
2021-01-17 00:35:10 +00:00
James M. Greene
72140bb8bb Remove use of commander from release script rather than adding it as a required production dependency (#17215) 2021-01-07 14:15:10 -06:00
James M. Greene
bca0682e93 Add release script to soft-purge all rendered pages from the Redis cache (#17164)
* Create a release script to soft-purge all rendered pages from the Redis cache

* Set NODE_ENV

* Pass the Redis database number as an option rather than in the URL

* Change key scanning pattern based on Heroku metadata presence

* Shorten purge TTL to 30 minutes

* Only fail hard on Heroku production releases

* Don't return TOO early or else we forget to resume the scanStream!

* Correct ioredis command casing to all lowercase

* Add unexpectedly necessary exit

* Tweak wording of dry run logging

* Add some polish

* Prevent accidental soft-purging of the current release's keys

* Simplify the key check

* Fix lint error
2021-01-07 13:50:24 -06:00
Kevin Heis
d7eb248a10 Fix a bunch of random typos (#17129)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-01-05 16:07:27 +00:00
Sarah Schneider
d4140663c2 Merge branch 'main' into update-dates-script 2020-12-10 13:58:02 -05:00
Sarah Schneider
dcb4d30ca3 Merge branch 'main' into early-access-branch-script 2020-12-09 21:07:34 -05:00
Sarah Schneider
4275c87be0 add comment 2020-12-09 20:29:40 -05:00
Sarah Schneider
63a6fa98d3 use release_candidate instead of start date if present 2020-12-09 20:19:40 -05:00
Sarah Schneider
8ee0ac619e add enterpriseServerVersions to fake context in s3 script 2020-12-09 11:21:57 -05:00
James M. Greene
27c371b75e Update script/early-access/create-branch 2020-12-08 09:46:52 -06:00
Sarah Schneider
ff2bf89803 add script 2020-12-04 11:22:35 -05:00
Sarah Schneider
7aabec9de0 Merge branch 'main' into domain-verification-enterprise-account-beta-redux 2020-12-04 09:22:12 -05:00
James M. Greene
fb30a0766f Unravel pages (the array + map object) (#16708)
* Revise the 'pages' module to export two methods: 'loadPages' and 'loadPageMap'

Update all existing references to use 'loadPages' for now

* Remove explicit Promise resolutions on loadPage* methods

* Condense reduction method into its now-singular usage spot

* Opt for for-of instead of forEach

* Make require of pages in warm-server more explicit

* Be more explicit about find-page using a pageMap

* Be more explicit about find-page-in-version using a pageMap

* Be more explicit about site-tree using a pageMap

* Extract the map creation from loadPageMap

* Be more explicit about using a pageMap

* Update redirects precompile to take two arguments: pageList, pageMap

* Rename internal loadPages method to loadPageList

* Clarify pageMap is what is stored in context.pages

* Use loadPageMap in tests and stuff
2020-12-03 22:31:10 +00:00
Sarah Schneider
7618fea5e4 Merge branch 'main' into domain-verification-enterprise-account-beta-redux 2020-12-03 16:37:53 -05:00
Sarah Schneider
522988eb45 add set -e to bash script 2020-12-03 16:32:25 -05:00
Octomerger Bot
218d08f38d Branch was updated using the 'autoupdate branch' Actions workflow. 2020-12-03 12:53:19 -08:00
Sarah Schneider
c583392a0e add comment 2020-12-03 13:32:40 -05:00
Sarah Schneider
bf61f53d4f lint 2020-12-03 12:24:41 -05:00
Sarah Schneider
52301f3756 add clarifying comments about how we derive data filepaths from data refs 2020-12-03 12:13:57 -05:00
Sarah Schneider
82644efc7c Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-03 12:06:18 -05:00
Kevin Heis
11d8e415da Check repository references (#16680)
* Check repository references

* Remove "foundRepoNames" that I used to find all the unique names

* A little speed up with Set

* Ignore a few files

* Remove remaining references

* Update README.md
2020-12-03 16:41:03 +00:00
Kevin Heis
632ef6c991 Update check-deps.js 2020-12-02 14:23:01 -08:00
Sarah Schneider
a8e0ec4052 add option to run script on provided path 2020-12-02 16:48:11 -05:00
Sarah Schneider
7b9ae59be8 update script readmes 2020-12-02 14:32:20 -05:00
Sarah Schneider
1258092a41 Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-02 14:22:10 -05:00
Sarah Schneider
d3d2f0884a new script to update data and image paths 2020-12-02 12:41:26 -05:00
Robert Mosolgo
805db2e4df Merge branch 'main' into build-changelog 2020-12-01 15:46:51 -05:00
Sarah Schneider
5248fac240 chmod a+x script/early-access/symlink-from-local-repo.js 2020-12-01 15:46:02 -05:00
Robert Mosolgo
69bd6f2dbd Remove build-changelog-from-markdown.js 2020-12-01 15:17:29 -05:00
Sarah Schneider
6214ee0517 be careful of paths for cross-platform use 2020-12-01 13:12:14 -05:00
Sarah Schneider
93a9d3b85b add new script 2020-12-01 13:07:18 -05:00
Sarah Schneider
b244d447dd Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-01 12:38:48 -05:00
Sarah Schneider
e3b8d16048 Merge branch 'main' into deprecate-static-files 2020-12-01 09:44:50 -05:00
Sarah Schneider
da1427f812 Merge branch 'main' of github.com:github/docs-internal into build-changelog 2020-12-01 09:40:04 -05:00
Sarah Schneider
710310c2a7 Merge branch 'main' into remove-html-comments-from-index-files 2020-12-01 09:17:49 -05:00
Sarah Schneider
e01f23f354 add comments 2020-11-30 14:51:28 -05:00
Sarah Schneider
f66d1a472c Merge branch 'main' of github.com:github/docs-internal into deprecate-static-files 2020-11-30 13:56:11 -05:00
Sarah Schneider
8c1a9c1eed Merge branch 'main' into version-graphql-objects-links 2020-11-30 13:29:07 -05:00
Sarah Schneider
a19b7e22ef lint 2020-11-30 13:23:38 -05:00
Sarah Schneider
fe2464eea8 ran script/update-readme.js 2020-11-30 13:19:05 -05:00
Sarah Schneider
9b63e059e9 new script 2020-11-30 13:15:58 -05:00
Sarah Schneider
21f0de573e use xmlMode when loading cheerio 2020-11-30 11:49:28 -05:00
Sarah Schneider
a9b1b4f9e5 add rewrite-local-links to prerendered GraphQL objects HTML 2020-11-25 19:22:26 -05:00
Robert Mosolgo
9e5d72eb42 Merge branch 'main' into build-changelog 2020-11-25 16:32:10 -05:00
Robert Mosolgo
84153b4d03 Add a description to CHANGES_TO_REPORT 2020-11-25 11:01:15 -05:00
Robert Mosolgo
15dbbeeb7c Apply suggestions from code review
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2020-11-25 10:48:21 -05:00