Page MenuHomePhabricator

Migrate R2115 Diffusion repo to 1password
Closed, ResolvedPublic

Description

R2115 is one of the last two repos canonically hosted in Diffusion. This blocks us from uninstalling Differential.
Release-Engineering-Team has a vault on 1password.com.

Event Timeline

Aklapper triaged this task as Medium priority.

Hrm. Done. But got an exception when running sudo /srv/phab/phabricator/bin/remove destroy <repo>

Destroying objects...
Destroying PhabricatorRepository <repo>...
[2023-11-16 17:13:47] EXCEPTION: (Exception) Unknown edge constant "25"! at [<phorge>/src/infrastructure/edges/type/PhabricatorEdgeType.php:214]
arcanist(), ava(), phorge(), translations(), wmf-ext-misc()
  #0 <#2> PhabricatorEdgeType::getByConstant(string) called at [<phorge>/src/infrastructure/edges/editor/PhabricatorEdgeEditor.php:179]
  #1 <#2> PhabricatorEdgeEditor::buildEdgeSpecs(string, string, string) called at [<phorge>/src/infrastructure/edges/editor/PhabricatorEdgeEditor.php:78]
  #2 <#2> PhabricatorEdgeEditor::removeEdge(string, string, string) called at [<phorge>/src/infrastructure/edges/engineextension/PhabricatorEdgesDestructionEngineExtension.php:32]
  #3 phlog(Exception) called at [<phorge>/src/infrastructure/edges/engineextension/PhabricatorEdgesDestructionEngineExtension.php:39]
  #4 PhabricatorEdgesDestructionEngineExtension::destroyObject(PhabricatorDestructionEngine, PhabricatorRepository) called at [<phorge>/src/applications/system/engine/PhabricatorDestructionEngine.php:88]
  #5 PhabricatorDestructionEngine::destroyObject(PhabricatorRepository) called at [<phorge>/src/applications/system/management/PhabricatorSystemRemoveDestroyWorkflow.php:158]
  #6 PhabricatorSystemRemoveDestroyWorkflow::execute(PhutilArgumentParser) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:492]
  #7 PhutilArgumentParser::parseWorkflowsFull(array) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:377]
  #8 PhutilArgumentParser::parseWorkflows(array) called at [<phorge>/scripts/setup/manage_remove.php:21]
Permanently destroyed 1 object.
      - Database records for repository "<repo name>" were destroyed, but
        this script does not remove working copies on disk. If you also want
        to destroy the repository working copy, manually remove
        "/srv/repos/2115/".

That's similar to https://we.phorge.it/T15125 and can be ignored (some older DB edges not being handled but the data is gone).