Skip to content

Commit 98ab6af

Browse files
committed
Apply PackageJanitor
1 parent 8ad757a commit 98ab6af

17 files changed

+727
-513
lines changed

.github/workflows/Tests.yml

-14
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,3 @@ jobs:
3737
TERM=dumb make -C FinSetsForCAP -j $(nproc) --output-sync ci-test
3838
cp ./FinSetsForCAP/.codecov.yml ./
3939
curl -s https://codecov.io/bash | bash
40-
cd FinSetsForCAP
41-
CUR_SHA=$(git rev-parse --verify HEAD)
42-
git worktree add branch_doc/ doc || (echo "There was an error. Make sure there is a branch named 'doc'. See https://github.com/homalg-project/PackageJanitor#error-there-was-an-error-make-sure-there-is-a-branch-named-doc"; exit 1)
43-
cp doc/manual.pdf branch_doc/FinSetsForCAP.pdf
44-
cd branch_doc
45-
git add FinSetsForCAP.pdf
46-
git -c user.name='Doc Bot' -c user.email='empty' commit -m "Add FinSetsForCAP.pdf for $CUR_SHA" --allow-empty
47-
cd ..
48-
# push iff using gap-stable and if on master branch
49-
if [ "${{ matrix.image }}" = "gapsystem/gap-docker" ] && [ "$CUR_SHA" = "$(git rev-parse origin/master)" ]; then \
50-
git push https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git doc:doc; \
51-
else \
52-
echo "Not pushing result."; \
53-
fi; \

LICENSE

+64-22
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,12 @@
1-
FinSetsForCAP is free software; you can redistribute and/or modify
2-
it under the terms of the GNU General Public License as published by
3-
the Free Software Foundation; either version 2 of the License, or (at
4-
your opinion) any later version.
5-
6-
FinSetsForCAP is distributed in the hope that it will be useful,
7-
but WITHOUT ANY WARRANTY; without even the implied warranty of
8-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9-
General Public License for more details.
10-
11-
Version 2 of the GNU General Public License follows.
12-
13-
GNU GENERAL PUBLIC LICENSE
14-
Version 2, June 1991
1+
GNU GENERAL PUBLIC LICENSE
2+
Version 2, June 1991
153

164
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
175
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
186
Everyone is permitted to copy and distribute verbatim copies
197
of this license document, but changing it is not allowed.
208

21-
Preamble
9+
Preamble
2210

2311
The licenses for most software are designed to take away your
2412
freedom to share and change it. By contrast, the GNU General Public
@@ -68,8 +56,7 @@ patent must be licensed for everyone's free use or not licensed at all.
6856
The precise terms and conditions for copying, distribution and
6957
modification follow.
7058

71-
72-
GNU GENERAL PUBLIC LICENSE
59+
GNU GENERAL PUBLIC LICENSE
7360
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
7461

7562
0. This License applies to any program or other work which contains
@@ -124,7 +111,6 @@ above, provided that you also meet all of these conditions:
124111
does not normally print such an announcement, your work based on
125112
the Program is not required to print an announcement.)
126113

127-
128114
These requirements apply to the modified work as a whole. If
129115
identifiable sections of that work are not derived from the Program,
130116
and can be reasonably considered independent and separate works in
@@ -183,7 +169,6 @@ access to copy the source code from the same place counts as
183169
distribution of the source code, even though third parties are not
184170
compelled to copy the source along with the object code.
185171

186-
187172
4. You may not copy, modify, sublicense, or distribute the Program
188173
except as expressly provided under this License. Any attempt
189174
otherwise to copy, modify, sublicense or distribute the Program is
@@ -241,7 +226,6 @@ impose that choice.
241226
This section is intended to make thoroughly clear what is believed to
242227
be a consequence of the rest of this License.
243228

244-
245229
8. If the distribution and/or use of the Program is restricted in
246230
certain countries either by patents or by copyrighted interfaces, the
247231
original copyright holder who places the Program under this License
@@ -271,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
271255
of preserving the free status of all derivatives of our free software and
272256
of promoting the sharing and reuse of software generally.
273257

274-
NO WARRANTY
258+
NO WARRANTY
275259

276260
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
277261
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -293,5 +277,63 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
293277
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
294278
POSSIBILITY OF SUCH DAMAGES.
295279

296-
END OF TERMS AND CONDITIONS
280+
END OF TERMS AND CONDITIONS
281+
282+
How to Apply These Terms to Your New Programs
283+
284+
If you develop a new program, and you want it to be of the greatest
285+
possible use to the public, the best way to achieve this is to make it
286+
free software which everyone can redistribute and change under these terms.
287+
288+
To do so, attach the following notices to the program. It is safest
289+
to attach them to the start of each source file to most effectively
290+
convey the exclusion of warranty; and each file should have at least
291+
the "copyright" line and a pointer to where the full notice is found.
292+
293+
<one line to give the program's name and a brief idea of what it does.>
294+
Copyright (C) <year> <name of author>
295+
296+
This program is free software; you can redistribute it and/or modify
297+
it under the terms of the GNU General Public License as published by
298+
the Free Software Foundation; either version 2 of the License, or
299+
(at your option) any later version.
300+
301+
This program is distributed in the hope that it will be useful,
302+
but WITHOUT ANY WARRANTY; without even the implied warranty of
303+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304+
GNU General Public License for more details.
305+
306+
You should have received a copy of the GNU General Public License along
307+
with this program; if not, write to the Free Software Foundation, Inc.,
308+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309+
310+
Also add information on how to contact you by electronic and paper mail.
311+
312+
If the program is interactive, make it output a short notice like this
313+
when it starts in an interactive mode:
314+
315+
Gnomovision version 69, Copyright (C) year name of author
316+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317+
This is free software, and you are welcome to redistribute it
318+
under certain conditions; type `show c' for details.
319+
320+
The hypothetical commands `show w' and `show c' should show the appropriate
321+
parts of the General Public License. Of course, the commands you use may
322+
be called something other than `show w' and `show c'; they could even be
323+
mouse-clicks or menu items--whatever suits your program.
324+
325+
You should also get your employer (if you work as a programmer) or your
326+
school, if any, to sign a "copyright disclaimer" for the program, if
327+
necessary. Here is a sample; alter the names:
328+
329+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
331+
332+
<signature of Ty Coon>, 1 April 1989
333+
Ty Coon, President of Vice
297334

335+
This General Public License does not permit incorporating your program into
336+
proprietary programs. If your program is a subroutine library, you may
337+
consider it more useful to permit linking proprietary applications with the
338+
library. If this is what you want to do, use the GNU Lesser General
339+
Public License instead of this License.

PackageInfo.g

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
22
# FinSetsForCAP: The elementary topos of (skeletal) finite sets
33
#
44
# This file contains package meta data. For additional information on
@@ -76,9 +76,9 @@ SourceRepository := rec(
7676
URL := "https://github.com/homalg-project/FinSetsForCAP",
7777
),
7878
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
79-
PackageWWWHome := "https://github.com/homalg-project/FinSetsForCAP",
80-
PackageInfoURL := "https://raw.githubusercontent.com/homalg-project/FinSetsForCAP/master/PackageInfo.g",
81-
README_URL := "https://raw.githubusercontent.com/homalg-project/FinSetsForCAP/master/README.md",
79+
PackageWWWHome := "https://homalg-project.github.io/FinSetsForCAP",
80+
PackageInfoURL := "https://homalg-project.github.io/FinSetsForCAP/PackageInfo.g",
81+
README_URL := "https://homalg-project.github.io/FinSetsForCAP/README.md",
8282
ArchiveURL := Concatenation( "https://github.com/homalg-project/FinSetsForCAP/releases/download/v", ~.Version, "/FinSetsForCAP-", ~.Version ),
8383
# END URLS
8484

README.md

+17-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
<!-- BEGIN HEADER -->
22
# FinSetsForCAP – The elementary topos of (skeletal) finite sets
33

4-
| **Documentation** | **Build Status** |
5-
|:-------------------------:|:-----------------------------------------------------------:|
6-
| [![][docs-img]][docs-url] | [![][tests-img]][tests-url] [![][codecov-img]][codecov-url] |
4+
| Documentation | Build Status | Code Coverage |
5+
| ------------- | ------------ | ------------- |
6+
| [![HTML stable documentation][docs-img]][docs-url] | [![Build Status][tests-img]][tests-url] | [![Code Coverage][codecov-img]][codecov-url] |
7+
8+
### Dependencies
9+
10+
To obtain current versions of all dependencies, clone the following repositories:
11+
1. **homalg_project**: https://github.com/homalg-project/homalg_project
12+
2. **CAP_project**: https://github.com/homalg-project/CAP_project
13+
3. **Toposes**: https://github.com/homalg-project/Toposes
14+
15+
---
16+
717
<!-- END HEADER -->
818

919
<!-- BEGIN FOOTER -->
10-
[docs-img]: https://img.shields.io/badge/PDF-dev-blue.svg
11-
[docs-url]: /../../raw/doc/FinSetsForCAP.pdf
20+
[docs-img]: https://img.shields.io/badge/HTML-stable-blue.svg
21+
[docs-url]: https://homalg-project.github.io/FinSetsForCAP/doc/chap0_mj.html
1222

13-
[tests-img]: https://github.com/homalg-project/FinSetsForCAP/workflows/Tests/badge.svg
14-
[tests-url]: https://github.com/homalg-project/FinSetsForCAP/actions?query=workflow%3ATests
23+
[tests-img]: https://github.com/homalg-project/FinSetsForCAP/workflows/Tests/badge.svg?branch=master
24+
[tests-url]: https://github.com/homalg-project/FinSetsForCAP/actions?query=workflow%3ATests+branch%3Amaster
1525

1626
[codecov-img]: https://codecov.io/gh/homalg-project/FinSetsForCAP/branch/master/graph/badge.svg
1727
[codecov-url]: https://codecov.io/gh/homalg-project/FinSetsForCAP

gap/FinSetsForCAP.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
22
# FinSetsForCAP: The elementary topos of (skeletal) finite sets
33
#
44
# Declarations

gap/FinSetsForCAP.gi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
22
# FinSetsForCAP: The elementary topos of (skeletal) finite sets
33
#
44
# Implementations

gap/SkeletalFinSetsForCAP.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
22
# FinSetsForCAP: The elementary topos of (skeletal) finite sets
33
#
44
# Declarations

gap/SkeletalFinSetsForCAP.gi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
22
# FinSetsForCAP: The elementary topos of (skeletal) finite sets
33
#
44
# Implementations

init.g

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
22
# FinSetsForCAP: The elementary topos of (skeletal) finite sets
33
#
44
# Reading the declaration part of the package.

make_dist.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
base_dir="$PWD"
44

5-
./release --srcdir ${base_dir} --webdir ${base_dir}/gh-pages --update-file ${base_dir}/gh-pages/update.g $@
5+
./release-gap-package --srcdir ${base_dir} --webdir ${base_dir}/gh-pages --update-file ${base_dir}/gh-pages/update.g $@

makedoc.g

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
22
# FinSetsForCAP: The elementary topos of (skeletal) finite sets
33
#
44
# This file is a script which compiles the package manual.

makedoc_with_overfull_hbox_warnings.g

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
22
# FinSetsForCAP: The elementary topos of (skeletal) finite sets
33
#
44
# This file is a script which compiles the package manual and prints overfull hbox warnings.

read.g

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
22
# FinSetsForCAP: The elementary topos of (skeletal) finite sets
33
#
44
# Reading the implementation part of the package.

0 commit comments

Comments
 (0)