Changes between Version 5 and Version 6 of MasterUrl


Ignore:
Timestamp:
Oct 10, 2009, 6:10:41 PM (15 years ago)
Author:
Nicolas
Comment:

Use '1.' in all list items; Trac will take care of numbering.

Legend:

Unmodified
Added
Removed
Modified
  • MasterUrl

    v5 v6  
    2626 1. Pick a ''good'' new URL according to the above recommendations,
    2727 so that you will never need to change it again.
    28  2. If the project was ever public,
     28 1. If the project was ever public,
    2929 post news to let users know the URL will change.
    30  3. If stats aggregators carry your project's stats,
     30 1. If stats aggregators carry your project's stats,
    3131 let the site admins know about the URL change.
    32  3. If you have any tasks in progress or waiting to be sent,
     32 1. If you have any tasks in progress or waiting to be sent,
    3333 it's recommended you wait until they are all done before changing the URL.
    3434 And/or abort the unsent tasks.
     
    3737 but if users already have workunits on their computers,
    3838 they will still have old URLs and you can't edit that.
    39  4. Stop the project.
    40  5. Replace URL everywhere in [ProjectConfigFile config.xml]
    41  6. Replace scheduler URL in `html/users/schedulers.txt`.
     39 1. Stop the project.
     40 1. Replace URL everywhere in [ProjectConfigFile config.xml]
     41 1. Replace scheduler URL in `html/users/schedulers.txt`.
    4242 Prefix should match the URL in [ProjectOptions#dirs <cgi_url> in config.xml].
    43  7. If you have [ProjectSkin project-wide files],
     43 1. If you have [ProjectSkin project-wide files],
    4444 like logos for the simple GUI,
    4545 replace download URLs in `project_files.xml`
    46  8. Delete everything in `html/cache`,
     46 1. Delete everything in `html/cache`,
    4747 since cached pages may have links to the old URL,
    4848 and users would get broken links for an hour or so.
     
    5151 rm -rf html/cache/*
    5252}}}
    53  9. Either create new application versions,
     53 1. Either create new application versions,
    5454 or update the `app_version` table to have the new URLs:
    5555{{{
    5656 UPDATE app_version SET xml_doc = REPLACE(xml_doc, "http://old.example.com/", "http://new.example.org/");
    5757}}}
    58  10. If you have forums enabled,
     58 1. If you have forums enabled,
    5959 you may want to do a similar replacement on forum contents,
    6060 in case users posted links to their computers or similar.
    61  11. Start the project, send some test workunits,
     61 1. Start the project, send some test workunits,
    6262 and make sure everything is working.