1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 20:22:46 +01:00
phorge-phorge/src/applications/repository/engine
epriestley 3c26e38487 Provide a simple read-only maintenance mode for repositories
Summary:
Ref T13393. While doing a shard migration in the Phacility cluster, we'd like to stop writes to the migrating repository. It's safe to continue serving reads.

Add a simple maintenance mode for making repositories completely read-only during maintenance.

Test Plan: Put a repository into read-only mode, tried to write via HTTP + SSH. Viewed web UI. Took it back out of maintenance mode.

Maniphest Tasks: T13393

Differential Revision: https://secure.phabricator.com/D20748
2019-08-29 15:23:10 -07:00
..
__tests__ Only load refs that are actual commits 2016-07-08 22:34:25 +00:00
PhabricatorRepositoryCommitRef.php Extend from Phobject 2015-06-15 18:02:27 +10:00
PhabricatorRepositoryDiscoveryEngine.php When many commits are discovered at once, import them at lower priority 2019-08-12 12:59:00 -07:00
PhabricatorRepositoryEngine.php When observing a repository in Git, just "fetch <url>" without worrying about the "origin" remote 2019-04-18 05:05:43 -07:00
PhabricatorRepositoryIdentityEditEngine.php Assign RepositoryIdentity objects to commits 2018-05-31 07:28:23 -07:00
PhabricatorRepositoryMirrorEngine.php Don't error when trying to mirror or observe an empty repository 2018-01-24 15:50:30 -08:00
PhabricatorRepositoryPullEngine.php Provide a simple read-only maintenance mode for repositories 2019-08-29 15:23:10 -07:00
PhabricatorRepositoryRefEngine.php Remove nearly all remaining references to "Autoclose" 2019-04-24 08:29:41 -07:00