lp:~gz/hydrazine/bugclient_multitag_filter

Created by Martin Packman and last modified
Get this branch:
bzr branch lp:~gz/hydrazine/bugclient_multitag_filter
Only Martin Packman can upload to this branch. If you are Martin Packman please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Martin Packman
Project:
Hydrazine
Status:
Merged

Recent revisions

103. By Martin Packman

Make bugclient filtering on multiple tags work and expose tags_combinator param

102. By Jelmer Vernooij

merge fixes for 2.5 compatibility

101. By Alex Chiang

bugclient: add 'filter search' and 'filter regexp' for more powerful search

Add support for Launchpad search, which does a full text search inside
titles, descriptions, and whatever else the searchTasks('search_text')
API can do.

Additionally, allow user to enter python regular expression to search.

Currently limited to searching bug titles only, but could easily
be expanded to search bug descriptions as well if so desired.

This might be useful, e.g., to select all bugs with a certain
title, and then batch tag them so they can be found with the
web interface.

100. By Martin Packman

Fix NameError fallout from moving merge proposal filtering code in feed-pqm

99. By Alex Chiang

bugclient: add input validation for 'filter' command, other NamedEnums

Give the NamedEnum() class a new method, 'show_valid()'.

This gives us a standard way to handle error checking if the user
enters an invalid enum.

Harden the 'filter' command so it doesn't puke when you just type it
without any arguments

98. By Martin Packman

Merge requesting of WRITE_PRIVATE access only, and add NEWS

97. By Martin Packman

Merge use of bzr config for email in feed-pqm, and add NEWS

96. By Martin Packman

Merge hiding of proposals with unmerged prerequisites in feed-pqm, and add NEWS

95. By Alex Chiang

bugclient: add 'milestone' command

Allow user to set a milestone for a bugtask.

94. By Alex Chiang

bugclient: fix stacktrace in do_official_tags when there are no tags

Slight refactor of logic to return early if there are no official tags
defined for a pillar. Without this fix, we get the following stack trace:

  Traceback (most recent call last):
    File "./bugclient", line 519, in <module>
      main(sys.argv)
    File "./bugclient", line 515, in main
      cmd.cmdloop()
    File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop
      stop = self.onecmd(line)
    File "./bugclient", line 379, in onecmd
      return cmd.Cmd.onecmd(self, cmdline)
    File "/usr/lib/python2.7/cmd.py", line 219, in onecmd
      return func(arg)
    File "./bugclient", line 233, in do_official_tags
      _show_columnated(tags)
    File "./bugclient", line 465, in _show_columnated
      longest = max(map(len, tags))
  ValueError: max() arg is an empty sequence

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:hydrazine
This branch contains Public information 
Everyone can see this information.

Subscribers