Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Support negated searches

Đang mở
#568 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Start by reading search.py and tracing build_search_xml_query; then check how the caldav-server-tester and icalendar-searcher projects can test server support and the != operator. Add unit and functional tests for negated text matches, including the client-side filtering workaround when a server does not support them; done means these tests verify both supported and unsupported server cases.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The CalDAV-protocol supports negated text matches, but this is not properly implemented in the current search functionality.

This requires some work:

  • In the caldav-server-tester project, it's needed to do some testing to check if the server supports it or not
  • In the icalendar-searcher project, it's needed to implement support for the != operator
  • In search.py, the build_search_xml_query should be fixed to support negated text matches
  • In search.py, we need a workaround for removing the attribute from the search and then do client-side filtering in cases where the server does not support negated text matches.
  • It's needed to add both unit tests and functional tests
Ngôn ngữ chính
Python
Star
412
Fork
113
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
43

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-caldav/caldav

Tất cả issue của python-caldav/caldav

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.