Skip to content

Commit 34db8a6

Browse files
author
Nino Khodabandeh
committed
Updates licensing and all the header comments
1 parent b294095 commit 34db8a6

10 files changed

+32
-24
lines changed

CHANGES.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
# API current (gopkg.in/ActiveState/tail)
1+
# API v1 (gopkg.in/hpcloud/tail.v1)
22

33
## April, 2016
44

55
* Migrated to godep, as depman is not longer supported
66
* Introduced golang vendoring feature
7+
* Fixed issue [#57](https://github.com/hpcloud/tail/issues/57) related to reopen deleted file
78

89
## July, 2015
910

1011
* Fix inotify watcher leak; remove `Cleanup` (#51)
1112

12-
# API v0 (gopkg.in/ActiveState/tail.v0)
13+
# API v0 (gopkg.in/hpcloud/tail.v0)
1314

1415
## June, 2015
1516

LICENSE.txt

+18-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
# This is the MIT license
1+
# The MIT License (MIT)
22

3-
# Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
3+
# © Copyright 2015 Hewlett Packard Enterprise Development LP
4+
Copyright (c) 2014 ActiveState
45

5-
Permission is hereby granted, free of charge, to any person obtaining a
6-
copy of this software and associated documentation files (the
7-
"Software"), to deal in the Software without restriction, including
8-
without limitation the rights to use, copy, modify, merge, publish,
9-
distribute, sublicense, and/or sell copies of the Software, and to
10-
permit persons to whom the Software is furnished to do so, subject to
11-
the following conditions:
12-
13-
The above copyright notice and this permission notice shall be included
14-
in all copies or substantial portions of the Software.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
2314

15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

cmd/gotail/gotail.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
12
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
23

34
package main
45

56
import (
67
"flag"
78
"fmt"
8-
"github.com/hpcloud/tail"
99
"os"
10+
11+
"github.com/hpcloud/tail"
1012
)
1113

1214
func args2config() (tail.Config, int64) {

tail.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
12
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
23

34
package tail

tail_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
12
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
23

34
// TODO:

util/util.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
12
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
23

34
package util
@@ -17,7 +18,7 @@ var LOGGER = &Logger{log.New(os.Stderr, "", log.LstdFlags)}
1718

1819
// fatal is like panic except it displays only the current goroutine's stack.
1920
func Fatal(format string, v ...interface{}) {
20-
// https://github.com/ActiveState/log/blob/master/log.go#L45
21+
// https://github.com/hpcloud/log/blob/master/log.go#L45
2122
LOGGER.Output(2, fmt.Sprintf("FATAL -- "+format, v...)+"\n"+string(debug.Stack()))
2223
os.Exit(1)
2324
}

watch/inotify.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
12
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
23

34
package watch

watch/inotify_tracker.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
12
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
23

34
package watch

watch/polling.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
12
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
23

34
package watch

watch/watch.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright (c) 2015 HPE Software Inc. All rights reserved.
12
// Copyright (c) 2013 ActiveState Software Inc. All rights reserved.
23

34
package watch

0 commit comments

Comments
 (0)