Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L limbra
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • limbra
  • limbra
  • Wiki
  • Migrate0900

Last edited by LE GAC Renaud Nov 11, 2015
Page history

Migrate0900

Migrate from release 0.8.14 to 0.9.0

The release 0.9.0 is not backward compatible since it uses a new database schema. The different steps of the migration are the following:

   > cd scripts
   > ./run dump ../models/_db_pro.py
   > ./run mysql ../models/_db_pro.py dbschema_0900.sql
   > ./run mysql ../models/_db_pro.py graphs_0900.sql
   > ./run loop ../models/_db_pro.py fix_country_0900.py
   > ./run loop ../models/_db_pro.py fix_origin_0900.py
   > ./run loop ../models/_db_pro.py fix_publisher_0900.py
   > cd ../models
   > mv ux0_preferences.py.off ux0_preferences.py
   > mv ux0_authors_roles.py.off ux0_authors_roles.py
  • Launch web2py
  • Run the application
  • Rename the files ux0_preferences, ux0_authors_roles to *.py.off
  • Check the list of publisher against doublon, empty names, etc.
Clone repository
  • CheckRelease
  • DocumentingPythonCode
  • HarvesterLogic
  • InstallJsduck
  • InstallSenchaCmd
  • MariaDB
  • Migrate0811
  • Migrate0900
  • PyTest
  • RoadMap
  • YumAutoUpdate
  • api_inspirehep
  • branching_model
  • Home