Page MenuHomePhabricator

Updating 'remote URI' is not picked up by daemons (even after restart)
Closed, InvalidPublic

Description

Hey.
I use remote repositories (over ssh) and did update remote addresses for my repositories, however that change is not picked up by PHDs. Even full restart of them is not helping and by it looks, update of Remote URL does not update information under working copy (looks like `git remote set-url origin' is not triggered on update)

Repository is git (not sure if this affects hg)
phabricator is updated (git commit 6f59b2ab8751c152347b0c28ffaf8e63ea9db5ef)

ps. no - this is not a fools joke, even if today is 1st April :)

Event Timeline

ttr raised the priority of this task from to Normal.
ttr updated the task description. (Show Details)
ttr added a project: Diffusion.
ttr added a subscriber: ttr.
chad raised the priority of this task from Normal to Needs Triage.Apr 1 2015, 5:58 PM
epriestley edited projects, added Diffusion (v3); removed Diffusion.
epriestley moved this task from Backlog to URI Stuff on the Diffusion (v3) board.
epriestley added a subscriber: epriestley.

I can't reproduce this. Here's what I did:

  • I started with a repository with the remote URI set to ssh://dweller@secure.phabricator.com/diffusion/GITTEST/git-test.git.
  • I ran git remote show origin in the working copy on disk:
epriestley@orbital ~/dev/core/repo/local/RTEST $ git remote show origin
* remote origin
  Fetch URL: ssh://dweller@secure.phabricator.com/diffusion/GITTEST/git-test.git
  Push  URL: ssh://dweller@secure.phabricator.com/diffusion/GITTEST/git-test.git
  HEAD branch: master
  Local refs configured for 'git push':
    master    pushes to master    (up to date)
    notmaster pushes to notmaster (up to date)
    test      pushes to test      (up to date)
  • I changed the remote URI to ssh://dweller@secure.phabricator.com/diffusion/XXX/YYY in the web UI.
  • I restarted the daemons with bin/phd restart.
  • I waited a minute or so.
  • I observed the working copy realign as expected:
epriestley@orbital ~/dev/core/repo/local/RTEST $ git remote show -n origin
* remote origin
  Fetch URL: ssh://dweller@secure.phabricator.com/diffusion/XXX/YYY
  Push  URL: ssh://dweller@secure.phabricator.com/diffusion/XXX/YYY
  HEAD branch: (not queried)
  Local ref configured for 'git push' (status not queried):
    (matching) pushes to (matching)

Since this report is nearly a year old, we haven't seen other similar reports, and we don't have any more information on how to reproduce it, I'm going to close it out. If you're still experiencing this issue, please file a new report with detailed instructions on how we can reproduce the issue -- see Contributing Bug Reports for details. Thanks!