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

Fix apidae trek parser multiple gpx features #4202

Conversation

marcantoinedupre
Copy link
Contributor

Le parser fusionne maintenant bout à bout toutes les features LineString du GPX à condition qu'elles soient continues. Précédemment le parser s'attendait à une unique feature (il importait donc uniquement la première feature trouvée).

Reste à :

  • ajouter un test
  • ajouter une traduction pour le message d'erreur

Description

Related Issue

Checklist

  • I have followed the guidelines in our Contributing document
  • My code respects the Definition of done available in the Development section of the documentation
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes
  • I added an entry in the changelog file
  • My commits are all using prefix convention (emoji + tag name) and references associated issues
  • I added a label to the PR corresponding to the perimeter of my contribution
  • The title of my PR mentionned the issue associated

Copy link

cypress bot commented Jun 18, 2024

Geotrek-admin    Run #9828

Run Properties:  status check passed Passed #9828  •  git commit fb83858843 ℹ️: Merge c8dc474bbd37d010f01da90880cb18f44797761d into 7dba1c07d25110d79ee032e7ea89...
Project Geotrek-admin
Branch Review refs/pull/4202/merge
Run status status check passed Passed #9828
Run duration 02m 00s
Commit git commit fb83858843 ℹ️: Merge c8dc474bbd37d010f01da90880cb18f44797761d into 7dba1c07d25110d79ee032e7ea89...
Committer Marc-Antoine Dupré
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 22
View all changes introduced in this branch ↗︎

@marcantoinedupre marcantoinedupre changed the base branch from master to fix_apidae_trek_parser_duration September 2, 2024 07:16
@marcantoinedupre marcantoinedupre force-pushed the fix_apidae_trek_parser_duration branch from 2e91dcf to 7dba1c0 Compare September 2, 2024 15:32
@marcantoinedupre marcantoinedupre force-pushed the fix_apidae_trek_parser_multiple_gpx_features branch from 57cc504 to c8dc474 Compare September 3, 2024 08:41
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.38%. Comparing base (8f7f513) to head (eb1196c).
Report is 7 commits behind head on fix_apidae_parser.

Additional details and impacted files
@@                Coverage Diff                 @@
##           fix_apidae_parser    #4202   +/-   ##
==================================================
  Coverage              98.38%   98.38%           
==================================================
  Files                    267      267           
  Lines                  20905    20914    +9     
==================================================
+ Hits                   20568    20577    +9     
  Misses                   337      337           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marcantoinedupre marcantoinedupre marked this pull request as ready for review September 3, 2024 08:54
@marcantoinedupre marcantoinedupre force-pushed the fix_apidae_trek_parser_multiple_gpx_features branch from c8dc474 to bb657d5 Compare September 3, 2024 14:26
@marcantoinedupre marcantoinedupre force-pushed the fix_apidae_trek_parser_duration branch from 7dba1c0 to 8f7f513 Compare September 3, 2024 14:31
Base automatically changed from fix_apidae_trek_parser_duration to fix_apidae_parser September 3, 2024 14:32
- previously it assumed a single feature,
- and only the first one was imported,
- all features must be continuous in order to be merged.
@marcantoinedupre marcantoinedupre force-pushed the fix_apidae_trek_parser_multiple_gpx_features branch from bb657d5 to eb1196c Compare September 3, 2024 14:34
@marcantoinedupre marcantoinedupre merged commit bbea8d7 into fix_apidae_parser Sep 3, 2024
10 checks passed
@marcantoinedupre marcantoinedupre deleted the fix_apidae_trek_parser_multiple_gpx_features branch September 3, 2024 14:35
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.

4 participants