Skip to content

Conversation

@uxairibrar
Copy link
Collaborator

@uxairibrar uxairibrar commented May 31, 2025

Closes #51

Added the feeds for different regions and they are displayed on the feeds page in different formats.

@nuest
Copy link
Member

nuest commented Jun 2, 2025

@uxairibrar Please check the failing tests.

Please also add unit tests based on your extended test data. All feeds should contain X publications and the properties, esp. coordinates, should be roughly correct (string matching is fine).

@uxairibrar uxairibrar force-pushed the features/feeds_oceans_continents branch from 35c9754 to 1be5672 Compare June 23, 2025 14:50
Copy link
Member

@nuest nuest left a comment

Choose a reason for hiding this comment

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

Good work - thank you. I am only not happy with three things:

  1. The duplicate creation of test data. Please try to load the fixtures for the test case. If you cannot get it to work quickly (30 mins.) then let me know and we merge as is.
  2. The tests do not actually test if retrieving the "Europe" feed I get the publication that I should get.
  3. The license URL for the ESRI data source is insufficient, because it links to a page that does not have the license information for the used data set. https://hub.arcgis.com/datasets/esri::world-continents/about is not helpful but looking at the raw metadata is: https://www.arcgis.com/sharing/rest/content/items/57c1ade4fa7c4e2384e6a23f2b3bd254/info/metadata/metadata.xml?format=default&output=html On the other hand, it is useless because it does not list any "vendor". Nevertheless, please use that URL instead.

nuest
nuest previously approved these changes Jul 8, 2025
Copy link
Member

@nuest nuest left a comment

Choose a reason for hiding this comment

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

I'm going to merge so @uxairibrar can continue with other tasks,

However, I will follow up with a PR on what I actually meant for the tests, because the current tests only see if the database query and the feed content match, but not if there is an issue with the database query.

@nuest nuest self-requested a review July 8, 2025 12:53
@nuest
Copy link
Member

nuest commented Jul 8, 2025

@uxairibrar The tests didn't test anything, because the loop over all regions did not do anything, because the global regions were not loaded for the tests.

Please check my changes, and fix the final failing test "django.urls.exceptions.NoReverseMatch: Reverse for 'global_feed' not found. 'global_feed' is not a valid view function or pattern name."

@nuest nuest dismissed their stale review July 8, 2025 13:01

More changes needed.

@uxairibrar
Copy link
Collaborator Author

I have fixed that global region, removed that code, because it was for geojson feeds of region, and we don't have that flow right now.

@nuest nuest merged commit 0e91363 into main Jul 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feeds for continents and oceans

3 participants