iCloud: UID lookups fail with 412
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Read the UID research in #733 and the full-download concern in #726, then trace get_event_by_uid(), get_object_by_uid(), and save() for a single occurrence. Check the existing tests for UID lookups and occurrence saves; the issue does not name test files. Before implementing either proposed approach, get a maintainer decision on whether the 412-only fallback is acceptable; done means UID lookup and single-occurrence saves work for the reported iCloud cases without downloading compliant servers' calendars.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Following up on the UID research from #733. iCloud answers 412 to every prop-filter on UID I tried, so on master get_event_by_uid() fails (with or without features="icloud"), and so does save() of a single occurrence (only_this_recurrence), which looks the master up by UID. Home Assistant, my use case, doesn't pass features.
What I found: 10 of 11 events in my test calendar (made with Apple clients, not caldav) are stored as <UID>.ics. The 11th, a made-up UID with / and +, isn't, and GET <quoted uid>.ics misses it. Expanded occurrences carry the URL of the series file.
I'd like to send two PRs:
- A:
save()of an occurrence first GETs its own URL (the series file), falling back to the UID lookup. - B: on 412,
get_object_by_uid()triesGET <uid>.ics(checking the UID), then lists the calendar and matches the UID locally. Only on 412, so compliant servers never get the full download (the concern from #726).
Is B on the 412 alone, regardless of features, OK with you?
- Ngôn ngữ chính
- Python
- Star
- 412
- Fork
- 113
- Merge trung bình
- 10 giờ 29 phút
- Pull request đã merge (30 ngày)
- 57
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 python-caldav/caldav
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
python-caldav/caldav#792 ·
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 68/100
python-caldav/caldav#788 ·
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 62/100
python-caldav/caldav#687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 75/100
python-caldav/caldav#796 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
python-caldav/caldav#784 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của python-caldav/caldav
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
developmentseed/titiler-cmr#250 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: IndexHandler.post crashes with HTTP 500 on malformed payloads, missing credentials, or when login is disabledCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ 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 6 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
cookiecutter/cookiecutter-django#6999 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix: @_helpers.positional raises TypeError when decorating functions without default argumentsCó thể đã có người làm @codeXsidd đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
googleapis/google-api-python-client#2845 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bump zizmor to 1.31.1+Đang mởgithub_actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
collective/icalendar#2003 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày