← Back to team overview

touch-packages team mailing list archive

[Bug 1398998] Re: Cannot provide multi-arch click packages for scopes

 

> Can you point me to where that is documented or the code that does it? I
> do not see any arch dependent keys in the documentation at
> http://developer.ubuntu.com/api/scopes/sdk-14.10/index/#deployment that
> would support this.

Check out CONFIGFILES in the root dir of the unity-scopes-api tree. It
lists all the config attributes.

My apologies, we are still lagging behind with the documentation for
this.

The registry looks for click scopes in $HOME/.local/share/unity-scopes (unless the dir is changed in the Registry.ini file).
In there, it expects to find scope installation directories. Given that these aren't real directories, but symlinks, I would expect click to create the symlink to point at the correct architecture-specific directory.

So, if click does indeed support installing multiple architecture
binaries, all it needs to do is make sure that the symlink points at the
correct directory.

> The scope hook is handled by unity-scopes-api and only supports a
single scope directory

I honestly don't know what you mean by this. As far as I know, we have
nothing to do with the hook. I don't believe there is any hook code in
our tree.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1398998

Title:
  Cannot provide multi-arch click packages for scopes

Status in click package in Ubuntu:
  New
Status in unity-scopes-api package in Ubuntu:
  Confirmed

Bug description:
  Currently, click packages with scopes cannot provide the same scope
  for multiple architectures, as the hook takes the directory name that
  the scope is in, but does not support the .so for the scope being in a
  sub-directory based on the arch triplet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1398998/+subscriptions


References