Sponsored Content
The Lounge What is on Your Mind? Update on vB3 Migration to Discourse - Issues and Status of BBCode Transformations Post 303046162 by Neo on Sunday 26th of April 2020 07:16:21 AM
Old 04-26-2020
Update1:

Update2:
  • Added two columns to the vb3 post table, discourse_topic_id and the discourse_post_id
  • Added one column to the vb3 thread table, discourse_topic_id
  • Added Ruby code to the migration script preprocessing control which inserts the discourse_topic_id and the discourse_post_id of the migrated posts back into the mysql dump for the vb3 post and thread tables.

After migration will update the original vb3 post and thread table so we have the mappings to the discourse_post_id and discourse_thread_id, which we will use for a number of redirections and links in the future.

This means, for example, when someone clicks on an old thread in the legacy vb3 forum to reply, we can send them to the new thread to reply.

Cheers.
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell Script migration issues

Hi All, We will be doing a Solaris 8 to Solaris 10 migration migration, just wanted to know if there are any known / common issues arise from this migration from Shell script point of view. I tried searching this site but mostly post are related to SA's question and jumpstart, etc. If there's... (4 Replies)
Discussion started by: arvindcgi
4 Replies

2. HP-UX

Migration - Compiler Issues.

All, We are migrating an application from HP-UX B.11.00 to HP-UX B.11.31 and both of them have the same informix version - 7.25se. However the compilers are different on both servers. HP-UX B.11.00 - has B3913DB C.03.33 HP aC++ Compiler (S800) HP-UX B.11.31 - has PHSS_40631 1.0 HP C/aC++... (2 Replies)
Discussion started by: helper
2 Replies

3. Programming

How to track table status delete/update/insert status in DB2 V10 z/os?

Dear Team I am using DB2 v10 z/os database . Need expert guidance to figure out best way to track table activities ( Ex Delete, Insert,Update ) Scenario We have a table which is critical and many developer/testing team access on daily basis . We had instance where some deleted... (1 Reply)
Discussion started by: Perlbaby
1 Replies

4. What is on Your Mind?

Status of Migration of Moderation Systems

First a bit of history .... A number of years ago one of our admins built a number of plugin systems for moderation, including (1) a voting system, (2) a "user feelings" system and (3) a confidential posting system. During this time, I was busy on other projects, not very active in the forums,... (1 Reply)
Discussion started by: Neo
1 Replies

5. What is on Your Mind?

VBulletin 3.8 to Discourse on Docker Migration Test Take Two

OK. Like we all do, we learn a lot from tests, test migrations, and so forth. Today, I started from scratch on test migration 2, armed with a lot more knowledge, The main differences are as follows: Installed discourse plugin ruby-bbcode-to-md before starting the install Modified... (30 Replies)
Discussion started by: Neo
30 Replies

6. What is on Your Mind?

VBulletin 3.8 to Discourse on Docker Migration Test Take Four

Test Build 4 on New Server, with changes identified in discourse test builds 2 and 3, primarily: Insuring ruby-bbcode-to-markdown is enabled. Removing line breaks from ICODE to markdown in migration script. Added vbpostid to posts in discourse to setup migrating vb "thanks" to discourse... (28 Replies)
Discussion started by: Neo
28 Replies
Parity(3)						User Contributed Perl Documentation						 Parity(3)

NAME
String::Parity, setEvenParity, setOddParity, setSpaceParity, setMarkParity, isEvenParity, isOddParity isSpaceParity, isMarkParity, Even- Bytes, OddBytes, SpaceBytes, MarkBytes, showParity, showMarkSpace - Parity (odd/even/mark/space) handling functions SYNOPSIS
use String::Parity; use String::Parity qw(:DEFAULT /show/); DESCRIPTION
setEvenParity LIST Copies the elements of LIST to a new list and converts the new elements to strings of bytes with even parity. In array context returns the new list. In scalar context joins the elements of the new list into a single string and returns the string. setOddParity LIST Like setEvenParity function, but converts to strings with odd parity. setSpaceParity LIST Like setEvenParity function, but converts to strings with space (High bit cleared) parity. setMarkParity LIST Like setEvenParity function, but converts to strings with mark (High bit set) parity. EvenBytes LIST Returns the number of even parity bytes in the elements of LIST. OddBytes LIST Returns the number of odd parity bytes in the elements of LIST. SpaceBytes LIST Returns the number of space parity bytes in the elements of LIST. MarkBytes LIST Returns the number of mark parity bytes in the elements of LIST. isEvenParity LIST Returns TRUE if the LIST contains no byte with odd parity, FALSE otherwise. isOddParity LIST Returns TRUE if the LIST contains no byte with even parity, FALSE otherwise. isSpaceParity LIST Returns TRUE if the LIST contains no byte with mark parity, FALSE otherwise. isMarkParity LIST Returns TRUE if the LIST contains no byte with space parity, FALSE otherwise. showParity LIST Like setEvenParity function, but converts bytes with even parity to 'e' and other bytes to 'o'. The function showParity must be imported by a specialised import list. showMarkSpace LIST Like setEvenParity function, but converts bytes with space parity to 's' and other bytes to 'm'. The function showMarkSpace must be imported by a specialised import list. NOTES
Don't use this module unless you have to communicate with some old device or protocol. Please make your application 8 bit clean and use the internationally standardised ISO-8859-1 character set. AUTHOR
Winfried Koenig <win@in.rhein-main.de> SEE ALSO
perl(1), Exporter(1) perl v5.8.0 1996-12-10 Parity(3)
All times are GMT -4. The time now is 12:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy