-
Notifications
You must be signed in to change notification settings - Fork 1
Compatible versions #388
Comments
@l-vincent-l the latest versions of Feed Registry and Datastore are always tested against each other. The We may of course have missed a bug. I am unable to reproduce the error that you mention. Please provide more information on the steps that produced the error. |
I can reproduce it running transitland-datastore with |
https://download.data.public.lu/resources/horaires-et-arrets-des-transport-publics/20170328-141752/OpenData_20170327.zip does not contain a GTFS feed. Transitland can only import GTFS feeds. I'm unclear, how were you able to add this URL to your local copy of the Transitland Datastore? |
Is there a more direct way to speak about it ? Like a slack or something ? |
We intentionally do not have a Transitland Slack organization at this time--using Github issues is preferable, since it keeps a record for others. That said, if you have questions and ideas that go beyond this particular error, please do feel free to write us at [email protected] |
I finally took time to make something to work on this bug.
If I apply this diff : diff --git a/app/feed/model.js b/app/feed/model.js
index 999f0a5..4cbbffe 100644
--- a/app/feed/model.js
+++ b/app/feed/model.js
@@ -7,7 +7,7 @@ var Feed = DS.Model.extend({
operators: DS.hasMany('operator', {
async: true
}),
- feed_versions: DS.hasMany('feed-version', { async: true }),
+ //feed_versions: DS.hasMany('feed-version', { async: true }),
url: DS.attr('string'),
feed_format: DS.attr('string'),
license_name: DS.attr('string') The error disappears. This is the response of datastore. So, the master of transit-land/feed-registry and transitland/transitland-datastore are not compatible. |
I try to run the latest version of feed-registry (commit: 8ff0a1d) and the latest release of transitland-datastore (commit: 48c6ad0ce746cabdd6fbd569e6153092bfcad7e5).
When I add a feed, I can upload a file, but than I have a error due to the fact that feed_versions is a
has_many
(https://github.com/transitland/feed-registry/blob/master/app/feed/model.js#L10), and transitland-datastore returns a null, it's incompatible.It would be great to add to the documentation which version of transitland-datastore is compatible with feed-registry.
The text was updated successfully, but these errors were encountered: