16 Commits

Author SHA1 Message Date
Niels Thykier
c145dbd836 Fix the hint-tester's auto-completion
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-07-05 18:48:19 +00:00
Niels Thykier
074eb46766 Remove unused assignments/parameters
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-04-26 18:20:11 +02:00
Adam D. Barratt
00196429e2 Completer: add "approve" to the command completion
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 17:19:49 +00:00
Adam D. Barratt
74b087c13a Completer: offer tpu packages when completing "approve" hints
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 17:19:01 +00:00
Adam D. Barratt
3b03f1fefd Completer: copyright foo
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 17:12:04 +00:00
Adam D. Barratt
a69d450c38 Completer: when processing a "remove", only offer packages from testing
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 17:10:11 +00:00
Adam D. Barratt
45fef5e4d5 Completer: add forgotten "remove" to command completion
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 16:59:19 +00:00
Adam D. Barratt
22f39c75d6 Completer: support all hints
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 16:39:23 +00:00
Adam D. Barratt
8b09f949b6 Completer: don't crash if there are candidates in t-p-u
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-14 19:58:14 +00:00
Niels Thykier
d41bf54585 Convert all classes to "new-type" Python classes
Signed-off-by: Niels Thykier <niels@thykier.net>
2012-01-06 19:39:57 +01:00
Niels Thykier
44352da611 Re-added support for completing removals in tab-completer
The broken "do_hint" was caused by lack of versions in the resulting
hint.

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-01-04 18:07:45 +01:00
Niels Thykier
8a1a43c965 Fixed the tab-completer in hint-tester
It was temporarily broken by commit 5814723.

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-01-04 17:59:04 +01:00
Niels Thykier
5814723a08 Completer: use britney.upgrade_me instead of generate_package_list
generate_package_list had the unintended side-effect of regenerating
self.excuses (up top of the original excuses).

Signed-off-by: Niels Thykier <niels@thykier.net>
2012-01-04 16:38:22 +01:00
Niels Thykier
e71016c5a0 Fixed tab-completion for packages containing "-"
Also fix broken tab-completion after the first "/".
2011-10-22 14:09:35 +02:00
Niels Thykier
4ff3af52ad Fixed weird whitespace in the end of completer.py 2011-10-22 13:43:06 +02:00
Niels Thykier
efca307f71 Added package completion to the readline completor 2011-10-22 13:42:14 +02:00