At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.
`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* update alizer to ad2d305
* go mod vendor
* add wwhrd exceptions for github.com/pjbgf/sha1cd/
* update go-git to v5.6.1
* go mod vendor
* fixup! go mod vendor
---------
Co-authored-by: Armel Soro <asoro@redhat.com>
* Use ActiveState/termtest for interactive tests, which works with Windows
* Fix interactive tests to pass on Windows
* Fix windows tests script
* Set SKIP_WELCOMING_MESSAGES on Windowd tests
* No not resize terminal
* Kill previous odo processes
* Increase timeout for Expect()
* export GOFLAGS=-mod=vendor in Makefile
* use go get instead of go install
for installing test dependencies
* use tools approach to manage testing dependencies
When using this apporoach we can make sure that all dependencies in a
proper version are vendored with the source code.
* go mod vendor
* add wwhrd expection for github.com/hinshun/vt10x
new wwhrd version broke some of the detections
- BSD licence are split to BSD-3-Clause and BSD-2-Clause
- MPL-2.0 is now MPL-2.0-no-copyleft-exception
- some of the previosly detected packages are no detected
* Initial implementation setting up of smart completion.
* Initial implementation for service delete.
* Initial implementation for service create.
This doesn't work properly because we really need to be able to
distinguish between positional arguments.
* Clean-up.
* Add doc.
* Add doc.
* Refactor completion handler code to make it easier to test. Add tests.
* Update vendor.
* Filtering doesn't occur at the completion handler level at this point.
* Add test for delete completion.
* Update glide and vendor.
* Fix format.
* Fix format.
* Add MPL-2.0 to licenses.
* Revert to 1.1.2 version of complete library due to bug with 1.2.0.
See https://github.com/posener/complete/issues/74
* Fix odo -h.
* Add vendor license checks to PR
This PR aims to add automatic detection of licenses of vendor-ed packages for every PR raised
to the Odo repository using a tool called [wwhrd](https://github.com/frapposelli/wwhrd) that
iterates on every vendored package, searches for the license file, detects the license type
and validates the detected license type against the different sections of the configuration
file .wwhrd.yml.
fixes#743
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
* Incoporate comments from @surajnarwade
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
* Incoporate @tkral Comments
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
* Add documentation about the license checks
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
* Incoporate @codeclimate comments
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
* Incoporate @cdrage comments
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
* Incoporate @cdrage and @kadel comments
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
* Incorporate @cdrage comments
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>