[Bug 1384286] Re: add directory allowing scopes and apps to share data

2015-10-22 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to share

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2015-10-15 Thread Michi Henning
** Changed in: unity-scopes-api (Ubuntu Utopic) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to share data To

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2015-04-20 Thread Jamie Strandboge
I have a todo for what needs to happen with CRT. I plan to do an update this/next week that will include this change. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2015-04-20 Thread Daniel Holbach
What's still required from a click-reviewers-tools perspective? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to share data To manage

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2015-01-09 Thread Jamie Strandboge
** Changed in: apparmor-easyprof-ubuntu (Ubuntu Utopic) Status: In Progress = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-12-15 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/apparmor-easyprof-ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to share data To manage

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-12-15 Thread Launchpad Bug Tracker
This bug was fixed in the package apparmor-easyprof-ubuntu - 1.3.1 --- apparmor-easyprof-ubuntu (1.3.1) vivid; urgency=medium * ubuntu/ubuntu-sdk: - explicitly deny reads on ~/.cache/QML/Apps/ to silence noisy denials. Undo this when LP: 1381620 is fixed in

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-12-04 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: New = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to share data To

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-12-01 Thread Michi Henning
** Changed in: unity-scopes-api (Ubuntu Vivid) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-30 Thread Michi Henning
** Also affects: canonical-devices-system-image Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-17 Thread Jamie Strandboge
This is in rtm silo 002. ** Changed in: apparmor-easyprof-ubuntu (Ubuntu Utopic) Assignee: (unassigned) = Jamie Strandboge (jdstrand) ** Changed in: apparmor-easyprof-ubuntu (Ubuntu RTM) Status: New = Fix Committed -- You received this bug notification because you are a member of

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-17 Thread Jamie Strandboge
** No longer affects: click-reviewers-tools (Ubuntu Utopic) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to share data To manage

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-17 Thread Launchpad Bug Tracker
This bug was fixed in the package apparmor-easyprof-ubuntu - 1.2.39 --- apparmor-easyprof-ubuntu (1.2.39) utopic; urgency=medium * ubuntu/{music,pictures,video}_files*: allow access to global SD card directories (LP: #1391930) * ubuntu/ubuntu-scope-network,

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-13 Thread Jamie Strandboge
** Tags removed: ota-1 ** Also affects: apparmor-easyprof-ubuntu (Ubuntu RTM) Importance: Undecided Status: New ** Changed in: apparmor-easyprof-ubuntu (Ubuntu RTM) Importance: Undecided = Wishlist ** Changed in: apparmor-easyprof-ubuntu (Ubuntu RTM) Status: New = In

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-13 Thread Jamie Strandboge
** Changed in: apparmor-easyprof-ubuntu (Ubuntu RTM) Status: In Progress = New ** Changed in: apparmor-easyprof-ubuntu (Ubuntu RTM) Assignee: (unassigned) = Jamie Strandboge (jdstrand) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-12 Thread Jamie Strandboge
Michi, this is what is currently in the scopes network template as a writable directory: @{HOME}/.local/share/unity-scopes/leaf-net/@{APP_PKGNAME}/* this is the read-only directory I want to add to the scopes network template so scopes can surface data from the app:

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-12 Thread Michi Henning
Ah, OK, it seems the penny is finally dropping :-) So, if I understand you correctly, you are saying that @{HOME}/.local/share/unity-scopes/leaf-net/@{APP_PKGNAME}/* is the writable cache directory for the scope (exactly as it is now), and @{HOME}/.local/share/@{APP_PKGNAME}/* is the readable

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-12 Thread Jamie Strandboge
So, if I understand you correctly, you are saying that @{HOME}/.local/share/unity-scopes/leaf-net/@{APP_PKGNAME}/* is the writable cache directory for the scope (exactly as it is now), and @{HOME}/.local/share/@{APP_PKGNAME}/* is the readable directory where the scope can read data produced by the

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-12 Thread Michi Henning
Sorry for being so dense. I had the wrong mental model because, all along, I assumed that the cache_directory was to be used for sharing, so I was thinking that the proposal was to change the location of the existing cache dir, instead of adding a completely new one. The linked branch should fix

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-12 Thread Michi Henning
** Changed in: unity-scopes-api (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to share data

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-11 Thread Jamie Strandboge
Ok, so, let's clear the terminology up a little. All click packages are installed in /opt (this is what Christian was talking about). However, those packages (whether they by apps or scopes) aren't available to the user until the user hooks are run, which creates symlinks in $HOME to the things in

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-11 Thread Jamie Strandboge
Is it OK to drop the leaf-net and unconfined components from the path? Currently, a confined scope relies on being able to create the final path component *itself* by calling mkdir(). So, assuming that ~/.local/share/unity-scopes/leaf-net exists, the scope will try to create

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-11 Thread Jamie Strandboge
I've added a click-reviewers-tools task to handle this from the scopes confinement specification: Because scopes share application data with apps shipped in the same click, reviewers must be careful if the click package contains any permissions that triggers a manual review (permissions that pass

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-11 Thread Jamie Strandboge
Actually, I think I'd prefer this, unless there is a really compelling otherwise (ie, read-only): # Allow scopes to share data with the app shipped in the same click owner @{HOME}/.local/share/@{APP_PKGNAME}/ r, owner @{HOME}/.local/share/@{APP_PKGNAME}/** mrkl, -- You received this bug

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-11 Thread Michi Henning
** Also affects: unity-scopes-api (Ubuntu) Importance: Undecided Status: New ** Changed in: unity-scopes-api (Ubuntu) Assignee: (unassigned) = Michi Henning (michihenning) ** Changed in: unity-scopes-api (Ubuntu) Status: New = In Progress ** Changed in: unity-scopes-api

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-11 Thread Michi Henning
Actually, I think I'd prefer this, unless there is a really compelling otherwise (ie, read-only): # Allow scopes to share data with the app shipped in the same click owner @{HOME}/.local/share/@{APP_PKGNAME}/ r, owner @{HOME}/.local/share/@{APP_PKGNAME}/** mrkl, Just double-checking

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-10 Thread David Planella
Just to follow up on mardy's suggestion about sharing the cache directory. On the Reminders app we're integrating the scope and app, and the notes and their thumbnails are stored under the cache dir, which would be ideal to share. In this particular case, it might not apply, as we're shipping the

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-10 Thread Michi Henning
As I said, I don't really mind what particular directory is used as the cache directory. I just think it shouldn't be the same as the click scope installation directory. Right now, when you call cache_directory(), you get a path that (as far as I know) should be shared with the app if the scope

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-04 Thread Christian Dywan
currently, ~/.local/share/@{APP_PKGNAME} is used as the click *installation* directory There's something mixed up here I think. This is, for apps as well as scopes, where data is stored, wheras installations are in /opt/click.ubuntu.com/ . -- You received this bug notification because you are

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-04 Thread Michi Henning
Scopes installed from click packages are, as a matter of fact, installed in ~/.local/share/unity-scopes/@{APP_PKGNAME} No scope, no matter where it comes from, is ever installed in /opt/click. If it is, it won't work because the registry won't look for it there. -- You received this bug

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-03 Thread Jamie Strandboge
Assigning to Michi only so he can comment on the proposed path. Please assign back to me if you agree. ** Description changed: - Summary says it all, just need to decide on the directory. + Summary says it all, just need to decide on the directory. I propose using this rule: + # Allow scopes

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-03 Thread Olli Ries
** Tags added: rtm14 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to share data To manage notifications about this bug go to:

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-03 Thread Olli Ries
** Tags added: ota-1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384286 Title: add directory allowing scopes and apps to share data To manage notifications about this bug go to:

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-03 Thread Michi Henning
I'm agnostic as to the exact location. We just need to agree :-) Currently, it is: ~/.local/share/unity-scopes/unconfined/@{APP_PKG_NAME} for unconfined scopes, and ~/.local/share/unity-scopes/leaf- net/@{APP_PKG_NAME} for confined scopes. I can change this easily enough. However, currently,

[Bug 1384286] Re: add directory allowing scopes and apps to share data

2014-11-03 Thread Alberto Mardegan
The cache (~/.cache/) directory is not equivalent to the data directory (~/.local/share/), because it's meant for volatile data which could be deleted at any time, and which can be recreated later. So, you wouldn't use it for storing user-generated content such as drawings or documents, because