Feature #5893

Sort the content of the old forum

Added by Tails 2013-07-18 07:47:46 . Updated 2013-11-06 13:22:16 .

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Website
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

To be able to reuse the content of the old forum in some way we need to finish cleaning it first. That process is documented below.

Using mc, the GNU Midnight Commander, you can then browse the forum content by chronological order.

  • Move to the forum folder.
  • Run the restore mtime.sh script that updates the modification time of both the original post and the folder containing the corresponding comments to the date of the original post, retrieved through Git. It takes as argument the maximum age, in days, of the threads for which to restore the date.
  • Start mc in the forum folder.
  • To mix both directories and file in the file listing, press F9 and choose Options > Panel options…> Mix all files.
  • To sort files by modify time, press F9 and choose Left > Sort order> Modify time.
  • To have a preview of files in the right panel, press F9 and choose Right -> Quick view.

This happens in the doc/sort_the_forum branch.

  • Before pushing changes it’s good to check the forum for old questions without answers and possibly answers without questions:

    for i in * ; do [ -d $i ] && [ ! -f "$i.mdwn" ] && echo $i ; done
    
    for i in * ; do [ ! -d ${i%%.mdwn} ] && ls -l $i ; done
  • Merge from master branch to get the new threads.

  • Merge this branch into master to reduce the load on the server. Pushing such commits can take a while, even if they are only delete content from the forum…


Subtasks


Related issues

Blocked by Tails - Feature #5984: decide what kind of web support do we want to provide Resolved

History

#1 Updated by sajolida 2013-09-29 01:56:28

  • Subject changed from clean the forum to Sort the content of the old forum
  • Starter set to No

#2 Updated by sajolida 2013-10-18 12:30:35

A first round of cleaning up, going through all the content by chronological order, was completed.

  • Posts were reduced from 2278 to 372.
  • Comments were reduced from 11259 to 614.

#3 Updated by intrigeri 2013-10-18 12:33:26

redmine@labs.riseup.net wrote (18 Oct 2013 19:30:36 GMT) :
> A first round of cleaning up, going through all the content by chronological order, was completed.

Wow! \o/

#4 Updated by sajolida 2013-11-06 13:22:16

  • Status changed from Confirmed to Duplicate

#5 Updated by intrigeri 2014-08-02 17:26:15