From 3f3383dc0a0de9d6a0444bba71603e5c5d248f0b Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Mon, 21 May 2018 14:34:20 +0200 Subject: Migrate to dep (#3972) * Update makefile to use dep * Migrate to dep * Fix some deps * Try to find a better version for golang.org/x/net * Try to find a better version for golang.org/x/oauth2 --- vendor/github.com/pingcap/go-hbase/README.md | 14 - vendor/github.com/pingcap/go-themis/README.md | 30 - vendor/github.com/pingcap/tidb/CONTRIBUTING.md | 65 - vendor/github.com/pingcap/tidb/Dockerfile | 15 - .../_workspace/src/github.com/boltdb/bolt/LICENSE | 20 + .../src/github.com/go-sql-driver/mysql/AUTHORS | 44 + .../src/github.com/go-sql-driver/mysql/LICENSE | 373 ++ .../src/github.com/golang/snappy/AUTHORS | 14 + .../src/github.com/golang/snappy/CONTRIBUTORS | 36 + .../src/github.com/golang/snappy/LICENSE | 27 + .../_workspace/src/github.com/juju/errors/LICENSE | 191 + .../_workspace/src/github.com/ngaut/log/LICENSE | 165 + .../_workspace/src/github.com/peterh/liner/COPYING | 21 + .../src/github.com/rcrowley/go-metrics/LICENSE | 29 + .../_workspace/src/github.com/twinj/uuid/LICENSE | 20 + vendor/github.com/pingcap/tidb/LICENSES/LICENSE | 201 + vendor/github.com/pingcap/tidb/Makefile | 138 - vendor/github.com/pingcap/tidb/README.md | 62 - vendor/github.com/pingcap/tidb/gitcookie.sh | 9 - vendor/github.com/pingcap/tidb/make.cmd | 32 - vendor/github.com/pingcap/tidb/parser/parser.y | 4688 -------------------- vendor/github.com/pingcap/tidb/parser/scanner.l | 1259 ------ 22 files changed, 1141 insertions(+), 6312 deletions(-) delete mode 100644 vendor/github.com/pingcap/go-hbase/README.md delete mode 100644 vendor/github.com/pingcap/go-themis/README.md delete mode 100644 vendor/github.com/pingcap/tidb/CONTRIBUTING.md delete mode 100644 vendor/github.com/pingcap/tidb/Dockerfile create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/boltdb/bolt/LICENSE create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/go-sql-driver/mysql/AUTHORS create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/go-sql-driver/mysql/LICENSE create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/golang/snappy/AUTHORS create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/golang/snappy/CONTRIBUTORS create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/golang/snappy/LICENSE create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/juju/errors/LICENSE create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/ngaut/log/LICENSE create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/peterh/liner/COPYING create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/rcrowley/go-metrics/LICENSE create mode 100644 vendor/github.com/pingcap/tidb/Godeps/_workspace/src/github.com/twinj/uuid/LICENSE create mode 100644 vendor/github.com/pingcap/tidb/LICENSES/LICENSE delete mode 100644 vendor/github.com/pingcap/tidb/Makefile delete mode 100644 vendor/github.com/pingcap/tidb/README.md delete mode 100644 vendor/github.com/pingcap/tidb/gitcookie.sh delete mode 100644 vendor/github.com/pingcap/tidb/make.cmd delete mode 100644 vendor/github.com/pingcap/tidb/parser/parser.y delete mode 100644 vendor/github.com/pingcap/tidb/parser/scanner.l (limited to 'vendor/github.com/pingcap') diff --git a/vendor/github.com/pingcap/go-hbase/README.md b/vendor/github.com/pingcap/go-hbase/README.md deleted file mode 100644 index 1cfc1837fe..0000000000 --- a/vendor/github.com/pingcap/go-hbase/README.md +++ /dev/null @@ -1,14 +0,0 @@ -#go-hbase - -[![Build Status](https://travis-ci.org/pingcap/go-hbase.svg)](https://travis-ci.org/pingcap/go-hbase) - -Derived from [Lazyshot/go-hbase](https://github.com/Lazyshot/go-hbase). Add some new features and fix some bugs. - -## New Features - -1. Coprocessor EndPoint call. -2. Goroutine-safe. -3. Admin commands: Create/Disable/Drop table. -4. Pipelined RPC. - -Support HBase >= 0.98.5 diff --git a/vendor/github.com/pingcap/go-themis/README.md b/vendor/github.com/pingcap/go-themis/README.md deleted file mode 100644 index e7e45684c4..0000000000 --- a/vendor/github.com/pingcap/go-themis/README.md +++ /dev/null @@ -1,30 +0,0 @@ -# go-themis -[![Build Status](https://travis-ci.org/pingcap/go-themis.svg?branch=master)](https://travis-ci.org/pingcap/go-themis) - -go-themis is a Go client for [pingcap/themis](https://github.com/pingcap/themis). - -Themis provides cross-row/cross-table transaction on HBase based on [google's Percolator](http://research.google.com/pubs/pub36726.html). - -go-themis is depends on [pingcap/go-hbase](https://github.com/pingcap/go-hbase). - -Install: - -``` -go get -u github.com/pingcap/go-themis -``` - -Example: - -``` -tx := themis.NewTxn(c, oracles.NewLocalOracle()) -put := hbase.NewPut([]byte("Row1")) -put.AddValue([]byte("cf"), []byte("q"), []byte("value")) - -put2 := hbase.NewPut([]byte("Row2")) -put2.AddValue([]byte("cf"), []byte("q"), []byte("value")) - -tx.Put(tblName, put) -tx.Put(tblName, put2) - -tx.Commit() -``` diff --git a/vendor/github.com/pingcap/tidb/CONTRIBUTING.md b/vendor/github.com/pingcap/tidb/CONTRIBUTING.md deleted file mode 100644 index d8d3b60ecc..0000000000 --- a/vendor/github.com/pingcap/tidb/CONTRIBUTING.md +++ /dev/null @@ -1,65 +0,0 @@ -# How to contribute - -This document outlines some of the conventions on development workflow, commit message formatting, contact points and other -resources to make it easier to get your contribution accepted. - -## Getting started - -- Fork the repository on GitHub. -- Read the README.md for build instructions. -- Play with the project, submit bugs, submit patches! - -## Contribution flow - -This is a rough outline of what a contributor's workflow looks like: - -- Create a topic branch from where you want to base your work. This is usually master. -- Make commits of logical units and add test case if the change fixes a bug or adds new functionality. -- Run tests and make sure all the tests are passed. -- Make sure your commit messages are in the proper format (see below). -- Push your changes to a topic branch in your fork of the repository. -- Submit a pull request to pingcap/tidb. -- Your PR must receive LGTMs from two maintainers found in the [MAINTAINERS](./docs/MAINTAINERS.md) file. - -Thanks for your contributions! - -### Code style - -The coding style suggested by the Golang community is used in TiDB. See the [style doc](https://github.com/golang/go/wiki/CodeReviewComments) for details. - -Please follow this style to make TiDB easy to review, maintain and develop. - -### Format of the Commit Message - -We follow a rough convention for commit messages that is designed to answer two -questions: what changed and why. The subject line should feature the what and -the body of the commit should describe the why. - -``` -store/localstore: add comment for variable declaration. - -Improve documentation. -``` - -The format can be described more formally as follows: - -``` -: - - - -