[Bug 1663060] Re: Add a title field to snap metadata

2017-05-04 Thread Gustavo Niemeyer
*** This bug is a duplicate of bug 169 ***
https://bugs.launchpad.net/bugs/169

We just got a bug report saying gnome-software is actually showing
summaries as a title:

https://forum.snapcraft.io/t/title-summary-pulled-from/469

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1663060

Title:
  Add a title field to snap metadata

To manage notifications about this bug go to:
https://bugs.launchpad.net/developer-portal/+bug/1663060/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-12 Thread Gustavo Niemeyer
Sounds good. We'll add something along those lines to the API.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1661590

Title:
  GNOME Software only supports running one application from a snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1661590/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1663060] Re: Add a title field to snap metadata

2017-02-12 Thread Gustavo Niemeyer
If gnome-software is using summary as a name, it needs to be fixed to
not do that, ASAP.

Whether to have a different field is an unrelated conversation which is
of less urgency than that. We have a name field today, and it should be
used.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1663060

Title:
  Add a title field to snap metadata

To manage notifications about this bug go to:
https://bugs.launchpad.net/developer-portal/+bug/1663060/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1663060] Re: Add a title field to snap metadata

2017-02-10 Thread Gustavo Niemeyer
Yes, but the discussion above also implies that we have multiple naming
fields, and that gnome-software is currently using summary as it
("Currently gnome-software is using sumary or name instead of this
field.").

We should discuss the possibility of another field, per above note, but
let's please not use a summary as a display name meanwhile. This will
encourage people to put wrong data in the wrong field.

In terms of the proposal itself, would be good to have a conversation
about it considering the pros and cons. If we allow a free form name, we
may end up with multiple applications named exactly the same thing (for
above example, imagine 10 different "Calculator" applications). How much
better is this than having a single "calculator" application? Our whole
apt/deb story circles around applications with unique and well-defined
lowercased names. What are the benefits of breaking that?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1663060

Title:
  Add a title field to snap metadata

To manage notifications about this bug go to:
https://bugs.launchpad.net/developer-portal/+bug/1663060/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
More food for thought on the above note: the desktop file cannot call
the real underlying command by itself! That would break confinement. It
calls the confined binary under /snap/bin instead, which is what the
"command:" attribute specifies. So, necessarily respected.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1661590

Title:
  GNOME Software only supports running one application from a snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1661590/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
@Mark: The command is not duplicated. The desktop file will call the
actual command defined in the snap.yaml. It may provide additional
arguments, but those will indeed be _in addition_ to the ones in
snap.yaml.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1661590

Title:
  GNOME Software only supports running one application from a snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1661590/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
Robert: what do you actually need here?  We already support multiple
desktop files, and they already hold metadata. gnome-software can
already inspect to see which of these is available, I believe?  What are
the missing pieces?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1661590

Title:
  GNOME Software only supports running one application from a snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1661590/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
Another side note: there's no special meaning to the order of commands
in snap.yaml. We can reorder it, and snapcraft can reorder it, so please
don't take it to mean something specific as that'll easily break.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1661590

Title:
  GNOME Software only supports running one application from a snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1661590/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1663060] Re: Add a title field to snap metadata

2017-02-10 Thread Gustavo Niemeyer
The bug description is misleading. There's a single name field in snaps
today, and its called "name". Summary is not a name, and description is
not a name. If gnome-software or anything else is using "summary" as a
name, that's a pretty obvious bug that would be great to see fixed.

We can discuss the introduction of an alternative name field which is
free-form and not unique, but that's a separate conversation. Proper
applications supporting the snap format shouldn't mangle snap names, and
shouldn't misuse fields for incorrect purposes.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1663060

Title:
  Add a title field to snap metadata

To manage notifications about this bug go to:
https://bugs.launchpad.net/developer-portal/+bug/1663060/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
Every application may already have an associated desktop file under
meta/gui/.desktop today.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1661590

Title:
  GNOME Software only supports running one application from a snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1661590/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1581713] Re: Ubuntu Software always asks for an Ubuntu Single Sign-On account when installing or removing a snap package

2017-02-09 Thread Gustavo Niemeyer
As we discussed the last time this came up, yes, that seems fine.
Handing out a token to root that provides an authorization to manipulate
the system is analogous to allowing root itself to be doing removals
without further store information, which we allow.

The necessary infrastructure for that is pretty much in place since we
already have to maintain the local and remote macaroons separately, and
the situation where the remote macaroon is missing or incorrect is
already handled. If a store operation depends on a valid user, it will
prompt for a full login, and once performed that will associate the
remote macaroon with the existing local user instead of creating a new
one.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1581713

Title:
  Ubuntu Software always asks for an Ubuntu Single Sign-On account when
  installing or removing a snap package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1581713/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs