Commit Graph

1873 Commits

Author SHA1 Message Date
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
Michael Hudson-Doyle 384dadc5ed hack to stop ThreadPoolExecutor blocking exit 2018-05-21 11:58:10 +12:00
Michael Hudson-Doyle 381d0bda8e
Merge pull request #335 from CanonicalLtd/mwhudson/move-tasksequence
move TaskSequence somewhere more generic
2018-05-21 11:57:23 +12:00
Michael Hudson-Doyle f6f214125f move TaskSequence somewhere more generic
I want to reuse it in my containerizing branch.

Improve API and docs a bit while I am looking at it.
2018-05-21 11:52:06 +12:00
Michael Hudson-Doyle feda622ed2 hack setup.py to avoid needing to import subiquitycore
or else build_i18n fails!
2018-05-21 10:30:17 +12:00
Michael Hudson-Doyle cbd5afe2c0 move imports of i18n higher so _ is always installed before tests are imported 2018-05-21 10:14:34 +12:00
Michael Hudson-Doyle ac875751fb fix installprogress 2018-05-18 16:27:05 +12:00
Michael Hudson-Doyle ba0625bd6b convert identity 2018-05-18 16:18:27 +12:00
Michael Hudson-Doyle 9ef2c4d7a2 convert filesystem views
impatient to get on with rewriting these as part of the raid work...
2018-05-18 16:14:10 +12:00
Michael Hudson-Doyle f36525b740 convert proxy 2018-05-18 15:58:34 +12:00
Michael Hudson-Doyle 11708703c9 move titles, footers, excerpts from controller to view
read title and footer from the view instance, make views respsonsible for rendering
the excerpt

adapts infrastructure, welcome, keyboard, network views
2018-05-18 15:55:49 +12:00
Michael Hudson-Doyle bdf2bd35a7
Merge pull request #329 from CanonicalLtd/mwhudson/proxy-tweaks
configure proxy for apt and snapd in installed system
2018-05-18 14:01:23 +12:00
Michael Hudson-Doyle ff0af44ee7
Merge pull request #328 from CanonicalLtd/mwhudson/fetch-ssh-keys-earlier
have subiquity fetch ssh keys rather than cloud-init
2018-05-18 14:00:08 +12:00
Michael Hudson-Doyle 80f99deee8 use new, improved subprocess wrapper 2018-05-18 13:53:51 +12:00
Michael Hudson-Doyle 8e288537cd lint 2018-05-18 13:53:51 +12:00
Michael Hudson-Doyle 368c3a9ddb more refactoring 2018-05-18 13:53:51 +12:00
Michael Hudson-Doyle 1309b68bdd make control flow a bit more comprehensible 2018-05-18 13:53:51 +12:00