← Back to team overview

dx-packages team mailing list archive

[Bug 1461496] Re: initctl start url-dispatcher-update-user does not update the protocols database

 

** Branch linked: lp:~ci-train-bot/url-dispatcher/url-dispatcher-ubuntu-
yakkety-1886

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to url-dispatcher in Ubuntu.
https://bugs.launchpad.net/bugs/1461496

Title:
  initctl start url-dispatcher-update-user does not update the protocols
  database

Status in url-dispatcher package in Ubuntu:
  Confirmed

Bug description:
  I want to register a protocol for an application putting it in
  ~/.config/url-dispatcher/urls. According to Ted, after running

  $ initctl start url-dispatcher-update-user

  the url dispatcher database should be updated with the new protocol. But that's not working.
  It only works if I run /usr/lib/*/url-dispatcher/update-directory with the path or my .url-dispatcher file.

  To check the database after the update:

  echo .quit | sqlite3 -batch -csv -cmd "select urls.protocol,
  urls.domainsuffix, configfiles.name from urls, configfiles where
  urls.sourcefile = configfiles.rowid;" ~/.cache/url-
  dispatcher/urls-1.db

  Here is the branch where I'm automating this test:
  https://code.launchpad.net/~canonical-platform-qa/ubuntu-ui-toolkit/register_url_dispatcher/+merge/260923

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/url-dispatcher/+bug/1461496/+subscriptions


References