- See page list to clean up HighLine.Wiki DISTRIBUTION
Steps to follow when creating a new wiki release#
1. Verify that the Wiki has no bad-branded items#
Using the search tool:- "High Line" and "HighLine" - ensure that references to these terms are appropriate
- Verify that the Wiki has no "Imperial" spelling usages
- behaviour - should be behavior
- centre - should be center
- cheque - should be check
- An entry on "Translation and Preloaded Labels" is okay
- colour - should be color
- dependant - should be dependent
- Entries on "DRV_Dependant" and linked entries from "P2K_HR_CONTACTS" and "WEECN" are okay
- enrol - should be enroll
- favourite - should be favorite
- grey - should be gray
- labelled - should be 'labeled'
- labour - should be labor
- references to "CFED_LABOUR_FUND" and other strictly Canadian taxation-related fields are okay.
- theatre - should be theatre
- Change any references to ePersonality to Personality
- look for references to eP to change as well
2. Clean up Files that need mending#
- Open the TitleBox page and ensure that the version is set correctly.
- Open the CLEANUP Page and clean up (or remove the reference) to all pages that are referenced there.
3. Bring the new content into the distribution area#
Remote Desktop to ARGO (Deployment Staging Area) - Note that this could be any other server (not our internal production wiki)- Open a Windows Explorer on C:\WikiDistribution\WIKI (Distribution folder)
- Delete the Files and Attachments subdirectories (if present)
- Open another Windows Explorer for \\Brevis\E$\WIKI (Source Folder)
- Copy the Files and Attachments subdirectories to the C:\WikiDistribution\WIKI folder on ARGO
- Go to the Files subdirectory and clean up the internal-only files:
- delete the OLD folder
- delete any files that begin with HighLine.*
- delete any files that begin with Custom.*
- delete any files that begin with Internal.* (case sensitive)
- delete any files that begin with SOP.*
- delete author pages (RForbes, JAiken, KParrott, LUrtan) if they are here
4. Move into ARGO Wiki Deployed World#
- Open ARGO Enterprise Manager and STOP the WIKI Instance
- Delete C:\WIKI\Temp folder
- Delete C:\WIKI\Attachments folder
- Delete C:\WIKI\Files folder
- COPY C:\WikiDistribution\WIKI\Attachments and C:\WikiDistribution\WIKI\Files folders into c:\WIKI\
- Open ARGO Enterprise Manager and START the WIKI Instance
- Connect to the wiki at http://argo.highlinecorp.com/Wiki/ (it is case sensitive)
5. Set Time of Release#
Select one of the following optionsa) OPTION A - Use DOS command to set Modified Time to current date (time will vary)
- Open a CMD window on ARGO
- Change directory to
C:\WikiDistribution\WIKI\Files and type the following command exactly to change the date/time stamp to be the current date/time
- Change directory to
copy /b *.txt +,,
b) OPTION B - Use TOUCH Program
- Run C:\Program Files (x86)\Touch\Touch.exe used to modify date/time on all files to a known value
5. Open the HighLine.PagesNotCreated Page and create any missing pages with the following text:#
- Go to the page http://brevis.highlinecorp.com/Wiki/Wiki.jsp?page=HighLine.PagesNotCreated where we will see a list of all the pages that have been referenced, but do not yet exist (the red links)
- Highlight all the text, capturing the names of all the pages and copy that to the clipboard Note that some of the links are blue. These are typically pointing to an attachment file (JPG/PDF/xxx) that used to exist or was referenced and no longer is there. This can happen if pages or linked files are deleted and the links to them are left stranded.
- Paste the clipboard contents into a new NOTEPAD++ text file.
- Review the pasted contents and delete any lines that you do not want to create a placeholder file for
- Using Notepad++ Replace command (Ctrl-H) ensure that the option of Search Mode = Extended (\n, \r, \t, \0, \x...) is turned on
Find what: \n\r (there is a leading space there)
replace with: .txt"\r\nEcho !!Sorry, this page has not yet been created >" (including quotes – needed to support pages with spaces)
and click Replace All
This removes the last trailing blank, appends .txt to it (except for the last line) and then adds the echo command in front (except for line 1), enclosing the file name in quotes
- On line 1 add this text at the beginning of the file (on the same line)
Echo !!Sorry, this page has not yet been created >"
- On the last line, add ".txt to the end of the file name
Every line should now look like this example. Review the file to ensure that this is so!
Echo !!Sorry, this page has not yet been created >”ABSENCE_SOURCE_KEY.txt”
What this command will do is create a file called ABSENCE_SOURCE_KEY.txt with the content appended to it !!Sorry, this page has not yet been created - Save this file as a .BAT file (i.e. CreateMissing.bat)
- Open a command prompt window (CMD) in that directory where the Bat file exists and execute the batch file by typing the filename (i.e. CreateMissing)
7. Create Distribution ZIP#
- On ARGO Remote Desktop, access Windows Explorer window on C:\WikiDistribution
- Highlight The sub directories Initialize and WIKI, and right-click select Send To --> Compressed (zipped) folder
- Rename Compressed Folder to be WikiDistribution
- Moved WikiDistribution.Zip file to the C:\Temp folder (Which is shared and accessible)