angular-cn/aio/aio-builds-setup/docs
Georgios Kalpakas 5a417b8514 feat(aio): implement a way to check and update a PR\'s preview visibility
Previously, `BuildCreator#changePrVisibility()` would throw an error if the PR's
visibility was already up-to-date or if the PR directory did not exist (e.g. was
removed). This method was only used from inside `BuildCreator#create()`, which
had already checked for the existence of the directories.

This commit renames `changePrVisibility()` to `updatePrVisibility()` and makes
it more "forgiving" (i.e. it will only throw if both public and non-public
directories exist). This allows it to be used on events that may or may not have
caused the PR's visibility to change (e.g. a GitHub webhook triggered whenever a
PR's labels change).
2017-07-10 12:30:45 +01:00
..
_TOC.md docs(aio): document preview server HTTP status codes 2017-06-23 11:54:20 -07:00
image-config--environment-variables.md feat(aio): enable previews for any PR 2017-06-23 11:54:20 -07:00
misc--debug-docker-container.md docs(aio): add more docs about `aio-builds-setup` 2017-03-13 10:30:49 -07:00
misc--integrate-with-ci.md docs(aio): add more docs about `aio-builds-setup` 2017-03-13 10:30:49 -07:00
overview--general.md feat(aio): use shorter URLs for previews 2017-06-29 09:35:22 -07:00
overview--http-status-codes.md feat(aio): implement a way to check and update a PR\'s preview visibility 2017-07-10 12:30:45 +01:00
overview--scripts-and-commands.md docs(aio): document preview server HTTP status codes 2017-06-23 11:54:20 -07:00
overview--security-model.md refactor: fix typos (#18000) 2017-07-07 16:55:17 -07:00
vm-setup--attach-persistent-disk.md docs(aio): add more docs about `aio-builds-setup` 2017-03-13 10:30:49 -07:00
vm-setup--create-docker-image.md feat(aio): enable previews for any PR 2017-06-23 11:54:20 -07:00
vm-setup--create-host-dirs-and-files.md feat(aio): add log rotation in preview server 2017-04-15 10:22:40 +01:00
vm-setup--set-up-docker.md docs(aio): add more docs about `aio-builds-setup` 2017-03-13 10:30:49 -07:00
vm-setup--set-up-secrets.md docs(aio): add more docs about `aio-builds-setup` 2017-03-13 10:30:49 -07:00
vm-setup--start-docker-container.md docs(aio): minor docs fixes for `aio-builds-setup/` 2017-05-18 08:21:25 +01:00
vm-setup--update-docker-container.md build(aio): add script for updating the preview server 2017-05-18 08:21:25 +01:00