573e78feeb 
								
							 
						 
						
							
							
								
								pkg/cmd: Check errors ( #19700 )  
							
							... 
							
							
							
							* pkg/cmd: Check errors
* pkg/cmd: Make sure server waits on services, even in case of error
* pkg/cmd: Inform of error to show help
* pkg/cmd: Only warn on failure to send systemd notification
* pkg/cmd: Don't log errors stemming from context cancelation
* pkg/cmd: Don't fail if unable to write to systemd 
							
						 
						
							2019-10-15 16:44:15 +02:00  
				
					
						
							
							
								 
						
							
								3866814ea9 
								
							 
						 
						
							
							
								
								CLI: Fix version selection for plugin install ( #19498 )  
							
							
							
						 
						
							2019-09-30 15:34:09 +02:00  
				
					
						
							
							
								 
						
							
								2acffbeb10 
								
							 
						 
						
							
							
								
								CLI: Fix installing plugins on windows ( #19061 )  
							
							... 
							
							
							
							Fixes  #19022  
						
							2019-09-13 18:12:52 +02:00  
				
					
						
							
							
								 
						
							
								8c49d27705 
								
							 
						 
						
							
							
								
								CLI: Allow installing custom binary plugins ( #17551 )  
							
							... 
							
							
							
							Make sure all data is sent to API to be able to select correct archive version. 
							
						 
						
							2019-07-29 10:44:58 +02:00  
				
					
						
							
							
								 
						
							
								81ff856568 
								
							 
						 
						
							
							
								
								grafana-cli: allow installing plugins from a local zip file ( #18021 )  
							
							
							
						 
						
							2019-07-10 00:40:33 -07:00  
				
					
						
							
							
								 
						
							
								151b24b95f 
								
							 
						 
						
							
							
								
								CLI: Add command to migrate all datasources to use encrypted password fields  ( #17118 )  
							
							... 
							
							
							
							closes : #17107  
						
							2019-05-27 10:47:21 +02:00  
				
					
						
							
							
								 
						
							
								c1289b308f 
								
							 
						 
						
							
							
								
								Chore: revise some of the gosec rules ( #16713 )  
							
							
							
						 
						
							2019-05-01 11:36:02 +02:00  
				
					
						
							
							
								 
						
							
								54c1bf0cc9 
								
							 
						 
						
							
							
								
								Chore: a bit of spring cleaning ( #16710 )  
							
							... 
							
							
							
							* Chore: use early return technic everywhere
And enable "indent-error-flow" revive rule
* Chore: remove if-return rule from revive config
* Chore: improve error messages
And enable "error-strings" revive rule
* Chore: enable "error-naming" revive rule
* Chore: make linter happy
* Chore: do not duplicate gofmt execution
* Chore: make linter happy
* Chore: address the pull review comments 
							
						 
						
							2019-04-23 11:24:47 +03:00  
				
					
						
							
							
								 
						
							
								56c965e5df 
								
							 
						 
						
							
							
								
								cli: chmod 755 for backend plugin binaries  
							
							... 
							
							
							
							Fixes  #15500 . Does a simple filename check if the binary names ends
with _linux_amd64 or _darwin_amd64 then sets the file mode to 755. 
						
							2019-02-18 15:05:34 +01:00  
				
					
						
							
							
								 
						
							
								d2f2c3f220 
								
							 
						 
						
							
							
								
								Fix spelling of your and you're  
							
							
							
						 
						
							2018-09-25 12:38:02 +02:00  
				
					
						
							
							
								 
						
							
								ee1083d9b4 
								
							 
						 
						
							
							
								
								cli: avoid rely on response.ContentLength ( #13120 )  
							
							... 
							
							
							
							response.ContentLength might be invalid if the http response
is chunked.
fixes  #13079  
							
						 
						
							2018-09-03 20:33:21 +02:00  
				
					
						
							
							
								 
						
							
								4d6386e97b 
								
							 
						 
						
							
							
								
								Use fmt.Errorf() (gosimple)  
							
							... 
							
							
							
							This fixes:
pkg/cmd/grafana-cli/commands/install_command.go:36:11: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (S1028)
pkg/models/org_user.go:53:11: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (S1028)
pkg/services/notifications/mailer.go:138:16: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (S1028) 
							
						 
						
							2018-04-16 21:04:57 +02:00  
				
					
						
							
							
								 
						
							
								ee623e2091 
								
							 
						 
						
							
							
								
								Grafana-CLI: mention the plugins directory is not writable on failure  
							
							
							
						 
						
							2018-04-15 13:44:59 -04:00  
				
					
						
							
							
								 
						
							
								b099f0309f 
								
							 
						 
						
							
							
								
								cli: download latest dependency by default  
							
							
							
						 
						
							2018-02-16 09:54:37 +01:00  
				
					
						
							
							
								 
						
							
								5bbe047eaa 
								
							 
						 
						
							
							
								
								Revert "removes dependencies install for plugins"  
							
							... 
							
							
							
							This reverts commit 47e363ea15 
							
						 
						
							2018-02-16 09:49:29 +01:00  
				
					
						
							
							
								 
						
							
								47e363ea15 
								
							 
						 
						
							
							
								
								removes dependencies install for plugins  
							
							... 
							
							
							
							this features was never intended for production. 
							
						 
						
							2018-02-14 15:40:42 +01:00  
				
					
						
							
							
								 
						
							
								e978bfc368 
								
							 
						 
						
							
							
								
								Added --pluginUrl option to grafana-cli for local network plugin installation  
							
							
							
						 
						
							2017-09-15 20:34:08 +02:00  
				
					
						
							
							
								 
						
							
								3f00834f25 
								
							 
						 
						
							
							
								
								tech: remove unused dependencies  
							
							
							
						 
						
							2016-09-19 15:21:53 +02:00  
				
					
						
							
							
								 
						
							
								3c966caa23 
								
							 
						 
						
							
							
								
								feat(cli): download all plugin dependencies  
							
							
							
						 
						
							2016-09-15 14:38:11 +02:00  
				
					
						
							
							
								 
						
							
								07be2c89a3 
								
							 
						 
						
							
							
								
								tech(cli): lets use the fact that we have a compiler  
							
							
							
						 
						
							2016-06-26 03:47:15 +02:00  
				
					
						
							
							
								 
						
							
								6de1399cf0 
								
							 
						 
						
							
							
								
								fix(cli): fixes broken import  
							
							
							
						 
						
							2016-06-03 12:35:17 +02:00  
				
					
						
							
							
								 
						
							
								15aeb4aec2 
								
							 
						 
						
							
							
								
								tech(cli): rename log to logger to separate from server logger  
							
							
							
						 
						
							2016-06-03 12:22:30 +02:00  
				
					
						
							
							
								 
						
							
								07b13e24fa 
								
							 
						 
						
							
							
								
								style(cli): add some color to error messages  
							
							
							
						 
						
							2016-04-23 14:39:42 +02:00  
				
					
						
							
							
								 
						
							
								0855f51436 
								
							 
						 
						
							
							
								
								feat(cli): improves defer error handling  
							
							
							
						 
						
							2016-04-23 14:39:42 +02:00  
				
					
						
							
							
								 
						
							
								70acfb2cfd 
								
							 
						 
						
							
							
								
								fix(cli): adds better help text.  
							
							... 
							
							
							
							The zip lib is throwing panics sometimes when the response is malformed.
The cli will now try to download the zip file up to three times before
aborting. The cli gives a better error message and informes the user
about retrying.
closes  #4651  
							
						 
						
							2016-04-23 14:39:42 +02:00  
				
					
						
							
							
								 
						
							
								ff22f43002 
								
							 
						 
						
							
							
								
								fix(cli): fixes missplaced %  
							
							
							
						 
						
							2016-04-19 14:46:03 +02:00  
				
					
						
							
							
								 
						
							
								d38d4efc18 
								
							 
						 
						
							
							
								
								style(cli): improve logging to find install crash  
							
							
							
						 
						
							2016-04-19 10:39:55 +02:00  
				
					
						
							
							
								 
						
							
								a8c68e33db 
								
							 
						 
						
							
							
								
								feat(cli): add more logging for failed install  
							
							
							
						 
						
							2016-04-19 10:22:02 +02:00  
				
					
						
							
							
								 
						
							
								903d1b7797 
								
							 
						 
						
							
							
								
								tech(cli): dont use defer statements in loops  
							
							
							
						 
						
							2016-04-19 09:13:58 +02:00  
				
					
						
							
							
								 
						
							
								676e950fa3 
								
							 
						 
						
							
							
								
								fix(cli): improve error message for not using sudo  
							
							... 
							
							
							
							closes  #4562  
						
							2016-04-05 15:37:09 +02:00  
				
					
						
							
							
								 
						
							
								1e44ee9e9b 
								
							 
						 
						
							
							
								
								feat(grafana-cli): minor changes  
							
							
							
						 
						
							2016-03-28 21:42:26 +02:00  
				
					
						
							
							
								 
						
							
								1a11f1e8c6 
								
							 
						 
						
							
							
								
								Merge branch 'master' into cli_colors  
							
							
							
						 
						
							2016-03-16 14:17:35 +01:00  
				
					
						
							
							
								 
						
							
								8e70e9c1c3 
								
							 
						 
						
							
							
								
								feat(cli): improve error message for missing permission  
							
							
							
						 
						
							2016-03-13 11:29:43 +01:00  
				
					
						
							
							
								 
						
							
								740478344b 
								
							 
						 
						
							
							
								
								Merge branch 'master' into cli_colors  
							
							
							
						 
						
							2016-03-11 14:43:12 +01:00  
				
					
						
							
							
								 
						
							
								f5bb2b11e5 
								
							 
						 
						
							
							
								
								feat(cli): improve error handling for missing plugin dir  
							
							
							
						 
						
							2016-03-11 14:11:25 +01:00  
				
					
						
							
							
								 
						
							
								95de5f6fe1 
								
							 
						 
						
							
							
								
								feat(cli): adds some amazing colors  
							
							
							
						 
						
							2016-03-10 17:33:44 +01:00  
				
					
						
							
							
								 
						
							
								788aafff3c 
								
							 
						 
						
							
							
								
								feat(cli): disable dependecy downloads until needed  
							
							
							
						 
						
							2016-03-10 17:16:01 +01:00  
				
					
						
							
							
								 
						
							
								fee0745e98 
								
							 
						 
						
							
							
								
								feat(cli): support for asking grafana net about plugins  
							
							
							
						 
						
							2016-03-10 16:25:34 +01:00  
				
					
						
							
							
								 
						
							
								95f3e52064 
								
							 
						 
						
							
							
								
								feat(cli): use commandline object all the way  
							
							
							
						 
						
							2016-03-08 14:54:18 +01:00  
				
					
						
							
							
								 
						
							
								2fcb8b849e 
								
							 
						 
						
							
							
								
								style(cli): fixed typos  
							
							
							
						 
						
							2016-03-08 14:30:25 +01:00  
				
					
						
							
							
								 
						
							
								d7a72e30c0 
								
							 
						 
						
							
							
								
								gofmt  
							
							
							
						 
						
							2016-03-08 13:29:42 +01:00  
				
					
						
							
							
								 
						
							
								f397d0ddd7 
								
							 
						 
						
							
							
								
								fix(cli): retry download when panicing  
							
							... 
							
							
							
							Will retry to download plugins once if the zip lib panics.
closes  #4068  
							
						 
						
							2016-03-08 13:16:58 +01:00  
				
					
						
							
							
								 
						
							
								7ef62d28a5 
								
							 
						 
						
							
							
								
								feat(cli): add logging to catch panics  
							
							
							
						 
						
							2016-03-07 16:11:28 +01:00  
				
					
						
							
							
								 
						
							
								f6c5242a93 
								
							 
						 
						
							
							
								
								feat(cli): make repo url a parameter  
							
							... 
							
							
							
							this is a quick hack to support repo url as parameter. Will refactor
later 
							
						 
						
							2016-03-07 13:29:45 +01:00  
				
					
						
							
							
								 
						
							
								4131d8b57a 
								
							 
						 
						
							
							
								
								feat(cli): add command for upgrading one plugin  
							
							
							
						 
						
							2016-02-16 08:49:27 +01:00  
				
					
						
							
							
								 
						
							
								746257710b 
								
							 
						 
						
							
							
								
								fix(cli): align code with core grafana  
							
							
							
						 
						
							2016-02-15 16:11:37 +01:00  
				
					
						
							
							
								 
						
							
								5adac86b43 
								
							 
						 
						
							
							
								
								fix(cli): remove dev text values  
							
							
							
						 
						
							2016-02-15 14:19:59 +01:00  
				
					
						
							
							
								 
						
							
								d59beec354 
								
							 
						 
						
							
							
								
								feat(cli): move cli into main repo  
							
							
							
						 
						
							2016-02-15 14:09:34 +01:00