diff --git a/doc/ref/gappkg.xml b/doc/ref/gappkg.xml index d63fba3ffe..4ca9bdc713 100644 --- a/doc/ref/gappkg.xml +++ b/doc/ref/gappkg.xml @@ -212,14 +212,6 @@ The following components of this record are mandatory. a string that lists the supported formats (among .tar.gz, .tar.bz2, -win.zip), separated by whitespace or commas, -Status - - one of "accepted", "submitted", "deposited", - "dev", "other"; - if the value is "accepted" then also - CommunicatedBy (a string of the form name (place)) and - AcceptDate (a string of the form mm/yyyy) are mandatory, - README_URL a string started with http://, https://, or ftp://, @@ -932,7 +924,6 @@ gap> ValidatePackageInfo("PackageInfo.g"); #E component `Date' must be bound to a string of the form `dd/mm/yyyy' #E component `ArchiveURL' must be bound to a string started with http://, https:// or ftp:// #E component `ArchiveFormats' must be bound to a string -#E component `Status' must be bound to one of "accepted", "deposited", "dev", "other" #E component `README_URL' must be bound to a string started with http://, https:// or ftp:// #E component `PackageInfoURL' must be bound to a string started with http://, https:// or ftp:// #E component `AbstractHTML' must be bound to a string diff --git a/lib/package.gi b/lib/package.gi index cbce9ca273..6dcbf97a26 100644 --- a/lib/package.gi +++ b/lib/package.gi @@ -2318,19 +2318,6 @@ InstallGlobalFunction( ValidatePackageInfo, function( info ) od; fi; - if TestMandat( record, "Status", - x -> x in [ "accepted", "submitted", "deposited", "dev", "other" ], - "one of \"accepted\", \"deposited\", \"dev\", \"other\"" ) - and record.Status = "accepted" then - TestMandat( record, "CommunicatedBy", - x -> IsString(x) and PositionSublist( x, " (" ) <> fail - and x[ Length(x) ] = ')', - "a string of the form ` ()'" ); - TestMandat( record, "AcceptDate", - x -> IsString( x ) and Length( x ) = 7 and x[3] = '/' - and ForAll( x{ [1,2,4,5,6,7] }, IsDigitChar ), - "a string of the form `mm/yyyy'" ); - fi; TestMandat( record, "README_URL", IsURL, "a string started with http://, https:// or ftp://" ); TestMandat( record, "PackageInfoURL", IsURL, "a string started with http://, https:// or ftp://" ); @@ -2835,11 +2822,7 @@ InstallGlobalFunction( BibEntry, function( arg ) " ", pkginfo.Date{ [ 7 .. 10 ] }, "\n" ) ); fi; fi; - if IsBound( pkginfo.Status ) and pkginfo.Status = "accepted" then - Append( entry, " Refereed " ); - else - Append( entry, " " ); - fi; + Append( entry, " " ); # Append( entry, "GAP package\n" ); Append( entry, "GAP package\n" ); if IsBound( pkginfo.Keywords ) then diff --git a/tst/mockpkg/PackageInfo.g b/tst/mockpkg/PackageInfo.g index fafda809b7..14dba6c23b 100644 --- a/tst/mockpkg/PackageInfo.g +++ b/tst/mockpkg/PackageInfo.g @@ -58,16 +58,6 @@ ArchiveURL := Concatenation( ~.PackageWWWHome, ArchiveFormats := ".tar.gz", -## Status information. Currently the following cases are recognized: -## "accepted" for successfully refereed packages -## "submitted" for packages submitted for the refereeing -## "deposited" for packages for which the GAP developers agreed -## to distribute them with the core GAP system -## "dev" for development versions of packages -## "other" for all other packages -## -Status := "dev", - AbstractHTML := "", PackageDoc := rec( diff --git a/tst/testinstall/package.tst b/tst/testinstall/package.tst index 6fadcfdfd6..5b90a6d96e 100644 --- a/tst/testinstall/package.tst +++ b/tst/testinstall/package.tst @@ -207,8 +207,6 @@ gap> ValidatePackageInfo(rec()); #E component `ArchiveURL' must be bound to a string started with http://, htt\ ps:// or ftp:// #E component `ArchiveFormats' must be bound to a string -#E component `Status' must be bound to one of "accepted", "deposited", "dev",\ - "other" #E component `README_URL' must be bound to a string started with http://, htt\ ps:// or ftp:// #E component `PackageInfoURL' must be bound to a string started with http://,\ @@ -226,7 +224,6 @@ gap> info := rec( > Date := "01/20/2015", > ArchiveURL := "https://", > ArchiveFormats := "", -> Status := "other", > README_URL := "https://", > PackageInfoURL := "https://", > AbstractHTML := "", @@ -255,7 +252,6 @@ gap> info := rec( > Date := "2013-05-22", > ArchiveURL := "https://", > ArchiveFormats := "", -> Status := "other", > README_URL := "https://", > PackageInfoURL := "https://", > AbstractHTML := "", @@ -282,7 +278,6 @@ gap> info := rec( > Date := "2013-22-05", > ArchiveURL := "https://", > ArchiveFormats := "", -> Status := "other", > README_URL := "https://", > PackageInfoURL := "https://", > AbstractHTML := "", @@ -311,7 +306,6 @@ gap> info := rec( > Date := "2013-05-22-", > ArchiveURL := "https://", > ArchiveFormats := "", -> Status := "other", > README_URL := "https://", > PackageInfoURL := "https://", > AbstractHTML := "", @@ -340,7 +334,6 @@ gap> info := rec( > Date := "01/02/3000", > ArchiveURL := "https://", > ArchiveFormats := "", -> Status := "other", > README_URL := "https://", > PackageInfoURL := "https://", > AbstractHTML := "",