1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-25 04:59:06 +01:00
phorge-phorge/src/applications/repository
epriestley 00cf93548b Add an "--ignore-locality" flag to "bin/repository pull"
Summary:
Ref T13600. When migrating observed repositories between cluster services, impact can be better controlled by fetching a copy of the repository on the target host before clusterizing it.

In particular, in the Phacility cluster, migrations are generally from one shared shard to one dedicated shard. It's helpful to perform these migrations synchronously without waiting for the cluster to sync in the background (helpful in the sense that there are fewer steps and fewer commands to run).

This supports an "--observe" mode to the internal "bin/services load-repository" workflow, which transfers repository data by refetching it from the remote rather than by getting it from the older host. This fetch occurs before cluster configuration is adjusted.

Test Plan: Ran locally as a sanity check, will apply in production.

Maniphest Tasks: T13600

Differential Revision: https://secure.phabricator.com/D21544
2021-02-04 11:33:14 -08:00
..
codex When destorying a repository, print a notification about removing the working copy 2017-08-01 08:57:39 -07:00
conduit Update Diffusion conduit text 2017-07-02 14:25:10 +00:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Simplify Create Repository page 2017-08-15 11:05:50 -07:00
customfield Move various other callsites away from callsigns 2016-01-04 06:54:42 -08:00
daemon Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
data Collapse repository URI normalization code into Arcanist 2020-06-30 15:54:33 -07:00
editor Modularize Repository transactions 2018-11-28 14:29:18 -08:00
engine Internally, align commit processing tasks around PHIDs, not IDs 2021-02-02 13:40:10 -08:00
graphcache Bail out of PhabricatorRepositoryGraphCache more aggressively after cache fills 2017-10-06 14:12:58 -07:00
mail Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
management Add an "--ignore-locality" flag to "bin/repository pull" 2021-02-04 11:33:14 -08:00
phid Remove "State Icons" from handles 2019-10-31 12:04:43 -07:00
query Separate "shouldPublishRef()" from "isPermanentRef()" and set "IMPORTED_PERMANENT" more narrowly 2021-01-22 19:51:38 -08:00
response Return Git HTTP error messages in an HTTP header 2021-01-26 16:14:03 -08:00
search Add controllers/search/edit engine functionality to RepositoryIdentity 2018-05-31 07:03:25 -07:00
storage Separate "shouldPublishRef()" from "isPermanentRef()" and set "IMPORTED_PERMANENT" more narrowly 2021-01-22 19:51:38 -08:00
worker Internally, align commit processing tasks around PHIDs, not IDs 2021-02-02 13:40:10 -08:00
xaction Provide a simple read-only maintenance mode for repositories 2019-08-29 15:23:10 -07:00