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

Migrate wiki.sagemath.org contents to more suitable places #33725

Open
mkoeppe opened this issue Apr 16, 2022 · 82 comments
Open

Migrate wiki.sagemath.org contents to more suitable places #33725

mkoeppe opened this issue Apr 16, 2022 · 82 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Apr 16, 2022

The problem with wiki.sagemath.org:

It excludes new and newish developers who do not have the required legacy Trac account but log in to Trac using their GitHub accounts.

Wikis work because of the principle of crowdsourcing. Without a crowd, the material will just become outdated. New material added is indistinguishable from old material.

There is also a conflict between viewing the Wiki (1) as an archive (as a record of past achievements, and perhaps for the benefit of future software archaeologists); (2) as something that is useful for current users and developers; and (3) a place for discussion and planning actions.

These uses are not compatible. We propose to separate these types of material clearly and move each to a more appropriate system.

Source material on wiki.sagemath.org:


Proposed targets:

Migration to GitHub issues

Ticket/issue descriptions can be used for collecting/curating/staging material that eventually should be added to our documentation or to our code.

Migration to our documentation

(needs conversion to rst)

Current drawback: The documentation is only updated one every stable release (to be fixed in #33862)

either: Migration to www.sagemath.org

(needs conversion to html; or website scripts need extension to handle markdown or moinmoin sources; https://python-markdown.github.io/reference/; https://github.com/github/markup)

or: Migration to GitHub wiki:

This is where we moved the contents of the Trac wiki.

"Note: Search engines will not index the contents of wikis. To have your content indexed by search engines, you can use GitHub Pages in a public repository." https://docs.github.com/en/communities/documenting-your-project-with-wikis/about-wikis


Considered but won't be needed:

Migration to GitHub pages:

https://pages.github.com/

(needs conversion to markdown)

Unclear why we should create a new website when we already have www.sagemath.org


Format conversion tools, workflow:

References:

CC: @slel @dimpase @sagetrac-tmonteil @fchapoton @saraedum @kwankyu @williamstein @haraldschilly @jhpalmieri

Component: website/wiki

Issue created by migration from https://trac.sagemath.org/ticket/33725

@mkoeppe mkoeppe added this to the sage-9.6 milestone Apr 16, 2022
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@sagetrac-tmonteil
Copy link
Mannequin

sagetrac-tmonteil mannequin commented Apr 18, 2022

comment:4

Please don't. In terms of infrastructure, the wiki is pretty well hosted, while the VM that hosts the trac+wiki is unmaintained, so this looks like a regression to me (at least right now).

@dimpase
Copy link
Member

dimpase commented Apr 18, 2022

comment:5

I think that trac is better, as it allows contributions with github logins. And the bus factor of the present wiki hosting is rather small.

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 18, 2022

comment:6

It's critical that we get rid of the old Sage wiki. As Dima says - it excludes new developers.

Trac is maintained because it has to be (thanks to all who keep it running!) The wiki part of it places no additional burden on maintaining Trac.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 23, 2022

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2022

Commit: 57fc849

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

57fc849configure.ac: Remove outdated advice regarding exotic platforms

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 23, 2022

Dependencies: #33088

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2022

Changed commit from 57fc849 to 45c1a39

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 23, 2022

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

b46c953README: Document --enable-editable and --enable-download-from-upstream-url
a3ffe84README.md: Instructions for Apple Silicon
d7708dfREADME.md: Restructure macOS prep instructions
2e1d22dsrc/doc/en/installation/source.rst: Remove instructions for Solaris, AIX, HP-UX
9ca39a2README.md: Point to developer guide for git details
f1e1166src/doc/en/installation/source.rst: Point to README.md for step-by-step instructions
3f6c6e0src/doc/en/developer/workspace.rst: Link to Trac #30500
8716d80src/doc/en/installation/source.rst: Update required venv Python extension modules from build/pkgs/python3/spkg-configure.m4
10c9b87Merge #33088
45c1a39src/doc/en/developer/trac.rst: Update wiki URL for patchbot

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 23, 2022

comment:17

Some pages, for example https://wiki.sagemath.org/SageMathExternalPackages, are written in RST.

The Trac wiki also supports RST - https://trac.sagemath.org/wiki/WikiRestructuredText - but it looks like it is not activated.

@dimpase, could you install docutils (as per https://trac.sagemath.org/wiki/WikiRestructuredText#Requirements)?

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 25, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

da69787src/doc: Fix 'hardcoded link could be replaced'

@mkoeppe
Copy link
Member Author

mkoeppe commented Sep 20, 2022

comment:60

I went through the same steps of thinking.
The only thing that's missing is support for .md files in our website scripts.

@kwankyu
Copy link
Collaborator

kwankyu commented Sep 20, 2022

comment:61

Replying to Matthias Köppe:

The only thing that's missing is support for .md files in our website scripts.

That is an important point. Together with liberal write permission to developers, that will make a search-engine-indexed website close to a wiki site...

@dimpase
Copy link
Member

dimpase commented Sep 21, 2022

comment:62

one can hopefully have the content versioned in git (on GitHub), and then updating automatically, via GitHub Actions, is doable (it's not instant WYSIWYG, but OK)

@mkoeppe
Copy link
Member Author

mkoeppe commented Sep 21, 2022

comment:63

Yes, the source code of our website is maintained on github. https://github.com/sagemath/website

I agree, it would be good to add GH Actions that runs what Harald currently runs manually after merging PRs, with a preview of the generated HTML on PRs.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@kwankyu
Copy link
Collaborator

kwankyu commented Oct 6, 2022

comment:66

If we end up running self-hosted gitlab (for mirroring, archiving, or replacing github) instead of trac, then we can move wiki to the gitlab as it also has wiki system.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title Migrate wiki.sagemath.org contents to more suitable places Migrate wiki.sagemath.org and trac.sagemath.org wiki contents to more suitable places Nov 14, 2022
@mkoeppe

This comment has been minimized.

@kwankyu
Copy link
Collaborator

kwankyu commented Jan 4, 2023

comment:71

After trac-to-github migration, we will have a new wiki https://github.com/sagemath/sage/wiki. The new wiki will have good visibility for sage developers. Developers could collaboratively edit the wiki pages easily.

Its weak point "search engines will not index the contents of github wikis" seems minor. The wiki is for developers, who know already where to search. For prospective new users, we can advertise the new wiki through the sage homepage.

We don't need to close wiki.sagemath.org. It is being used and loved by some developers. We can just have two wikis. Why not? They will compete for a while, but I guess the new wiki will eventually win the game (the old wiki will be deprived of contents and visitors in the long run).

@mkoeppe
Copy link
Member Author

mkoeppe commented Jan 4, 2023

comment:72

Replying to Kwankyu Lee:

After trac-to-github migration, we will have a new wiki https://github.com/sagemath/sage/wiki. [...]
Its weak point "search engines will not index the contents of github wikis" seems minor.

I think I can agree with this viewpoint.

If there is material that needs to be found by search engines, we can just migrate that material to either the documentation or the website.

@mkoeppe
Copy link
Member Author

mkoeppe commented Jan 4, 2023

comment:73

Replying to Kwankyu Lee:

We don't need to close wiki.sagemath.org. It is being used and loved by some developers. We can just have two wikis. Why not? [...]

That's also fine with me, at least for a transition period. I still think that we should soon migrate away from the old wiki.sagemath.org, but that should not be a precondition for the migration away from Trac.

@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 9, 2023

I've removed the material from the description that became outdated with our completed migration of Trac, including the Trac wiki, to GitHub.

@kwankyu
Copy link
Collaborator

kwankyu commented Feb 9, 2023

You didn't update the title?

@mkoeppe mkoeppe changed the title Migrate wiki.sagemath.org and trac.sagemath.org wiki contents to more suitable places Migrate wiki.sagemath.org contents to more suitable places Feb 9, 2023
@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 9, 2023

Thanks

@mkoeppe mkoeppe modified the milestones: sage-9.8, sage-9.9 Feb 11, 2023
@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 12, 2023

I have run a test migration using @swenson's script, now forked at https://github.com/sagemath/sagewiki-to-github

The input was the archive dump.wiki.2022-10-10.tar.gz provided by @sagetrac-tmonteil.
The output is at https://github.com/sagemath/sagewiki_to_gh - note that this is a big repository, which preserves the version history of all pages.

I have only looked at a few files (the release tours). The conversion is not perfect, but not bad either.
The script complained about a few things, see log.

convert-2023-02-12.log

@kwankyu
Copy link
Collaborator

kwankyu commented Feb 12, 2023

I agree that the conversion is rather good.

I find that sage 9.5 release tour is missing.

@kwankyu
Copy link
Collaborator

kwankyu commented Feb 12, 2023

The input was the archive dump.wiki.2022-10-10.tar.gz provided by @sagetrac-tmonteil.

Getting the latest data is the first thing to do.

The output is at https://github.com/sagemath/sagewiki_to_gh - note that this is a big repository, which preserves the version history of all pages.

What do you mean? I don't see version history.

@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 12, 2023

@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 12, 2023

sage 9.5 release tour is missing.

Yes, the log has several messages about this (and other pages).

@kwankyu
Copy link
Collaborator

kwankyu commented Feb 12, 2023

After editing the new wiki for a while, I am not sure about the value of moving around old wiki pages only of historical value. By moving them to a new place, we only break links to them and often break the pages themselves.

In that sense, old wiki pages that we never plan to update would better to remain (perhaps freezed) at its current place.

This applies to trac wiki pages that we already converted and moved, but also to sage wiki pages that we didn't move yet.

If we keep trac wiki running forever as an archive, we may remove old pages from the new wiki. (then we shouldn't have rewritten links in issues to wikis, but we already did and this is irreversible.)

What would be the rationale of moving old sage wiki pages to our new wiki? (this is the conflict described in the issue description)

@kwankyu
Copy link
Collaborator

kwankyu commented Feb 12, 2023

@mkoeppe mkoeppe removed this from the sage-10.0 milestone Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants