From b34a300801f1aa7d044e38c314017253e7080e24 Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Fri, 15 Nov 2019 07:42:46 +1030 Subject: [PATCH] all: fix capitalisation of Gonum This fixes the capitalisation of Gonum where it refers to the project rather than the GitHub organisation or repository. The text of CONTRIBUTORS also is fixed to reflect the reality that contributors may have contributed to other repositories within the project. --- .travis.yml | 2 +- AUTHORS | 2 +- CONTRIBUTING.md | 4 ++-- CONTRIBUTORS | 4 ++-- LICENSE | 2 +- graph/community/louvain.tex | 2 +- graph/encoding/dot/decode.go | 6 +++--- graph/formats/dot/README.md | 2 +- graph/formats/dot/ast/ast.go | 2 +- graph/formats/dot/ast/ast_test.go | 2 +- graph/formats/dot/dot.go | 2 +- graph/formats/dot/internal/astx/astx.go | 2 +- graph/formats/dot/internal/astx/astx_test.go | 2 +- graph/formats/dot/internal/errors/errors.go | 2 +- graph/formats/dot/internal/lexer/acttab.go | 2 +- graph/formats/dot/internal/lexer/lexer.go | 2 +- graph/formats/dot/internal/lexer/lexer_test.go | 2 +- graph/formats/dot/internal/lexer/transitiontable.go | 2 +- graph/formats/dot/internal/parser/action.go | 2 +- graph/formats/dot/internal/parser/actiontable.go | 2 +- graph/formats/dot/internal/parser/gototable.go | 2 +- graph/formats/dot/internal/parser/parser.go | 2 +- graph/formats/dot/internal/parser/parser_test.go | 2 +- graph/formats/dot/internal/parser/productionstable.go | 2 +- graph/formats/dot/internal/paste_copyright.go | 4 ++-- graph/formats/dot/internal/token/token.go | 2 +- graph/formats/dot/internal/util/litconv.go | 2 +- graph/formats/dot/internal/util/rune.go | 2 +- graph/formats/dot/sem.go | 2 +- graph/testgraph/testgraph.go | 2 +- lapack/gonum/doc.go | 2 +- mathext/internal/amos/amoslib/fortran.go | 2 +- 32 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.travis.yml b/.travis.yml index 21921c54..c3cb1ae2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ sudo: false language: go # Do not move these lines; they are referred to by README.md. -# Versions of go that are explicitly supported by gonum plus go tip. +# Versions of go that are explicitly supported by Gonum, plus Go tip. go: - 1.13.x - 1.12.x diff --git a/AUTHORS b/AUTHORS index 132a341d..5423325c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,4 +1,4 @@ -# This is the official list of gonum authors for copyright purposes. +# This is the official list of Gonum authors for copyright purposes. # This file is distinct from the CONTRIBUTORS files. # See the latter for an explanation. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bc90aae1..d40472dd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,7 +34,7 @@ Where possible, the source of algorithms should be referenced in the comments. ## The Gonum Repositories -Here are the current repositories for the gonum project. +Here are the current repositories for the Gonum project. If code you want to contribute doesn't quite fit in any of them, then please start a discussion on the [mailing list](https://groups.google.com/forum/#!forum/gonum-dev). Code can be found at [github.com/gonum/](https://github.com/gonum/)\, and documentation at godoc.org/github.com/gonum/\. @@ -68,7 +68,7 @@ If it is large, such as suggesting a new repository, sub-repository, or interfac ### Your First Code Contribution -If you are a new contributor, thank you! Before your first merge, you will need to be added to the [CONTRIBUTORS](https://github.com/gonum/license/blob/master/CONTRIBUTORS) and [AUTHORS](https://github.com/gonum/license/blob/master/AUTHORS) file. +If you are a new contributor, thank you! Before your first merge, you will need to be added to the [CONTRIBUTORS](https://github.com/gonum/license/blob/master/CONTRIBUTORS) and [AUTHORS](https://github.com/gonum/license/blob/master/AUTHORS) file. Open a pull request adding yourself to them. All Gonum code follows the BSD license in the [license document](https://github.com/gonum/license/blob/master/LICENSE). We prefer that code contributions do not come with additional licensing. diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e90db65c..0524cdf3 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,6 +1,6 @@ # This is the official list of people who can contribute -# (and typically have contributed) code to the gonum -# repository. +# (and typically have contributed) code to the Gonum +# project. # # The AUTHORS file lists the copyright holders; this file # lists people. For example, Google employees would be listed here diff --git a/LICENSE b/LICENSE index 5f1c3f9c..ed477e59 100644 --- a/LICENSE +++ b/LICENSE @@ -7,7 +7,7 @@ modification, are permitted provided that the following conditions are met: * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of the gonum project nor the names of its authors and + * Neither the name of the Gonum project nor the names of its authors and contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/graph/community/louvain.tex b/graph/community/louvain.tex index 6bed7e6f..102e3148 100644 --- a/graph/community/louvain.tex +++ b/graph/community/louvain.tex @@ -8,7 +8,7 @@ \usepackage[margin=4cm]{geometry} \title{Louvain algorithm for undirected and directed graphs} -\author{The {\tt gonum} Authors} +\author{The {\tt Gonum} Authors} \begin{document} diff --git a/graph/encoding/dot/decode.go b/graph/encoding/dot/decode.go index 779da01a..adf4cd98 100644 --- a/graph/encoding/dot/decode.go +++ b/graph/encoding/dot/decode.go @@ -135,12 +135,12 @@ func copyMultigraph(dst encoding.MultiBuilder, src *ast.Graph) (err error) { return err } -// A generator keeps track of the information required for generating a gonum +// A generator keeps track of the information required for generating a Gonum // graph from a dot AST graph. type generator struct { // Directed graph. directed bool - // Map from dot AST node ID to gonum node. + // Map from dot AST node ID to Gonum node. ids map[string]graph.Node // Nodes processed within the context of a subgraph, that is to be used as a // vertex of an edge. @@ -152,7 +152,7 @@ type generator struct { graphAttr, nodeAttr, edgeAttr encoding.AttributeSetter } -// node returns the gonum node corresponding to the given dot AST node ID, +// node returns the Gonum node corresponding to the given dot AST node ID, // generating a new such node if none exist. func (gen *generator) node(dst graph.NodeAdder, id string) graph.Node { if n, ok := gen.ids[id]; ok { diff --git a/graph/formats/dot/README.md b/graph/formats/dot/README.md index a26ca902..783b582e 100644 --- a/graph/formats/dot/README.md +++ b/graph/formats/dot/README.md @@ -4,6 +4,6 @@ The source code and any original content of the formats/dot directory is released under [Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/). -The source code is also licensed under the gonum license, and users are free to choose the license which suits their needs. +The source code is also licensed under The Gonum License, and users are free to choose the license which suits their needs. Please see gonum.org/v1/gonum for general license information, contributors, authors, etc on the Gonum suite of packages. diff --git a/graph/formats/dot/ast/ast.go b/graph/formats/dot/ast/ast.go index 4ed00d70..63c7b0e7 100644 --- a/graph/formats/dot/ast/ast.go +++ b/graph/formats/dot/ast/ast.go @@ -1,4 +1,4 @@ -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/ast/ast_test.go b/graph/formats/dot/ast/ast_test.go index 246c24ad..25176990 100644 --- a/graph/formats/dot/ast/ast_test.go +++ b/graph/formats/dot/ast/ast_test.go @@ -1,4 +1,4 @@ -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/dot.go b/graph/formats/dot/dot.go index c439cad1..3b9666e3 100644 --- a/graph/formats/dot/dot.go +++ b/graph/formats/dot/dot.go @@ -1,4 +1,4 @@ -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/astx/astx.go b/graph/formats/dot/internal/astx/astx.go index 4e370670..789d9237 100644 --- a/graph/formats/dot/internal/astx/astx.go +++ b/graph/formats/dot/internal/astx/astx.go @@ -1,4 +1,4 @@ -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/astx/astx_test.go b/graph/formats/dot/internal/astx/astx_test.go index 7e9df2c4..a250826e 100644 --- a/graph/formats/dot/internal/astx/astx_test.go +++ b/graph/formats/dot/internal/astx/astx_test.go @@ -1,4 +1,4 @@ -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/errors/errors.go b/graph/formats/dot/internal/errors/errors.go index ecbef4c6..7b454ad7 100644 --- a/graph/formats/dot/internal/errors/errors.go +++ b/graph/formats/dot/internal/errors/errors.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/lexer/acttab.go b/graph/formats/dot/internal/lexer/acttab.go index b3e4ab9d..bda8c3dc 100644 --- a/graph/formats/dot/internal/lexer/acttab.go +++ b/graph/formats/dot/internal/lexer/acttab.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/lexer/lexer.go b/graph/formats/dot/internal/lexer/lexer.go index 81f3ad7b..168a795f 100644 --- a/graph/formats/dot/internal/lexer/lexer.go +++ b/graph/formats/dot/internal/lexer/lexer.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/lexer/lexer_test.go b/graph/formats/dot/internal/lexer/lexer_test.go index febbc519..f3eb0ccc 100644 --- a/graph/formats/dot/internal/lexer/lexer_test.go +++ b/graph/formats/dot/internal/lexer/lexer_test.go @@ -1,4 +1,4 @@ -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/lexer/transitiontable.go b/graph/formats/dot/internal/lexer/transitiontable.go index c0103879..4c45f0bb 100644 --- a/graph/formats/dot/internal/lexer/transitiontable.go +++ b/graph/formats/dot/internal/lexer/transitiontable.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/parser/action.go b/graph/formats/dot/internal/parser/action.go index ee1849d0..31c5715b 100644 --- a/graph/formats/dot/internal/parser/action.go +++ b/graph/formats/dot/internal/parser/action.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/parser/actiontable.go b/graph/formats/dot/internal/parser/actiontable.go index 1c0479fc..4908e730 100644 --- a/graph/formats/dot/internal/parser/actiontable.go +++ b/graph/formats/dot/internal/parser/actiontable.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/parser/gototable.go b/graph/formats/dot/internal/parser/gototable.go index eca01cdb..2e3150e0 100644 --- a/graph/formats/dot/internal/parser/gototable.go +++ b/graph/formats/dot/internal/parser/gototable.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/parser/parser.go b/graph/formats/dot/internal/parser/parser.go index 52e49513..03aa989d 100644 --- a/graph/formats/dot/internal/parser/parser.go +++ b/graph/formats/dot/internal/parser/parser.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/parser/parser_test.go b/graph/formats/dot/internal/parser/parser_test.go index 424359f1..b6abf038 100644 --- a/graph/formats/dot/internal/parser/parser_test.go +++ b/graph/formats/dot/internal/parser/parser_test.go @@ -1,4 +1,4 @@ -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/parser/productionstable.go b/graph/formats/dot/internal/parser/productionstable.go index 68480667..9398a976 100644 --- a/graph/formats/dot/internal/parser/productionstable.go +++ b/graph/formats/dot/internal/parser/productionstable.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/paste_copyright.go b/graph/formats/dot/internal/paste_copyright.go index d4dd0fb3..97a239a3 100644 --- a/graph/formats/dot/internal/paste_copyright.go +++ b/graph/formats/dot/internal/paste_copyright.go @@ -1,4 +1,4 @@ -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style @@ -23,7 +23,7 @@ import ( var location = []byte(`// Code generated by gocc; DO NOT EDIT.`) var copyright = []byte(`// Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/token/token.go b/graph/formats/dot/internal/token/token.go index 9245f3c7..8af98348 100644 --- a/graph/formats/dot/internal/token/token.go +++ b/graph/formats/dot/internal/token/token.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/util/litconv.go b/graph/formats/dot/internal/util/litconv.go index 30c9c62d..89e772c0 100644 --- a/graph/formats/dot/internal/util/litconv.go +++ b/graph/formats/dot/internal/util/litconv.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/internal/util/rune.go b/graph/formats/dot/internal/util/rune.go index f4e4f128..83cd00c2 100644 --- a/graph/formats/dot/internal/util/rune.go +++ b/graph/formats/dot/internal/util/rune.go @@ -1,6 +1,6 @@ // Code generated by gocc; DO NOT EDIT. -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/formats/dot/sem.go b/graph/formats/dot/sem.go index 2c590063..4f174e10 100644 --- a/graph/formats/dot/sem.go +++ b/graph/formats/dot/sem.go @@ -1,4 +1,4 @@ -// This file is dual licensed under CC0 and The gonum license. +// This file is dual licensed under CC0 and The Gonum License. // // Copyright ©2017 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/graph/testgraph/testgraph.go b/graph/testgraph/testgraph.go index 00cd2ade..de73a3f0 100644 --- a/graph/testgraph/testgraph.go +++ b/graph/testgraph/testgraph.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package testgraph provides a set of testing helper functions -// that test gonum graph interface implementations. +// that test Gonum graph interface implementations. package testgraph // import "gonum.org/v1/gonum/graph/testgraph" import ( diff --git a/lapack/gonum/doc.go b/lapack/gonum/doc.go index 57942892..1857c501 100644 --- a/lapack/gonum/doc.go +++ b/lapack/gonum/doc.go @@ -22,7 +22,7 @@ // // The full LAPACK capability has not been implemented at present. The full // API is very large, containing approximately 200 functions for double precision -// alone. Future additions will be focused on supporting the gonum matrix +// alone. Future additions will be focused on supporting the Gonum matrix // package (https://godoc.org/github.com/gonum/matrix/mat64), though pull requests // with implementations and tests for LAPACK function are encouraged. package gonum // import "gonum.org/v1/gonum/lapack/gonum" diff --git a/mathext/internal/amos/amoslib/fortran.go b/mathext/internal/amos/amoslib/fortran.go index c7248bac..a0bc5ff9 100644 --- a/mathext/internal/amos/amoslib/fortran.go +++ b/mathext/internal/amos/amoslib/fortran.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // +build fortran -// TODO(jonlawlor): remove fortran build tag when gonum only supports go 1.7+. +// TODO(jonlawlor): remove fortran build tag when Gonum only supports go 1.7+. package amoslib