Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update copyright #326

Merged
merged 4 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ sourcefiles = {"*.dtx", "l3build*.lua", "*.ins"}
typesetruns = 4
typesetcmds = "\\AtBeginDocument{\\DisableImplementation}"
unpackdeps = { }
tagfiles = {"l3build.1", "l3build.dtx", "*.md", "l3build.lua"}
tagfiles = {
"l3build.1",
"l3build.dtx",
"l3build.ins",
"**/*.md", -- to include README.md in ./examples
"l3build*.lua",
"**/regression-test.cfg"
}

uploadconfig = {
author = "The LaTeX Team",
Expand All @@ -42,6 +49,18 @@ Linux, macOS, and Windows systems. The package offers:
function update_tag(file,content,tagname,tagdate)
local iso = "%d%d%d%d%-%d%d%-%d%d"
local url = "https://github.com/latex3/l3build/compare/"
-- update copyright
local year = os.date("%Y")
if string.match(content,"%(C%)%s*" .. (year - 1) .. " The LaTeX Project") then
content = string.gsub(content,
"%(C%)%s*" .. (year - 1) .. " The LaTeX Project",
"(C) " .. year .. " The LaTeX Project")
elseif string.match(content,"%(C%)%s*%d%d%d%d%-" .. (year - 1) .. " The LaTeX Project") then
content = string.gsub(content,
"%(C%)%s*(%d%d%d%d%-)" .. (year - 1) .. " The LaTeX Project",
"(C) %1" .. year .. " The LaTeX Project")
end
-- update release date
if string.match(file, "%.1$") then
return string.gsub(content,
'%.TH l3build 1 "' .. iso .. '"\n',
Expand Down
2 changes: 1 addition & 1 deletion examples/Bundle-Flat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ in the build script for each module.

-----

Copyright (C) 2014-2017,2021 The LaTeX Project <br />
Copyright (C) 2014-2023 The LaTeX Project <br />
<http://latex-project.org/> <br />
All rights reserved.
2 changes: 1 addition & 1 deletion examples/Bundle-Tree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ in the build script for each module.

-----

Copyright (C) 2014-2017,2021 The LaTeX Project <br />
Copyright (C) 2014-2023 The LaTeX Project <br />
<http://latex-project.org/> <br />
All rights reserved.
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ The examples are:

-----

Copyright (C) 2014-2017,2021 The LaTeX Project <br />
Copyright (C) 2014-2023 The LaTeX Project <br />
<http://latex-project.org/> <br />
All rights reserved.
2 changes: 1 addition & 1 deletion examples/Simple-Flat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ As the `.dtx` package file grows larger, it may be sensible to split it up into

-----

Copyright (C) 2014-2017,2021 The LaTeX Project <br />
Copyright (C) 2014-2023 The LaTeX Project <br />
<http://latex-project.org/> <br />
All rights reserved.
2 changes: 1 addition & 1 deletion examples/Simple-Tree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ This is left as an exercise to the energetic package writer studying these examp

-----

Copyright (C) 2014-2017,2021 The LaTeX Project <br />
Copyright (C) 2014-2023 The LaTeX Project <br />
<http://latex-project.org/> <br />
All rights reserved.
2 changes: 1 addition & 1 deletion l3build-arguments.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-arguments.lua Copyright (C) 2018-2021,2023 The LaTeX Project
File l3build-arguments.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-aux.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-aux.lua Copyright (C) 2018-2021,2023 The LaTeX Project
File l3build-aux.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-clean.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-clean.lua Copyright (C) 2018,2020,2021 The LaTeX Project
File l3build-clean.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-ctan.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-ctan.lua Copyright (C) 2018-2021 The LaTeX Project
File l3build-ctan.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
4 changes: 2 additions & 2 deletions l3build-help.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-help.lua Copyright (C) 2018,2020,2021 The LaTeX Project
File l3build-help.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand All @@ -27,7 +27,7 @@ local match = string.match
local rep = string.rep
local sort = table.sort

local copyright = "Copyright (C) 2014-2021 The LaTeX Project\n"
local copyright = "Copyright (C) 2014-2023 The LaTeX Project\n"

function version()
print(
Expand Down
2 changes: 1 addition & 1 deletion l3build-install.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-install.lua Copyright (C) 2018-2021 The LaTeX Project
File l3build-install.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-manifest-setup.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-manifest-setup.lua Copyright (C) 2018,2020,2021 The LaTeX Project
File l3build-manifest-setup.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-manifest.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-manifest.lua Copyright (C) 2018,2020,2021 The LaTeX Project
File l3build-manifest.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-stdmain.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-stdmain.lua Copyright (C) 2018-2021 The LaTeX Project
File l3build-stdmain.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-tagging.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-tagging.lua Copyright (C) 2018-2021 The LaTeX Project
File l3build-tagging.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-typesetting.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-typesetting.lua Copyright (C) 2018-2021,2023 The LaTeX Project
File l3build-typesetting.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-unpack.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-unpack.lua Copyright (C) 2018-2021 The LaTeX Project
File l3build-unpack.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-upload.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-upload.lua Copyright (C) 2018-2021 The LaTeX Project
File l3build-upload.lua Copyright (C) 2018-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
2 changes: 1 addition & 1 deletion l3build-zip.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[

File l3build-zip.lua Copyright (C) 2021 The LaTeX Project
File l3build-zip.lua Copyright (C) 2021-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down
4 changes: 2 additions & 2 deletions l3build.ins
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\iffalse meta-comment

File l3build.ins Copyright (C) 2014-2018,2021 The LaTeX Project
File l3build.ins Copyright (C) 2014-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down Expand Up @@ -32,7 +32,7 @@ license information is placed in the derived files.

\preamble

Copyright (C) 2014-2021 The LaTeX Project
Copyright (C) 2014-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of
the LaTeX Project Public License (LPPL), either version 1.3c of
Expand Down
2 changes: 1 addition & 1 deletion l3build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

--[[

File l3build.lua Copyright (C) 2014-2022 The LaTeX Project
File l3build.lua Copyright (C) 2014-2023 The LaTeX Project

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this
Expand Down