Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #31 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 9.0.0
  • Loading branch information
andyone authored Sep 26, 2019
2 parents f3f3677 + 17619fb commit 0f8502e
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ language: go
go:
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- tip

branches:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

### 9.0.0

* `ek` package updated to v11

---

### 8.0.0

* `ek` package updated to v10
Expand Down
15 changes: 10 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
################################################################################

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

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

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

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

deps: ## Download dependencies
git-config: ## Configure git redirects for stable import path services
git config --global http.https://pkg.re.followRedirects true
go get -d -v pkg.re/essentialkaos/ek.v10

deps: git-config ## Download dependencies
go get -d -v pkg.re/essentialkaos/ek.v11

fmt: ## Format source code with gofmt
find . -name "*.go" -exec gofmt -s -w {} \;
Expand All @@ -22,9 +26,10 @@ metalinter: ## Install and run gometalinter
$(GOPATH)/bin/gometalinter --deadline 30s

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.2.0\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-librato.svg"/></a></p>

<p align="center"><a href="#installation">Installation</a> • <a href="#examples">Examples</a> • <a href="#license">License</a></p>

<p align="center">
<a href="https://godoc.org/pkg.re/essentialkaos/librato.v8"><img src="https://godoc.org/pkg.re/essentialkaos/librato.v8?status.svg"></a>
<a href="https://travis-ci.org/essentialkaos/librato"><img src="https://travis-ci.org/essentialkaos/librato.svg"></a>
Expand All @@ -10,6 +8,10 @@
<a href="https://essentialkaos.com/ekol"><img src="https://gh.kaos.st/ekol.svg"></a>
</p>

<p align="center"><a href="#installation">Installation</a> • <a href="#examples">Examples</a> • <a href="#license">License</a></p>

<br/>

Package for working with [Librato Metrics](https://www.librato.com) API from Go code.

### Installation
Expand All @@ -23,13 +25,13 @@ git config --global http.https://pkg.re.followRedirects true
Make sure you have a working Go 1.10+ workspace (_[instructions](https://golang.org/doc/install)_), then

```
go get pkg.re/essentialkaos/librato.v8
go get pkg.re/essentialkaos/librato.v9
```

For update to latest stable release, do:

```
go get -u pkg.re/essentialkaos/librato.v8
go get -u pkg.re/essentialkaos/librato.v9
```

### Examples
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 examples/annotations_example.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"time"

"pkg.re/essentialkaos/librato.v8"
"github.com/essentialkaos/librato"
)

// ////////////////////////////////////////////////////////////////////////////////// //
Expand Down
2 changes: 1 addition & 1 deletion examples/async_example.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"math/rand"
"time"

"pkg.re/essentialkaos/librato.v8"
"github.com/essentialkaos/librato"
)

// ////////////////////////////////////////////////////////////////////////////////// //
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_example.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"math/rand"
"time"

"pkg.re/essentialkaos/librato.v8"
"github.com/essentialkaos/librato"
)

// ////////////////////////////////////////////////////////////////////////////////// //
Expand Down
2 changes: 1 addition & 1 deletion examples/collector_example.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"math/rand"
"time"

"pkg.re/essentialkaos/librato.v8"
"github.com/essentialkaos/librato"
)

// ////////////////////////////////////////////////////////////////////////////////// //
Expand Down
8 changes: 4 additions & 4 deletions librato.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package librato

// ////////////////////////////////////////////////////////////////////////////////// //
// //
// Copyright (c) 2009-2018 ESSENTIAL KAOS //
// Copyright (c) 2009-2019 ESSENTIAL KAOS //
// Essential Kaos Open Source License <https://essentialkaos.com/ekol> //
// //
// ////////////////////////////////////////////////////////////////////////////////// //
Expand All @@ -15,14 +15,14 @@ import (
"strings"
"time"

"pkg.re/essentialkaos/ek.v10/req"
"pkg.re/essentialkaos/ek.v10/timeutil"
"pkg.re/essentialkaos/ek.v11/req"
"pkg.re/essentialkaos/ek.v11/timeutil"
)

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

// VERSION contains current version of librato package and used as part of User-Agent
const VERSION = "8.0.0"
const VERSION = "9.0.0"

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

Expand Down

0 comments on commit 0f8502e

Please sign in to comment.