Skip to content

Commit

Permalink
Merge pull request #15 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 3.3.0
  • Loading branch information
andyone authored Sep 17, 2019
2 parents 15db736 + d4eea1e commit 2173afa
Show file tree
Hide file tree
Showing 6 changed files with 239 additions and 190 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
dist: xenial

language: go

go:
Expand All @@ -8,6 +6,7 @@ go:
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- tip

branches:
Expand All @@ -23,7 +22,6 @@ matrix:
fast_finish: true
allow_failures:
- go: tip
- os: osx

before_install:
- make deps-test
Expand Down
13 changes: 9 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
################################################################################

# This Makefile generated by GoMakeGen 0.8.1 using next command:
# This Makefile generated by GoMakeGen 1.1.2 using next command:
# gomakegen .
#
# More info: https://kaos.sh/gomakegen

################################################################################

.DEFAULT_GOAL := help
.PHONY = fmt deps-test test help
.PHONY = fmt git-config deps-test test help

################################################################################

deps-test: ## Download dependencies for tests
git-config: ## Configure git redirects for stable import path services
git config --global http.https://pkg.re.followRedirects true

deps-test: git-config ## Download dependencies for tests
go get -d -v pkg.re/check.v1

test: ## Run tests
Expand All @@ -21,9 +25,10 @@ fmt: ## Format source code with gofmt
find . -name "*.go" -exec gofmt -s -w {} \;

help: ## Show this info
@echo -e '\nSupported targets:\n'
@echo -e '\n\033[1mSupported targets:\033[0m\n'
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) \
| awk 'BEGIN {FS = ":.*?## "}; {printf " \033[33m%-12s\033[0m %s\n", $$1, $$2}'
@echo -e ''
@echo -e '\033[90mGenerated by GoMakeGen 1.1.2\033[0m\n'

################################################################################
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<p align="center"><a href="#readme"><img src="https://gh.kaos.st/go-linenoise.svg"/></a></p>

<p align="center"><a href="#installation">Installation</a> • <a href="#example">Example</a> • <a href="#build-status">Build Status</a> • <a href="#license">License</a></p>

<p align="center">
<a href="https://godoc.org/pkg.re/essentialkaos/go-linenoise.v3"><img src="https://godoc.org/pkg.re/essentialkaos/go-linenoise.v3?status.svg"></a>
<a href="https://goreportcard.com/report/github.com/essentialkaos/go-linenoise"><img src="https://goreportcard.com/badge/github.com/essentialkaos/go-linenoise"></a>
Expand All @@ -10,6 +8,10 @@
<a href="https://github.com/essentialkaos/go-linenoise/blob/master/LICENSE"><img src="https://gh.kaos.st/bsd.svg"></a>
</p>

<p align="center"><a href="#installation">Installation</a> • <a href="#example">Example</a> • <a href="#build-status">Build Status</a> • <a href="#license">License</a></p>

<br/>

`go-linenoise` is a Go package wrapping the [linenoise](https://github.com/antirez/linenoise) C library. Since `v3` we use [@yhirose](https://github.com/yhirose) [fork](https://github.com/yhirose/linenoise/tree/utf8-support) with UTF-8 support.

This is fork of [go.linenoise](https://github.com/GeertJohan/go.linenoise) package used in [EK](https://github.com/essentialkaos) projects.
Expand All @@ -36,7 +38,7 @@ go get -u pkg.re/essentialkaos/go-linenoise.v3

### Example

````go
```go
package main

// ////////////////////////////////////////////////////////////////////////// //
Expand All @@ -60,7 +62,7 @@ func main() {
fmt.Printf("Input: %s\n", input)
}

````
```

### Build Status

Expand Down
36 changes: 36 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Security Policies and Procedures

This document outlines security procedures and general policies for all
ESSENTIAL KAOS projects.

* [Reporting a Bug](#reporting-a-bug)
* [Disclosure Policy](#disclosure-policy)

## Reporting a Bug

The ESSENTIAL KAOS team and community take all security bugs in our projects
very seriously. Thank you for improving the security of our project. We
appreciate your efforts and responsible disclosure and will make every effort
to acknowledge your contributions.

Report security bugs by emailing our security team at [email protected].

The security team will acknowledge your email within 48 hours and will send a
more detailed response within 48 hours, indicating the next steps in handling
your report. After the initial reply to your report, the security team will
endeavor to keep you informed of the progress towards a fix and full
announcement, and may ask for additional information or guidance.

Report security bugs in third-party dependencies to the person or team
maintaining the dependencies.

## Disclosure Policy

When the security team receives a security bug report, they will assign it to a
primary handler. This person will coordinate the fix and release process,
involving the following steps:

* Confirm the problem and determine the affected versions;
* Audit code to find any similar potential problems;
* Prepare fixes for all releases still under maintenance. These fixes will be
released as fast as possible.
2 changes: 1 addition & 1 deletion linenoise.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
// ///////////////////////////////////////////////////////////////////////////////// //

// VERSION is current version of go-linenoise package
const VERSION = "3.2.0"
const VERSION = "3.3.0"

// ///////////////////////////////////////////////////////////////////////////////// //

Expand Down
Loading

0 comments on commit 2173afa

Please sign in to comment.