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

reimport v1 entries if they were not fetched #1666

Merged
merged 3 commits into from
Feb 11, 2016

Conversation

tcitworld
Copy link
Member

If an article was not properly fetched on v1, this will reimport it.

About tests, does adding a untitled entry in wallabag-v1.json is enough ?

@tcitworld tcitworld added this to the 2.0.0 milestone Feb 11, 2016
@@ -123,6 +126,10 @@ public function setFilepath($filepath)
protected function parseEntries($entries)
{
$i = 1;
/*
* Untitled in all languages from v1. This should never have been translated
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can put the comment on one line starting with //

@j0k3r
Copy link
Member

j0k3r commented Feb 11, 2016

About tests, does adding a untitled entry in wallabag-v1.json is enough ?

You can add both for the v1 & v2 import file

@j0k3r
Copy link
Member

j0k3r commented Feb 11, 2016

👍

j0k3r added a commit that referenced this pull request Feb 11, 2016
…-fetched

reimport v1 entries if they were not fetched
@j0k3r j0k3r merged commit 6896ae1 into v2 Feb 11, 2016
@j0k3r j0k3r deleted the v2-reimport-v1-articles-if-not-fetched branch February 11, 2016 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants