GPX export: missing per-cache desc summary, urlname, short_description, travelbugs elements
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
The GPX output is built in garmin.py, where the if cache.short_description: guard already exists. Compare the wpt-level <desc> and <urlname> writing against the GCBTPGK sample file, and check how cache.trackables is read. Done means the new <desc> summary, <urlname>, and groundspeak:travelbugs block are written and the export still passes the existing GPX tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Current State
While verifying the fix for #695 (wrong/missing IDs in GPX export), a side-by-side diff against the original geocaching.com GPX (same cache, GCBTPGK) turned up a few smaller, unrelated gaps in the exported /groundspeak:cache content. None of these affect the ID/owner/finder data #695 was about — cache id, owner, and all finder ids now match the source exactly.
Proposed Improvement
Gaps found
(wpt-level) uses only the cache name, not GSAK's summary format
Geocaching.com / GSAK: Deset kirke by LarsET, Traditional Cache (3/1.5)
OpenSAK: Deset kirke
Missing: owner, cache type, and D/T rating in the summary line.
(wpt-level) is never written
Geocaching.com: Deset kirke
OpenSAK: element absent entirely.
groundspeak:travelbugs is never written
Present (empty) in the source file for this particular cache, so no visible difference in this test — but the export code has no handling for cache.trackables at all, so any cache that actually has travel bugs/trackables present would lose that data on export.
Not a bug (confirmed while investigating)
groundspeak:short_description looked missing in the diff, but this is correct behavior — the source file's short_description was empty, and the export code already correctly skips writing the element when there's no content (if cache.short_description: in garmin.py). No change needed there.
Suggested fix
Build the wpt-level as f"{cache.name} by {cache.placed_by}, {cache.cache_type} ({difficulty}/{terrain})" (or similar), matching GSAK/geocaching.com's format.
Add a element mirroring cache.name.
Add a groundspeak:travelbugs block populated from cache.trackables, matching the structure GSAK uses (this ties into the still-open child-waypoint/.gpi POI export gap noted elsewhere — worth checking both together if/when trackable export is tackled).
Low priority — none of this affects Garmin device recognition (that was the attributes/long_description/log-truncation fix from #656) or data integrity (that was #695). Good candidate for the general backlog rather than the v1.16.2 hotfix.
Expected Benefits
No response
- Ngôn ngữ chính
- Python
- Star
- 37
- Fork
- 17
- Merge trung bình
- 21 giờ 5 phút
- Pull request đã merge (30 ngày)
- 131
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenSAK-Org/OpenSAK
-
Make it clear that the Windows ZIP download is portable (no installer, not in Apps & Features)Đang mởarea: documentation documentation good first issue OS: windows
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
OpenSAK-Org/OpenSAK#1289 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: geo-data improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
OpenSAK-Org/OpenSAK#1285 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: geo-data good first issue improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
OpenSAK-Org/OpenSAK#789 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: UI improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
OpenSAK-Org/OpenSAK#729 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: import improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenSAK-Org/OpenSAK#648 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenSAK-Org/OpenSAK
Issue tương tự
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Community
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kedro-org/kedro-plugins#1575 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
hive size:simple
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Significant-Gravitas/AutoGPT#16733 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
changelog investigate
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
ramnes/notion-sdk-py#444 ·