Skip to content

Commit

Permalink
Revise PackageInfo.g files
Browse files Browse the repository at this point in the history
- add `SourceRepository` and `IssueTrackerURL` fields
- point `PackageWWWHome` to actual package homepages
- don't duplicate package versions in the `ArchiveURL`, instead
  derive them from the `Version` field

This also changes the archive filenames to include the version, which is my
main motivation for this PR: it is annoying when using the package distribution
scripts when different package versions use the same tarball name.
  • Loading branch information
fingolfin authored and HereAround committed Mar 23, 2022
1 parent f6e2a1a commit f503336
Show file tree
Hide file tree
Showing 12 changed files with 153 additions and 62 deletions.
18 changes: 13 additions & 5 deletions AdditionsForToricVarieties/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/homalg-project/ToricVarieties_project/tree/master/AdditionsForToricVarieties/",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/AdditionsForToricVarieties",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "AdditionsForToricVarieties provides additional structures for toric varieties required to compute sheaf cohomologies",

Expand Down
18 changes: 13 additions & 5 deletions CoherentSheavesOnToricVarieties/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/homalg-project/ToricVarieties_project/tree/master/CoherentSheavesOnToricVarieties/",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/CoherentSheavesOnToricVarieties",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "CoherentSheavesOnToricVarieties models coherent toric sheaves as elements in a Serre quotient category",

Expand Down
18 changes: 13 additions & 5 deletions H0Approximator/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/homalg-project/ToricVarieties_project/tree/master/H0Approximator/",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/H0Approximator",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "H0Approximator allows to estimate global sections of a line bundle on curves in dP3 and H2",

Expand Down
18 changes: 13 additions & 5 deletions QSMExplorer/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://homalg-project.github.io/ToricVarieties_project/QSMExplorer",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/QSMExplorer",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "QSMExplorer allows to investigate one Quadrillion F-theory Standard Models quickly and efficiently",

Expand Down
18 changes: 13 additions & 5 deletions SheafCohomologyOnToricVarieties/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/homalg-project/ToricVarieties_project/tree/master/SheafCohomologyOnToricVarieties/",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/SheafCohomologyOnToricVarieties",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML :=
Concatenation( "SheafCohomologyOnToricVarieties provides an extension of the ToricVarieties package",
Expand Down
18 changes: 13 additions & 5 deletions SparseMatrices/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/homalg-project/ToricVarieties_project/tree/master/SparseMatrices",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/SparseMatrices",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "SparseMatrices enables to handle sparse matrices in gap",

Expand Down
18 changes: 13 additions & 5 deletions SpasmInterface/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/homalg-project/ToricVarieties_project/tree/master/SpasmInterface/",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/SpasmInterface",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "SpasmInterface enables to communicate with software Spasm via gap",

Expand Down
18 changes: 13 additions & 5 deletions ToolsForFPGradedModules/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/homalg-project/ToricVarieties_project/tree/master/ToolsForFPGradedModules/",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/ToolsForFPGradedModules",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "ToolsForFPGradedModules provides additional structures and tools for FPGradedModules",

Expand Down
18 changes: 13 additions & 5 deletions TopcomInterface/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/HereAround/TopcomInterface",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/TopcomInterface",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "TopcomInterface enables to communicate with software Topcom via gap",

Expand Down
17 changes: 10 additions & 7 deletions ToricVarieties/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,19 @@ rec(
],

Status := "deposited",

SourceRepository := rec(
Type := "git",
URL := "https://homalg-project.github.io/ToricVarieties_project/ToricVarieties"
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := "https://homalg-project.github.io/ToricVarieties_project/ToricVarieties/",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/ToricVarieties",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML :=
Concatenation( "ToricVarieties provides data structures to handle toric varieties by their commutative algebra ",
Expand Down
18 changes: 13 additions & 5 deletions TruncationsOfFPGradedModules/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/homalg-project/ToricVarieties_project/tree/master/TruncationsOfFPGradedModules/",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/TruncationsOfFPGradedModules",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "TruncationsOfFPGradedModules provides methods to compute truncations of FPGradedModules",

Expand Down
18 changes: 13 additions & 5 deletions cohomCalgInterface/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ rec(
],

Status := "dev",
PackageWWWHome := "https://github.com/homalg-project/ToricVarieties_project/tree/master/cohomCalgInterface/",
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-03-04/cohomCalgInterface",
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

SourceRepository := rec(
Type := "git",
URL := "https://github.com/homalg-project/ToricVarieties_project",
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://homalg-project.github.io/ToricVarieties_project/", ~.PackageName ),
ArchiveFormats := ".tar.gz .zip",
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/", ReplacedString( ~.Version, ".", "-"),
"/", ~.PackageName, "-", ~.Version ),
README_URL := Concatenation( ~.PackageWWWHome, "README" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),

AbstractHTML := "cohomCalgInterface enables to communicate with software cohomCalg via gap",

Expand Down

0 comments on commit f503336

Please sign in to comment.