performous / web

Performous website
https://performous.org
4 stars 4 forks source link

Remove master branch or rename gh-pages branch #9

Closed Baklap4 closed 2 years ago

Baklap4 commented 3 years ago

Do you want to request a feature or report a bug?

Cleanup

What did you expect to see?

I expected the master branch to be the one which is the source of https://performous.org This wasn't the case. The gh-pages branch is the source of our website.

Cleanup options

  1. Remove / archive the master branch and rename gh-pages branch to master
  2. Merge gh-pages branch into master and delete gh-pages branch
Baklap4 commented 3 years ago

If we want to still use webconv we probably just have to create a CI by github actions or with semaphore to publish it to the gh-pages branch.

If we just want to have a static website which it currently is, i'm alright with just deleting the master branch and use find + replace

Tronic commented 3 years ago

Maintaining the navigation menu by hand is cumbersome if editing static HTML because the menu needs to be correctly duplicated on each file. So I think the options are either one of:

Editing those static HTML files combines the worst of both worlds, and thus should be avoided at all cost.

Earlier discussion at https://github.com/performous/web/pull/7#issuecomment-612459579

See for reference: Menu structure: https://github.com/performous/web/blob/master/htdocs-source/AWC-cfg.txt Template HTML: https://github.com/performous/web/blob/master/htdocs-source/Model.htm Page sources in TXT format (whitespace matters - tab indent for lists, paragraph per line, control characters at start of line): https://github.com/performous/web/blob/master/htdocs-source/blog.txt The conversion tool: https://github.com/performous/web/tree/master/webconv

A Linux binary is in repo as webconv.bin, it might still run on modern systems to avoid the recompile (but compiling should be very easy too, no external libraries required). You may be able to use the deploy-github.sh script to generate and upload.

Tronic commented 3 years ago

The gh-pages branch by Yoda 5 years ago seems to be just a snapshot of the generated site. Possibly with some edits that hopefully can be found by diff on the HTML files itself.

EDIT: Actually, I think the deploy-github script puts the generated site to that branch.

yoda-jm commented 3 years ago

Hello,

The branch is used as the default site (hosted on github) : https://github.com/performous/web/settings/pages This is the official website (performous.org) AFAIR

Baklap4 commented 2 years ago

Closing this in favor of #13