- updated TODO
Equo:
- add 'You meant...' feature, ahahah that's awesome


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1489 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-03-18 12:24:35 +00:00
parent 6ad06eda65
commit 3321525bf3
2 changed files with 11 additions and 3 deletions
-2
View File
@@ -1,7 +1,6 @@
TODO list
- make an ETP_DIR switching function
- lilo.conf trigger?
- equo: "you meant...?" feature
- hard-disk repositories support !
- calculate extra deps from NEEDED, server side? - NEEDED + ldconfig -p ?
- create a meta-packages list ... I hate Joost
@@ -24,7 +23,6 @@ TODO list
Spritz:
- improve notification applet
- make the properties menu fit in a 640x480 display
- interface bug reporting interface (ahah)
- handle entropy exceptions
- add masking menu
+11 -1
View File
@@ -263,7 +263,17 @@ def installPackages(packages = [], atomsdata = [], deps = True, emptydeps = Fals
m_atom = "idpackage: %s matching %s is broken" % (m_match[0],package,)
print_warning(blue(" <> ")+red("atom: ")+brown(m_atom))
else:
print_warning(bold("!!!")+red(" No match for ")+bold(package)+red(" in database. If you omitted the category, try adding it."))
print_warning(bold("!!!")+red(" No match for ")+bold(package)+red(" in database."))
# search similar packages
# you meant...?
import text_query
items = text_query.searchPackage([package],idreturn = True)
if items:
print_info(bold(" ?")+red(" When you wrote ")+bold(package)+darkgreen(" You Meant(tm) ")+red("one of these below?"))
for match in items:
dbc = Equo.openRepositoryDatabase(match[1])
meant_atom = dbc.retrieveAtom(match[0])
print_info(red(" # ")+blue(meant_atom)+red(" ?"))
continue
foundAtoms.append(match)
if tbz2: