Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decide where/how manuals for GAP and packages are hosted in the future #223

Open
fingolfin opened this issue Feb 19, 2021 · 5 comments
Open
Labels

Comments

@fingolfin
Copy link
Member

fingolfin commented Feb 19, 2021

Right now, all sources for the GAP website are in this repository, with one (?) major exceptions: the manuals for GAP and for the packages are not in here. This is so because they require a lot of storage; in particular all those PDFs add up (and binary files in general should better not be put into a git repository). In total I think it's something like 300 MB. And when we make a new release, new versions of those PDFs come in, and the .git dir will keep growing and growing, and git clone will get slower and slower...

For the HTML pages alone, I think it's not as bad; also they are text and git can deal with them and updates reasonably well.

Overall it really would be nice to have everything in one place; e.g. for backup purposes, but also because it potentially allow us to move to other hosting, perhaps even to GitHub Pages.

Several ways to deal with this come to mind:

  1. stop offering PDF files, only post instructions where to find them in the GAP release resp. how to access them elsewhere (but quite some people do seem to use the PDFs).
  2. Use git lfs to store them (see also the gitlab tutorial. Pro: avoid cluttering and growing the repository; con: people who want to interact with the GapWWW repo fully need to install git-lfs (but note that most package managers offer it, and installing it via download also is not that hard). Also, GitHub Pages does not immediately support it (see this issue -- but there are workarounds, also described in that issue)
  3. Upload the PDFs somewhere to https://files.gap-system.org -- but then this of course requires somebody who has SSH access to that machine (still doable, though)
  4. ... other options ... ???
@fingolfin
Copy link
Member Author

Slightly related: issue #105

@fingolfin
Copy link
Member Author

fingolfin commented Mar 26, 2021

Another option I am now contemplating is to add another subdomain, say docs.gap-system.org, which for now could point at the same server in St Andrews, and then move all the manuals HTML and PDF alike) there. Then also move the ForumArchive (say to files.gap-system.org -- does anybody even care about this?).

Once this is done (and all links set up, and redirects configured from the old to the new URLs, we can then contemplate hosting the pure HTML parts elsewhere, even in GitHub Pages, which would have the great benefit that it's much easier for us to let many people access and edit it safely there. Of course the manuals then still would be "gone" during St Andrews outages (both scheduled ones, like today, and unscheduled ones). But at least the website as such and the latest release would be available. That said, GH pages has one drawback: it doesn't allow configuring 301 / 302 HTTP redirects, which would be really nice to have for at least some time, to migrate people from the old to the new URLs...

Another alternative would be to host it in TU Kaiserslautern (but then again people need accounts to SSH in for at least some maintenance actions -- of course we should try in any case to setup a regime where the website is updated by a GitHub Action, but one needs to be very careful with that in terms of security.

@RussWoodroofe
Copy link
Contributor

I'm writing in support of moving documentation to a predictable location. I want to particularly point out that having a predictable translation from the location of local help files to an online URL would make it easier to share links to particular points in the documentation.

@fingolfin
Copy link
Member Author

@RussWoodroofe Not sure I get your point: The current locations are also predictable and have been for years?

@wilfwilson
Copy link
Member

This discussion in gap-system/ReleaseTools#73 is related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants