mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 09:32:25 -05:00 
			
		
		
		
	[chore] update dependencies, bump to Go 1.19.1 (#826)
* update dependencies, bump Go version to 1.19 * bump test image Go version * update golangci-lint * update gotosocial-drone-build * sign * linting, go fmt * update swagger docs * update swagger docs * whitespace * update contributing.md * fuckin whoopsie doopsie * linterino, linteroni * fix followrequest test not starting processor * fix other api/client tests not starting processor * fix remaining tests where processor not started * bump go-runners version * don't check last-webfingered-at, processor may have updated this * update swagger command * update bun to latest version * fix embed to work the same as before with new bun Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
This commit is contained in:
		
					parent
					
						
							
								00d38855d4
							
						
					
				
			
			
				commit
				
					
						a156188b3e
					
				
			
		
					 1135 changed files with 258905 additions and 137146 deletions
				
			
		
							
								
								
									
										35
									
								
								vendor/github.com/spf13/cobra/zsh_completions.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										35
									
								
								vendor/github.com/spf13/cobra/zsh_completions.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -75,7 +75,7 @@ func genZshComp(buf io.StringWriter, name string, includeDesc bool) { | |||
| 	if !includeDesc { | ||||
| 		compCmd = ShellCompNoDescRequestCmd | ||||
| 	} | ||||
| 	WriteStringAndCheck(buf, fmt.Sprintf(`#compdef _%[1]s %[1]s | ||||
| 	WriteStringAndCheck(buf, fmt.Sprintf(`#compdef %[1]s | ||||
| 
 | ||||
| # zsh completion for %-36[1]s -*- shell-script -*- | ||||
| 
 | ||||
|  | @ -163,7 +163,24 @@ _%[1]s() | |||
|         return | ||||
|     fi | ||||
| 
 | ||||
|     local activeHelpMarker="%[8]s" | ||||
|     local endIndex=${#activeHelpMarker} | ||||
|     local startIndex=$((${#activeHelpMarker}+1)) | ||||
|     local hasActiveHelp=0 | ||||
|     while IFS='\n' read -r comp; do | ||||
|         # Check if this is an activeHelp statement (i.e., prefixed with $activeHelpMarker) | ||||
|         if [ "${comp[1,$endIndex]}" = "$activeHelpMarker" ];then | ||||
|             __%[1]s_debug "ActiveHelp found: $comp" | ||||
|             comp="${comp[$startIndex,-1]}" | ||||
|             if [ -n "$comp" ]; then | ||||
|                 compadd -x "${comp}" | ||||
|                 __%[1]s_debug "ActiveHelp will need delimiter" | ||||
|                 hasActiveHelp=1 | ||||
|             fi | ||||
| 
 | ||||
|             continue | ||||
|         fi | ||||
| 
 | ||||
|         if [ -n "$comp" ]; then | ||||
|             # If requested, completions are returned with a description. | ||||
|             # The description is preceded by a TAB character. | ||||
|  | @ -171,7 +188,7 @@ _%[1]s() | |||
|             # We first need to escape any : as part of the completion itself. | ||||
|             comp=${comp//:/\\:} | ||||
| 
 | ||||
|             local tab=$(printf '\t') | ||||
|             local tab="$(printf '\t')" | ||||
|             comp=${comp//$tab/:} | ||||
| 
 | ||||
|             __%[1]s_debug "Adding completion: ${comp}" | ||||
|  | @ -180,6 +197,17 @@ _%[1]s() | |||
|         fi | ||||
|     done < <(printf "%%s\n" "${out[@]}") | ||||
| 
 | ||||
|     # Add a delimiter after the activeHelp statements, but only if: | ||||
|     # - there are completions following the activeHelp statements, or | ||||
|     # - file completion will be performed (so there will be choices after the activeHelp) | ||||
|     if [ $hasActiveHelp -eq 1 ]; then | ||||
|         if [ ${#completions} -ne 0 ] || [ $((directive & shellCompDirectiveNoFileComp)) -eq 0 ]; then | ||||
|             __%[1]s_debug "Adding activeHelp delimiter" | ||||
|             compadd -x "--" | ||||
|             hasActiveHelp=0 | ||||
|         fi | ||||
|     fi | ||||
| 
 | ||||
|     if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then | ||||
|         __%[1]s_debug "Activating nospace." | ||||
|         noSpace="-S ''" | ||||
|  | @ -254,5 +282,6 @@ if [ "$funcstack[1]" = "_%[1]s" ]; then | |||
| fi | ||||
| `, name, compCmd, | ||||
| 		ShellCompDirectiveError, ShellCompDirectiveNoSpace, ShellCompDirectiveNoFileComp, | ||||
| 		ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs)) | ||||
| 		ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs, | ||||
| 		activeHelpMarker)) | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue