This repository was archived by the owner on Jan 4, 2021. It is now read-only.
Commit fc71466 totokaka
committed
1 parent 0f639fa commit fc71466 Copy full SHA for fc71466
File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
- - Report why plugins are removed from install queue. Eg. report when they are ignored and removed because of nonexisting versions.
Original file line number Diff line number Diff line change @@ -186,15 +186,22 @@ def download(self):
186
186
to_install = list ()
187
187
for plugin in plugins :
188
188
if plugin ['plugin_name' ].lower () in self .args .ignored :
189
+ self .p_sub ("Ignoring {}" , plugin ['plugin_name' ])
190
+ continue
191
+ if len (plugin ['versions' ]) < 1 :
192
+ self .p_sub ("Could not find any versions for {}" ,
193
+ plugin ['plugin_name' ])
189
194
continue
190
195
for i_plugin in installed :
191
196
if i_plugin ['slug' ] == plugin ['slug' ] \
192
197
and not i_plugin ['versions' ][0 ]['version' ] > \
193
198
plugin ['versions' ][0 ]['version' ]:
199
+ self .p_sub ("{} is allready installed, and up to date" ,
200
+ plugin ['plugin_name' ])
194
201
break
195
202
else :
196
203
to_install .append (plugin )
197
- plugins = [ p for p in to_install if len ( p [ 'versions' ]) > 0 ]
204
+ plugins = to_install
198
205
199
206
if len (plugins ) < 1 :
200
207
self .p_main ('No plugins left to install' )
@@ -228,6 +235,8 @@ def update(self):
228
235
to_update = list ()
229
236
for i in installed :
230
237
if i ['plugin_name' ].lower () in self .args .ignored :
238
+ self .p_sub ('Ignoring {}' ,
239
+ i ['plugin_name' ])
231
240
continue
232
241
n_version = utils .select_newest_version (i , self .args .version )
233
242
if n_version is None :
You can’t perform that action at this time.
0 commit comments