rh-lab-q / remote-dependency-solving

GNU General Public License v3.0
10 stars 1 forks source link

query_filter needs to be handled correctly #80

Open mruprich opened 9 years ago

mruprich commented 9 years ago

When calling query on a sack object it doesn't work correctly with given name of the package. I need to carefully parse the package name to find out: -whether there is version number included in the name - if so, then it needs to be used to find the exact match for this package -whether the name of the package is the exact match with any package in the sack object - then client wants exactly this package -if none of the above finds any package then I need to use HY_GLOB and put * in the name of the package to find the closest match of the name