diff --git a/gitfame/README.md b/gitfame/README.md new file mode 100644 index 0000000..25b27d2 --- /dev/null +++ b/gitfame/README.md @@ -0,0 +1,166 @@ +## gitfame + +В этом задании нужно реализовать консольную утилиту для подсчёта статистик авторов git репозитория. + +### Статистики + +* Количество строк +* Количество коммитов +* Количество файлов + +Все статистики считаются для состояния репозитория на момент конкретного коммита. + +#### Расчёт + +Каждой строке интересующего подмножества файлов репозитория сопоставляется последний коммит, модифицировавший эту строку. +Пустым файлам сопоставляются последние менявшие их коммиты. + +После этого для каждого уникального автора, получившегося множества коммитов, +считается количество строк, уникальных коммитов и файлов, которые затрагивали коммиты автора. + +Нужную информацию можно получить с помощью команды `git blame`: + +``` +✗ git blame utf8/README.md +f4640df4 (Fedor Korotkiy 2020-02-26 20:28:52 +0000 1) # utf8* +f4640df4 (Fedor Korotkiy 2020-02-26 20:28:52 +0000 2) +f4640df4 (Fedor Korotkiy 2020-02-26 20:28:52 +0000 3) Задача объединяет несколько задач на строки и unicode. +f4640df4 (Fedor Korotkiy 2020-02-26 20:28:52 +0000 4) +f4640df4 (Fedor Korotkiy 2020-02-26 20:28:52 +0000 5) Задача считается решённой, если все подзадачи решены. +``` + +`git blame` с флагом `--porcelain` (см. `git blame --help`) возвращает информацию в машиночитаемом формате. +Кроме того, этот формат схлопывает соседние строки относящиеся к одному коммиту, +что может сильно сократить размер результата. Поэтому использовать нужно его. + +### Флаги + +Утилита должна поддерживать следующий набор флагов: + +**--repository** — путь до Git репозитория; по умолчанию текущая директория + +**--revision** — указатель на коммит; HEAD по умолчанию + +**--order-by** — ключ сортировки результатов, один из `lines` (дефолт), `commits`, `files`. + +По умолчанию результаты сортируются по убыванию ключа `(lines, commits, files)`. +При равенстве ключей выше будет автор с лексикографически меньшим именем. +При использовании флага соответствующей поле в ключе перемещается на первое место. + +**--use-committer** — булев флаг, заменяющий в расчётах автора (дефолт) на коммиттера + +**--format** — формат вывода; один из `tabular` (дефолт), `csv`, `json`, `json-lines`; + +`tabular`: +``` +Name Lines Commits Files +Joe Tsai 64 3 2 +Ross Light 2 1 1 +ferhat elmas 1 1 1 +``` +Human-readable формат. Для паддинга используется пробел. +см. [text/tabwriter](https://golang.org/pkg/text/tabwriter/). + +`csv`: +``` +Name,Lines,Commits,Files +Joe Tsai,64,3,2 +Ross Light,2,1,1 +ferhat elmas,1,1,1 +``` + +`json`: +``` +[{"name":"Joe Tsai","lines":64,"commits":3,"files":2},{"name":"Ross Light","lines":2,"commits":1,"files":1},{"name":"ferhat elmas","lines":1,"commits":1,"files":1}] +``` + +`json-lines`: +``` +{"name":"Joe Tsai","lines":64,"commits":3,"files":2} +{"name":"Ross Light","lines":2,"commits":1,"files":1} +{"name":"ferhat elmas","lines":1,"commits":1,"files":1} +``` + +**--extensions** — список расширений, сужающий список файлов в расчёте; множество ограничений разделяется запятыми, например, `'.go,.md'` + +**--languages** — список языков (программирования, разметки и др.), сужающий список файлов в расчёте; множество ограничений разделяется запятыми например `'go,markdown'` + +Принадлежность файла к языку программирования определяется с помощью его расширения. +В [configs/langauage_extensions.json](configs/language_extensions.json) лежит маппинг. +Неизвестные языки никаких ограничений не накладывают. При их использовании можно написать warning в stderr. + +**--exclude** — набор [Glob](https://en.wikipedia.org/wiki/Glob_(programming)) паттернов, исключающих файлы из расчёта + +**--restrict-to** — набор Glob паттернов, исключающий все файлы, не удовлетворяющие ни одному из паттерну из набора + +### Тесты + +В [/tests/integration/testdata/bundles](test/integration/testdata/bundles) лежат запакованные git репозитории. +Каждый интеграционный тест ссылается на какой-нибудь бандл. + +Как создать bundle? Находясь в git репозитории выполнить +``` +git bundle create my.bundle --all +``` + +Как распаковать bundle? Находясь в пустой директории. +``` +git clone /path/to/my.bundle . +``` + +### Ненавязчивые предложения + +#### Project layout + +В go есть [набор рекомендаций](https://github.com/golang-standards/project-layout) по организации структуры проекта. +И подпроект этого задания уже частично ему следует. Например, `main.go`, который вам нужно реализовать, лежит в [cmd/gitfame](./cmd/gitfame), +интеграционные тесты в `/test`. + +В небольших проектах нет ничего плохого в том, чтобы весь код лежал плоско в корне. +Здесь же, для ознакомления предлагаем изучить общепринятый подход. + +#### Cli + +Можно познакомиться с [spf13/cobra](https://github.com/spf13/cobra), +популярной библиотекой для написания [cli](https://en.wikipedia.org/wiki/Command-line_interface). +В этой задаче cobra поможет распарсить аргументы, написать подробный help message, сделать алиасы для флагов. + +### Git ликбез + +Вся информация взята из [книги](https://github.com/pluralsight/git-internals-pdf/releases/download/v2.0/peepcode-git.pdf). + +Смело советуем прочитать её всем, даже если в контексте задания вы знаете про Git достаточно. + +--------- + +Объекты Git хранятся в специальной базе данных `Git Object Database` в директории .git. +В базе в сжатом виде хранятся объекты разных типов. +У каждого объекта есть SHA-1 хэш, а также небольшой header. + +Несколько основных типов объектов: +* **blob** — соответствует файлу; хранит его данные (только содержимое) +* **tree** — соответствует директории; хранит список блобов и деревьев, а также их описание (имена файлов, типы, права доступа) +* **commit** — соответствует истории изменения дерева; хранит указатель на дерево, автора изменений, субъекта, добавившего изменения (committer), сообщение с описанием изменений, ссылку на предыдущие (родительские) коммиты + +**branch** (ветка) — это не объект `Git Object Database`, а всего лишь файл в директории `.git/refs/heads/` с хэшом последнего для этой ветки коммита. +То есть ветка — это указатель на коммит. + +**head** — это ссылка на коммит. В каждом репозитории по умолчанию есть **head** именем **master**. + +**HEAD** — один выделенный **head**. Файл `.git/HEAD`. Родитель следующего коммита. + +**HEAD** может ссылаться на коммит напрямую (**detached HEAD**). +Следующий коммит в таком случае не будет принадлежать никакой ветке. + +Гораздо чаще **HEAD** ссылается на ветку. +В таком случае следующий коммит "попадёт" в ту же ветку и продвинет **HEAD**. +**HEAD** определяет текущую активную ветку. + +**revision** (ревизия) — способ сослаться на Git объект. +Например, SHA-1 коммита — это ревизия на коммит, +`HEAD@{5 minutes ago}` — это ревизия на последний коммит на момент 5 минут назад, +`HEAD:README` — это ревизия на блоб. + +### Критерии сдачи + +Решение должно проходить все тесты, так же как и в обычной задаче. diff --git a/gitfame/cmd/gitfame/main.go b/gitfame/cmd/gitfame/main.go new file mode 100644 index 0000000..cab7d3a --- /dev/null +++ b/gitfame/cmd/gitfame/main.go @@ -0,0 +1,7 @@ +// +build !solution + +package main + +func main() { + +} diff --git a/gitfame/configs/language_extensions.json b/gitfame/configs/language_extensions.json new file mode 100644 index 0000000..652a2ea --- /dev/null +++ b/gitfame/configs/language_extensions.json @@ -0,0 +1,3377 @@ +[ + { + "name":"ABAP", + "type":"programming", + "extensions":[ + ".abap" + ] + }, + { + "name":"AGS Script", + "type":"programming", + "extensions":[ + ".asc", + ".ash" + ] + }, + { + "name":"AMPL", + "type":"programming", + "extensions":[ + ".ampl", + ".mod" + ] + }, + { + "name":"ANTLR", + "type":"programming", + "extensions":[ + ".g4" + ] + }, + { + "name":"API Blueprint", + "type":"markup", + "extensions":[ + ".apib" + ] + }, + { + "name":"APL", + "type":"programming", + "extensions":[ + ".apl", + ".dyalog" + ] + }, + { + "name":"ASP", + "type":"programming", + "extensions":[ + ".asp", + ".asax", + ".ascx", + ".ashx", + ".asmx", + ".aspx", + ".axd" + ] + }, + { + "name":"ATS", + "type":"programming", + "extensions":[ + ".dats", + ".hats", + ".sats" + ] + }, + { + "name":"ActionScript", + "type":"programming", + "extensions":[ + ".as" + ] + }, + { + "name":"Ada", + "type":"programming", + "extensions":[ + ".adb", + ".ada", + ".ads" + ] + }, + { + "name":"Agda", + "type":"programming", + "extensions":[ + ".agda" + ] + }, + { + "name":"Alloy", + "type":"programming", + "extensions":[ + ".als" + ] + }, + { + "name":"Ant Build System", + "type":"data" + }, + { + "name":"ApacheConf", + "type":"markup", + "extensions":[ + ".apacheconf", + ".vhost" + ] + }, + { + "name":"Apex", + "type":"programming", + "extensions":[ + ".cls" + ] + }, + { + "name":"AppleScript", + "type":"programming", + "extensions":[ + ".applescript", + ".scpt" + ] + }, + { + "name":"Arc", + "type":"programming", + "extensions":[ + ".arc" + ] + }, + { + "name":"Arduino", + "type":"programming", + "extensions":[ + ".ino" + ] + }, + { + "name":"AsciiDoc", + "type":"prose", + "extensions":[ + ".asciidoc", + ".adoc", + ".asc" + ] + }, + { + "name":"AspectJ", + "type":"programming", + "extensions":[ + ".aj" + ] + }, + { + "name":"Assembly", + "type":"programming", + "extensions":[ + ".asm", + ".a51", + ".inc", + ".nasm" + ] + }, + { + "name":"Augeas", + "type":"programming", + "extensions":[ + ".aug" + ] + }, + { + "name":"AutoHotkey", + "type":"programming", + "extensions":[ + ".ahk", + ".ahkl" + ] + }, + { + "name":"AutoIt", + "type":"programming", + "extensions":[ + ".au3" + ] + }, + { + "name":"Awk", + "type":"programming", + "extensions":[ + ".awk", + ".auk", + ".gawk", + ".mawk", + ".nawk" + ] + }, + { + "name":"Batchfile", + "type":"programming", + "extensions":[ + ".bat", + ".cmd" + ] + }, + { + "name":"Befunge", + "type":"programming", + "extensions":[ + ".befunge" + ] + }, + { + "name":"Bison", + "type":"programming", + "extensions":[ + ".bison" + ] + }, + { + "name":"BitBake", + "type":"programming", + "extensions":[ + ".bb" + ] + }, + { + "name":"BlitzBasic", + "type":"programming", + "extensions":[ + ".bb", + ".decls" + ] + }, + { + "name":"BlitzMax", + "type":"programming", + "extensions":[ + ".bmx" + ] + }, + { + "name":"Bluespec", + "type":"programming", + "extensions":[ + ".bsv" + ] + }, + { + "name":"Boo", + "type":"programming", + "extensions":[ + ".boo" + ] + }, + { + "name":"Brainfuck", + "type":"programming", + "extensions":[ + ".b", + ".bf" + ] + }, + { + "name":"Brightscript", + "type":"programming", + "extensions":[ + ".brs" + ] + }, + { + "name":"Bro", + "type":"programming", + "extensions":[ + ".bro" + ] + }, + { + "name":"C", + "type":"programming", + "extensions":[ + ".c", + ".cats", + ".h", + ".idc", + ".w" + ] + }, + { + "name":"C#", + "type":"programming", + "extensions":[ + ".cs", + ".cake", + ".cshtml", + ".csx" + ] + }, + { + "name":"C++", + "type":"programming", + "extensions":[ + ".cpp", + ".c++", + ".cc", + ".cp", + ".cxx", + ".h", + ".h++", + ".hh", + ".hpp", + ".hxx", + ".inc", + ".inl", + ".ipp", + ".tcc", + ".tpp" + ] + }, + { + "name":"C-ObjDump", + "type":"data", + "extensions":[ + ".c-objdump" + ] + }, + { + "name":"C2hs Haskell", + "type":"programming", + "extensions":[ + ".chs" + ] + }, + { + "name":"CLIPS", + "type":"programming", + "extensions":[ + ".clp" + ] + }, + { + "name":"CMake", + "type":"programming", + "extensions":[ + ".cmake", + ".cmake.in" + ] + }, + { + "name":"COBOL", + "type":"programming", + "extensions":[ + ".cob", + ".cbl", + ".ccp", + ".cobol", + ".cpy" + ] + }, + { + "name":"CSS", + "type":"markup", + "extensions":[ + ".css" + ] + }, + { + "name":"CSV", + "type":"data", + "extensions":[ + ".csv" + ] + }, + { + "name":"Cap'n Proto", + "type":"programming", + "extensions":[ + ".capnp" + ] + }, + { + "name":"CartoCSS", + "type":"programming", + "extensions":[ + ".mss" + ] + }, + { + "name":"Ceylon", + "type":"programming", + "extensions":[ + ".ceylon" + ] + }, + { + "name":"Chapel", + "type":"programming", + "extensions":[ + ".chpl" + ] + }, + { + "name":"Charity", + "type":"programming", + "extensions":[ + ".ch" + ] + }, + { + "name":"ChucK", + "type":"programming", + "extensions":[ + ".ck" + ] + }, + { + "name":"Cirru", + "type":"programming", + "extensions":[ + ".cirru" + ] + }, + { + "name":"Clarion", + "type":"programming", + "extensions":[ + ".clw" + ] + }, + { + "name":"Clean", + "type":"programming", + "extensions":[ + ".icl", + ".dcl" + ] + }, + { + "name":"Click", + "type":"programming", + "extensions":[ + ".click" + ] + }, + { + "name":"Clojure", + "type":"programming", + "extensions":[ + ".clj", + ".boot", + ".cl2", + ".cljc", + ".cljs", + ".cljs.hl", + ".cljscm", + ".cljx", + ".hic" + ] + }, + { + "name":"CoffeeScript", + "type":"programming", + "extensions":[ + ".coffee", + "._coffee", + ".cake", + ".cjsx", + ".cson", + ".iced" + ] + }, + { + "name":"ColdFusion", + "type":"programming", + "extensions":[ + ".cfm", + ".cfml" + ] + }, + { + "name":"ColdFusion CFC", + "type":"programming", + "extensions":[ + ".cfc" + ] + }, + { + "name":"Common Lisp", + "type":"programming", + "extensions":[ + ".lisp", + ".asd", + ".cl", + ".l", + ".lsp", + ".ny", + ".podsl", + ".sexp" + ] + }, + { + "name":"Component Pascal", + "type":"programming", + "extensions":[ + ".cp", + ".cps" + ] + }, + { + "name":"Cool", + "type":"programming", + "extensions":[ + ".cl" + ] + }, + { + "name":"Coq", + "type":"programming", + "extensions":[ + ".coq", + ".v" + ] + }, + { + "name":"Cpp-ObjDump", + "type":"data", + "extensions":[ + ".cppobjdump", + ".c++-objdump", + ".c++objdump", + ".cpp-objdump", + ".cxx-objdump" + ] + }, + { + "name":"Creole", + "type":"prose", + "extensions":[ + ".creole" + ] + }, + { + "name":"Crystal", + "type":"programming", + "extensions":[ + ".cr" + ] + }, + { + "name":"Cucumber", + "type":"programming", + "extensions":[ + ".feature" + ] + }, + { + "name":"Cuda", + "type":"programming", + "extensions":[ + ".cu", + ".cuh" + ] + }, + { + "name":"Cycript", + "type":"programming", + "extensions":[ + ".cy" + ] + }, + { + "name":"Cython", + "type":"programming", + "extensions":[ + ".pyx", + ".pxd", + ".pxi" + ] + }, + { + "name":"D", + "type":"programming", + "extensions":[ + ".d", + ".di" + ] + }, + { + "name":"D-ObjDump", + "type":"data", + "extensions":[ + ".d-objdump" + ] + }, + { + "name":"DIGITAL Command Language", + "type":"programming", + "extensions":[ + ".com" + ] + }, + { + "name":"DM", + "type":"programming", + "extensions":[ + ".dm" + ] + }, + { + "name":"DNS Zone", + "type":"data", + "extensions":[ + ".zone", + ".arpa" + ] + }, + { + "name":"DTrace", + "type":"programming", + "extensions":[ + ".d" + ] + }, + { + "name":"Darcs Patch", + "type":"data", + "extensions":[ + ".darcspatch", + ".dpatch" + ] + }, + { + "name":"Dart", + "type":"programming", + "extensions":[ + ".dart" + ] + }, + { + "name":"Diff", + "type":"data", + "extensions":[ + ".diff", + ".patch" + ] + }, + { + "name":"Dockerfile", + "type":"data", + "extensions":[ + ".dockerfile" + ] + }, + { + "name":"Dogescript", + "type":"programming", + "extensions":[ + ".djs" + ] + }, + { + "name":"Dylan", + "type":"programming", + "extensions":[ + ".dylan", + ".dyl", + ".intr", + ".lid" + ] + }, + { + "name":"E", + "type":"programming", + "extensions":[ + ".E" + ] + }, + { + "name":"ECL", + "type":"programming", + "extensions":[ + ".ecl", + ".eclxml" + ] + }, + { + "name":"ECLiPSe", + "type":"programming", + "extensions":[ + ".ecl" + ] + }, + { + "name":"Eagle", + "type":"markup", + "extensions":[ + ".sch", + ".brd" + ] + }, + { + "name":"Ecere Projects", + "type":"data", + "extensions":[ + ".epj" + ] + }, + { + "name":"Eiffel", + "type":"programming", + "extensions":[ + ".e" + ] + }, + { + "name":"Elixir", + "type":"programming", + "extensions":[ + ".ex", + ".exs" + ] + }, + { + "name":"Elm", + "type":"programming", + "extensions":[ + ".elm" + ] + }, + { + "name":"Emacs Lisp", + "type":"programming", + "extensions":[ + ".el", + ".emacs", + ".emacs.desktop" + ] + }, + { + "name":"EmberScript", + "type":"programming", + "extensions":[ + ".em", + ".emberscript" + ] + }, + { + "name":"Erlang", + "type":"programming", + "extensions":[ + ".erl", + ".es", + ".escript", + ".hrl", + ".xrl", + ".yrl" + ] + }, + { + "name":"F#", + "type":"programming", + "extensions":[ + ".fs", + ".fsi", + ".fsx" + ] + }, + { + "name":"FLUX", + "type":"programming", + "extensions":[ + ".fx", + ".flux" + ] + }, + { + "name":"FORTRAN", + "type":"programming", + "extensions":[ + ".f90", + ".f", + ".f03", + ".f08", + ".f77", + ".f95", + ".for", + ".fpp" + ] + }, + { + "name":"Factor", + "type":"programming", + "extensions":[ + ".factor" + ] + }, + { + "name":"Fancy", + "type":"programming", + "extensions":[ + ".fy", + ".fancypack" + ] + }, + { + "name":"Fantom", + "type":"programming", + "extensions":[ + ".fan" + ] + }, + { + "name":"Filterscript", + "type":"programming", + "extensions":[ + ".fs" + ] + }, + { + "name":"Formatted", + "type":"data", + "extensions":[ + ".for", + ".eam.fs" + ] + }, + { + "name":"Forth", + "type":"programming", + "extensions":[ + ".fth", + ".4th", + ".f", + ".for", + ".forth", + ".fr", + ".frt", + ".fs" + ] + }, + { + "name":"FreeMarker", + "type":"programming", + "extensions":[ + ".ftl" + ] + }, + { + "name":"Frege", + "type":"programming", + "extensions":[ + ".fr" + ] + }, + { + "name":"G-code", + "type":"data", + "extensions":[ + ".g", + ".gco", + ".gcode" + ] + }, + { + "name":"GAMS", + "type":"programming", + "extensions":[ + ".gms" + ] + }, + { + "name":"GAP", + "type":"programming", + "extensions":[ + ".g", + ".gap", + ".gd", + ".gi", + ".tst" + ] + }, + { + "name":"GAS", + "type":"programming", + "extensions":[ + ".s", + ".ms" + ] + }, + { + "name":"GDScript", + "type":"programming", + "extensions":[ + ".gd" + ] + }, + { + "name":"GLSL", + "type":"programming", + "extensions":[ + ".glsl", + ".fp", + ".frag", + ".frg", + ".fs", + ".fsh", + ".fshader", + ".geo", + ".geom", + ".glslv", + ".gshader", + ".shader", + ".vert", + ".vrx", + ".vsh", + ".vshader" + ] + }, + { + "name":"Game Maker Language", + "type":"programming", + "extensions":[ + ".gml" + ] + }, + { + "name":"Genshi", + "type":"programming", + "extensions":[ + ".kid" + ] + }, + { + "name":"Gentoo Ebuild", + "type":"programming", + "extensions":[ + ".ebuild" + ] + }, + { + "name":"Gentoo Eclass", + "type":"programming", + "extensions":[ + ".eclass" + ] + }, + { + "name":"Gettext Catalog", + "type":"prose", + "extensions":[ + ".po", + ".pot" + ] + }, + { + "name":"Glyph", + "type":"programming", + "extensions":[ + ".glf" + ] + }, + { + "name":"Gnuplot", + "type":"programming", + "extensions":[ + ".gp", + ".gnu", + ".gnuplot", + ".plot", + ".plt" + ] + }, + { + "name":"Go", + "type":"programming", + "extensions":[ + ".go" + ] + }, + { + "name":"Golo", + "type":"programming", + "extensions":[ + ".golo" + ] + }, + { + "name":"Gosu", + "type":"programming", + "extensions":[ + ".gs", + ".gst", + ".gsx", + ".vark" + ] + }, + { + "name":"Grace", + "type":"programming", + "extensions":[ + ".grace" + ] + }, + { + "name":"Gradle", + "type":"data", + "extensions":[ + ".gradle" + ] + }, + { + "name":"Grammatical Framework", + "type":"programming", + "extensions":[ + ".gf" + ] + }, + { + "name":"Graph Modeling Language", + "type":"data", + "extensions":[ + ".gml" + ] + }, + { + "name":"GraphQL", + "type":"data", + "extensions":[ + ".graphql" + ] + }, + { + "name":"Graphviz (DOT)", + "type":"data", + "extensions":[ + ".dot", + ".gv" + ] + }, + { + "name":"Groff", + "type":"markup", + "extensions":[ + ".man", + ".1", + ".1in", + ".1m", + ".1x", + ".2", + ".3", + ".3in", + ".3m", + ".3qt", + ".3x", + ".4", + ".5", + ".6", + ".7", + ".8", + ".9", + ".l", + ".me", + ".ms", + ".n", + ".rno", + ".roff" + ] + }, + { + "name":"Groovy", + "type":"programming", + "extensions":[ + ".groovy", + ".grt", + ".gtpl", + ".gvy" + ] + }, + { + "name":"Groovy Server Pages", + "type":"programming", + "extensions":[ + ".gsp" + ] + }, + { + "name":"HCL", + "type":"programming", + "extensions":[ + ".hcl", + ".tf" + ] + }, + { + "name":"HLSL", + "type":"programming", + "extensions":[ + ".hlsl", + ".fx", + ".fxh", + ".hlsli" + ] + }, + { + "name":"HTML", + "type":"markup", + "extensions":[ + ".html", + ".htm", + ".html.hl", + ".inc", + ".st", + ".xht", + ".xhtml" + ] + }, + { + "name":"HTML+Django", + "type":"markup", + "extensions":[ + ".mustache", + ".jinja" + ] + }, + { + "name":"HTML+EEX", + "type":"markup", + "extensions":[ + ".eex" + ] + }, + { + "name":"HTML+ERB", + "type":"markup", + "extensions":[ + ".erb", + ".erb.deface" + ] + }, + { + "name":"HTML+PHP", + "type":"markup", + "extensions":[ + ".phtml" + ] + }, + { + "name":"HTTP", + "type":"data", + "extensions":[ + ".http" + ] + }, + { + "name":"Hack", + "type":"programming", + "extensions":[ + ".hh", + ".php" + ] + }, + { + "name":"Haml", + "type":"markup", + "extensions":[ + ".haml", + ".haml.deface" + ] + }, + { + "name":"Handlebars", + "type":"markup", + "extensions":[ + ".handlebars", + ".hbs" + ] + }, + { + "name":"Harbour", + "type":"programming", + "extensions":[ + ".hb" + ] + }, + { + "name":"Haskell", + "type":"programming", + "extensions":[ + ".hs", + ".hsc" + ] + }, + { + "name":"Haxe", + "type":"programming", + "extensions":[ + ".hx", + ".hxsl" + ] + }, + { + "name":"Hy", + "type":"programming", + "extensions":[ + ".hy" + ] + }, + { + "name":"HyPhy", + "type":"programming", + "extensions":[ + ".bf" + ] + }, + { + "name":"IDL", + "type":"programming", + "extensions":[ + ".pro", + ".dlm" + ] + }, + { + "name":"IGOR Pro", + "type":"programming", + "extensions":[ + ".ipf" + ] + }, + { + "name":"INI", + "type":"data", + "extensions":[ + ".ini", + ".cfg", + ".prefs", + ".pro", + ".properties" + ] + }, + { + "name":"IRC log", + "type":"data", + "extensions":[ + ".irclog", + ".weechatlog" + ] + }, + { + "name":"Idris", + "type":"programming", + "extensions":[ + ".idr", + ".lidr" + ] + }, + { + "name":"Inform 7", + "type":"programming", + "extensions":[ + ".ni", + ".i7x" + ] + }, + { + "name":"Inno Setup", + "type":"programming", + "extensions":[ + ".iss" + ] + }, + { + "name":"Io", + "type":"programming", + "extensions":[ + ".io" + ] + }, + { + "name":"Ioke", + "type":"programming", + "extensions":[ + ".ik" + ] + }, + { + "name":"Isabelle", + "type":"programming", + "extensions":[ + ".thy" + ] + }, + { + "name":"Isabelle ROOT", + "type":"programming" + }, + { + "name":"J", + "type":"programming", + "extensions":[ + ".ijs" + ] + }, + { + "name":"JFlex", + "type":"programming", + "extensions":[ + ".flex", + ".jflex" + ] + }, + { + "name":"JSON", + "type":"data", + "extensions":[ + ".json", + ".geojson", + ".lock", + ".topojson" + ] + }, + { + "name":"JSON5", + "type":"data", + "extensions":[ + ".json5" + ] + }, + { + "name":"JSONLD", + "type":"data", + "extensions":[ + ".jsonld" + ] + }, + { + "name":"JSONiq", + "type":"programming", + "extensions":[ + ".jq" + ] + }, + { + "name":"JSX", + "type":"programming", + "extensions":[ + ".jsx" + ] + }, + { + "name":"Jade", + "type":"markup", + "extensions":[ + ".jade" + ] + }, + { + "name":"Jasmin", + "type":"programming", + "extensions":[ + ".j" + ] + }, + { + "name":"Java", + "type":"programming", + "extensions":[ + ".java" + ] + }, + { + "name":"Java Server Pages", + "type":"programming", + "extensions":[ + ".jsp" + ] + }, + { + "name":"JavaScript", + "type":"programming", + "extensions":[ + ".js", + "._js", + ".bones", + ".es", + ".es6", + ".frag", + ".gs", + ".jake", + ".jsb", + ".jscad", + ".jsfl", + ".jsm", + ".jss", + ".njs", + ".pac", + ".sjs", + ".ssjs", + ".sublime-build", + ".sublime-commands", + ".sublime-completions", + ".sublime-keymap", + ".sublime-macro", + ".sublime-menu", + ".sublime-mousemap", + ".sublime-project", + ".sublime-settings", + ".sublime-theme", + ".sublime-workspace", + ".sublime_metrics", + ".sublime_session", + ".xsjs", + ".xsjslib" + ] + }, + { + "name":"Julia", + "type":"programming", + "extensions":[ + ".jl" + ] + }, + { + "name":"Jupyter Notebook", + "type":"markup", + "extensions":[ + ".ipynb" + ] + }, + { + "name":"KRL", + "type":"programming", + "extensions":[ + ".krl" + ] + }, + { + "name":"KiCad", + "type":"programming", + "extensions":[ + ".sch", + ".brd", + ".kicad_pcb" + ] + }, + { + "name":"Kit", + "type":"markup", + "extensions":[ + ".kit" + ] + }, + { + "name":"Kotlin", + "type":"programming", + "extensions":[ + ".kt", + ".ktm", + ".kts" + ] + }, + { + "name":"LFE", + "type":"programming", + "extensions":[ + ".lfe" + ] + }, + { + "name":"LLVM", + "type":"programming", + "extensions":[ + ".ll" + ] + }, + { + "name":"LOLCODE", + "type":"programming", + "extensions":[ + ".lol" + ] + }, + { + "name":"LSL", + "type":"programming", + "extensions":[ + ".lsl", + ".lslp" + ] + }, + { + "name":"LabVIEW", + "type":"programming", + "extensions":[ + ".lvproj" + ] + }, + { + "name":"Lasso", + "type":"programming", + "extensions":[ + ".lasso", + ".las", + ".lasso8", + ".lasso9", + ".ldml" + ] + }, + { + "name":"Latte", + "type":"markup", + "extensions":[ + ".latte" + ] + }, + { + "name":"Lean", + "type":"programming", + "extensions":[ + ".lean", + ".hlean" + ] + }, + { + "name":"Less", + "type":"markup", + "extensions":[ + ".less" + ] + }, + { + "name":"Lex", + "type":"programming", + "extensions":[ + ".l", + ".lex" + ] + }, + { + "name":"LilyPond", + "type":"programming", + "extensions":[ + ".ly", + ".ily" + ] + }, + { + "name":"Limbo", + "type":"programming", + "extensions":[ + ".b", + ".m" + ] + }, + { + "name":"Linker Script", + "type":"data", + "extensions":[ + ".ld", + ".lds" + ] + }, + { + "name":"Linux Kernel Module", + "type":"data", + "extensions":[ + ".mod" + ] + }, + { + "name":"Liquid", + "type":"markup", + "extensions":[ + ".liquid" + ] + }, + { + "name":"Literate Agda", + "type":"programming", + "extensions":[ + ".lagda" + ] + }, + { + "name":"Literate CoffeeScript", + "type":"programming", + "extensions":[ + ".litcoffee" + ] + }, + { + "name":"Literate Haskell", + "type":"programming", + "extensions":[ + ".lhs" + ] + }, + { + "name":"LiveScript", + "type":"programming", + "extensions":[ + ".ls", + "._ls" + ] + }, + { + "name":"Logos", + "type":"programming", + "extensions":[ + ".xm", + ".x", + ".xi" + ] + }, + { + "name":"Logtalk", + "type":"programming", + "extensions":[ + ".lgt", + ".logtalk" + ] + }, + { + "name":"LookML", + "type":"programming", + "extensions":[ + ".lookml" + ] + }, + { + "name":"LoomScript", + "type":"programming", + "extensions":[ + ".ls" + ] + }, + { + "name":"Lua", + "type":"programming", + "extensions":[ + ".lua", + ".fcgi", + ".nse", + ".pd_lua", + ".rbxs", + ".wlua" + ] + }, + { + "name":"M", + "type":"programming", + "extensions":[ + ".mumps", + ".m" + ] + }, + { + "name":"M4", + "type":"programming", + "extensions":[ + ".m4" + ] + }, + { + "name":"M4Sugar", + "type":"programming", + "extensions":[ + ".m4" + ] + }, + { + "name":"MAXScript", + "type":"programming", + "extensions":[ + ".ms", + ".mcr" + ] + }, + { + "name":"MTML", + "type":"markup", + "extensions":[ + ".mtml" + ] + }, + { + "name":"MUF", + "type":"programming", + "extensions":[ + ".muf", + ".m" + ] + }, + { + "name":"Makefile", + "type":"programming", + "extensions":[ + ".mak", + ".d", + ".mk", + ".mkfile" + ] + }, + { + "name":"Mako", + "type":"programming", + "extensions":[ + ".mako", + ".mao" + ] + }, + { + "name":"Markdown", + "type":"prose", + "extensions":[ + ".md", + ".markdown", + ".mkd", + ".mkdn", + ".mkdown", + ".ron" + ] + }, + { + "name":"Mask", + "type":"markup", + "extensions":[ + ".mask" + ] + }, + { + "name":"Mathematica", + "type":"programming", + "extensions":[ + ".mathematica", + ".cdf", + ".m", + ".ma", + ".mt", + ".nb", + ".nbp", + ".wl", + ".wlt" + ] + }, + { + "name":"Matlab", + "type":"programming", + "extensions":[ + ".matlab", + ".m" + ] + }, + { + "name":"Maven POM", + "type":"data" + }, + { + "name":"Max", + "type":"programming", + "extensions":[ + ".maxpat", + ".maxhelp", + ".maxproj", + ".mxt", + ".pat" + ] + }, + { + "name":"MediaWiki", + "type":"prose", + "extensions":[ + ".mediawiki", + ".wiki" + ] + }, + { + "name":"Mercury", + "type":"programming", + "extensions":[ + ".m", + ".moo" + ] + }, + { + "name":"Metal", + "type":"programming", + "extensions":[ + ".metal" + ] + }, + { + "name":"MiniD", + "type":"programming", + "extensions":[ + ".minid" + ] + }, + { + "name":"Mirah", + "type":"programming", + "extensions":[ + ".druby", + ".duby", + ".mir", + ".mirah" + ] + }, + { + "name":"Modelica", + "type":"programming", + "extensions":[ + ".mo" + ] + }, + { + "name":"Modula-2", + "type":"programming", + "extensions":[ + ".mod" + ] + }, + { + "name":"Module Management System", + "type":"programming", + "extensions":[ + ".mms", + ".mmk" + ] + }, + { + "name":"Monkey", + "type":"programming", + "extensions":[ + ".monkey" + ] + }, + { + "name":"Moocode", + "type":"programming", + "extensions":[ + ".moo" + ] + }, + { + "name":"MoonScript", + "type":"programming", + "extensions":[ + ".moon" + ] + }, + { + "name":"Myghty", + "type":"programming", + "extensions":[ + ".myt" + ] + }, + { + "name":"NCL", + "type":"programming", + "extensions":[ + ".ncl" + ] + }, + { + "name":"NL", + "type":"data", + "extensions":[ + ".nl" + ] + }, + { + "name":"NSIS", + "type":"programming", + "extensions":[ + ".nsi", + ".nsh" + ] + }, + { + "name":"Nemerle", + "type":"programming", + "extensions":[ + ".n" + ] + }, + { + "name":"NetLinx", + "type":"programming", + "extensions":[ + ".axs", + ".axi" + ] + }, + { + "name":"NetLinx+ERB", + "type":"programming", + "extensions":[ + ".axs.erb", + ".axi.erb" + ] + }, + { + "name":"NetLogo", + "type":"programming", + "extensions":[ + ".nlogo" + ] + }, + { + "name":"NewLisp", + "type":"programming", + "extensions":[ + ".nl", + ".lisp", + ".lsp" + ] + }, + { + "name":"Nginx", + "type":"markup", + "extensions":[ + ".nginxconf", + ".vhost" + ] + }, + { + "name":"Nimrod", + "type":"programming", + "extensions":[ + ".nim", + ".nimrod" + ] + }, + { + "name":"Ninja", + "type":"data", + "extensions":[ + ".ninja" + ] + }, + { + "name":"Nit", + "type":"programming", + "extensions":[ + ".nit" + ] + }, + { + "name":"Nix", + "type":"programming", + "extensions":[ + ".nix" + ] + }, + { + "name":"Nu", + "type":"programming", + "extensions":[ + ".nu" + ] + }, + { + "name":"NumPy", + "type":"programming", + "extensions":[ + ".numpy", + ".numpyw", + ".numsc" + ] + }, + { + "name":"OCaml", + "type":"programming", + "extensions":[ + ".ml", + ".eliom", + ".eliomi", + ".ml4", + ".mli", + ".mll", + ".mly" + ] + }, + { + "name":"ObjDump", + "type":"data", + "extensions":[ + ".objdump" + ] + }, + { + "name":"Objective-C", + "type":"programming", + "extensions":[ + ".m", + ".h" + ] + }, + { + "name":"Objective-C++", + "type":"programming", + "extensions":[ + ".mm" + ] + }, + { + "name":"Objective-J", + "type":"programming", + "extensions":[ + ".j", + ".sj" + ] + }, + { + "name":"Omgrofl", + "type":"programming", + "extensions":[ + ".omgrofl" + ] + }, + { + "name":"Opa", + "type":"programming", + "extensions":[ + ".opa" + ] + }, + { + "name":"Opal", + "type":"programming", + "extensions":[ + ".opal" + ] + }, + { + "name":"OpenCL", + "type":"programming", + "extensions":[ + ".cl", + ".opencl" + ] + }, + { + "name":"OpenEdge ABL", + "type":"programming", + "extensions":[ + ".p", + ".cls" + ] + }, + { + "name":"OpenSCAD", + "type":"programming", + "extensions":[ + ".scad" + ] + }, + { + "name":"Org", + "type":"prose", + "extensions":[ + ".org" + ] + }, + { + "name":"Ox", + "type":"programming", + "extensions":[ + ".ox", + ".oxh", + ".oxo" + ] + }, + { + "name":"Oxygene", + "type":"programming", + "extensions":[ + ".oxygene" + ] + }, + { + "name":"Oz", + "type":"programming", + "extensions":[ + ".oz" + ] + }, + { + "name":"PAWN", + "type":"programming", + "extensions":[ + ".pwn", + ".inc" + ] + }, + { + "name":"PHP", + "type":"programming", + "extensions":[ + ".php", + ".aw", + ".ctp", + ".fcgi", + ".inc", + ".php3", + ".php4", + ".php5", + ".phps", + ".phpt" + ] + }, + { + "name":"PLSQL", + "type":"programming", + "extensions":[ + ".pls", + ".pck", + ".pkb", + ".pks", + ".plb", + ".plsql", + ".sql" + ] + }, + { + "name":"PLpgSQL", + "type":"programming", + "extensions":[ + ".sql" + ] + }, + { + "name":"POV-Ray SDL", + "type":"programming", + "extensions":[ + ".pov", + ".inc" + ] + }, + { + "name":"Pan", + "type":"programming", + "extensions":[ + ".pan" + ] + }, + { + "name":"Papyrus", + "type":"programming", + "extensions":[ + ".psc" + ] + }, + { + "name":"Parrot", + "type":"programming", + "extensions":[ + ".parrot" + ] + }, + { + "name":"Parrot Assembly", + "type":"programming", + "extensions":[ + ".pasm" + ] + }, + { + "name":"Parrot Internal Representation", + "type":"programming", + "extensions":[ + ".pir" + ] + }, + { + "name":"Pascal", + "type":"programming", + "extensions":[ + ".pas", + ".dfm", + ".dpr", + ".inc", + ".lpr", + ".pp" + ] + }, + { + "name":"Perl", + "type":"programming", + "extensions":[ + ".pl", + ".al", + ".cgi", + ".fcgi", + ".perl", + ".ph", + ".plx", + ".pm", + ".pod", + ".psgi", + ".t" + ] + }, + { + "name":"Perl6", + "type":"programming", + "extensions":[ + ".6pl", + ".6pm", + ".nqp", + ".p6", + ".p6l", + ".p6m", + ".pl", + ".pl6", + ".pm", + ".pm6", + ".t" + ] + }, + { + "name":"Pickle", + "type":"data", + "extensions":[ + ".pkl" + ] + }, + { + "name":"PicoLisp", + "type":"programming", + "extensions":[ + ".l" + ] + }, + { + "name":"PigLatin", + "type":"programming", + "extensions":[ + ".pig" + ] + }, + { + "name":"Pike", + "type":"programming", + "extensions":[ + ".pike", + ".pmod" + ] + }, + { + "name":"Pod", + "type":"prose", + "extensions":[ + ".pod" + ] + }, + { + "name":"PogoScript", + "type":"programming", + "extensions":[ + ".pogo" + ] + }, + { + "name":"Pony", + "type":"programming", + "extensions":[ + ".pony" + ] + }, + { + "name":"PostScript", + "type":"markup", + "extensions":[ + ".ps", + ".eps" + ] + }, + { + "name":"PowerShell", + "type":"programming", + "extensions":[ + ".ps1", + ".psd1", + ".psm1" + ] + }, + { + "name":"Processing", + "type":"programming", + "extensions":[ + ".pde" + ] + }, + { + "name":"Prolog", + "type":"programming", + "extensions":[ + ".pl", + ".pro", + ".prolog", + ".yap" + ] + }, + { + "name":"Propeller Spin", + "type":"programming", + "extensions":[ + ".spin" + ] + }, + { + "name":"Protocol Buffer", + "type":"markup", + "extensions":[ + ".proto" + ] + }, + { + "name":"Public Key", + "type":"data", + "extensions":[ + ".asc", + ".pub" + ] + }, + { + "name":"Puppet", + "type":"programming", + "extensions":[ + ".pp" + ] + }, + { + "name":"Pure Data", + "type":"programming", + "extensions":[ + ".pd" + ] + }, + { + "name":"PureBasic", + "type":"programming", + "extensions":[ + ".pb", + ".pbi" + ] + }, + { + "name":"PureScript", + "type":"programming", + "extensions":[ + ".purs" + ] + }, + { + "name":"Python", + "type":"programming", + "extensions":[ + ".py", + ".bzl", + ".cgi", + ".fcgi", + ".gyp", + ".lmi", + ".pyde", + ".pyp", + ".pyt", + ".pyw", + ".rpy", + ".tac", + ".wsgi", + ".xpy" + ] + }, + { + "name":"Python traceback", + "type":"data", + "extensions":[ + ".pytb" + ] + }, + { + "name":"QML", + "type":"programming", + "extensions":[ + ".qml", + ".qbs" + ] + }, + { + "name":"QMake", + "type":"programming", + "extensions":[ + ".pro", + ".pri" + ] + }, + { + "name":"R", + "type":"programming", + "extensions":[ + ".r", + ".rd", + ".rsx" + ] + }, + { + "name":"RAML", + "type":"markup", + "extensions":[ + ".raml" + ] + }, + { + "name":"RDoc", + "type":"prose", + "extensions":[ + ".rdoc" + ] + }, + { + "name":"REALbasic", + "type":"programming", + "extensions":[ + ".rbbas", + ".rbfrm", + ".rbmnu", + ".rbres", + ".rbtbar", + ".rbuistate" + ] + }, + { + "name":"RHTML", + "type":"markup", + "extensions":[ + ".rhtml" + ] + }, + { + "name":"RMarkdown", + "type":"prose", + "extensions":[ + ".rmd" + ] + }, + { + "name":"Racket", + "type":"programming", + "extensions":[ + ".rkt", + ".rktd", + ".rktl", + ".scrbl" + ] + }, + { + "name":"Ragel in Ruby Host", + "type":"programming", + "extensions":[ + ".rl" + ] + }, + { + "name":"Raw token data", + "type":"data", + "extensions":[ + ".raw" + ] + }, + { + "name":"Rebol", + "type":"programming", + "extensions":[ + ".reb", + ".r", + ".r2", + ".r3", + ".rebol" + ] + }, + { + "name":"Red", + "type":"programming", + "extensions":[ + ".red", + ".reds" + ] + }, + { + "name":"Redcode", + "type":"programming", + "extensions":[ + ".cw" + ] + }, + { + "name":"Ren'Py", + "type":"programming", + "extensions":[ + ".rpy" + ] + }, + { + "name":"RenderScript", + "type":"programming", + "extensions":[ + ".rs", + ".rsh" + ] + }, + { + "name":"RobotFramework", + "type":"programming", + "extensions":[ + ".robot" + ] + }, + { + "name":"Rouge", + "type":"programming", + "extensions":[ + ".rg" + ] + }, + { + "name":"Ruby", + "type":"programming", + "extensions":[ + ".rb", + ".builder", + ".fcgi", + ".gemspec", + ".god", + ".irbrc", + ".jbuilder", + ".mspec", + ".pluginspec", + ".podspec", + ".rabl", + ".rake", + ".rbuild", + ".rbw", + ".rbx", + ".ru", + ".ruby", + ".thor", + ".watchr" + ] + }, + { + "name":"Rust", + "type":"programming", + "extensions":[ + ".rs", + ".rs.in" + ] + }, + { + "name":"SAS", + "type":"programming", + "extensions":[ + ".sas" + ] + }, + { + "name":"SCSS", + "type":"markup", + "extensions":[ + ".scss" + ] + }, + { + "name":"SMT", + "type":"programming", + "extensions":[ + ".smt2", + ".smt" + ] + }, + { + "name":"SPARQL", + "type":"data", + "extensions":[ + ".sparql", + ".rq" + ] + }, + { + "name":"SQF", + "type":"programming", + "extensions":[ + ".sqf", + ".hqf" + ] + }, + { + "name":"SQL", + "type":"data", + "extensions":[ + ".sql", + ".cql", + ".ddl", + ".inc", + ".prc", + ".tab", + ".udf", + ".viw" + ] + }, + { + "name":"SQLPL", + "type":"programming", + "extensions":[ + ".sql", + ".db2" + ] + }, + { + "name":"STON", + "type":"data", + "extensions":[ + ".ston" + ] + }, + { + "name":"SVG", + "type":"data", + "extensions":[ + ".svg" + ] + }, + { + "name":"Sage", + "type":"programming", + "extensions":[ + ".sage", + ".sagews" + ] + }, + { + "name":"SaltStack", + "type":"programming", + "extensions":[ + ".sls" + ] + }, + { + "name":"Sass", + "type":"markup", + "extensions":[ + ".sass" + ] + }, + { + "name":"Scala", + "type":"programming", + "extensions":[ + ".scala", + ".sbt", + ".sc" + ] + }, + { + "name":"Scaml", + "type":"markup", + "extensions":[ + ".scaml" + ] + }, + { + "name":"Scheme", + "type":"programming", + "extensions":[ + ".scm", + ".sld", + ".sls", + ".sps", + ".ss" + ] + }, + { + "name":"Scilab", + "type":"programming", + "extensions":[ + ".sci", + ".sce", + ".tst" + ] + }, + { + "name":"Self", + "type":"programming", + "extensions":[ + ".self" + ] + }, + { + "name":"Shell", + "type":"programming", + "extensions":[ + ".sh", + ".bash", + ".bats", + ".cgi", + ".command", + ".fcgi", + ".ksh", + ".sh.in", + ".tmux", + ".tool", + ".zsh" + ] + }, + { + "name":"ShellSession", + "type":"programming", + "extensions":[ + ".sh-session" + ] + }, + { + "name":"Shen", + "type":"programming", + "extensions":[ + ".shen" + ] + }, + { + "name":"Slash", + "type":"programming", + "extensions":[ + ".sl" + ] + }, + { + "name":"Slim", + "type":"markup", + "extensions":[ + ".slim" + ] + }, + { + "name":"Smali", + "type":"programming", + "extensions":[ + ".smali" + ] + }, + { + "name":"Smalltalk", + "type":"programming", + "extensions":[ + ".st", + ".cs" + ] + }, + { + "name":"Smarty", + "type":"programming", + "extensions":[ + ".tpl" + ] + }, + { + "name":"SourcePawn", + "type":"programming", + "extensions":[ + ".sp", + ".inc", + ".sma" + ] + }, + { + "name":"Squirrel", + "type":"programming", + "extensions":[ + ".nut" + ] + }, + { + "name":"Stan", + "type":"programming", + "extensions":[ + ".stan" + ] + }, + { + "name":"Standard ML", + "type":"programming", + "extensions":[ + ".ML", + ".fun", + ".sig", + ".sml" + ] + }, + { + "name":"Stata", + "type":"programming", + "extensions":[ + ".do", + ".ado", + ".doh", + ".ihlp", + ".mata", + ".matah", + ".sthlp" + ] + }, + { + "name":"Stylus", + "type":"markup", + "extensions":[ + ".styl" + ] + }, + { + "name":"SuperCollider", + "type":"programming", + "extensions":[ + ".sc", + ".scd" + ] + }, + { + "name":"Swift", + "type":"programming", + "extensions":[ + ".swift" + ] + }, + { + "name":"SystemVerilog", + "type":"programming", + "extensions":[ + ".sv", + ".svh", + ".vh" + ] + }, + { + "name":"TOML", + "type":"data", + "extensions":[ + ".toml" + ] + }, + { + "name":"TXL", + "type":"programming", + "extensions":[ + ".txl" + ] + }, + { + "name":"Tcl", + "type":"programming", + "extensions":[ + ".tcl", + ".adp", + ".tm" + ] + }, + { + "name":"Tcsh", + "type":"programming", + "extensions":[ + ".tcsh", + ".csh" + ] + }, + { + "name":"TeX", + "type":"markup", + "extensions":[ + ".tex", + ".aux", + ".bbx", + ".bib", + ".cbx", + ".cls", + ".dtx", + ".ins", + ".lbx", + ".ltx", + ".mkii", + ".mkiv", + ".mkvi", + ".sty", + ".toc" + ] + }, + { + "name":"Tea", + "type":"markup", + "extensions":[ + ".tea" + ] + }, + { + "name":"Terra", + "type":"programming", + "extensions":[ + ".t" + ] + }, + { + "name":"Text", + "type":"prose", + "extensions":[ + ".txt", + ".fr", + ".nb", + ".ncl", + ".no" + ] + }, + { + "name":"Textile", + "type":"prose", + "extensions":[ + ".textile" + ] + }, + { + "name":"Thrift", + "type":"programming", + "extensions":[ + ".thrift" + ] + }, + { + "name":"Turing", + "type":"programming", + "extensions":[ + ".t", + ".tu" + ] + }, + { + "name":"Turtle", + "type":"data", + "extensions":[ + ".ttl" + ] + }, + { + "name":"Twig", + "type":"markup", + "extensions":[ + ".twig" + ] + }, + { + "name":"TypeScript", + "type":"programming", + "extensions":[ + ".ts", + ".tsx" + ] + }, + { + "name":"Unified Parallel C", + "type":"programming", + "extensions":[ + ".upc" + ] + }, + { + "name":"Unity3D Asset", + "type":"data", + "extensions":[ + ".anim", + ".asset", + ".mat", + ".meta", + ".prefab", + ".unity" + ] + }, + { + "name":"Uno", + "type":"programming", + "extensions":[ + ".uno" + ] + }, + { + "name":"UnrealScript", + "type":"programming", + "extensions":[ + ".uc" + ] + }, + { + "name":"UrWeb", + "type":"programming", + "extensions":[ + ".ur", + ".urs" + ] + }, + { + "name":"VCL", + "type":"programming", + "extensions":[ + ".vcl" + ] + }, + { + "name":"VHDL", + "type":"programming", + "extensions":[ + ".vhdl", + ".vhd", + ".vhf", + ".vhi", + ".vho", + ".vhs", + ".vht", + ".vhw" + ] + }, + { + "name":"Vala", + "type":"programming", + "extensions":[ + ".vala", + ".vapi" + ] + }, + { + "name":"Verilog", + "type":"programming", + "extensions":[ + ".v", + ".veo" + ] + }, + { + "name":"VimL", + "type":"programming", + "extensions":[ + ".vim" + ] + }, + { + "name":"Visual Basic", + "type":"programming", + "extensions":[ + ".vb", + ".bas", + ".cls", + ".frm", + ".frx", + ".vba", + ".vbhtml", + ".vbs" + ] + }, + { + "name":"Volt", + "type":"programming", + "extensions":[ + ".volt" + ] + }, + { + "name":"Vue", + "type":"markup", + "extensions":[ + ".vue" + ] + }, + { + "name":"Web Ontology Language", + "type":"markup", + "extensions":[ + ".owl" + ] + }, + { + "name":"WebIDL", + "type":"programming", + "extensions":[ + ".webidl" + ] + }, + { + "name":"X10", + "type":"programming", + "extensions":[ + ".x10" + ] + }, + { + "name":"XC", + "type":"programming", + "extensions":[ + ".xc" + ] + }, + { + "name":"XML", + "type":"data", + "extensions":[ + ".xml", + ".ant", + ".axml", + ".ccxml", + ".clixml", + ".cproject", + ".csl", + ".csproj", + ".ct", + ".dita", + ".ditamap", + ".ditaval", + ".dll.config", + ".dotsettings", + ".filters", + ".fsproj", + ".fxml", + ".glade", + ".gml", + ".grxml", + ".iml", + ".ivy", + ".jelly", + ".jsproj", + ".kml", + ".launch", + ".mdpolicy", + ".mm", + ".mod", + ".mxml", + ".nproj", + ".nuspec", + ".odd", + ".osm", + ".plist", + ".pluginspec", + ".props", + ".ps1xml", + ".psc1", + ".pt", + ".rdf", + ".rss", + ".scxml", + ".srdf", + ".storyboard", + ".stTheme", + ".sublime-snippet", + ".targets", + ".tmCommand", + ".tml", + ".tmLanguage", + ".tmPreferences", + ".tmSnippet", + ".tmTheme", + ".ts", + ".tsx", + ".ui", + ".urdf", + ".ux", + ".vbproj", + ".vcxproj", + ".vssettings", + ".vxml", + ".wsdl", + ".wsf", + ".wxi", + ".wxl", + ".wxs", + ".x3d", + ".xacro", + ".xaml", + ".xib", + ".xlf", + ".xliff", + ".xmi", + ".xml.dist", + ".xproj", + ".xsd", + ".xul", + ".zcml" + ] + }, + { + "name":"XPages", + "type":"programming", + "extensions":[ + ".xsp-config", + ".xsp.metadata" + ] + }, + { + "name":"XProc", + "type":"programming", + "extensions":[ + ".xpl", + ".xproc" + ] + }, + { + "name":"XQuery", + "type":"programming", + "extensions":[ + ".xquery", + ".xq", + ".xql", + ".xqm", + ".xqy" + ] + }, + { + "name":"XS", + "type":"programming", + "extensions":[ + ".xs" + ] + }, + { + "name":"XSLT", + "type":"programming", + "extensions":[ + ".xslt", + ".xsl" + ] + }, + { + "name":"Xojo", + "type":"programming", + "extensions":[ + ".xojo_code", + ".xojo_menu", + ".xojo_report", + ".xojo_script", + ".xojo_toolbar", + ".xojo_window" + ] + }, + { + "name":"Xtend", + "type":"programming", + "extensions":[ + ".xtend" + ] + }, + { + "name":"YAML", + "type":"data", + "extensions":[ + ".yml", + ".reek", + ".rviz", + ".sublime-syntax", + ".syntax", + ".yaml", + ".yaml-tmlanguage" + ] + }, + { + "name":"YANG", + "type":"data", + "extensions":[ + ".yang" + ] + }, + { + "name":"Yacc", + "type":"programming", + "extensions":[ + ".y", + ".yacc", + ".yy" + ] + }, + { + "name":"Zephir", + "type":"programming", + "extensions":[ + ".zep" + ] + }, + { + "name":"Zimpl", + "type":"programming", + "extensions":[ + ".zimpl", + ".zmpl", + ".zpl" + ] + }, + { + "name":"desktop", + "type":"data", + "extensions":[ + ".desktop", + ".desktop.in" + ] + }, + { + "name":"eC", + "type":"programming", + "extensions":[ + ".ec", + ".eh" + ] + }, + { + "name":"edn", + "type":"data", + "extensions":[ + ".edn" + ] + }, + { + "name":"fish", + "type":"programming", + "extensions":[ + ".fish" + ] + }, + { + "name":"mupad", + "type":"programming", + "extensions":[ + ".mu" + ] + }, + { + "name":"nesC", + "type":"programming", + "extensions":[ + ".nc" + ] + }, + { + "name":"ooc", + "type":"programming", + "extensions":[ + ".ooc" + ] + }, + { + "name":"reStructuredText", + "type":"prose", + "extensions":[ + ".rst", + ".rest", + ".rest.txt", + ".rst.txt" + ] + }, + { + "name":"wisp", + "type":"programming", + "extensions":[ + ".wisp" + ] + }, + { + "name":"xBase", + "type":"programming", + "extensions":[ + ".prg", + ".ch", + ".prw" + ] + } +] \ No newline at end of file diff --git a/gitfame/test/integration/gitfame_test.go b/gitfame/test/integration/gitfame_test.go new file mode 100644 index 0000000..e7e51a5 --- /dev/null +++ b/gitfame/test/integration/gitfame_test.go @@ -0,0 +1,176 @@ +package integration + +import ( + "bytes" + "io/ioutil" + "os" + "os/exec" + "path" + "path/filepath" + "sort" + "strconv" + "testing" + + "github.com/stretchr/testify/require" + "gopkg.in/yaml.v2" + + "gitlab.com/slon/shad-go/tools/testtool" +) + +const importPath = "gitlab.com/slon/shad-go/gitfame/cmd/gitfame" + +var binCache testtool.BinCache + +func TestMain(m *testing.M) { + os.Exit(func() int { + var teardown testtool.CloseFunc + binCache, teardown = testtool.NewBinCache() + defer teardown() + + return m.Run() + }()) +} + +func TestGitFame(t *testing.T) { + binary, err := binCache.GetBinary(importPath) + require.NoError(t, err) + + bundlesDir := path.Join("./testdata", "bundles") + testsDir := path.Join("./testdata", "tests") + testDirs := ListTestDirs(t, testsDir) + + for _, dir := range testDirs { + tc := ReadTestCase(t, filepath.Join(testsDir, dir)) + + t.Run(dir+"/"+tc.Name, func(t *testing.T) { + dir, err := ioutil.TempDir("", "gitfame-") + require.NoError(t, err) + defer func() { _ = os.RemoveAll(dir) }() + + args := []string{"--repository", dir} + args = append(args, tc.Args...) + + Unbundle(t, filepath.Join(bundlesDir, tc.Bundle), dir) + + cmd := exec.Command(binary, args...) + cmd.Stderr = ioutil.Discard + + output, err := cmd.Output() + if !tc.Error { + require.NoError(t, err) + CompareResults(t, tc.Expected, output, tc.Format) + } else { + require.Error(t, err) + _, ok := err.(*exec.ExitError) + require.True(t, ok) + } + }) + } +} + +func ListTestDirs(t *testing.T, path string) []string { + t.Helper() + + files, err := ioutil.ReadDir(path) + require.NoError(t, err) + + var names []string + for _, f := range files { + if !f.IsDir() { + continue + } + names = append(names, f.Name()) + } + + toInt := func(name string) int { + i, err := strconv.Atoi(name) + require.NoError(t, err) + return i + } + + sort.Slice(names, func(i, j int) bool { + return toInt(names[i]) < toInt(names[j]) + }) + + return names +} + +type TestCase struct { + *TestDescription + Expected []byte +} + +func ReadTestCase(t *testing.T, path string) *TestCase { + t.Helper() + + desc := ReadTestDescription(t, path) + + expected, err := ioutil.ReadFile(filepath.Join(path, "expected.out")) + require.NoError(t, err) + + return &TestCase{TestDescription: desc, Expected: expected} +} + +type TestDescription struct { + Name string `yaml:"name"` + Args []string `yaml:"args"` + Bundle string `yaml:"bundle"` + Error bool `yaml:"error"` + Format string `yaml:"format,omitempty"` +} + +func ReadTestDescription(t *testing.T, path string) *TestDescription { + t.Helper() + + data, err := ioutil.ReadFile(filepath.Join(path, "description.yaml")) + require.NoError(t, err) + + var desc TestDescription + require.NoError(t, yaml.Unmarshal(data, &desc)) + + return &desc +} + +func Unbundle(t *testing.T, src, dst string) { + t.Helper() + + cmd := exec.Command("git", "clone", src, dst) + require.NoError(t, cmd.Run()) +} + +func CompareResults(t *testing.T, expected, actual []byte, format string) { + t.Helper() + + switch format { + case "json": + if len(expected) == 0 { + require.Empty(t, string(actual)) + } else { + require.JSONEq(t, string(expected), string(actual)) + } + case "json-lines": + if len(expected) == 0 { + require.Empty(t, string(actual)) + } else { + CompareJSONLines(t, expected, actual) + } + default: + require.Equal(t, string(expected), string(actual)) + } +} + +func CompareJSONLines(t *testing.T, expected, actual []byte) { + t.Helper() + + expectedLines := ParseJSONLines(expected) + actualLines := ParseJSONLines(actual) + require.Equal(t, len(expectedLines), len(actualLines)) + + for i, l := range expectedLines { + require.JSONEq(t, string(l), string(actualLines[i])) + } +} + +func ParseJSONLines(data []byte) [][]byte { + return bytes.Split(bytes.TrimSpace(data), []byte("\n")) +} diff --git a/gitfame/test/integration/testdata/bundles/breaker.bundle b/gitfame/test/integration/testdata/bundles/breaker.bundle new file mode 100644 index 0000000..f8cd749 Binary files /dev/null and b/gitfame/test/integration/testdata/bundles/breaker.bundle differ diff --git a/gitfame/test/integration/testdata/bundles/go-cmp.bundle b/gitfame/test/integration/testdata/bundles/go-cmp.bundle new file mode 100644 index 0000000..5ac735f Binary files /dev/null and b/gitfame/test/integration/testdata/bundles/go-cmp.bundle differ diff --git a/gitfame/test/integration/testdata/bundles/simple.bundle b/gitfame/test/integration/testdata/bundles/simple.bundle new file mode 100644 index 0000000..e793799 Binary files /dev/null and b/gitfame/test/integration/testdata/bundles/simple.bundle differ diff --git a/gitfame/test/integration/testdata/tests/1/description.yaml b/gitfame/test/integration/testdata/tests/1/description.yaml new file mode 100644 index 0000000..ecd8220 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/1/description.yaml @@ -0,0 +1,5 @@ +# Empty .md file, old revision + +name: empty file, old revision +args: [--format, csv, --revision, 49e9ed8b0c32adfa6b30ebe5d94d9d8811ba4d26] +bundle: simple.bundle diff --git a/gitfame/test/integration/testdata/tests/1/expected.out b/gitfame/test/integration/testdata/tests/1/expected.out new file mode 100644 index 0000000..2768efa --- /dev/null +++ b/gitfame/test/integration/testdata/tests/1/expected.out @@ -0,0 +1,2 @@ +Name,Lines,Commits,Files +Russ Cox,0,1,1 diff --git a/gitfame/test/integration/testdata/tests/10/description.yaml b/gitfame/test/integration/testdata/tests/10/description.yaml new file mode 100644 index 0000000..5db90c7 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/10/description.yaml @@ -0,0 +1,5 @@ +# .md with space in name + +name: space in filename +args: [--format, csv, --revision, d5e9958063725c54e82b2e77427bd0dcbaf43fef] +bundle: breaker.bundle diff --git a/gitfame/test/integration/testdata/tests/10/expected.out b/gitfame/test/integration/testdata/tests/10/expected.out new file mode 100644 index 0000000..250a299 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/10/expected.out @@ -0,0 +1,2 @@ +Name,Lines,Commits,Files +Brad Fitzpatrick,4,1,1 diff --git a/gitfame/test/integration/testdata/tests/11/description.yaml b/gitfame/test/integration/testdata/tests/11/description.yaml new file mode 100644 index 0000000..7f877e9 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/11/description.yaml @@ -0,0 +1,5 @@ +# author with tabs in name + +name: tabs in author name +args: [--format, csv, --revision, 400683875aad1234a51d9fe6e8b6137556702ae6, --restrict-to, main.go] +bundle: breaker.bundle diff --git a/gitfame/test/integration/testdata/tests/11/expected.out b/gitfame/test/integration/testdata/tests/11/expected.out new file mode 100644 index 0000000..65b7f25 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/11/expected.out @@ -0,0 +1,2 @@ +Name,Lines,Commits,Files +My name is Tabby,7,1,1 diff --git a/gitfame/test/integration/testdata/tests/12/description.yaml b/gitfame/test/integration/testdata/tests/12/description.yaml new file mode 100644 index 0000000..3e8e8ae --- /dev/null +++ b/gitfame/test/integration/testdata/tests/12/description.yaml @@ -0,0 +1,5 @@ +# author with tabs in name, empty file + +name: tabs in author name, empty file +args: [--format, csv, --revision, 17f8121d7a01af4dd79e2e9cba387f96edc64bd6, --restrict-to, empty.txt] +bundle: breaker.bundle diff --git a/gitfame/test/integration/testdata/tests/12/expected.out b/gitfame/test/integration/testdata/tests/12/expected.out new file mode 100644 index 0000000..9f3949e --- /dev/null +++ b/gitfame/test/integration/testdata/tests/12/expected.out @@ -0,0 +1,2 @@ +Name,Lines,Commits,Files +My name is Tabby,0,1,1 diff --git a/gitfame/test/integration/testdata/tests/13/description.yaml b/gitfame/test/integration/testdata/tests/13/description.yaml new file mode 100644 index 0000000..454a7a2 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/13/description.yaml @@ -0,0 +1,5 @@ +# author with name consisting of printable characters, empty commit + +name: printable in author name, empty commit +args: [--format, csv, --revision, 861af9ed3975a7e247547331c2d1e029a8415da0] +bundle: breaker.bundle diff --git a/gitfame/test/integration/testdata/tests/13/expected.out b/gitfame/test/integration/testdata/tests/13/expected.out new file mode 100644 index 0000000..20f9446 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/13/expected.out @@ -0,0 +1,3 @@ +Name,Lines,Commits,Files +My name is Tabby,7,2,2 +Brad Fitzpatrick,4,1,1 diff --git a/gitfame/test/integration/testdata/tests/14/description.yaml b/gitfame/test/integration/testdata/tests/14/description.yaml new file mode 100644 index 0000000..2ed80ad --- /dev/null +++ b/gitfame/test/integration/testdata/tests/14/description.yaml @@ -0,0 +1,5 @@ +# author with name consisting of printable characters, empty commit + +name: printable in author name, empty commit +args: [--format, csv, --revision, 68cc2ccd318dce0e86c86c0adc53a9d967e2192c] +bundle: breaker.bundle diff --git a/gitfame/test/integration/testdata/tests/14/expected.out b/gitfame/test/integration/testdata/tests/14/expected.out new file mode 100644 index 0000000..ff987af --- /dev/null +++ b/gitfame/test/integration/testdata/tests/14/expected.out @@ -0,0 +1,4 @@ +Name,Lines,Commits,Files +My name is Tabby,7,2,2 +Brad Fitzpatrick,4,1,1 +"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV WXYZ!""#$%&'()*+,-./:;=?@[\]^_`{|}~",0,1,1 diff --git a/gitfame/test/integration/testdata/tests/15/description.yaml b/gitfame/test/integration/testdata/tests/15/description.yaml new file mode 100644 index 0000000..9f8e1c6 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/15/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD + +name: go-cmp HEAD +args: [--format, csv] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/15/expected.out b/gitfame/test/integration/testdata/tests/15/expected.out new file mode 100644 index 0000000..d70d751 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/15/expected.out @@ -0,0 +1,17 @@ +Name,Lines,Commits,Files +Joe Tsai,13818,94,54 +colinnewell,130,1,1 +A. Ishikawa,92,1,2 +Roger Peppe,59,1,2 +Tobias Klauser,35,2,3 +178inaba,27,2,5 +Kyle Lemons,11,1,1 +Dmitri Shuralyov,8,1,2 +ferhat elmas,7,1,4 +Christian Muehlhaeuser,6,3,4 +k.nakada,5,1,3 +LMMilewski,5,1,2 +Ernest Galbrun,3,1,1 +Ross Light,2,1,1 +Chris Morrow,1,1,1 +Fiisio,1,1,1 diff --git a/gitfame/test/integration/testdata/tests/16/description.yaml b/gitfame/test/integration/testdata/tests/16/description.yaml new file mode 100644 index 0000000..cbf4f8c --- /dev/null +++ b/gitfame/test/integration/testdata/tests/16/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD, committer + +name: go-cmp HEAD committer +args: [--format, csv, --use-committer] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/16/expected.out b/gitfame/test/integration/testdata/tests/16/expected.out new file mode 100644 index 0000000..276a7e2 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/16/expected.out @@ -0,0 +1,4 @@ +Name,Lines,Commits,Files +GitHub,11199,100,55 +Joe Tsai,3009,12,29 +Ross Light,2,1,1 diff --git a/gitfame/test/integration/testdata/tests/17/description.yaml b/gitfame/test/integration/testdata/tests/17/description.yaml new file mode 100644 index 0000000..72c713a --- /dev/null +++ b/gitfame/test/integration/testdata/tests/17/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD, order by commits + +name: go-cmp HEAD order-by commits +args: [--format, csv, --order-by, commits] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/17/expected.out b/gitfame/test/integration/testdata/tests/17/expected.out new file mode 100644 index 0000000..3fbd626 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/17/expected.out @@ -0,0 +1,17 @@ +Name,Lines,Commits,Files +Joe Tsai,13818,94,54 +Christian Muehlhaeuser,6,3,4 +Tobias Klauser,35,2,3 +178inaba,27,2,5 +colinnewell,130,1,1 +A. Ishikawa,92,1,2 +Roger Peppe,59,1,2 +Kyle Lemons,11,1,1 +Dmitri Shuralyov,8,1,2 +ferhat elmas,7,1,4 +k.nakada,5,1,3 +LMMilewski,5,1,2 +Ernest Galbrun,3,1,1 +Ross Light,2,1,1 +Chris Morrow,1,1,1 +Fiisio,1,1,1 diff --git a/gitfame/test/integration/testdata/tests/18/description.yaml b/gitfame/test/integration/testdata/tests/18/description.yaml new file mode 100644 index 0000000..2515381 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/18/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD, order by files + +name: go-cmp HEAD order-by files +args: [--format, csv, --order-by, files] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/18/expected.out b/gitfame/test/integration/testdata/tests/18/expected.out new file mode 100644 index 0000000..af697f1 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/18/expected.out @@ -0,0 +1,17 @@ +Name,Lines,Commits,Files +Joe Tsai,13818,94,54 +178inaba,27,2,5 +ferhat elmas,7,1,4 +Christian Muehlhaeuser,6,3,4 +Tobias Klauser,35,2,3 +k.nakada,5,1,3 +A. Ishikawa,92,1,2 +Roger Peppe,59,1,2 +Dmitri Shuralyov,8,1,2 +LMMilewski,5,1,2 +colinnewell,130,1,1 +Kyle Lemons,11,1,1 +Ernest Galbrun,3,1,1 +Ross Light,2,1,1 +Chris Morrow,1,1,1 +Fiisio,1,1,1 diff --git a/gitfame/test/integration/testdata/tests/19/description.yaml b/gitfame/test/integration/testdata/tests/19/description.yaml new file mode 100644 index 0000000..7429862 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/19/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD, extensions + +name: go-cmp HEAD extensions +args: [--format, csv, --extensions, '.yml,.json,.md'] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/19/expected.out b/gitfame/test/integration/testdata/tests/19/expected.out new file mode 100644 index 0000000..89efdec --- /dev/null +++ b/gitfame/test/integration/testdata/tests/19/expected.out @@ -0,0 +1,5 @@ +Name,Lines,Commits,Files +Joe Tsai,92,4,3 +Ross Light,2,1,1 +Tobias Klauser,2,1,1 +ferhat elmas,1,1,1 diff --git a/gitfame/test/integration/testdata/tests/2/description.yaml b/gitfame/test/integration/testdata/tests/2/description.yaml new file mode 100644 index 0000000..aa8e605 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/2/description.yaml @@ -0,0 +1,5 @@ +# Empty project + +name: empty project +args: [--format, csv, --revision, dff562439f0406fb00229e3e95a8d2048f265683] +bundle: simple.bundle diff --git a/gitfame/test/integration/testdata/tests/2/expected.out b/gitfame/test/integration/testdata/tests/2/expected.out new file mode 100644 index 0000000..faaeb6f --- /dev/null +++ b/gitfame/test/integration/testdata/tests/2/expected.out @@ -0,0 +1 @@ +Name,Lines,Commits,Files diff --git a/gitfame/test/integration/testdata/tests/20/description.yaml b/gitfame/test/integration/testdata/tests/20/description.yaml new file mode 100644 index 0000000..c67d63b --- /dev/null +++ b/gitfame/test/integration/testdata/tests/20/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD, languages + +name: go-cmp HEAD languages +args: [--format, csv, --languages, 'yaml,c++,markdown,gopher'] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/20/expected.out b/gitfame/test/integration/testdata/tests/20/expected.out new file mode 100644 index 0000000..89efdec --- /dev/null +++ b/gitfame/test/integration/testdata/tests/20/expected.out @@ -0,0 +1,5 @@ +Name,Lines,Commits,Files +Joe Tsai,92,4,3 +Ross Light,2,1,1 +Tobias Klauser,2,1,1 +ferhat elmas,1,1,1 diff --git a/gitfame/test/integration/testdata/tests/21/description.yaml b/gitfame/test/integration/testdata/tests/21/description.yaml new file mode 100644 index 0000000..af49ac7 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/21/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD, exclude + +name: go-cmp HEAD exclude +args: [--format, csv, --exclude, 'cmp/cmpopts/*,cmp/internal/testprotos/*,cmp/testdata/*,gopher/*'] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/21/expected.out b/gitfame/test/integration/testdata/tests/21/expected.out new file mode 100644 index 0000000..b697d7c --- /dev/null +++ b/gitfame/test/integration/testdata/tests/21/expected.out @@ -0,0 +1,14 @@ +Name,Lines,Commits,Files +Joe Tsai,10087,90,46 +A. Ishikawa,36,1,1 +178inaba,11,2,4 +Kyle Lemons,11,1,1 +Christian Muehlhaeuser,4,3,3 +Ernest Galbrun,3,1,1 +ferhat elmas,2,1,2 +Dmitri Shuralyov,2,1,1 +Ross Light,2,1,1 +Tobias Klauser,2,1,1 +Chris Morrow,1,1,1 +Fiisio,1,1,1 +LMMilewski,1,1,1 diff --git a/gitfame/test/integration/testdata/tests/22/description.yaml b/gitfame/test/integration/testdata/tests/22/description.yaml new file mode 100644 index 0000000..f1d9f90 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/22/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD, restrict to + +name: go-cmp HEAD restrict-to +args: [--format, csv, --restrict-to, 'cmp/cmpopts/*,cmp/internal/testprotos/*,cmp/testdata/*,gopher/*'] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/22/expected.out b/gitfame/test/integration/testdata/tests/22/expected.out new file mode 100644 index 0000000..9857e58 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/22/expected.out @@ -0,0 +1,12 @@ +Name,Lines,Commits,Files +Joe Tsai,3731,29,8 +colinnewell,130,1,1 +Roger Peppe,59,1,2 +A. Ishikawa,56,1,1 +Tobias Klauser,33,1,2 +178inaba,16,1,1 +Dmitri Shuralyov,6,1,1 +k.nakada,5,1,3 +ferhat elmas,5,1,2 +LMMilewski,4,1,1 +Christian Muehlhaeuser,2,1,1 diff --git a/gitfame/test/integration/testdata/tests/23/description.yaml b/gitfame/test/integration/testdata/tests/23/description.yaml new file mode 100644 index 0000000..cf756de --- /dev/null +++ b/gitfame/test/integration/testdata/tests/23/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD, exclude and restrict to the same dir + +name: go-cmp HEAD exclude restrict-to +args: [--format, csv, --restrict-to, 'cmp/cmpopts/*', --exclude, 'cmp/cmpopts/*'] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/23/expected.out b/gitfame/test/integration/testdata/tests/23/expected.out new file mode 100644 index 0000000..faaeb6f --- /dev/null +++ b/gitfame/test/integration/testdata/tests/23/expected.out @@ -0,0 +1 @@ +Name,Lines,Commits,Files diff --git a/gitfame/test/integration/testdata/tests/24/description.yaml b/gitfame/test/integration/testdata/tests/24/description.yaml new file mode 100644 index 0000000..e8302df --- /dev/null +++ b/gitfame/test/integration/testdata/tests/24/description.yaml @@ -0,0 +1,6 @@ +# bad format + +name: bad format +args: [--format, yson, --revision, v1.0] +bundle: simple.bundle +error: true diff --git a/gitfame/test/integration/testdata/tests/24/expected.out b/gitfame/test/integration/testdata/tests/24/expected.out new file mode 100644 index 0000000..e69de29 diff --git a/gitfame/test/integration/testdata/tests/25/description.yaml b/gitfame/test/integration/testdata/tests/25/description.yaml new file mode 100644 index 0000000..92baf85 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/25/description.yaml @@ -0,0 +1,6 @@ +# bad sort order + +name: bad sort oder +args: [--order-by, time, --revision, v1.0] +bundle: simple.bundle +error: true diff --git a/gitfame/test/integration/testdata/tests/25/expected.out b/gitfame/test/integration/testdata/tests/25/expected.out new file mode 100644 index 0000000..e69de29 diff --git a/gitfame/test/integration/testdata/tests/26/description.yaml b/gitfame/test/integration/testdata/tests/26/description.yaml new file mode 100644 index 0000000..06c6d6f --- /dev/null +++ b/gitfame/test/integration/testdata/tests/26/description.yaml @@ -0,0 +1,6 @@ +# bad revision + +name: bad revision +args: [--revision, head] +bundle: simple.bundle +error: true diff --git a/gitfame/test/integration/testdata/tests/26/expected.out b/gitfame/test/integration/testdata/tests/26/expected.out new file mode 100644 index 0000000..e69de29 diff --git a/gitfame/test/integration/testdata/tests/27/description.yaml b/gitfame/test/integration/testdata/tests/27/description.yaml new file mode 100644 index 0000000..61dd8e6 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/27/description.yaml @@ -0,0 +1,5 @@ +# go-cmp, HEAD, tabular + +name: go-cmp HEAD tabular +args: [] +bundle: go-cmp.bundle diff --git a/gitfame/test/integration/testdata/tests/27/expected.out b/gitfame/test/integration/testdata/tests/27/expected.out new file mode 100644 index 0000000..ec0dd1f --- /dev/null +++ b/gitfame/test/integration/testdata/tests/27/expected.out @@ -0,0 +1,17 @@ +Name Lines Commits Files +Joe Tsai 13818 94 54 +colinnewell 130 1 1 +A. Ishikawa 92 1 2 +Roger Peppe 59 1 2 +Tobias Klauser 35 2 3 +178inaba 27 2 5 +Kyle Lemons 11 1 1 +Dmitri Shuralyov 8 1 2 +ferhat elmas 7 1 4 +Christian Muehlhaeuser 6 3 4 +k.nakada 5 1 3 +LMMilewski 5 1 2 +Ernest Galbrun 3 1 1 +Ross Light 2 1 1 +Chris Morrow 1 1 1 +Fiisio 1 1 1 diff --git a/gitfame/test/integration/testdata/tests/28/description.yaml b/gitfame/test/integration/testdata/tests/28/description.yaml new file mode 100644 index 0000000..4625c4f --- /dev/null +++ b/gitfame/test/integration/testdata/tests/28/description.yaml @@ -0,0 +1,6 @@ +# go-cmp, HEAD, json + +name: go-cmp HEAD json +args: [--format, json] +bundle: go-cmp.bundle +format: json diff --git a/gitfame/test/integration/testdata/tests/28/expected.out b/gitfame/test/integration/testdata/tests/28/expected.out new file mode 100644 index 0000000..26e55c0 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/28/expected.out @@ -0,0 +1 @@ +[{"name":"Joe Tsai","lines":13818,"commits":94,"files":54},{"name":"colinnewell","lines":130,"commits":1,"files":1},{"name":"A. Ishikawa","lines":92,"commits":1,"files":2},{"name":"Roger Peppe","lines":59,"commits":1,"files":2},{"name":"Tobias Klauser","lines":35,"commits":2,"files":3},{"name":"178inaba","lines":27,"commits":2,"files":5},{"name":"Kyle Lemons","lines":11,"commits":1,"files":1},{"name":"Dmitri Shuralyov","lines":8,"commits":1,"files":2},{"name":"ferhat elmas","lines":7,"commits":1,"files":4},{"name":"Christian Muehlhaeuser","lines":6,"commits":3,"files":4},{"name":"k.nakada","lines":5,"commits":1,"files":3},{"name":"LMMilewski","lines":5,"commits":1,"files":2},{"name":"Ernest Galbrun","lines":3,"commits":1,"files":1},{"name":"Ross Light","lines":2,"commits":1,"files":1},{"name":"Chris Morrow","lines":1,"commits":1,"files":1},{"name":"Fiisio","lines":1,"commits":1,"files":1}] \ No newline at end of file diff --git a/gitfame/test/integration/testdata/tests/29/description.yaml b/gitfame/test/integration/testdata/tests/29/description.yaml new file mode 100644 index 0000000..53d2195 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/29/description.yaml @@ -0,0 +1,6 @@ +# go-cmp, HEAD, json-lines + +name: go-cmp HEAD json +args: [--format, json-lines] +bundle: go-cmp.bundle +format: json-lines diff --git a/gitfame/test/integration/testdata/tests/29/expected.out b/gitfame/test/integration/testdata/tests/29/expected.out new file mode 100644 index 0000000..3230bc7 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/29/expected.out @@ -0,0 +1,16 @@ +{"name":"Joe Tsai","lines":13818,"commits":94,"files":54} +{"name":"colinnewell","lines":130,"commits":1,"files":1} +{"name":"A. Ishikawa","lines":92,"commits":1,"files":2} +{"name":"Roger Peppe","lines":59,"commits":1,"files":2} +{"name":"Tobias Klauser","lines":35,"commits":2,"files":3} +{"name":"178inaba","lines":27,"commits":2,"files":5} +{"name":"Kyle Lemons","lines":11,"commits":1,"files":1} +{"name":"Dmitri Shuralyov","lines":8,"commits":1,"files":2} +{"name":"ferhat elmas","lines":7,"commits":1,"files":4} +{"name":"Christian Muehlhaeuser","lines":6,"commits":3,"files":4} +{"name":"k.nakada","lines":5,"commits":1,"files":3} +{"name":"LMMilewski","lines":5,"commits":1,"files":2} +{"name":"Ernest Galbrun","lines":3,"commits":1,"files":1} +{"name":"Ross Light","lines":2,"commits":1,"files":1} +{"name":"Chris Morrow","lines":1,"commits":1,"files":1} +{"name":"Fiisio","lines":1,"commits":1,"files":1} diff --git a/gitfame/test/integration/testdata/tests/3/description.yaml b/gitfame/test/integration/testdata/tests/3/description.yaml new file mode 100644 index 0000000..51e58ac --- /dev/null +++ b/gitfame/test/integration/testdata/tests/3/description.yaml @@ -0,0 +1,5 @@ +# .md with single line + +name: single line +args: [--format, csv, --revision, a7b4f155866102b0559392440f4217bc3c19bf62] +bundle: simple.bundle diff --git a/gitfame/test/integration/testdata/tests/3/expected.out b/gitfame/test/integration/testdata/tests/3/expected.out new file mode 100644 index 0000000..20369b0 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/3/expected.out @@ -0,0 +1,2 @@ +Name,Lines,Commits,Files +Rober Griesemer,1,1,1 diff --git a/gitfame/test/integration/testdata/tests/4/description.yaml b/gitfame/test/integration/testdata/tests/4/description.yaml new file mode 100644 index 0000000..057db6b --- /dev/null +++ b/gitfame/test/integration/testdata/tests/4/description.yaml @@ -0,0 +1,5 @@ +# .md with single line, filtered out with --extensions + +name: single file, extensions filter +args: [--format, csv, --revision, a7b4f155866102b0559392440f4217bc3c19bf62, --extensions, .go] +bundle: simple.bundle diff --git a/gitfame/test/integration/testdata/tests/4/expected.out b/gitfame/test/integration/testdata/tests/4/expected.out new file mode 100644 index 0000000..faaeb6f --- /dev/null +++ b/gitfame/test/integration/testdata/tests/4/expected.out @@ -0,0 +1 @@ +Name,Lines,Commits,Files diff --git a/gitfame/test/integration/testdata/tests/5/description.yaml b/gitfame/test/integration/testdata/tests/5/description.yaml new file mode 100644 index 0000000..b5eb3f0 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/5/description.yaml @@ -0,0 +1,5 @@ +# .md with single line, filtered out with --languages + +name: single file, languages filter +args: [--format, csv, --revision, a7b4f155866102b0559392440f4217bc3c19bf62, --languages, c++] +bundle: simple.bundle diff --git a/gitfame/test/integration/testdata/tests/5/expected.out b/gitfame/test/integration/testdata/tests/5/expected.out new file mode 100644 index 0000000..faaeb6f --- /dev/null +++ b/gitfame/test/integration/testdata/tests/5/expected.out @@ -0,0 +1 @@ +Name,Lines,Commits,Files diff --git a/gitfame/test/integration/testdata/tests/6/description.yaml b/gitfame/test/integration/testdata/tests/6/description.yaml new file mode 100644 index 0000000..b9650bd --- /dev/null +++ b/gitfame/test/integration/testdata/tests/6/description.yaml @@ -0,0 +1,5 @@ +# .md with single line, excluded + +name: single file excluded +args: [--format, csv, --revision, a7b4f155866102b0559392440f4217bc3c19bf62, --exclude, read*] +bundle: simple.bundle diff --git a/gitfame/test/integration/testdata/tests/6/expected.out b/gitfame/test/integration/testdata/tests/6/expected.out new file mode 100644 index 0000000..faaeb6f --- /dev/null +++ b/gitfame/test/integration/testdata/tests/6/expected.out @@ -0,0 +1 @@ +Name,Lines,Commits,Files diff --git a/gitfame/test/integration/testdata/tests/7/description.yaml b/gitfame/test/integration/testdata/tests/7/description.yaml new file mode 100644 index 0000000..f57fc8d --- /dev/null +++ b/gitfame/test/integration/testdata/tests/7/description.yaml @@ -0,0 +1,5 @@ +# .md + .go x 2 + +name: HEAD^1 +args: [--format, csv, --revision, HEAD^1] +bundle: simple.bundle diff --git a/gitfame/test/integration/testdata/tests/7/expected.out b/gitfame/test/integration/testdata/tests/7/expected.out new file mode 100644 index 0000000..ce1452a --- /dev/null +++ b/gitfame/test/integration/testdata/tests/7/expected.out @@ -0,0 +1,3 @@ +Name,Lines,Commits,Files +Rob Pike,7,3,2 +Brad Fitzpatrick,1,1,1 diff --git a/gitfame/test/integration/testdata/tests/8/description.yaml b/gitfame/test/integration/testdata/tests/8/description.yaml new file mode 100644 index 0000000..644bae1 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/8/description.yaml @@ -0,0 +1,5 @@ +# .md + .go x 2, tag, + +name: tag +args: [--format, csv, --revision, v1.0] +bundle: simple.bundle diff --git a/gitfame/test/integration/testdata/tests/8/expected.out b/gitfame/test/integration/testdata/tests/8/expected.out new file mode 100644 index 0000000..454a570 --- /dev/null +++ b/gitfame/test/integration/testdata/tests/8/expected.out @@ -0,0 +1,3 @@ +Name,Lines,Commits,Files +Rob Pike,12,4,3 +Brad Fitzpatrick,1,1,1 diff --git a/gitfame/test/integration/testdata/tests/9/description.yaml b/gitfame/test/integration/testdata/tests/9/description.yaml new file mode 100644 index 0000000..ccd63fd --- /dev/null +++ b/gitfame/test/integration/testdata/tests/9/description.yaml @@ -0,0 +1,5 @@ +# .md + .go x 2, tag, --use-committer + +name: tag committer +args: [--format, csv, --revision, v1.0, --use-committer] +bundle: simple.bundle diff --git a/gitfame/test/integration/testdata/tests/9/expected.out b/gitfame/test/integration/testdata/tests/9/expected.out new file mode 100644 index 0000000..71e76dc --- /dev/null +++ b/gitfame/test/integration/testdata/tests/9/expected.out @@ -0,0 +1,4 @@ +Name,Lines,Commits,Files +Rob Pike,7,3,2 +Randall77,5,1,1 +Brad Fitzpatrick,1,1,1 diff --git a/go.mod b/go.mod index 6638c76..432497f 100644 --- a/go.mod +++ b/go.mod @@ -5,6 +5,9 @@ go 1.13 require ( github.com/ClickHouse/clickhouse-go v1.4.0 github.com/DATA-DOG/go-sqlmock v1.4.1 + github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 // indirect + github.com/coreos/go-etcd v2.0.0+incompatible // indirect + github.com/cpuguy83/go-md2man v1.0.10 // indirect github.com/go-redis/redis v6.15.7+incompatible github.com/go-resty/resty/v2 v2.1.0 github.com/gofrs/uuid v3.2.0+incompatible @@ -16,8 +19,10 @@ require ( github.com/jackc/pgx/v4 v4.6.0 github.com/jmoiron/sqlx v1.2.0 github.com/jonboulle/clockwork v0.1.0 - github.com/spf13/cobra v0.0.5 + github.com/spf13/cobra v1.1.3 github.com/stretchr/testify v1.5.1 + github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 // indirect + github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 // indirect go.uber.org/goleak v1.0.0 go.uber.org/zap v1.14.0 golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7 @@ -25,5 +30,6 @@ require ( golang.org/x/sync v0.0.0-20190423024810-112230192c58 golang.org/x/sys v0.0.0-20200409092240-59c9f1ba88fa golang.org/x/tools v0.0.0-20200125223703-d33eef8e6825 - gopkg.in/yaml.v2 v2.2.8 + gopkg.in/src-d/go-git.v4 v4.13.1 // indirect + gopkg.in/yaml.v2 v2.4.0 ) diff --git a/go.sum b/go.sum index 8431ab2..3ad6e74 100644 --- a/go.sum +++ b/go.sum @@ -1,29 +1,75 @@ cloud.google.com/go v0.0.0-20170206221025-ce650573d812/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/ClickHouse/clickhouse-go v1.4.0 h1:cC1DEZ1TL74QviZY4svlwow84X5r7/BGd78kf18swhI= github.com/ClickHouse/clickhouse-go v1.4.0/go.mod h1:EaI/sW7Azgz9UATzd5ZdZHRUhHgv5+JMS9NSr2smCJI= github.com/DATA-DOG/go-sqlmock v1.4.1 h1:ThlnYciV1iM/V0OSF/dtkqWb6xo5qITT1TJBG1MRDJM= github.com/DATA-DOG/go-sqlmock v1.4.1/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20190129172621-c8b1d7a94ddf/go.mod h1:aJ4qN3TfrelA6NZ6AXsXRfmEVaYin3EDbSPJrKS8OXo= +github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/aclements/go-gg v0.0.0-20170118225347-6dbb4e4fefb0/go.mod h1:55qNq4vcpkIuHowELi5C8e+1yUHtoLoOUR9QU5j7Tes= github.com/aclements/go-moremath v0.0.0-20161014184102-0ff62e0875ff/go.mod h1:idZL3yvz4kzx1dsBOAC+oYv6L92P1oFEhUXUB1A/lwQ= +github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= +github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bkaradzic/go-lz4 v1.0.0/go.mod h1:0YdlkowM3VswSROI7qDxhRvJ3sLhlFrRRwjwegp5jy4= +github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= +github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/golz4 v0.0.0-20150217214814-ef862a3cdc58 h1:F1EaeKL/ta07PY/k9Os/UFtwERei2/XzGemhpGnBKNg= github.com/cloudflare/golz4 v0.0.0-20150217214814-ef862a3cdc58/go.mod h1:EOBUe0h4xcZ5GoxqC5SDxFQ8gwyZPKQoEzownBlhI80= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= +github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= +github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg= +github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-redis/redis v6.15.7+incompatible h1:3skhDh95XQMpnqeqNftPkQD9jL9e5e36z/1SUm6dy1U= github.com/go-redis/redis v6.15.7+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= github.com/go-resty/resty/v2 v2.1.0 h1:Z6IefCpUMfnvItVJaJXWv/pMiiD11So35QgwEELsldE= @@ -33,25 +79,66 @@ github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gofrs/uuid v3.2.0+incompatible h1:y12jRkkFxsd7GpqdSZ+/KCs/fJbqpEXSGd4+jfEaewE= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/mock v1.4.1 h1:ocYkMQY5RrXTYgXl7ICpV0IXwlEQGwKIsery4gyXa1U= github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/gonum/blas v0.0.0-20181208220705-f22b278b28ac/go.mod h1:P32wAyui1PQ58Oce/KYkOqQv8cVw1zAapXOl+dRFGbc= github.com/gonum/floats v0.0.0-20181209220543-c233463c7e82/go.mod h1:PxC8OnwL11+aosOB5+iEPoV3picfs8tUpkVd0pDo+Kg= github.com/gonum/internal v0.0.0-20181124074243-f884aa714029/go.mod h1:Pu4dmpkhSyOzRwuXkOgAvijx4o+4YMUJJo9OvPYMkks= github.com/gonum/lapack v0.0.0-20181123203213-e4cdc5a0bff9/go.mod h1:XA3DeT6rxh2EAE789SSiSJNqxPaC0aE9J8NTOI0Jo/A= github.com/gonum/matrix v0.0.0-20181209220409-c518dec07be9/go.mod h1:0EXg4mc1CNP0HCqCz+K4ts155PXIlUywf0wqN+GfPZw= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/googleapis/gax-go v0.0.0-20161107002406-da06d194a00e/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/handlers v1.4.2 h1:0QniY0USkHQ1RGCLfKxeNHK9bkDHGRYGNDFBCS+YARg= github.com/gorilla/handlers v1.4.2/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= github.com/gorilla/mux v1.7.4 h1:VuZ8uybHlWmqV03+zRzdwKL4tUnIp1MAQtp1mIFE1bc= github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= +github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= +github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= +github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jackc/chunkreader v1.0.0 h1:4s39bBR8ByfqH+DKm8rQA3E1LHZWB9XWcrz8fqaZbe0= @@ -94,13 +181,24 @@ github.com/jackc/pgx/v4 v4.6.0/go.mod h1:vPh43ZzxijXUVJ+t/EmXBtFmbFVO72cuneCT9oA github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jmoiron/sqlx v1.2.0 h1:41Ip0zITnmWNR/vHV+S4m+VoUivnWY5E4OJfLZjCJMA= github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= github.com/jonboulle/clockwork v0.1.0 h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd h1:Coekwdh0v2wtGp9Gmz1Ze3eVRAWJMLokvN3QjdzCHLY= +github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -111,38 +209,86 @@ github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= github.com/mattn/go-sqlite3 v0.0.0-20161215041557-2d44decb4941/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= +github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= +github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= +github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= +github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v0.0.5 h1:f0B+LkLX6DtmRH1isoNA9VTtNUK9K8xYd28JNNfOv/s= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= +github.com/spf13/cobra v1.1.3 h1:xghbfqPkxzxP3C/f3n5DdpAbdKLj4ZE4BWQI362l53M= +github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= +github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= +github.com/src-d/gcfg v1.4.0 h1:xXbNR5AlLSA315x2UO+fTSSAXCDf+Ar38/6oyGbDKQ4= +github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI= github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -153,9 +299,17 @@ github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJy github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= +github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70= +github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= +go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0 h1:OI5t8sDa1Or+q8AeE+yKeB/SDYioSHAgcVljj9JIETY= @@ -173,59 +327,126 @@ go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.14.0 h1:/pduUoebOeeJzTDFuoMgC6nRkiasr1sBCIEorly7m4o= go.uber.org/zap v1.14.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59 h1:3zb4D3T4G8jdExgVU/95+vQXfpEPiMdCaZgmGVxjNHM= golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7 h1:rTIdg5QFRR7XCaK4LCjBiPbx8j4DQRpdYMnGn/bJUEU= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7 h1:fHDIZ2oxGnUZRN6WgWFCbYBjH9uqVPRCUVUDhs0wnbA= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/oauth2 v0.0.0-20170207211851-4464e7848382/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/perf v0.0.0-20191209155426-36b577b0eb03 h1:KBM1Z6efANgwwa1Rns+b3KRyuKhLRVC/OeHhFMFJqOA= golang.org/x/perf v0.0.0-20191209155426-36b577b0eb03/go.mod h1:FrqOtQDO3iMDVUtw5nNTDFpR1HUCGh00M3kj2wiSzLQ= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200409092240-59c9f1ba88fa h1:mQTN3ECqfsViCNBgq+A40vdwhkGykrrQlYe3mPj6BoU= golang.org/x/sys v0.0.0-20200409092240-59c9f1ba88fa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200125223703-d33eef8e6825 h1:aNQeSIHKi0RWpKA5NO0CqyLjx6Beh5l0LLUEnndEjz0= golang.org/x/tools v0.0.0-20200125223703-d33eef8e6825/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -236,19 +457,58 @@ golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.0.0-20170206182103-3d017632ea10/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/grpc v0.0.0-20170208002647-2a6bf6142e96/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= +gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/src-d/go-billy.v4 v4.3.2 h1:0SQA1pRztfTFx2miS8sA97XvooFeNOmvUenF4o0EcVg= +gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98= +gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g= +gopkg.in/src-d/go-git.v4 v4.13.1 h1:SRtFyV8Kxc0UP7aCHcijOMQGPxHSmMOPrzulQWolkYE= +gopkg.in/src-d/go-git.v4 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8= +gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=