Commit Graph

2039 Commits

Author SHA1 Message Date
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
Michael Hudson-Doyle 9863007e8c load snap list from snapd, synchronously for now 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 74ce0e54cd rejig model code in preparation for talking to the network 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 18f2a90a98 track the to_install state 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle db8d04e33a risk choices should be radio buttons... 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 619dd77bbb tab key behaviour nerdery 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 3d2808e9bc disable tab cycling behaviour in snap list 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 9b78aae02b format more like 'snap info' 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle e8c0226695 use real channel data 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 495fb5dd49 start of snap info screen 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle f4f5d58026 first cut at snaplist view 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle e2ec77d475 start some snaplist bits 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 4a631ee447 some snap sample data (games for now!) 2018-05-21 14:17:30 +12:00
Michael Hudson-Doyle 79208bc00b trap a TaskSequence gotcha 2018-05-21 13:09:56 +12:00
Michael Hudson-Doyle 4f531724bc fix identity crash 2018-05-21 12:56:05 +12:00
Michael Hudson-Doyle 70ec850aad
Merge pull request #336 from CanonicalLtd/mwhudson/hack-ThreadPoolExecutor
hack to stop ThreadPoolExecutor blocking exit
2018-05-21 11:59:12 +12:00