Skip to content

Commit 5faf568

Browse files
committed
apply package janitor to
load FinSetsForCAP before FreydCategoriesForCap and to use ToolsForCategoricalTowers instead of CategoryConstructor and bump versions to 2023.11-01
1 parent 3595841 commit 5faf568

File tree

11 files changed

+43
-15
lines changed

11 files changed

+43
-15
lines changed

.github/workflows/Tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,14 @@ jobs:
5454
git clone --depth 1 -vv https://github.com/homalg-project/Toposes.git
5555
git clone --depth 1 -vv https://github.com/homalg-project/FinSetsForCAP.git
5656
git clone --depth 1 -vv https://github.com/homalg-project/QPA2.git
57+
git clone --depth 1 -vv https://github.com/homalg-project/FpCategories.git
5758
git clone --depth 1 -vv https://github.com/homalg-project/Algebroids.git
5859
git clone --depth 1 -vv https://github.com/homalg-project/PreSheaves.git
5960
git clone --depth 1 -vv https://github.com/homalg-project/QuotientCategories.git
6061
git clone --depth 1 -vv https://github.com/homalg-project/FiniteCocompletions.git
6162
git clone --depth 1 -vv https://github.com/homalg-project/FunctorCategories.git
6263
git clone --depth 1 -vv https://github.com/homalg-project/SubcategoriesForCAP.git
63-
git clone --depth 1 -vv https://github.com/homalg-project/CategoryConstructor.git
64+
git clone --depth 1 -vv https://github.com/homalg-project/ToolsForCategoricalTowers.git
6465
git clone --depth 1 -vv https://github.com/homalg-project/Locales.git
6566
- name: Build documentation of packages which we might want to reference
6667
run: |

Bicomplexes/PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SetPackageInfo( rec(
1111

1212
PackageName := "Bicomplexes",
1313
Subtitle := "Bicomplexes for Abelian categories",
14-
Version := "2023.09-01",
14+
Version := "2023.11-01",
1515
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
1616
License := "GPL-2.0-or-later",
1717

Bicomplexes/tst/100_LoadPackage.tst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,23 @@
77
gap> PushOptions( rec( OnlyNeeded := true ) );
88
gap> package_loading_info_level := InfoLevel( InfoPackageLoading );;
99
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_ERROR );;
10-
gap> LoadPackage( "ModulePresentationsForCAP", false );
10+
gap> LoadPackage( "FinSetsForCAP", false );
1111
true
1212
gap> LoadPackage( "FreydCategoriesForCAP", false );
1313
true
14+
gap> LoadPackage( "ModulePresentationsForCAP", false );
15+
true
1416
gap> LoadPackage( "Algebroids", false );
1517
true
1618
gap> LoadPackage( "Bicomplexes", false );
1719
true
1820
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_INFO );;
19-
gap> LoadPackage( "ModulePresentationsForCAP" );
21+
gap> LoadPackage( "FinSetsForCAP" );
2022
true
2123
gap> LoadPackage( "FreydCategoriesForCAP" );
2224
true
25+
gap> LoadPackage( "ModulePresentationsForCAP" );
26+
true
2327
gap> LoadPackage( "Algebroids" );
2428
true
2529
gap> LoadPackage( "Bicomplexes" );

ComplexesCategories/PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "ComplexesCategories",
1212
Subtitle := "Category of (co)chain complexes of an additive category",
13-
Version := "2023.09-01",
13+
Version := "2023.11-01",
1414
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
1515
License := "GPL-2.0-or-later",
1616

ComplexesCategories/tst/100_LoadPackage.tst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ gap> package_loading_info_level := InfoLevel( InfoPackageLoading );;
99
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_ERROR );;
1010
gap> LoadPackage( "IO_ForHomalg", false );
1111
true
12+
gap> LoadPackage( "FinSetsForCAP", false );
13+
true
1214
gap> LoadPackage( "FreydCategoriesForCAP", false );
1315
true
1416
gap> LoadPackage( "Algebroids", false );
@@ -18,6 +20,8 @@ true
1820
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_INFO );;
1921
gap> LoadPackage( "IO_ForHomalg" );
2022
true
23+
gap> LoadPackage( "FinSetsForCAP" );
24+
true
2125
gap> LoadPackage( "FreydCategoriesForCAP" );
2226
true
2327
gap> LoadPackage( "Algebroids" );

DerivedCategories/PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "DerivedCategories",
1212
Subtitle := "Derived categories of Abelian categories",
13-
Version := "2023.09-01",
13+
Version := "2023.11-01",
1414
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
1515
License := "GPL-2.0-or-later",
1616

DerivedCategories/tst/100_LoadPackage.tst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ gap> package_loading_info_level := InfoLevel( InfoPackageLoading );;
99
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_ERROR );;
1010
gap> LoadPackage( "IO_ForHomalg", false );
1111
true
12+
gap> LoadPackage( "FinSetsForCAP", false );
13+
true
1214
gap> LoadPackage( "FreydCategoriesForCAP", false );
1315
true
1416
gap> LoadPackage( "Algebroids", false );
@@ -22,6 +24,8 @@ true
2224
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_INFO );;
2325
gap> LoadPackage( "IO_ForHomalg" );
2426
true
27+
gap> LoadPackage( "FinSetsForCAP" );
28+
true
2529
gap> LoadPackage( "FreydCategoriesForCAP" );
2630
true
2731
gap> LoadPackage( "Algebroids" );

HomotopyCategories/PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "HomotopyCategories",
1212
Subtitle := "Homotopy categories of additive categories",
13-
Version := "2023.09-01",
13+
Version := "2023.11-01",
1414
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
1515
License := "GPL-2.0-or-later",
1616

HomotopyCategories/tst/100_LoadPackage.tst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,23 @@ gap> package_loading_info_level := InfoLevel( InfoPackageLoading );;
99
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_ERROR );;
1010
gap> LoadPackage( "IO_ForHomalg", false );
1111
true
12-
gap> LoadPackage( "Algebroids", false );
12+
gap> LoadPackage( "FinSetsForCAP", false );
1313
true
1414
gap> LoadPackage( "FreydCategoriesForCAP", false );
1515
true
16+
gap> LoadPackage( "Algebroids", false );
17+
true
1618
gap> LoadPackage( "HomotopyCategories", false );
1719
true
1820
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_INFO );;
1921
gap> LoadPackage( "IO_ForHomalg" );
2022
true
21-
gap> LoadPackage( "Algebroids" );
23+
gap> LoadPackage( "FinSetsForCAP" );
2224
true
2325
gap> LoadPackage( "FreydCategoriesForCAP" );
2426
true
27+
gap> LoadPackage( "Algebroids" );
28+
true
2529
gap> LoadPackage( "HomotopyCategories" );
2630
true
2731
gap> SetInfoLevel( InfoPackageLoading, package_loading_info_level );;

ToolsForHigherHomologicalAlgebra/tst/100_LoadPackage.tst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@
77
gap> PushOptions( rec( OnlyNeeded := true ) );
88
gap> package_loading_info_level := InfoLevel( InfoPackageLoading );;
99
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_ERROR );;
10+
gap> LoadPackage( "FinSetsForCAP", false );
11+
true
1012
gap> LoadPackage( "FreydCategoriesForCAP", false );
1113
true
1214
gap> LoadPackage( "ToolsForHigherHomologicalAlgebra", false );
1315
true
1416
gap> SetInfoLevel( InfoPackageLoading, PACKAGE_INFO );;
17+
gap> LoadPackage( "FinSetsForCAP" );
18+
true
1519
gap> LoadPackage( "FreydCategoriesForCAP" );
1620
true
1721
gap> LoadPackage( "ToolsForHigherHomologicalAlgebra" );

dev/release-gap-package

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@ command -v git >/dev/null 2>&1 ||
239239
error "the 'git' command was not found, please install it"
240240

241241
if [ "x$PYTHON" != x ] ; then
242-
:
242+
if ! command -v "$PYTHON" >/dev/null 2>&1; then
243+
error "Could not execute python from PYTHON environment variable"
244+
fi
243245
elif command -v python >/dev/null 2>&1; then
244246
PYTHON=python
245247
elif command -v python3 >/dev/null 2>&1; then
@@ -361,6 +363,7 @@ fi
361363
#
362364
# Determine GitHub repository and username, and the current branch
363365
#
366+
if [ $ONLY_TARBALL = no ] ; then
364367
notice "Using GitHub repository $REPO"
365368

366369
if [ "x$GITHUB_USER" = x ] ; then
@@ -371,11 +374,13 @@ if [ "x$GITHUB_USER" = x ] ; then
371374
fi
372375
notice "Using GitHub username $GITHUB_USER"
373376

374-
if [ "x$ONLY_TARBALL" = xno ] ; then
375-
BRANCH=$(git symbolic-ref -q --short HEAD)
376-
notice "Using branch $BRANCH"
377+
BRANCH=$(git symbolic-ref -q --short HEAD || echo)
378+
if [ "x$BRANCH" = x ] ; then
379+
notice "no branch! Cannot proceed, exiting."
380+
exit 1
381+
fi
382+
notice "Using branch $BRANCH"
377383
fi
378-
379384

380385
######################################################################
381386
#
@@ -507,7 +512,9 @@ find . -name .DS_Store -exec rm -f {} +
507512
# * perform additional sanity checks;
508513
# * ...
509514
if [ "x$RELEASE_SCRIPT" != x ] ; then
510-
. "$RELEASE_SCRIPT"
515+
. "$RELEASE_SCRIPT"
516+
# do not delete the custom release script since it might be reused, for example by additional packages of a monorepo
517+
# if it should be deleted, it can always simply delete itself
511518
elif [ -f .release ] ; then
512519
. ./.release
513520
rm -f .release

0 commit comments

Comments
 (0)