2017-06-16 04:21:05 |
Robert Ancell |
description |
snapd added a new feature with store sections. This can be used to get the featured snaps that should be promoted.
$ nc -C -U /run/snapd.socket
GET /v2/find?section=featured HTTP/1.1
Host:
HTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 09 Feb 2017 02:55:26 GMT
Transfer-Encoding: chunked
121e
{"type":"sync","status-code":200,"status":"OK","result":[{"channel":"stable","confinement":"strict","description":"Docker for snappy.\r\n\r\nThis snap allows you to use the full capabilities of docker on snappy.\r\n\r\nIn order to use 'docker build', 'docker save' and 'docker load', you need to place your dockerfile within $HOME/apps/docker/1.6.xxx/. All files that you want docker to access to must be within this path.\r\n\r\nYou may also use the 'docker-privilege' command to allow you to use 'docker run --privileged'. Because docker is unencumbered on snappy, it is recommended that you follow the Docker project's recommendations for using docker securely.","developer":"docker-inc","download-size":25858048,"icon":"https://myapps.developer.ubuntu.com/site_media/appmedia/2015/04/docker.svg.png","id":"sLCsFAO8PKM5Z0fAKNszUOX0YASjQfeZ","name":"docker","private":false,"resource":"/v2/snaps/docker","revision":"56","status":"available","summary":"The docker app deployment mechanism","type":"app","version":"1.11.2-9"},{"channel":"stable","confinement":"strict","description":"LXD is a container manager for system containers.\r\n\r\nIt offers a REST API to remotely manage containers over the network, using an image based workflow and with support for live migration.\r\n\r\nImages are available for all Ubuntu releases and architectures as well as for a wide number of other Linux distributions.\r\n\r\nLXD containers are lightweight, secure by default and a great alternative to virtual machines.","developer":"canonical","download-size":12435456,"icon":"https://myapps.developer.ubuntu.com/site_media/appmedia/2016/08/containers.png","id":"J60k4JY0HppjwOjW8dZdYc8obXKxujRu","name":"lxd","private":false,"resource":"/v2/snaps/lxd","revision":"976","screenshots":[{"url":"https://myapps.developer.ubuntu.com/site_media/appmedia/2017/01/lxd.png"}],"status":"available","summary":"LXD - the container lightervisor","type":"app","version":"2.8"},{"channel":"stable","confinement":"strict","description":"MongoDB is a high-performance, open source, schema-free\ndocument-oriented data store that's easy to deploy, manage\nand use. It's network accessible, written in C++ and offers\nthe following features:\n\n * Collection oriented storage - easy storage of object-style data\n * Full index support, including on inner objects\n * Query profiling\n * Replication and fail-over support\n * Efficient storage of binary data including large objects (e.g. videos)\n * Auto-sharding for cloud-level scalability\n\nHigh performance, scalability, and reasonable depth of functionality\nare the goals for the project.\n","developer":"niemeyer","download-size":73240576,"icon":"","id":"6UvOOGyo579tOzv5OIfs10hgVoB1bh4G","name":"mongo32","private":false,"resource":"/v2/snaps/mongo32","revision":"2","status":"available","summary":"MongoDB document-oriented database","type":"app","version":"3.2.7"},{"channel":"stable","confinement":"strict","description":"Slack-like online chat server for your office, group or family. Up and running in seconds. Supports file sharing, video conference, geolocation, and much more. Web and mobile client. MIT licensed Open Source project. List of features at https://rocket.chat/ , MIT licensed source code at https://github.com/RocketChat/Rocket.Chat , 24 x 7 community support and demo server at https://demo.rocket.chat/","developer":"rocketchat","download-size":153300992,"icon":"https://myapps.developer.ubuntu.com/site_media/appmedia/2016/08/1024x1024-circle.png","id":"wdBUbiEuMNHmAHLBCXQXOcXaOCvbWS1e","name":"rocketchat-server","private":false,"resource":"/v2/snaps/rocketchat-server","revision":"487","screenshots":[{"url":"https://myapps.developer.ubuntu.com/site_media/appmedia/2016/08/Screen_Shot_2016-02-22_at_21.44.26.png"},{"url":"https://myapps.developer.ubuntu.com/site_media/appmedia/2016/08/Screen_Shot_2016-02-22_at_21.45.00.png"},{"url":"https://myapps.developer.ubuntu.com/site_media/appmedia/2016/08/Screen_Shot_2016-02-22_at_21.45.35.png"},{"url":"https://myapps.developer.ubuntu.com/site_media/appmedia/2016/08/Screen_Shot_2016-02-22_at_21.47.10.png"},{"url":"https://myapps.developer.ubuntu.com/site_media/appmedia/2016/08/Screen_Shot_2016-02-22_at_21.48.31.png"},{"url":"https://myapps.developer.ubuntu.com/site_media/appmedia/2016/08/Screen_Shot_2016-03-09_at_20.15.01.png"},{"url":"https://myapps.developer.ubuntu.com/site_media/appmedia/2016/08/Screen_Shot_2016-03-18_at_18.00.07.png"}],"status":"available","summary":"Group chat server for 100s, installed in seconds.","type":"app","version":"0.51.0"}],"sources":["store"],"suggested-currency":"USD"}
0 |
[Impact]
GNOME Software doesn't show any snaps in the "Editor's Picks" section. snapd added a new feature to return snaps in the "featured" section and should be shown in GNOME Software.
[Test Case]
1. Open GNOME Software
Expected result:
Some of the "Editor's Picks" apps should be snaps.
Observed result:
There are no snaps shown.
[Regression Potential]
Some risk of new behaviour adversely affecting GNOME Software startup. |
|