Merge pull request #85 from hpcloud/update-licensing
Updates licensing and all the header comments
This commit is contained in:
commit
fff2f2d9e0
|
@ -1,15 +1,16 @@
|
||||||
# API current (gopkg.in/ActiveState/tail)
|
# API v1 (gopkg.in/hpcloud/tail.v1)
|
||||||
|
|
||||||
## April, 2016
|
## April, 2016
|
||||||
|
|
||||||
* Migrated to godep, as depman is not longer supported
|
* Migrated to godep, as depman is not longer supported
|
||||||
* Introduced golang vendoring feature
|
* Introduced golang vendoring feature
|
||||||
|
* Fixed issue [#57](https://github.com/hpcloud/tail/issues/57) related to reopen deleted file
|
||||||
|
|
||||||
## July, 2015
|
## July, 2015
|
||||||
|
|
||||||
* Fix inotify watcher leak; remove `Cleanup` (#51)
|
* Fix inotify watcher leak; remove `Cleanup` (#51)
|
||||||
|
|
||||||
# API v0 (gopkg.in/ActiveState/tail.v0)
|
# API v0 (gopkg.in/hpcloud/tail.v0)
|
||||||
|
|
||||||
## June, 2015
|
## June, 2015
|
||||||
|
|
||||||
|
|
38
LICENSE.txt
38
LICENSE.txt
|
@ -1,23 +1,21 @@
|
||||||
# This is the MIT license
|
# The MIT License (MIT)
|
||||||
|
|
||||||
# Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
# © Copyright 2015 Hewlett Packard Enterprise Development LP
|
||||||
|
Copyright (c) 2014 ActiveState
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
copy of this software and associated documentation files (the
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
"Software"), to deal in the Software without restriction, including
|
in the Software without restriction, including without limitation the rights
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
furnished to do so, subject to the following conditions:
|
||||||
the following conditions:
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
The above copyright notice and this permission notice shall be included
|
|
||||||
in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
||||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
|
||||||
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -5,8 +6,9 @@ package main
|
||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/hpcloud/tail"
|
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
"github.com/hpcloud/tail"
|
||||||
)
|
)
|
||||||
|
|
||||||
func args2config() (tail.Config, int64) {
|
func args2config() (tail.Config, int64) {
|
||||||
|
|
1
tail.go
1
tail.go
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
|
||||||
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
||||||
|
|
||||||
package tail
|
package tail
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
|
||||||
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
|
||||||
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
@ -17,7 +18,7 @@ var LOGGER = &Logger{log.New(os.Stderr, "", log.LstdFlags)}
|
||||||
|
|
||||||
// fatal is like panic except it displays only the current goroutine's stack.
|
// fatal is like panic except it displays only the current goroutine's stack.
|
||||||
func Fatal(format string, v ...interface{}) {
|
func Fatal(format string, v ...interface{}) {
|
||||||
// https://github.com/ActiveState/log/blob/master/log.go#L45
|
// https://github.com/hpcloud/log/blob/master/log.go#L45
|
||||||
LOGGER.Output(2, fmt.Sprintf("FATAL -- "+format, v...)+"\n"+string(debug.Stack()))
|
LOGGER.Output(2, fmt.Sprintf("FATAL -- "+format, v...)+"\n"+string(debug.Stack()))
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
|
||||||
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
||||||
|
|
||||||
package watch
|
package watch
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
|
||||||
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
||||||
|
|
||||||
package watch
|
package watch
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
|
||||||
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
||||||
|
|
||||||
package watch
|
package watch
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
|
||||||
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
|
||||||
|
|
||||||
package watch
|
package watch
|
||||||
|
|
Loading…
Reference in New Issue