zsh-workers
 help / color / mirror / code / Atom feed
a02bd06b5235853ffe1af54e76ad8953969e3431 blob 19040 bytes (raw)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
 
#compdef luarocks

# {{{ helper: luarocks commands
(( $+functions[__luarocks_command] )) ||
__luarocks_command(){
  local -a commands=(
    build:'Build/compile a rock'
    config:'Query information about the LuaRocks configuration'
    doc:'Show documentation for an installed rock'
    download:'Download a specific rock file from a rocks server'
    help:'Help on commands'
    install:'Install a rock'
    lint:'Check syntax of a rockspec'
    list:'List currently installed rocks'
    make:'Compile package in current directory using a rockspec'
    new_version:'Auto-write a rockspec for a new version of a rock'
    pack:'Create a rock, packing sources or binaries'
    path:'Return the currently configured package path'
    purge:'Remove all installed rocks from a tree'
    remove:'Uninstall a rock'
    search:'Query the LuaRocks servers'
    show:'Show information about an installed rock'
    unpack:'Unpack the contents of a rock'
    upload:'Upload a rockspec to the public rocks repository'
    write_rockspec:'Write a template for a rockspec file'
  )
  _describe -t commands 'command' commands "$@"
}
# }}}
# {{{ helper: dependencies mode
local option_deps_mode='--deps-mode=[How to handle dependencies]:MODE:__luarocks_deps_mode'
(( $+functions[__luarocks_deps_mode] )) ||
__luarocks_deps_mode(){
  local modes=(
    'all:use all trees from the rocks_trees list for finding dependencies'
    'one:use only the current tree (possibly set with --tree)'
    'order:use trees based on order (use the current tree and all trees below it on the rocks_trees list)'
    'none:ignore dependencies altogether'
  )
  _describe 'dependencies mode' modes
}
# }}}
# {{{ helper: versions of an external rock or nothing for rockspec file
(( $+functions[__luarocks_rock_version] )) ||
__luarocks_rock_version(){
  local i=2
  while [[ -n "${words[$i]}" ]]; do
    if [[ ! "${words[$i]}" =~ '^-' ]]; then
      case "$1" in
        "external_or_local")
          if [[ ! -f "${words[$i]}" ]]; then
            _message -e "version for external rock ${words[$i]}"
            return
          else
            _message -e "version for local rock ${words[$i]}"
          fi
          ;;
        "installed")
          # TODO: actually complete versions of installed rocks using the cache
          # How does luarocks handles multiple versions of the same package?
          # If anybody knows, please write something beautiful here
          tree="$2"
          if [[ -z "${tree}" ]]; then
            _message -e "version for installed rock ${words[$i]}"
          else
            _message -e "version for installed rock ${words[$i]} on tree ${tree}"
          fi
          return
          ;;
        "new_version")
          if [[ -f "${words[$i]}" ]]; then
            _message -e "new version for rock ${words[$i]}"
            return
          fi
          ;;
        "new_rock")
          _message -e "version for new rock ${words[$i]}"
          return
          ;;
      esac
    fi
    i=$(( i + 1 ))
  done
}
# }}}
# {{{ helper: lua versions
(( $+functions[__luarocks_lua_versions] )) ||
__luarocks_lua_versions(){
  _values -s , 5.3 5.2 5.1
}
# }}}
# {{{ helper: installed rocks cache policy
(( $+functions[___luarocks_installed_rocks_cache_policy] )) ||
___luarocks_installed_rocks_cache_policy(){
  # the number of seconds since 1970-01-01 the manifest files were modified
  local user_manifest_last_date_modified="$(date -r ${HOME}/.luarocks/lib/luarocks/rocks-5.3/manifest +%s 2>/dev/null)"
  local system_manifest_last_date_modified="$(date -r /usr/lib/luarocks/rocks-5.3/manifest +%s 2>/dev/null)"
  # the number of seconds since 1970-01-01 the cache file was modified
  local cache_last_date_modified="$(date -r $1 +%s 2>/dev/null)"
  if [[ ! -z ${cache_last_date_modified} && ! -z ${user_manifest_last_date_modified} && ! -z ${system_manifest_last_date_modified} ]]; then
    # if the manifest file is newer then the cache:
    if [ ${user_manifest_last_date_modified} -ge ${cache_last_date_modified} ] || [ ${system_manifest_last_date_modified} -ge ${cache_last_date_modified} ]; then
      (( 1 ))
    else
      (( 0 ))
    fi
  else
    (( 1 ))
  fi
}
# }}}
# {{{ helper: installed rocks
(( $+functions[__luarocks_installed_rocks] )) ||
__luarocks_installed_rocks(){
  # This function optionally recieves one argument of the tree in which
  # installed rocks are searched for. If this argument is used, the installed
  # rocks which will be completed by this function will not use the cache which
  # is valid only for installed rocks on default trees like /usr/lib/luarocks
  # and ~/.luarocks
  local tree="$1"
  if [[ -z ${tree} ]]; then
    local update_policy
    zstyle -s ":completion:${curcontext}:" cache-policy update_policy
    if [[ -z "$update_policy" ]]; then
      zstyle ":completion:${curcontext}:" cache-policy ___luarocks_installed_rocks_cache_policy
    fi
    if _cache_invalid luarocks_installed_list; then
      rocks_list=($(luarocks list --porcelain))
      _store_cache luarocks_installed_list rocks_list
    else
      _retrieve_cache luarocks_installed_list
    fi
    if [[ -z ${rocks_list} ]]; then
      _message -r "no installed rocks"
      return
    fi
    if _cache_invalid luarocks_installed_names; then
      rocks_names=()
      for i in {1.."${#rocks_list[@]}"..4}; do
        rocks_names+=("${rocks_list[$i]}")
      done
      _store_cache luarocks_installed_names rocks_names
    else
      _retrieve_cache luarocks_installed_names
    fi
    if _cache_invalid luarocks_installed_versions; then
      rocks_versions=()
      for i in {2.."${#rocks_list[@]}"..4}; do
        rocks_versions+=("${rocks_list[$i]}")
      done
      _store_cache luarocks_installed_versions rocks_versions
    else
      _retrieve_cache luarocks_installed_versions
    fi
    if _cache_invalid luarocks_installed_descriptions; then
      rocks_descriptions=()
      for i in {1.."${#rocks_names[@]}"}; do
        name_version_description="$(luarocks show ${rocks_names[$i]} 2>/dev/null | head -2 | tail -1)"
        total_length=${#name_version_description}
        garbage_length="$((${#rocks_names[$i]} + ${#rocks_versions[$i]} + 5))"
        description="${name_version_description[${garbage_length},${total_length}]}"
        rocks_descriptions+=("${description}")
      done
      _store_cache luarocks_installed_descriptions rocks_descriptions
    else
      _retrieve_cache luarocks_installed_descriptions
    fi
    if _cache_invalid luarocks_installed_names_and_descriptions; then
      rocks_names_and_descriptions=()
      for i in {1.."${#rocks_names[@]}"}; do
        name_and_description=${rocks_names[$i]}:${rocks_descriptions[$i]}
        rocks_names_and_descriptions+=(${name_and_description})
      done
    else
      _store_cache luarocks_installed_names_and_descriptions rocks_names_and_descriptions
    fi
  else
    rocks_list=($(luarocks --tree="${tree}" list --porcelain 2> /dev/null))
    if [[ -z ${rocks_list} ]]; then
      _message "no installed rocks in the specified tree"
      return
    fi
    rocks_names=()
    for i in {1.."${#rocks_list[@]}"..4}; do
      rocks_names+=("${rocks_list[$i]}")
    done
    rocks_versions=()
    for i in {2.."${#rocks_list[@]}"..4}; do
      rocks_versions+=("${rocks_list[$i]}")
    done
    rocks_descriptions=()
    for i in {1.."${#rocks_names[@]}"}; do
      name_version_description="$(luarocks show ${rocks_names[$i]} 2> /dev/null | head -2 | tail -1)"
      total_length=${#name_version_description}
      garbage_length="$((${#rocks_names[$i]} + ${#rocks_versions[$i]} + 5))"
      description="${name_version_description[${garbage_length},${total_length}]}"
      rocks_descriptions+=("${description}")
    done
    rocks_names_and_descriptions=()
    for i in {1.."${#rocks_names[@]}"}; do
      name_and_description=${rocks_names[$i]}:${rocks_descriptions[$i]}
      rocks_names_and_descriptions+=(${name_and_description})
    done
  fi
  _describe 'installed rocks' rocks_names_and_descriptions
}
# }}}
# {{{ helper: rocks wrapper
# Used to complete one or more of the followings:
# - .rockspec file
# - .src.rock file
# - external rock
(( $+functions[__luarocks_rock] )) ||
__luarocks_rock(){
  local -a alts=()
  while [[ $# -gt 0 ]]; do
    arg="$1"
    case "$arg" in
      (rockspec)
        alts+=(':rock file:{_files -g "*.rockspec"}')
        shift 1
        continue
        ;;
      (rockpack)
        alts+=(':rock file:{_files -g "*.src.rock"}')
        shift 1
        continue
        ;;
      (external)
        alts+=(':external rock:')
        shift 1
        continue
        ;;
      (installed)
        tree="$2"
        alts+=(":local rock:{__luarocks_installed_rocks ${tree}}")
        if [[ -z "${tree}" ]]; then
          shift
        else
          shift 2
        fi
        continue
        ;;
    esac
    shift
    continue
  done
  _alternative ${alts[@]}
}
# }}}
# {{{ helper: git tags
(( $+functions[__luarocks_git_tags] )) ||
__luarocks_git_tags(){
  autoload +X _git
  local _git_def="$(whence -v _git)"
  . ${_git_def##* }
  type __git_tags &> /dev/null
  if [[ $? != 1 ]]; then
    __git_tags
  fi
}
# }}}

# {{{ `build` command
# arguments:
# - must: .rockspec file / external rock
# - optional: version (only when chossing external rock)
local make_command_options=(
  '--pack-binary-rock[Produce a .rock file with the contents of compilation inside the current directory instead of installing it]'
  '--keep[Do not remove previously installed versions of the rock after building a new one]'
  '--branch=[Override the `source.branch` field in the loaded rockspec]:NAME:{_message "branch name"}'
)
local build_command_options=(
  "${make_command_options[@]}"
  '--only-deps[Installs only the dependencies of the rock]'
  $option_deps_mode
)
(( $+functions[_luarocks_build] )) ||
_luarocks_build(){
  _arguments -A "-*" \
    "${build_command_options[@]}" \
    '1: :{__luarocks_rock "rockspec" "external"}' \
    '2:: :{__luarocks_rock_version "external_or_local"}'
}
# }}}
# {{{ `config` command
# arguments:
# - must: option
local config_command_options=(
  '--lua-incdir[Path to Lua header files]'
  '--lua-libdir[Path to Lua library files]'
  '--lua-ver[Lua version (in major.minor format)]'
  '--system-config[Location of the system config file]'
  '--user-config[Location of the user config file]'
  '--rock-trees[Rocks trees in useFirst the user tree, then the system tree]'
)
(( $+functions[_luarocks_config] )) ||
_luarocks_config(){
  _arguments "${config_command_options[@]}"
}
# }}}
# {{{ `doc` command
# arguments:
# - must: installed rock
local doc_command_options=(
  '--home[Open the home page of project]'
  '--list[List documentation files only]'
)
(( $+functions[_luarocks_doc] )) ||
_luarocks_doc(){
  _arguments \
    "${doc_command_options[@]}" \
    '1: :{__luarocks_rock "installed" '"${opt_args[--tree]}"'}'
}
# }}}
# {{{ `download` command
# arguments:
# - must: external only rockspec
local download_command_options=(
  '--all[Download all files if there are multiple matches]'
  '--source[Download .src.rock if available]'
  '--rockspec[Download .rockspec if available]'
  '--arch=[Download rock for a specific architecture]:ARCH:'
)
(( $+functions[_luarocks_download] )) ||
_luarocks_download(){
  _arguments -A "-*" \
    "${download_command_options[@]}" \
    '1: :{__luarocks_rock "external"}' \
    '2:: :{__luarocks_rock_version "external_or_local"}'
}
# }}}
# {{{ `help` command
# arguments:
# must: luarocks sub command
(( $+functions[_luarocks_help] )) ||
_luarocks_help(){
  _arguments '1: :__luarocks_command'
}
# }}}
# {{{ `install` command
# arguments:
# - must: .rockspec file / external rock
# - optional: version
# NOTE: it receives the same argument as the build command and it accepts the same options as well
(( $+functions[_luarocks_install] )) ||
_luarocks_install(){
  _luarocks_build
}
# }}}
# {{{ `lint` command
# arguments:
# - must: rockspec file (first and last)
(( $+functions[_luarocks_lint] )) ||
_luarocks_lint(){
  _arguments '1::{__luarocks_rock "rockspec"}'
}
# }}}
# {{{ `list` command
# NOTE: receives only options
local list_command_options=(
  '--outdated[List only rocks for which there is a higher version available in the rocks server]'
  '--porcelain[Produce machine-friendly output]'
)
(( $+functions[_luarocks_list] )) ||
_luarocks_list(){
  _arguments "${list_command_options[@]}"
}
# }}}
# {{{ `make` command
# arguments:
# - optional: rockspec file
# NOTE: it's options were already described above.
(( $+functions[_luarocks_make] )) ||
_luarocks_make(){
  _arguments '1:: :{__luarocks_rock "rockspec"}'
}
# }}}
# {{{ `new_version` command
# arguments:
# - optional: .rockspec file / external rock
# - optional: version (unless a --tag was given)
# - optional: URL
local new_version_command_options=(
  '--tag=[if no version is specified, this option'"'"'s argument is used instead]:TAG:__luarocks_git_tags'
)
(( $+functions[_luarocks_new_version] )) ||
_luarocks_new_version(){
  _arguments -A "-*" \
    "${new_version_command_options[@]}" \
    '1:: :{__luarocks_rock "external" "rockspec"}' \
    '2:: :{__luarocks_rock_version "external_or_local"}' \
    '3:: :_urls'
}
# }}}
# {{{ `pack` command
# arguments:
# - must: .rockspec file / external rock
# - optional: version
(( $+functions[_luarocks_pack] )) ||
_luarocks_pack(){
  _luarocks_build
}
# }}}
# {{{ `path` command
# NOTE: receives only options
local path_command_options=(
  '--bin[Adds the system path to the output]'
  '--append[Appends the paths to the existing paths]'
  '--lr-path[Exports the Lua path (not formatted as shell command)]'
  '--lr-cpath[Exports the Lua cpath (not formatted as shell command)]'
  '--lr-bin[Exports the system path (not formatted as shell command)]'
)
(( $+functions[_luarocks_path] )) ||
_luarocks_path(){
  _arguments "${path_command_options[@]}"
}
# }}}
# {{{ `purge` command
# NOTE: receives only options yet --tree is mandatory
# NOTE: --force can be used only in conjunction with --old-versions
local option_force='--force[Force removing old versions when]'
local purge_command_options=(
  '--old-versions[Keep the highest-numbered version of each rock and remove the other ones]'
  $option_force
)
(( $+functions[_luarocks_purge] )) ||
_luarocks_purge(){
  _arguments "${purge_command_options[@]}"
}
# }}}
# {{{ `remove` command
# arguments:
# - must: locally installed rock
# - optional: version
local option_force_fast='--force-fast[works like --force but doesn'"'"'t reports forced removals]'
local remove_command_options=(
  $option_deps_mode
  $option_force
  $option_force_fast
)
(( $+functions[_luarocks_remove] )) ||
_luarocks_remove(){
  _arguments -A "-*" \
    "${remove_command_options[@]}" \
    '1: :{__luarocks_rock "installed" '"${opt_args[--tree]}"'}' \
    '2:: :{__luarocks_rock_version "installed" '"${opt_args[--tree]}"'}'
}
# }}}
# {{{ `search` command
# arguments:
# - must: string as a search query
local search_command_options=(
  '--source[Return only rockspecs and source rocks]'
  '--binary[Return only pure Lua and binary rocks (rocks that can be used with the "install" command without requiring a C toolchain)]'
  '--all[List all contents of the server that are suitable to this platform, do not filter by name]'
)
(( $+functions[_luarocks_search] )) ||
_luarocks_search(){
  _arguments \
    "${search_command_options[@]}" \
    '*:SEARCH QUERY:'
}
# }}}
# {{{ `show` command
# arguments:
# - must: installed rock
local show_command_options=(
  '--home[home page of project]'
  '--modules[all modules provided by this package as used by require()]'
  '--deps[packages this package depends on]'
  '--rockspec[the full path of the rockspec file]'
  '--mversion[the package version]'
  '--rock-tree[local tree where rock is installed]'
  '--rock-dir[data directory of the installed rock]'
)
(( $+functions[_luarocks_show] )) ||
_luarocks_show(){
  _arguments \
    "${show_command_options[@]}" \
    "1: :{__luarocks_rock 'installed' "${opt_args[--tree]}"}"
}
# }}}
# {{{ `unpack` command
# arguments:
# - must: rockpack file / external rock
# - optional: version (only when chossing external rock)
local unpack_command_options=(
  '--force[Unpack files even if the output directory already exists]'
)
(( $+functions[_luarocks_unpack] )) ||
_luarocks_unpack(){
  _arguments \
    "${unpack_command_options[@]}" \
    '1: :{__luarocks_rock "rockpack" "external"}'
}
# }}}
# {{{ `upload` command
# arguments:
# - must: rockspec file
local upload_command_options=(
  '--skip-pack[Do not pack and send source rock]'
  '--api-key=[Give it an API key]:KEY:{_message "api key"}'
  '--force[Replace existing rockspec if the same revision of a module already exists]'
)
(( $+functions[_luarocks_upload] )) ||
_luarocks_upload(){
  _arguments \
    "${upload_command_options[@]}" \
    '1: :{__luarocks_rock "rockspec"}'
}
# }}}
# {{{ `write_rockspec` command
# arguments:
# - optional: name
# - optional: version
# - optional: URL / PATH
# receives as an argument a name and a version with optionally a URL/PATH
local write_rockspec_command_options=(
  '--output=[Write the rockspec with the given filename]:FILE:_files'
  '--license=[A license string, ]:LICENSE:{_message -e "write a license string such as "MIT/X11" or "GNU GPL v3"}'
  '--summary=[A short one-line description summary]:SUMMARY_TEXT:{_message -e "write a short summary of the rock"}'
  '--detailed=[A longer description string]:DETAILED_TEXT:{_message -e "write a detailed description of the rock"}'
  '--homepage=[Project homepage]:URL:_urls'
  '--lua-version=[Supported Lua versions]:LUA_VER:__luarocks_lua_versions'
  '--rockspec-format=[Rockspec format version, such as "1.0" or "1.1"]:VER: '
  '--tag=[Tag to use. Will attempt to extract version number from it]:TAG:__git_tag'
  '--lib=[A comma-separated list of libraries that C files need to link to]:'
)
(( $+functions[_luarocks_write_rockspec] )) ||
_luarocks_write_rockspec(){
  _arguments -A "-*" \
    "${write_rockspec_command_options[@]}" \
    '1:: :{_message "new rock name"}' \
    '2:: :{__luarocks_rock_version "new_rock"}' \
    '3:: :_urls'
}
# }}}

# The real thing
_arguments -C \
  '(--server --only-server)--server=[Fetch rocks/rockspecs from this server]:HOST:_hosts' \
  '(--server --only-server)--only-server=[Fetch rocks/rockspecs from this server only]:HOST:_hosts' \
  '--only-sources=[Restrict downloads to paths matching the given URL]:URL:_urls' \
  '--tree=[Which tree to operate on]:TREE:{_files -/}' \
  '--local[Use the tree in the user'"'"'s home directory]' \
  '--verbose[Display verbose output of commands executed]' \
  '--timeout=[Timeout on network operations]:SECONDS:{_message "timeout (seconds)"}' \
  '1: :__luarocks_command' \
  '*::arg:->args'

case "$state" in
  (args)
    curcontext="${curcontext%:*:*}:luarocks_${words[1]}:"
    # check if a command with a defined completion was typed
    type _luarocks_${words[1]} &> /dev/null
    if [[ $? != 1 ]]; then
      _luarocks_${words[1]}
    fi
esac
debug log:

solving a02bd06b5 ...
found a02bd06b5 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-26-doron.behar@gmail.com/ ||
	https://inbox.vuxu.org/zsh-workers/20180526161403.4860-2-doron.behar@gmail.com/
found 17fa8248e in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-25-doron.behar@gmail.com/
found 8de95c188 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-24-doron.behar@gmail.com/
found cb42d1b36 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-23-doron.behar@gmail.com/
found 1dda38cad in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-22-doron.behar@gmail.com/
found 24a62b085 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-21-doron.behar@gmail.com/
found 68f38523e in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-20-doron.behar@gmail.com/
found 05a1e1d38 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-19-doron.behar@gmail.com/
found d7355c1ba in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-18-doron.behar@gmail.com/
found c2ecde869 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-17-doron.behar@gmail.com/
found db27a76d5 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-16-doron.behar@gmail.com/
found aec6ba815 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-15-doron.behar@gmail.com/
found d73a84d2a in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-14-doron.behar@gmail.com/
found c1a47773b in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-13-doron.behar@gmail.com/
found c79d8cd20 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-12-doron.behar@gmail.com/
found 4f3271360 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-11-doron.behar@gmail.com/
found de296a084 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-10-doron.behar@gmail.com/
found acbc16cb4 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-9-doron.behar@gmail.com/
found b9f6c8af6 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-8-doron.behar@gmail.com/
found 990582d99 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-7-doron.behar@gmail.com/
found 1b3767b17 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-6-doron.behar@gmail.com/
found b14f6a8b3 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-5-doron.behar@gmail.com/
found bb5588251 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-4-doron.behar@gmail.com/
found 6d5cb35bd in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-3-doron.behar@gmail.com/
found 753fdb381 in https://inbox.vuxu.org/zsh-workers/20180526150634.15683-2-doron.behar@gmail.com/

applying [1/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-2-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
new file mode 100644
index 000000000..753fdb381


applying [2/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-3-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 753fdb381..6d5cb35bd 100644


applying [3/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-4-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 6d5cb35bd..bb5588251 100644


applying [4/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-5-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index bb5588251..b14f6a8b3 100644


applying [5/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-6-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index b14f6a8b3..1b3767b17 100644


applying [6/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-7-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 1b3767b17..990582d99 100644


applying [7/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-8-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 990582d99..b9f6c8af6 100644


applying [8/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-9-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index b9f6c8af6..acbc16cb4 100644


applying [9/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-10-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index acbc16cb4..de296a084 100644


applying [10/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-11-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index de296a084..4f3271360 100644


applying [11/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-12-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 4f3271360..c79d8cd20 100644


applying [12/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-13-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index c79d8cd20..c1a47773b 100644


applying [13/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-14-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index c1a47773b..d73a84d2a 100644


applying [14/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-15-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index d73a84d2a..aec6ba815 100644


applying [15/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-16-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index aec6ba815..db27a76d5 100644


applying [16/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-17-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index db27a76d5..c2ecde869 100644


applying [17/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-18-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index c2ecde869..d7355c1ba 100644


applying [18/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-19-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index d7355c1ba..05a1e1d38 100644


applying [19/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-20-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 05a1e1d38..68f38523e 100644


applying [20/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-21-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 68f38523e..24a62b085 100644


applying [21/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-22-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 24a62b085..1dda38cad 100644


applying [22/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-23-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 1dda38cad..cb42d1b36 100644


applying [23/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-24-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index cb42d1b36..8de95c188 100644


applying [24/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-25-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 8de95c188..17fa8248e 100644


applying [25/26] https://inbox.vuxu.org/zsh-workers/20180526150634.15683-26-doron.behar@gmail.com/
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index 17fa8248e..a02bd06b5 100644

26:18: trailing whitespace.
# SYNOPSIS: /usr/bin/luarocks [--server=<server> | --only-server=<server>] [--tree=<tree>] [VAR=VALUE]... <command> [<argument>] 
26:174: trailing whitespace.
	'--lua-version=[Supported Lua versions]:LUA_VER:_luarocks_version' 
26:183: trailing whitespace.
	_values -s , 
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
23:614: new blank line at EOF.
+
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
20:928: trailing whitespace.
# - must: rock package file / an external rock 
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
Checking patch Completion/Unix/Command/_luarocks...
Applied patch Completion/Unix/Command/_luarocks cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

skipping https://inbox.vuxu.org/zsh-workers/20180526161403.4860-2-doron.behar@gmail.com/ for a02bd06b5
index at:
100644 a02bd06b5235853ffe1af54e76ad8953969e3431	Completion/Unix/Command/_luarocks

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).