Commit Graph

1804 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 3aac53cf1b misc review feedback 2018-05-23 11:59:14 +12:00
Michael Hudson-Doyle ca1d7ba77b parameterize store section to load 2018-05-23 11:38:42 +12:00
Michael Hudson-Doyle 702aaee953 add some long comments and rename some variables 2018-05-23 11:35:33 +12:00
Michael Hudson-Doyle 57091ffc35 add a README to examples/snaps 2018-05-23 10:14:17 +12:00
Michael Hudson-Doyle f3b9ec87d9 one last UI tweak 2018-05-22 23:41:57 +12:00
Michael Hudson-Doyle 676d22482e note new dependencies in a few places 2018-05-22 23:15:13 +12:00
Michael Hudson-Doyle 18d3f6dc8d a comment 2018-05-22 23:12:04 +12:00
Michael Hudson-Doyle 9a6275ec96 final(?) oops 2018-05-22 23:04:31 +12:00
Michael Hudson-Doyle 52560dc82c answers support and some other fixes 2018-05-22 23:01:28 +12:00
Michael Hudson-Doyle 919b292800 Merge branch 'master' into mwhudson/snap-screen 2018-05-22 22:47:36 +12:00
Michael Hudson-Doyle 626488e988
Merge pull request #334 from CanonicalLtd/mwhudson/move-excerpt-title-to-view
move excerpt, title and footer from controller to view
2018-05-22 22:38:39 +12:00
Michael Hudson-Doyle be4d1da044 allow retrying loading of snap info 2018-05-22 22:35:42 +12:00
Michael Hudson-Doyle c0d0a4aafc allow retrying the whole list of snaps 2018-05-22 22:12:52 +12:00
Michael Hudson-Doyle 23ae0748f0 better code layout 2018-05-22 22:12:35 +12:00
Michael Hudson-Doyle 2fcc4ed95f minor tweaks 2018-05-22 20:59:46 +12:00
Michael Hudson-Doyle f174ba16dc ffs 2018-05-22 14:55:58 +12:00
Michael Hudson-Doyle ac535012f8 create a dir before writing to it... 2018-05-22 14:09:53 +12:00
Michael Hudson-Doyle 28dd8c9d17 stage python3-requests & python3-requests-unixsocket 2018-05-22 13:59:06 +12:00
Michael Hudson-Doyle 18ba5cbac3 track confinement of snaps and seed classic snaps appropriately 2018-05-22 13:39:01 +12:00
Michael Hudson-Doyle 4f0ec36a97 actually sort of works now 2018-05-22 13:32:44 +12:00
Michael Hudson-Doyle 33d64550b7 download / seed snaps 2018-05-22 13:08:12 +12:00
Michael Hudson-Doyle 09fb775d5a flesh out where seeding snaps step will go 2018-05-22 12:34:41 +12:00
Michael Hudson-Doyle 8d6a966e89
Merge pull request #338 from raharper/fix/subprocess_encoding
Fix/subprocess encoding
2018-05-22 10:01:24 +12:00
Ryan Harper a84dd2b272 Encoding input when running commands 2018-05-21 13:35:26 -05:00
Ryan Harper 74ae9b9fde Drop use of encoding kwarg to subprocess for python3.5 compat 2018-05-21 11:54:34 -05:00
Ryan Harper e1a6542d86 run_command returns a CalledProcess object, no 'output' attribute, but 'stdout' instead 2018-05-21 11:29:41 -05:00
Michael Hudson-Doyle d129a399d6 haha oops 2018-05-21 20:42:00 +12:00
Michael Hudson-Doyle b5c02d8f0f note todos 2018-05-21 20:38:28 +12:00
Michael Hudson-Doyle 1a8aa04908 try to make control flow a bit less ridiculous 2018-05-21 15:05:59 +12:00
Michael Hudson-Doyle fced3408d3 convert the snap loader state strings into a sortof enum 2018-05-21 14:33:06 +12:00
Michael Hudson-Doyle ff19ac4409 add a flag to load snaps from example directory 2018-05-21 14:25:48 +12:00
Michael Hudson-Doyle 9426510e79 create systemd drop-in for snapd before restarting it 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle b665038dcc remove list fetching slowdown 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle ac7cba7aaa use just "*" to mark selected things 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 44620c82b4 show publisher on snap list if there is at least 40 chars left for summary 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 08ff434fd2 handle the case where the snaps have not loaded when you get to the snap list screen
by means of total abstraction violation but oh well
2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle be758664d8 sundry fixes 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle e3fa3b7bd6 if loading snaps has failed, restart on network config, proxy config 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 27a53f0f6a remove artificial delay on snap info for now 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 6a81d84220 add timeouts to requests to snapd 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 96e0bc3b33 mark SnapdSnapInfoLoader as failed if a request fails 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 4475e25f23 track state of SnapdSnapInfoLoader 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 914f187bf0 fetch developer snaps and some tweaks from looking at them 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 8f7876767c refactor a bit 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle eaeac00b36 hmm 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 80721242eb handle bouncing on info and cancel a bit better 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle f7a43b52f3 wait for channel data when necessary 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 724c42c0c4 remove some older code 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 9d90500e26 improve structure some more 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 763cc79c8e async load snap list & info, all very happy-path 2018-05-21 14:17:30 +12:00