Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration path from LTS to 1.0 #8141

Closed
6 tasks done
kirrg001 opened this issue Mar 13, 2017 · 2 comments
Closed
6 tasks done

Migration path from LTS to 1.0 #8141

kirrg001 opened this issue Mar 13, 2017 · 2 comments
Assignees
Labels
import / upgrade life-cycle stuff: Importing, exporting, upgrading and migrating server / core Issues relating to the server or core of Ghost

Comments

@kirrg001
Copy link
Contributor

kirrg001 commented Mar 13, 2017

We will introduce a migration path from LTS to 1.0 soon 🐩
To realise this, we need to keep track of some tasks, which need to be done.
The goal is to be able to import a LTS export into a 1.0 blog.

TODO

@kirrg001 kirrg001 added the server / core Issues relating to the server or core of Ghost label Mar 13, 2017
@ErisDS ErisDS added the import / upgrade life-cycle stuff: Importing, exporting, upgrading and migrating label Mar 20, 2017
@ErisDS ErisDS assigned kirrg001 and unassigned kirrg001 Mar 20, 2017
@kirrg001 kirrg001 added this to the 1.0.0 Beta Ready milestone Mar 20, 2017
@ErisDS ErisDS modified the milestones: 1.0.0 Beta Ready, 1.0.0 Launch Mar 30, 2017
@kirrg001 kirrg001 removed this from the 1.0.0 Backlog milestone May 12, 2017
@kirrg001 kirrg001 changed the title [WIP] Migration path from LTS to 1.0 Migration path from LTS to 1.0 May 24, 2017
cobbspur added a commit to cobbspur/Ghost that referenced this issue May 31, 2017
refs TryGhost#8141

- ensure post image is mapped to feature_image
- add test so ensure all image fields are correctly mapped and en_US langauge is set to en
cobbspur added a commit to cobbspur/Ghost that referenced this issue May 31, 2017
refs TryGhost#8141

- ensure post image is mapped to feature_image
- add test so ensure all image fields are correctly mapped and en_US langauge is set to en
cobbspur added a commit to cobbspur/Ghost that referenced this issue May 31, 2017
refs TryGhost#8141
- if mobiledoc is null, use markdown or html to create a mobiledoc markdown card
cobbspur added a commit to cobbspur/Ghost that referenced this issue May 31, 2017
refs TryGhost#8141
- defaultLang in settings now maps to default_locale
- language for post and user models now maps to locale
- updates tests
@pascalandy
Copy link

Following this :)

cobbspur added a commit to cobbspur/Ghost that referenced this issue Jun 1, 2017
refsa TryGhost#8141
- for users the importer maps last_login to last_seen
cobbspur added a commit to cobbspur/Ghost that referenced this issue Jun 1, 2017
refs TryGhost#8141
- For export with old activeTheme key provide a warning that theme is not installed
cobbspur added a commit to cobbspur/Ghost that referenced this issue Jun 1, 2017
refs TryGhost#8141
- add a test for lts export where email adrress could be longer than alpha
cobbspur added a commit to cobbspur/Ghost that referenced this issue Jun 1, 2017
refs TryGhost#8141
- use valueOf in moment to compare times stored in different formats
cobbspur added a commit to cobbspur/Ghost that referenced this issue Jun 1, 2017
refs TryGhost#8141
- use a flag to ignore NotFound Entries for settings during import
kirrg001 pushed a commit that referenced this issue Jun 4, 2017
refs #8141

- update importer for LTS fields
- optimise for LTS export fixtures
- add image/language test for LTS import
- ensure post image is mapped to feature_image
- create mobiledoc values from markdown and html
- if mobiledoc is null, use markdown or html to create a mobiledoc markdown card
- update import mapping to use locale
- defaultLang in settings now maps to default_locale
- language for post and user models now maps to locale
- posts are not always loaded in correct same order so we select the posts we want to validate
- ensure if mobiledoc field is not in export we can still import from markdown
- map last_login to last_seen
- for users the importer maps last_login to last_seen
- add warning for legacyActiveTheme
- for export with old activeTheme key provide a warning that theme is not installed
- add importer test for LTS user long email
- add a test for LTS export where email address could be longer than alpha
- fix for importer date tests on mysql
- use valueOf in moment to compare times stored in different formats
- ignore warnings for not found settings in import
- use a flag to ignore NotFound Entries for settings during import
@kirrg001 kirrg001 added OAuth later [triage] Things we intend to work but are not immediate priority and removed OAuth later [triage] Things we intend to work but are not immediate priority labels Jun 4, 2017
@kirrg001
Copy link
Contributor Author

kirrg001 commented Jun 6, 2017

Closed via #8498

@kirrg001 kirrg001 closed this as completed Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import / upgrade life-cycle stuff: Importing, exporting, upgrading and migrating server / core Issues relating to the server or core of Ghost
Projects
None yet
Development

No branches or pull requests

4 participants