tag 638616 pending
tag 638616 pending
thanks

Date:   Wed Aug 24 23:16:37 2011 +0200
Author: Sandro Tosi <[email protected]>
Commit ID: f2c2031484adbab8b16d13de7db79e9b60c7fb19
Commit URL: 
http://git.debian.org/?p=reportbug/reportbug.git;a=commitdiff;h=f2c2031484adbab8b16d13de7db79e9b60c7fb19
Patch URL: 
http://git.debian.org/?p=reportbug/reportbug.git;a=commitdiff_plain;h=f2c2031484adbab8b16d13de7db79e9b60c7fb19

    when using --src don't present the menu with possible binary packages (and 
also try to be smart and infer the version from the bin pkgs list); thanks to 
Vincent Lefevre for the report; Closes: #638616

    In case --src is used, we don't want to suggests bin pkgs, but we translate 
the
    pkg passed as args into its source pkg (already done) and then we 
short-circuit
    the checks.

    The trick for getting the src pkg version right (since we don't have a utils
    function to retrieve source packages information, like for bin) is done 
looping
    over the bin pkgs (that we retrive anyhow) and find the first version, and 
use
    it as the src one.
      



_______________________________________________
Reportbug-maint mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint

Reply via email to