Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Support iatistandard 2.01 #229

Merged
merged 27 commits into from
Jan 21, 2015
Merged

Support iatistandard 2.01 #229

merged 27 commits into from
Jan 21, 2015

Conversation

Bjwebb
Copy link
Contributor

@Bjwebb Bjwebb commented Jan 14, 2015

This pull requests add support for 2.01 to the datastore. Whilst doing this, the following additional changes have been made:

Note that there is also some 2.01 related work that I have put off for now, since I don't think it's as important, and we are very short on developer time at the moment:
https://github.com/IATI/iati-datastore/milestones/Improving%202.01%20Support

I will deploy this code to the development copy of the datastore tomorrow, and if that goes as planned, to the live server next week.

* Make the raw XML test pass
* Update the 2.01 sample XML to include Steven's recent fixes:
  IATI/IATI-Extra-Documentation#287
* Add note to explain why region name test isn't working
Updates the `iati download_codelists` command to fetch these.
(This is taken from iati-activities/@Version)
These have either been done, or are covered by the GitHub issue.
(sector, recipient-country, recipient-region)
@Bjwebb
Copy link
Contributor Author

Bjwebb commented Jan 15, 2015

The code is now running on the dev datastore:
http://dev.datastore.iatistandard.org/api/1/access/activity.xml?limit=1

BUT, there seem to be some problems with the import (there are far fewer activities than in the live datastore). I will investigate this next week. I don't anticipate this being too tricky to fix, but it may take some time to do the reimport a few times (to test), so my current planned timeframe for putting the changes live is now the end of next week.

@Bjwebb
Copy link
Contributor Author

Bjwebb commented Jan 21, 2015

The import problems seem to be due to having more than one worker:
#230

I've now reimported using only one server, and it seems to have worked much better:
http://dev.datastore.iatistandard.org/api/1/access/activity.xml?limit=1

Bjwebb added a commit that referenced this pull request Jan 21, 2015
@Bjwebb Bjwebb merged commit 22e2a4c into master Jan 21, 2015
@Bjwebb Bjwebb deleted the support-iatistandard-2.01 branch January 21, 2015 11:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant