detect video player

2017-02-24 Thread Vasilisc
Please give me advice. For example, vlc come from snap package, smplayer 
from deb package. How correct detect video players from 
application-in-snap-package?

--
Best regards,
vasilisc

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


snapping tmux

2017-02-24 Thread Joe Coates
I've been trying to add tmux to my snap to provide separate command line 
environments to each of several processes in the snap (the target is 
Ubuntu-core).   It builds OK but it fails silently upon execution (by silent I 
mean no appArmor denials or error messages in journalctl or syslog).  The tmux 
log indicates "fatal: tcgetattr failed: Bad file descriptor", and I believe it 
is trying to access the session TTY ("client 0x10e9590 IDENTIFY_ENVIRON 
SSH_TTY=/dev/pts/1") . This behavior is consistent on ubuntu-core, 
core+classic, and ubuntu server.
 Before delving further into tmux code I'd like to know if there is some basic 
restriction preventing this from working - is the console session off limits to 
snaps ? I noticed some early attempts at snapping tmux on github, but none 
of them seem to have been successful.  Has anyone tried this, or can perhaps 
offer any advice ?
Thanks,
Joe Coates



DISCLAIMER:
This e-mail and any attachments to it may contain confidential and proprietary 
material and is solely for the use of the intended recipient. Any review, use, 
disclosure, distribution or copying of this transmittal is prohibited except by 
or on behalf of the intended recipient. If you have received this transmittal 
in error, please notify the sender and destroy this e-mail and any attachments 
and all copies, whether electronic or printed.
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapcraft 2.27 has been released

2017-02-24 Thread Kyle Fazzari


On 02/24/2017 10:49 AM, Claudio André wrote:
> 
> 2017-02-17 10:49 GMT-02:00 Sergio Schvezov
> mailto:sergio.schve...@canonical.com>>:
> 
> Hello snapcrafters!
> 
> ## Setting up environment
> 
> No more wrapper scripts just to setup on environment entry, this is
> now tied into an app entry in `apps`. Here's a quick example:
> 
> ```yaml
> apps:
> vim:
> command: bin/vim
> environment:
> VIMRUNTIME: $SNAP/share/vim/vim80
> ```
> 
> 
> Hi, I tried to append to path (see below). It is not supported. 
> 
> ```yaml
> environment:
>   PATH: "$SNAP/usr/lib/jvm/default-java/bin:$PATH" 
> ```
> 
> I'm ok with it. But, in case this is not by design, I'm mailing you guys.

I can verify this. To clarify, this builds and runs fine, but actually
results in the PATH including the string `$PATH` instead of expanding it.

Can a snapd dev comment on this? Is that intended?

-- 
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
k...@canonical.com



signature.asc
Description: OpenPGP digital signature
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapcraft 2.27 has been released

2017-02-24 Thread Claudio André
2017-02-17 10:49 GMT-02:00 Sergio Schvezov :

> Hello snapcrafters!
>
> ## Setting up environment
>
> No more wrapper scripts just to setup on environment entry, this is now
> tied into an app entry in `apps`. Here's a quick example:
>
> ```yaml
> apps:
> vim:
> command: bin/vim
> environment:
> VIMRUNTIME: $SNAP/share/vim/vim80
> ```
>

Hi, I tried to append to path (see below). It is not supported.

```yaml
environment:
  PATH: "$SNAP/usr/lib/jvm/default-java/bin:$PATH"
```

I'm ok with it. But, in case this is not by design, I'm mailing you guys.

Claudio
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: [System Enablement] New releases Feb 2017

2017-02-24 Thread Vanessa Chang
Hi

Please find the Completed test result / report for week 8 from CE QA:

WW 2017 St. Louis UC16 Caracalla UC16

ww08
Network Manager 1.2.2-11 (115)

Network
Manager 1.2.2-11 (115)

TPM2 1.0-4 (18)  Wifi-AP 13 (93)

udisks2 2.1.7-4 (20)

udisks2 2.1.7-5 (31) 
alsa-utlis 1.1.2-4 (43)

Ongoing Tasks:
St. Louis Kernel + TPM2 (caracalla)
TPM1.2 (st-louis)

Thanks,


Best Regards,

Vanessa

2017-02-24 18:30 GMT+08:00 Simon Fels :

> On 07.02.2017 15:40, Simon Fels wrote:
> > Hey everyone,
> >
> > new releases of the alsa-utils, network-manager, upower and wifi-ap
> > snaps were pushed into the candidate channel.
> >
> > alsa-utils 1.1.2-2:
> >
> > * First official release supported by Canonical
> > * Aliases for all exported commands are available
> > * Set of automated and manual test cases guarantee quality of each
> release
> >
> > network-manager 1.2.2-11:
> >
> > * Wake-on-WLAN can be configured via snap confiration / nmcli
> > * Automatic reconfiguration of network devices when devices wakes up
> > * Alias support for nmcli command
> > * WiFi powersave is now configurable via snap configuration
> > * Network-Manager tests are using tests-extras repository to fetch the
> > image creating scripts rather than embed them.
> >
> > upower 0.99.4-2:
> >
> > * First release
> > * Integration with systemd to suspend the system on low battery events
> >
> > wifi-ap 13:
> >
> > * Configuration command accepts multiple key/value pairs
> > * AP can be disabled on installation via configuration option
> >
> > ---
> >
> > An overview of which revisions / versions of the particular snaps are
> > available in which channel is available at
> > https://docs.google.com/document/d/1-rKAjr6FLUzt7oOtR_
> xcAEHJpntUPGpmixU6PV8K2KU/edit#
> >
> > The snaps have passed our engineering QA and will now be tested by the
> > platform and commercial QA teams before the new versions are pushed to
> > the stable channel.
> >
> > Bileto requests are:
> >
> > - alsa-utils: https://bileto.ubuntu.com/#/ticket/2441
> > - network-manager: https://bileto.ubuntu.com/#/ticket/2442
> > - upower: https://bileto.ubuntu.com/#/ticket/2445
> > - wifi-ap: https://bileto.ubuntu.com/#/ticket/2444
> >
> > If you have any questions feel free to ping me.
>
> All snaps listed above have passed testing by platform and commercial QA
> and have now released to the stable channel.
>
> regards,
> Simon
>
>
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Snap refresh or new install stuck at 'Run configure hook of "core" snap if present'

2017-02-24 Thread John Lenton
On 24 February 2017 at 13:08, Martin Winter
 wrote:
> So not sure what’s going on.

Neither are we! But we've spotted some of these on errors.ubuntu.com.
Can you get get on IRC (#snappy on freenode)? We'd love to get our
hands on systems with this happening a we haven't been able to
reproduce it!

Thank you,

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Snap refresh or new install stuck at 'Run configure hook of "core" snap if present'

2017-02-24 Thread Martin Winter

So not sure what’s going on.

Since the latest update of my Ubuntu 16.04.2 (Server, x86_64) I can’t 
do a “snap refresh” anymore or

reinstalling it.

Basically it seems to try installing or updating (If I have earlier 
version) and gets

stuck forever (or at least > 2hrs) at
[/] Run configure hook of "core" snap if present

(And spinning the animation in [ ])

Curious if anyone has seen the same. All my Ubuntu 16.04 Servers have 
this issue.

(Approx 10 Servers which are part of my CI system)

Thoughts?

- Martin Winter

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Tracking breaking changes in core

2017-02-24 Thread Oliver Grawert
hi,
Am Freitag, den 24.02.2017, 11:00 + schrieb Adam Collard:
> Hi Snapsters,
> 
> We've recently hit an issue[0] that broke the canonical-livepatch
> snap. Work to fix it is under-way, but I'm curious how we're expected
> to know about these breaking changes? It seems that the key piece of
> information is tucked away inside a LP bug[1]. 
> 
> TIA,
> 
> Adam
> 
> [0] https://bugs.launchpad.net/canonical-livepatch-client/+bug/166747
> 0
> [1] https://bugs.launchpad.net/snappy/+bug/1619420/comments/11
> -- 
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l
> istinfo/snapcraft

this kind of exposes an issue in our way to test IMHO.

the fix from [1] (needed for the core images where lsb_release has
never been functional) landed in edge two weeks ago, then in
candidate/beta a little later, but still ahead of the stable release of
the latest core snap. 

the livepatch snap on classic should be included in QAs test plan for
candidate releases (alternatively you could have one machine in your
team that uses the core snap from beta or candidate permanently on
classic which would allow you to raise a flag before core hits stable)

ciao
oli

signature.asc
Description: This is a digitally signed message part
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Tracking breaking changes in core

2017-02-24 Thread Adam Collard
Hi Snapsters,

We've recently hit an issue[0] that broke the canonical-livepatch snap.
Work to fix it is under-way, but I'm curious how we're expected to know
about these breaking changes? It seems that the key piece of information is
tucked away inside a LP bug[1].

TIA,

Adam

[0] https://bugs.launchpad.net/canonical-livepatch-client/+bug/1667470
[1] https://bugs.launchpad.net/snappy/+bug/1619420/comments/11
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: [System Enablement] New releases Feb 2017

2017-02-24 Thread Simon Fels
On 07.02.2017 15:40, Simon Fels wrote:
> Hey everyone,
> 
> new releases of the alsa-utils, network-manager, upower and wifi-ap
> snaps were pushed into the candidate channel.
> 
> alsa-utils 1.1.2-2:
> 
> * First official release supported by Canonical
> * Aliases for all exported commands are available
> * Set of automated and manual test cases guarantee quality of each release
> 
> network-manager 1.2.2-11:
> 
> * Wake-on-WLAN can be configured via snap confiration / nmcli
> * Automatic reconfiguration of network devices when devices wakes up
> * Alias support for nmcli command
> * WiFi powersave is now configurable via snap configuration
> * Network-Manager tests are using tests-extras repository to fetch the
> image creating scripts rather than embed them.
> 
> upower 0.99.4-2:
> 
> * First release
> * Integration with systemd to suspend the system on low battery events
> 
> wifi-ap 13:
> 
> * Configuration command accepts multiple key/value pairs
> * AP can be disabled on installation via configuration option
> 
> ---
> 
> An overview of which revisions / versions of the particular snaps are
> available in which channel is available at
> https://docs.google.com/document/d/1-rKAjr6FLUzt7oOtR_xcAEHJpntUPGpmixU6PV8K2KU/edit#
> 
> The snaps have passed our engineering QA and will now be tested by the
> platform and commercial QA teams before the new versions are pushed to
> the stable channel.
> 
> Bileto requests are:
> 
> - alsa-utils: https://bileto.ubuntu.com/#/ticket/2441
> - network-manager: https://bileto.ubuntu.com/#/ticket/2442
> - upower: https://bileto.ubuntu.com/#/ticket/2445
> - wifi-ap: https://bileto.ubuntu.com/#/ticket/2444
> 
> If you have any questions feel free to ping me.

All snaps listed above have passed testing by platform and commercial QA
and have now released to the stable channel.

regards,
Simon


-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft