summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2015-12-10 15:19:38 -0700
committerAnthony Fok <foka@debian.org>2015-12-10 15:19:38 -0700
commit8509727fe862d06b3371651454fcb1af54b4ab21 (patch)
tree4220aab1df048bf490000d61a991dbf088ffb823
parente29ede70556c2b5207032d30351f3b53a298ca0c (diff)
Add copyright header to that source files that don’t have one.
See #1646
-rw-r--r--commands/gen.go13
-rw-r--r--commands/genautocomplete.go13
-rw-r--r--commands/gendoc.go13
-rw-r--r--commands/genman.go13
-rw-r--r--commands/limit_darwin.go13
-rw-r--r--commands/limit_others.go13
-rw-r--r--commands/new_test.go13
-rw-r--r--commands/server_test.go13
-rw-r--r--commands/undraft_test.go13
-rw-r--r--helpers/content_renderer.go13
-rw-r--r--helpers/content_renderer_test.go13
-rw-r--r--helpers/content_test.go13
-rw-r--r--helpers/general_test.go13
-rw-r--r--helpers/hugo_test.go13
-rw-r--r--helpers/path_test.go13
-rw-r--r--helpers/pygments_test.go13
-rw-r--r--helpers/url_test.go13
-rw-r--r--hugolib/benchmark_test.go13
-rw-r--r--hugolib/datafiles_test.go13
-rw-r--r--hugolib/handler_test.go13
-rw-r--r--hugolib/hugo.go13
-rw-r--r--hugolib/menu_test.go13
-rw-r--r--hugolib/pageCache_test.go13
-rw-r--r--hugolib/pageGroup_test.go13
-rw-r--r--hugolib/pageSort_test.go13
-rw-r--r--hugolib/page_permalink_test.go13
-rw-r--r--hugolib/page_taxonomy_test.go13
-rw-r--r--hugolib/page_test.go13
-rw-r--r--hugolib/page_time_integration_test.go13
-rw-r--r--hugolib/pagination_test.go13
-rw-r--r--hugolib/path_separators_test.go13
-rw-r--r--hugolib/path_separators_windows_test.go13
-rw-r--r--hugolib/permalinks.go13
-rw-r--r--hugolib/permalinks_test.go13
-rw-r--r--hugolib/planner.go13
-rw-r--r--hugolib/rss_test.go13
-rw-r--r--hugolib/scratch_test.go13
-rw-r--r--hugolib/shortcode_test.go13
-rw-r--r--hugolib/shortcodeparser_test.go13
-rw-r--r--hugolib/siteJSONEncode_test.go13
-rw-r--r--hugolib/site_show_plan_test.go13
-rw-r--r--hugolib/site_test.go13
-rw-r--r--hugolib/site_url_test.go13
-rw-r--r--hugolib/siteinfo_test.go13
-rw-r--r--hugolib/sitemap.go13
-rw-r--r--hugolib/sitemap_test.go13
-rw-r--r--hugolib/summary.go13
-rw-r--r--hugolib/taxonomy_test.go13
-rw-r--r--parser/frontmatter_test.go13
-rw-r--r--parser/page.go13
-rw-r--r--parser/parse_frontmatter_test.go13
-rw-r--r--source/content_directory_test.go13
-rw-r--r--source/file_test.go13
-rw-r--r--source/filesystem_test.go13
-rw-r--r--source/filesystem_unix_test.go13
-rw-r--r--source/filesystem_windows_test.go13
-rw-r--r--source/inmemory.go13
-rw-r--r--source/lazy_file_reader_test.go13
-rw-r--r--target/alias_test.go13
-rw-r--r--target/file.go13
-rw-r--r--target/htmlredirect.go13
-rw-r--r--target/memory.go13
-rw-r--r--target/page.go13
-rw-r--r--target/page_test.go13
-rw-r--r--tpl/template_funcs_test.go13
-rw-r--r--tpl/template_test.go13
-rw-r--r--transform/absurl.go13
-rw-r--r--transform/absurlreplacer.go13
-rw-r--r--transform/chain.go13
-rw-r--r--transform/chain_test.go13
-rw-r--r--transform/livereloadinject.go13
-rw-r--r--transform/livereloadinject_test.go13
-rw-r--r--utils/utils.go13
73 files changed, 949 insertions, 0 deletions
diff --git a/commands/gen.go b/commands/gen.go
index 86bc4918a..62a84b0d0 100644
--- a/commands/gen.go
+++ b/commands/gen.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package commands
import (
diff --git a/commands/genautocomplete.go b/commands/genautocomplete.go
index 54dd7563b..c4e89dd96 100644
--- a/commands/genautocomplete.go
+++ b/commands/genautocomplete.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package commands
import (
diff --git a/commands/gendoc.go b/commands/gendoc.go
index 44d09fb50..563208312 100644
--- a/commands/gendoc.go
+++ b/commands/gendoc.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package commands
import (
diff --git a/commands/genman.go b/commands/genman.go
index a842b49b8..ab2616aa2 100644
--- a/commands/genman.go
+++ b/commands/genman.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package commands
import (
diff --git a/commands/limit_darwin.go b/commands/limit_darwin.go
index e98f10b37..7dc8b7638 100644
--- a/commands/limit_darwin.go
+++ b/commands/limit_darwin.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
// +build darwin
// Copyright 2015 The Hugo Authors. All rights reserved.
//
diff --git a/commands/limit_others.go b/commands/limit_others.go
index 9772a246f..c757f174e 100644
--- a/commands/limit_others.go
+++ b/commands/limit_others.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
// +build !darwin
// Copyright 2015 The Hugo Authors. All rights reserved.
//
diff --git a/commands/new_test.go b/commands/new_test.go
index ceed82626..e74e9cfcc 100644
--- a/commands/new_test.go
+++ b/commands/new_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package commands
import (
diff --git a/commands/server_test.go b/commands/server_test.go
index 7d3c62c13..55d687bcc 100644
--- a/commands/server_test.go
+++ b/commands/server_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package commands
import (
diff --git a/commands/undraft_test.go b/commands/undraft_test.go
index e0a654f3a..45b785bb0 100644
--- a/commands/undraft_test.go
+++ b/commands/undraft_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package commands
// TODO Support Mac Encoding (\r)
diff --git a/helpers/content_renderer.go b/helpers/content_renderer.go
index f7023f8d3..00997900d 100644
--- a/helpers/content_renderer.go
+++ b/helpers/content_renderer.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package helpers
import (
diff --git a/helpers/content_renderer_test.go b/helpers/content_renderer_test.go
index 1c84818a2..09ddf8e60 100644
--- a/helpers/content_renderer_test.go
+++ b/helpers/content_renderer_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package helpers
import (
diff --git a/helpers/content_test.go b/helpers/content_test.go
index f0d76b6ce..dfab5f980 100644
--- a/helpers/content_test.go
+++ b/helpers/content_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package helpers
import (
diff --git a/helpers/general_test.go b/helpers/general_test.go
index 4d85a1299..83e532dbf 100644
--- a/helpers/general_test.go
+++ b/helpers/general_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package helpers
import (
diff --git a/helpers/hugo_test.go b/helpers/hugo_test.go
index 90b63d403..a0012acdf 100644
--- a/helpers/hugo_test.go
+++ b/helpers/hugo_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package helpers
import (
diff --git a/helpers/path_test.go b/helpers/path_test.go
index 6a3d58053..7718730c6 100644
--- a/helpers/path_test.go
+++ b/helpers/path_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package helpers
import (
diff --git a/helpers/pygments_test.go b/helpers/pygments_