Skip to content

Commit 87209e6

Browse files
committed
Change the version to 2.20 and remove the license from files.
There is no need for the license to be in all files. That creates an unnecessary maintenance hassle with keeping the copyright years up to date, and it is sufficient to have the license (with the copyright years) in the `LICENSE` file alone. Furthermore, this is done quite inconsistently. Sometimes files are added without the license, and potentially worse is a file being added with the license but not in the exact format needed for the `bin/dev_scripts/update-copyright` script to detect and properly update the copyright years. The `bin/dev_scripts/update-copyright` script is thus no longer needed and has been removed. Also, the fallback copyright years for the footer now is just "unknown" instead of being the correct copyright years. If the version and copyright years are not correctly loaded in the course environment from the `VERSION` file then that is what you will see. That should never happen. So from now on the only files that need to be updated are the `LICENSE`, `README.md`, and `VERSION` files. In addition the `docker-config/docker-compose.dist.yml` and `DockerfileStage2` files need to have `forWW...` tag name updated to the current version (for the two stage build).
1 parent 8edb453 commit 87209e6

File tree

283 files changed

+42
-4126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

283 files changed

+42
-4126
lines changed

DockerfileStage2

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN echo Cloning branch $PG_BRANCH branch from $PG_GIT_URL \
3333

3434
# We need to change FROM before setting the ENV variables.
3535

36-
FROM webwork-base:forWW219
36+
FROM webwork-base:forWW220
3737

3838
ENV WEBWORK_URL=/webwork2 \
3939
WEBWORK_ROOT_URL=http://localhost:8080 \

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Online Homework Delivery System
33
Version 2.*
44

5-
Copyright 2000-2024, The WeBWorK Project
5+
Copyright 2000-2025, The WeBWorK Project
66

77
All rights reserved.
88

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Version 2.*
44
Branch: github.com/openwebwork
55

6-
https://webwork.maa.org/wiki/Release_notes_for_WeBWorK_2.19
7-
Copyright 2000-2024, The WeBWorK Project
6+
https://webwork.maa.org/wiki/Release_notes_for_WeBWorK_2.20
7+
Copyright 2000-2025, The WeBWorK Project
88
https://openwebwork.org/
99
All rights reserved.
1010

VERSION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$WW_VERSION = '2.19+develop';
2-
$WW_COPYRIGHT_YEARS = '1996-2024';
1+
$WW_VERSION = '2.20';
2+
$WW_COPYRIGHT_YEARS = '1996-2025';
33

44
1;

bin/OPLUtils.pm

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
package OPLUtils;
32
use base qw(Exporter);
43

bin/addcourse

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
#!/usr/bin/env perl
2-
################################################################################
3-
# WeBWorK Online Homework Delivery System
4-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
5-
#
6-
# This program is free software; you can redistribute it and/or modify it under
7-
# the terms of either: (a) the GNU General Public License as published by the
8-
# Free Software Foundation; either version 2, or (at your option) any later
9-
# version, or (b) the "Artistic License" which comes with this package.
10-
#
11-
# This program is distributed in the hope that it will be useful, but WITHOUT
12-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14-
# Artistic License for more details.
15-
################################################################################
2+
163

174
=head1 NAME
185

bin/check_latex

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
#!/usr/bin/env perl
2-
################################################################################
3-
# WeBWorK Online Homework Delivery System
4-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
5-
#
6-
# This program is free software; you can redistribute it and/or modify it under
7-
# the terms of either: (a) the GNU General Public License as published by the
8-
# Free Software Foundation; either version 2, or (at your option) any later
9-
# version, or (b) the "Artistic License" which comes with this package.
10-
#
11-
# This program is distributed in the hope that it will be useful, but WITHOUT
12-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14-
# Artistic License for more details.
15-
################################################################################
2+
163

174
=head1 NAME
185

bin/check_latex_article.tex

-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2-
% WeBWorK Online Homework Delivery System
3-
% Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
4-
%
5-
% This program is free software; you can redistribute it and/or modify it under
6-
% the terms of either: (a) the GNU General Public License as published by the
7-
% Free Software Foundation; either version 2, or (at your option) any later
8-
% version, or (b) the "Artistic License" which comes with this package.
9-
%
10-
% This program is distributed in the hope that it will be useful, but WITHOUT
11-
% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12-
% FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
13-
% Artistic License for more details.
14-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15-
161
\documentclass[10pt]{article}
172

183
\usepackage{webwork2}

bin/check_latex_exam.tex

-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2-
% WeBWorK Online Homework Delivery System
3-
% Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
4-
%
5-
% This program is free software; you can redistribute it and/or modify it under
6-
% the terms of either: (a) the GNU General Public License as published by the
7-
% Free Software Foundation; either version 2, or (at your option) any later
8-
% version, or (b) the "Artistic License" which comes with this package.
9-
%
10-
% This program is distributed in the hope that it will be useful, but WITHOUT
11-
% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12-
% FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
13-
% Artistic License for more details.
14-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15-
161
\documentclass[10pt]{exam}
172

183
\usepackage{webwork2}

bin/check_modules.pl

-15
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
#!/usr/bin/env perl
22
#
33

4-
################################################################################
5-
# WeBWorK Online Homework Delivery System
6-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
7-
#
8-
# This program is free software; you can redistribute it and/or modify it under
9-
# the terms of either: (a) the GNU General Public License as published by the
10-
# Free Software Foundation; either version 2, or (at your option) any later
11-
# version, or (b) the "Artistic License" which comes with this package.
12-
#
13-
# This program is distributed in the hope that it will be useful, but WITHOUT
14-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
16-
# Artistic License for more details.
17-
################################################################################
18-
194
=head1 NAME
205
216
check_modules.pl - check to ensure that all applications and perl modules are installed.

bin/delcourse

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
#!/usr/bin/env perl
2-
################################################################################
3-
# WeBWorK Online Homework Delivery System
4-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
5-
#
6-
# This program is free software; you can redistribute it and/or modify it under
7-
# the terms of either: (a) the GNU General Public License as published by the
8-
# Free Software Foundation; either version 2, or (at your option) any later
9-
# version, or (b) the "Artistic License" which comes with this package.
10-
#
11-
# This program is distributed in the hope that it will be useful, but WITHOUT
12-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14-
# Artistic License for more details.
15-
################################################################################
2+
163

174
=head1 NAME
185

bin/dev_scripts/PODtoHTML.pm

-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
################################################################################
2-
# WeBWorK Online Homework Delivery System
3-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
4-
#
5-
# This program is free software; you can redistribute it and/or modify it under
6-
# the terms of either: (a) the GNU General Public License as published by the
7-
# Free Software Foundation; either version 2, or (at your option) any later
8-
# version, or (b) the "Artistic License" which comes with this package.
9-
#
10-
# This program is distributed in the hope that it will be useful, but WITHOUT
11-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
13-
# Artistic License for more details.
14-
################################################################################
15-
161
package PODtoHTML;
172

183
use strict;

bin/dev_scripts/generate-ww-pg-pod.pl

-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
#!/usr/bin/env perl
2-
################################################################################
3-
# WeBWorK Online Homework Delivery System
4-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
5-
#
6-
# This program is free software; you can redistribute it and/or modify it under
7-
# the terms of either: (a) the GNU General Public License as published by the
8-
# Free Software Foundation; either version 2, or (at your option) any later
9-
# version, or (b) the "Artistic License" which comes with this package.
10-
#
11-
# This program is distributed in the hope that it will be useful, but WITHOUT
12-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14-
# Artistic License for more details.
15-
################################################################################
162

173
=head1 NAME
184

bin/dev_scripts/run-perltidy.pl

-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
#!/usr/bin/env perl
2-
################################################################################
3-
# WeBWorK Online Homework Delivery System
4-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
5-
#
6-
# This program is free software; you can redistribute it and/or modify it under
7-
# the terms of either: (a) the GNU General Public License as published by the
8-
# Free Software Foundation; either version 2, or (at your option) any later
9-
# version, or (b) the "Artistic License" which comes with this package.
10-
#
11-
# This program is distributed in the hope that it will be useful, but WITHOUT
12-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14-
# Artistic License for more details.
15-
################################################################################
162

173
=head1 NAME
184

bin/dev_scripts/update-copyright

-42
This file was deleted.

bin/dev_scripts/webwork2-morbo

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
#!/usr/bin/env perl
2-
################################################################################
3-
# WeBWorK Online Homework Delivery System
4-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
5-
#
6-
# This program is free software; you can redistribute it and/or modify it under
7-
# the terms of either: (a) the GNU General Public License as published by the
8-
# Free Software Foundation; either version 2, or (at your option) any later
9-
# version, or (b) the "Artistic License" which comes with this package.
10-
#
11-
# This program is distributed in the hope that it will be useful, but WITHOUT
12-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14-
# Artistic License for more details.
15-
################################################################################
2+
163

174
=encoding utf8
185

bin/dump-OPL-tables.pl

-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
#!/usr/bin/env perl
22

3-
################################################################################
4-
# WeBWorK Online Homework Delivery System
5-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
6-
#
7-
# This program is free software; you can redistribute it and/or modify it under
8-
# the terms of either: (a) the GNU General Public License as published by the
9-
# Free Software Foundation; either version 2, or (at your option) any later
10-
# version, or (b) the "Artistic License" which comes with this package.
11-
#
12-
# This program is distributed in the hope that it will be useful, but WITHOUT
13-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
15-
# Artistic License for more details.
16-
################################################################################
17-
183
# This script dumps the OPL library tables to a dump file.
194
use strict;
205

bin/dump-past-answers.pl

-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
#!/usr/bin/env perl
2-
################################################################################
3-
# WeBWorK Online Homework Delivery System
4-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
5-
#
6-
# This program is free software; you can redistribute it and/or modify it under
7-
# the terms of either: (a) the GNU General Public License as published by the
8-
# Free Software Foundation; either version 2, or (at your option) any later
9-
# version, or (b) the "Artistic License" which comes with this package.
10-
#
11-
# This program is distributed in the hope that it will be useful, but WITHOUT
12-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14-
# Artistic License for more details.
15-
################################################################################
162

173
=head1 NAME
184

bin/importClassList.pl

-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
#!/usr/bin/env perl
2-
################################################################################
3-
# WeBWorK Online Homework Delivery System
4-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
5-
#
6-
# This program is free software; you can redistribute it and/or modify it under
7-
# the terms of either: (a) the GNU General Public License as published by the
8-
# Free Software Foundation; either version 2, or (at your option) any later
9-
# version, or (b) the "Artistic License" which comes with this package.
10-
#
11-
# This program is distributed in the hope that it will be useful, but WITHOUT
12-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14-
# Artistic License for more details.
15-
################################################################################
162

173
use strict;
184
use warnings;

bin/load-OPL-global-statistics.pl

-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
#!/usr/bin/env perl
22

3-
################################################################################
4-
# WeBWorK Online Homework Delivery System
5-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
6-
#
7-
# This program is free software; you can redistribute it and/or modify it under
8-
# the terms of either: (a) the GNU General Public License as published by the
9-
# Free Software Foundation; either version 2, or (at your option) any later
10-
# version, or (b) the "Artistic License" which comes with this package.
11-
#
12-
# This program is distributed in the hope that it will be useful, but WITHOUT
13-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
15-
# Artistic License for more details.
16-
################################################################################
17-
183
# This script loads the OPL global statistics, which is often done by bin/update-OPL-statistics but may need to be done
194
# outside of that setting.
205
use strict;

bin/newpassword

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
#!/usr/bin/env perl
2-
################################################################################
3-
# WeBWorK Online Homework Delivery System
4-
# Copyright © 2000-2024 The WeBWorK Project, https://github.com/openwebwork
5-
#
6-
# This program is free software; you can redistribute it and/or modify it under
7-
# the terms of either: (a) the GNU General Public License as published by the
8-
# Free Software Foundation; either version 2, or (at your option) any later
9-
# version, or (b) the "Artistic License" which comes with this package.
10-
#
11-
# This program is distributed in the hope that it will be useful, but WITHOUT
12-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13-
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14-
# Artistic License for more details.
15-
################################################################################
2+
163

174
=head1 NAME
185

0 commit comments

Comments
 (0)