Re: Executing a script inside snap package. Is this possible?

2017-04-16 Thread Michael Hall
rface created to support this dbus interface, or maybe you can use the generic 'dbus' interface and specify this service, which would have to be manuall connected. I'm hoping someone from the snapd or security teams can chime in and be more specific about what your options are here.

Re: Reserved project names and cooperative transfer of ownership

2017-03-26 Thread Michael Hall
ar which you can invoke with just "bar" from the commandline. Instead of "bar" you can use "appname" or anything else you want to make an alias for that app. This still requires a manual step after installing your snap to enable the alias, but we're working out a

Re: Contributing cloud parts

2017-03-26 Thread Michael Hall
Have you logged out and back in to the wiki after being added to the wiki-editors group on Launchpad? Michael Hall mhall...@ubuntu.com On 03/26/2017 09:34 AM, Tim Süberkrüb wrote: > Hey, > > I finally had the time to create the cloud part. > > It seems like I don't have su

Re: Meta-packages for snaps

2017-03-26 Thread Michael Hall
n and thus more disk space than providing it all as a single package. If your users are likely to want more than one of these tools, I would recommend just providing them all in one package. That way it's still easy for them to install with a single command, and they will have everything

Re: Inter and Intra Snap communication

2017-03-23 Thread Michael Hall
table you want to expose outside of your snap. These will take the form of /snap/bin/. and can be called from the command-line. If == it will condense down to just /snap/bin/ to be cleaner. Michael Hall mhall...@ubuntu.com On 03/23/2017 02:20 PM, Gustavo Niemeyer wrote: > Hi Jenny, >

Re: Fotoxx snap package

2017-03-20 Thread Michael Hall
oxx" If that doesn't fix it all for you, join us on rocket.ubuntu.com to get realtime help in the #snapcraft channel. Michael Hall mhall...@ubuntu.com On 03/18/2017 06:56 AM, Mike Cornelison wrote: > Apparently more complex than your tutorial. Any help on this? > > Here is

Re: Store - Organizations/Namespaces/Transfer packages

2017-03-16 Thread Michael Hall
one? > There is a mechanism to dispute the ownership of a package name. You can use this to transfer a registered name from one publisher account to another. > Thanks in advance :) > > All the best, > > Tim Süberkrüb > > Michael Hall mhall...@ubuntu.com -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Where to save stuff (in snap-agnostic way)

2017-02-03 Thread Michael Hall
Be sure to use XDG_RUNTIME_DIR and not '/var/run' specifically, as XDG_RUNTIME_DIR is /run/user//snap./ in a snap's runtime. You may also need to create that directory before using it. Michael Hall mhall...@ubuntu.com On 02/03/2017 04:19 PM, Christian Dywan wrote: > Hey Luca,

Re: Currernt config hook implementation scales very badly

2017-02-01 Thread Michael Hall
often arch-dependent. Michael Hall mhall...@gmail.com On 02/01/2017 10:08 AM, Didier Roche wrote: > Le 01/02/2017 à 15:48, Michael Hall a écrit : >> On a related note, does anybody have a suggestion on a lightweight way >> of programmatically modifying configs in .ini, XML or JSON? &

Re: Currernt config hook implementation scales very badly

2017-02-01 Thread Michael Hall
time. Didier's example will work for a very basic key=value config file, but not something more structured, and I'd hate to introduce Python, Perl or Java just for this. Michael Hall mhall...@ubuntu.com On 02/01/2017 08:54 AM, Didier Roche wrote: > Le 01/02/2017 à 13:05, Gustav

Re: Vala and Snapcraft. Issues with a library part in Vala.

2017-01-31 Thread Michael Hall
Sorry, that's the only Vala project I've tried. I don't think there was anything special about it though, the main thing was just getting libgranite built and staged before building pantheon. Michael Hall mhall...@ubuntu.com On 01/31/2017 02:26 PM, Luca Dionisi wrote: > Sadly t

Re: Vala and Snapcraft. Issues with a library part in Vala.

2017-01-31 Thread Michael Hall
nappy-playpen/blob/pantheon-mail/pantheon-mail/snapcraft.yaml Michael Hall mhall...@ubuntu.com On 01/31/2017 10:37 AM, Luca Dionisi wrote: > I want to prepare a snap for a software written in Vala. > It needs a library written in Vala too. > > I made a 'part' that depends

Re: SDL2 / Kivy keyboard event not firing in Snap

2017-01-24 Thread Michael Hall
On 01/24/2017 09:18 AM, Alan Pope wrote: > Hi Michael, > > On 24 January 2017 at 14:04, Michael Hall wrote: >> Is there any reason not to add it to the desktop-helpers remote part? >> XLOCALEDIR isn't SDL-specific, it just seems to be the first thing >> th

Re: SDL2 / Kivy keyboard event not firing in Snap

2017-01-24 Thread Michael Hall
detail? > > Cheers, > Is there any reason not to add it to the desktop-helpers remote part? XLOCALEDIR isn't SDL-specific, it just seems to be the first thing that's brought it to our attention. -- Michael Hall mhall...@ubuntu.com -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

[NEWS] KDE Application snaps in stable channel

2017-01-23 Thread Michael Hall
find kde", and there are more that are in the process of being snapped and published. -- Michael Hall mhall...@ubuntu.com -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: desktop file not appearing

2017-01-23 Thread Michael Hall
Hi Fabio, Most likely the problem is in your .desktop file's Exec= line. This should point to the executable name in /snap/bin/ which, looking at your snapcraft.yaml, would be fcole90-hexgl-webapp.hexgl-webapp If you change it to: Exec=fcole90-hexgl-webapp.hexgl-webapp It should work. Mi

Re: To handle the absolute path in compiling time

2017-01-10 Thread Michael Hall
You can use /snap//current/ instead of $SNAP. At least from inside the snap's runtime environment that should always point to the current install base. It's not ideal, but it's at least a predictable path you know at build time. Michael Hall mhall...@ubuntu.com On 01/10/2017 12:1

Re: App Developer

2017-01-06 Thread Michael Hall
Hi Muhammed, You can subscribe to the mailing list here: https://lists.ubuntu.com/mailman/listinfo/snapcraft Michael Hall mhall...@gmail.com On 01/05/2017 09:53 PM, Muhammed Arshid KV wrote: > Please add me > > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify

Re: Recommended ways of installing configuration files in SNAP_USER_DATA?

2016-12-12 Thread Michael Hall
18 I think) you will also be able to use the 'configure' hook, which will be called on install and update of a snap. But for now the wrapper you have, plus making it a daemon, should do the trick. [1] https://github.com/apache/couchdb/blob/master/configure#L199 Michael Hall mhall...@gmai

Re: Recommended ways of installing configuration files in SNAP_USER_DATA?

2016-12-12 Thread Michael Hall
18 I think) you will also be able to use the 'configure' hook, which will be called on install and update of a snap. But for now the wrapper you have, plus making it a daemon, should do the trick. [1] https://github.com/apache/couchdb/blob/master/configure#L199 Michael Hall mhall...@ubunt

Re: dbus activation running wrong binary

2016-12-08 Thread Michael Hall
Assuming the daemon's snap package is called feedreader-daemon and it has an app of the same name, you can call it using either of these: /snap/bin/feedreader-daemon or snap run feedreader-daemon That will work regardless of what revision feedreader and feedreader-daemon are. -- Michael

[NEWS] ArangoDB snap available

2016-12-01 Thread Michael Hall
Hi everyone, I wanted to share the news that ArangoDB 3.1.2 has been published into the stable channel, providing the easiest way yet to get starting using this unique, multi-model nosql database. https://www.arangodb.com/2016/12/arangodb-snapcraft-packaging/ -- Michael Hall mhall

Re: save files

2016-11-11 Thread Michael Hall
previous version's files. If you want to keep using the same files, instead of a copy of them, then you can use $SNAP_USER_COMMON instead. You can learn more about these environment variables here: http://snapcraft.io/docs/reference/env Michael Hall mhall...@ubuntu.com -- Snapcraf

[NEWS] Kdenlive devel snap

2016-11-09 Thread Michael Hall
in an LTS distribution such as Ubuntu 16.04." [1] http://www.diolinux.com.br/2016/11/editor-de-video-kdenlive-agora-e.html [2] https://translate.google.com/translate?hl=en&sl=pt&tl=en&u=http%3A%2F%2Fwww.diolinux.com.br%2F2016%2F11%2Feditor-de-video-kdenlive-agora-e.html -- Micha

Re: Should Syncloud migrate to snappy?

2016-11-04 Thread Michael Hall
Thanks for posting the correct link Marco, that was indeed the one I wanted. Michael Hall mhall...@ubuntu.com On 11/04/2016 08:29 AM, Marco Trevisan wrote: > Il 04/11/2016 02:43, Michael Hall ha scritto: >> Lime SDR wrote up a nice post about their use of this feature:

Re: Should Syncloud migrate to snappy?

2016-11-03 Thread Michael Hall
e in with more detailed answers for you. Michael Hall mhall...@ubuntu.com On 11/03/2016 06:25 PM, Boris Rybalkin wrote: > Hello, > > I am developing Syncloud (syncloud.org <http://syncloud.org>) and our > goal is to have an app store of popular services (file storage, social >

[NEWS] Altoros (Cloud Foundry) using Snaps

2016-11-02 Thread Michael Hall
https://blog.altoros.com/how-to-use-snap-packages-when-collecting-iot-data-with-predix-time-series.html "Judging from our experience with snaps, developing, as well as publishing, them is quite easy, and the process is supported by good enough documentation." -- Michael Hall mhall...@

[NEWS] PostgreSQL snaps from Command Prompt

2016-10-27 Thread Michael Hall
https://www.commandprompt.com/blog/ubuntu_snap_packages_postgresql/ Command Prompt, Inc, who provide commercial support and development for PostgreSQL, have published their builds as snaps in the store, making it easy for anybody to install and use. -- Michael Hall mhall...@ubuntu.com

Re: Looking to distribute a commercial package as a snap

2016-10-06 Thread Michael Hall
look at the logs and make suggestions. It has some limitations >> currently but it's useful as is. We'll get those sorted and I plan to work >> with >> Gustavo on how to improve the tool (I suspect it might include a rename as >> well). I know this tool is documented in some places, but based on your >> feedback >> it seems it too is underdocumented. >> >> PS - soon you'll need to use 'core:log-observe' instead of 'ubuntu-core:log- >> observe' with the snap connect command. >> >> >> > > > Michael Hall mhall...@ubuntu.com -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Looking to distribute a commercial package as a snap

2016-10-06 Thread Michael Hall
inks with a custom set of Qt 5.7 libs and has a bunch of >> resource files and plugins. It has a GUI binary but can also be run from the >> command-line using a symlink that kicks in a command-line only background >> renderer. >> >> Will packaging as a snap be a good fit

Re: sqlite trying to access /var/tmp

2016-09-27 Thread Michael Hall
it won't impact anything other than sqlite. Michael Hall mhall...@ubuntu.com On 09/26/2016 08:15 PM, Leo Arias wrote: > Hello, > > I'm trying to snap mapbox > studio: https://gist.github.com/elopio/d4e84e0d921151a68445a15d8dbc6ced > > It's failing when I try to create a

Re: candidate/release

2016-09-15 Thread Michael Hall
#x27;m not sure how we can get this across to the snapcraft commandline interface. Perhaps the new APIs sergio mentioned for querying status can include them. Michael Hall mhall...@ubuntu.com On 09/15/2016 10:16 PM, Spencer Parkin wrote: > Thanks all for your help. I followed the following

Re: Accessing dbus (KDE Application)

2016-09-10 Thread Michael Hall
There's an open bug report for this: https://bugs.launchpad.net/snappy/+bug/1590679 There is work going on to implement a snappy interface that will allow apps like kdenlive to claim their own dbus service name. Michael Hall mhall...@ubuntu.com On 09/10/2016 10:43 AM, Jean-Baptiste Mar

Re: PostgreSQL 9.6 snap and feedback

2016-09-02 Thread Michael Hall
ostgres part. > > Yet another option would be to use the new content interface to build postgresql snap that can share it's binaries and libraries into your snap, so you can call them to setup and manage a local database in your own application's directories. Michae

Re: PostgreSQL 9.6 snap and feedback

2016-09-02 Thread Michael Hall
made more > straightforward but it does get the job done. Maybe one day we can get a > `snap env ` command (thinking out loud/writing), who knows :-) > > That would only work if the overlapping command name are from the same upstream project (postgresql in this example) but what if they

Re: Getting QT apps running.

2016-07-28 Thread Michael Hall
"qt5conf" has been replaced be the newer "desktop/qt5" part and "qt5-launch" replaced by "desktop-launch" in the command. These new desktop launchers have fixed a lot of the common problems that the original qt5conf and gtk-equiqalents ran into. Michael Ha