lp:~dannf/laika/configurable-bug-patterns
- Get this branch:
- bzr branch lp:~dannf/laika/configurable-bug-patterns
Branch merges
- Alex Chiang: Approve
-
Diff: 90 lines (+18/-4)2 files modifiedlaika (+15/-4)
laika.1 (+3/-0)
Branch information
Recent revisions
- 17. By dann frazier
-
Add --bug-pattern option
For a while now I've used a wrapper around laika to postprocess the output to
give me links to bugs in a wiki-style format:----SNIP----
$ cat ~/bin/laika
#!/bin/sh/usr/bin/laika | sed -r 's,https:/
/launchpad. net/bugs/ ([0-9]+),\[\[https:/ /launchpad. net/bugs/\1|LP #\1\]\],'
----SNIP----Since this feature might be useful to other people as well, I decided to add it
to the laika utility proper. But, instead of adding a simple --wiki-syntax
option, I tried to provide something more generically useful by letting users
specify their own patterns.Now, instead of a wrapper script, I can use the following laika config file:
----SNIP----
$ cat ~/.laikarc
[1.0]
bugpattern: [[https://launchpad. net/bugs/ $bugid|LP #$bugid]]
----SNIP---- - 15. By Alex Chiang
-
Handle lack of .laikarc properly
- merge lp:~achiang/laika/no-laikarc
- Fixes LP: #676112 - 14. By Alex Chiang
-
Merge lp:~achiang/laika/last_modified
Pass a 'last_modified' arg to searchTasks()
Limit our search for bugs within the user-specified window. This change
can improve our search performance by several hundred percent, reducing
a former 9 minute query down to 3 minutes and change, e.g. - 13. By Alex Chiang
-
Merge lp:~achiang/laika/status_fix
Search launchpad for all statuses, not just the default statuses returned by
searchTask().This change gives us a more complete picture of our launchpad activity within
the window. - 12. By Alex Chiang
-
Specify the python path according to Debian policy.
http://
www.debian. org/doc/ packaging- manuals/ python- policy/ ch-programs. html - 8. By Alex Chiang
-
Merge support for searching PPA activity from lp:~achiang/laika/ppa-activity
This branch adds support for searching for your activity in PPAs, as
defined by "uploads within the defined time window".You can search multiple PPAs. On the command line, the syntax looks like:
--ppas=
ppa1,ppa2, ppaN If you regularly contribute to several PPAs, it may be more convenient
to permanently specify them in your .laikarc configuration file.In the config file, the syntax looks like:
ppas: ppa1,ppa2,ppaN
Or, for readability:
ppas:
ppa1
ppa2
ppaNI prefer the second style, as PPA names tend to be long. Breaking them out
onto separate lines helps quite a bit with readability.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:laika