Mailman Client doesn't _DOMAIN doesn't offer a list of lists

Bug #802971 reported by benste
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Barry Warsaw
GNU Mailman REST Client
Fix Committed
Undecided
Unassigned
MailmanwebGSoC2011
Triaged
Wishlist
benste

Bug Description

I'd suggest adding a functionalty which would need a domain as param, and return a list of mailing lists associated with this domain.

This could be used to display a choice of all available domains on this web_host and allow simple deletition of all mailinglists on this domains in case a domain will ever be deleted.

Tags: mailman3

Related branches

Revision history for this message
benste (benste) wrote :

If we don't fix it for a8 in the core we could add an additional method to the Domain class in _client.py to querry all lists and filter those to only return those which match the web_host

tags: added: mailman3
Revision history for this message
benste (benste) wrote :

or mail_host :-)

Changed in mailmanwebgsoc2011:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Wishlist
assignee: nobody → benste (benste)
Barry Warsaw (barry)
Changed in mailman:
assignee: nobody → Barry Warsaw (barry)
importance: Undecided → Medium
milestone: none → 3.0.0a8
status: New → Confirmed
Changed in mailman:
status: Confirmed → In Progress
Revision history for this message
Barry Warsaw (barry) wrote :
Changed in mailman:
status: In Progress → Fix Committed
Barry Warsaw (barry)
Changed in mailman:
status: Fix Committed → Fix Released
Revision history for this message
Florian Fuchs (flo-fuchs) wrote :

List for a specific domain can be retreived now via the domains `lists`property:

    >>> example = client.get_domain(web_host='http://example.com')
    >>> for mlist in example.lists:
    ... print mlist
    <List "<email address hidden>">
    <List "<email address hidden>">
    <List "<email address hidden>">

Changed in mailman.client:
status: New → Fix Committed
Changed in mailman.client:
milestone: none → 1.0.0a1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.