Menu

#1648 mingw-get source nonesuch -- fails silently

INSTALLER
closed
None
Bug
fixed
IINR_-_Include_In_Next_Release
True
2022-02-01
2012-06-15
No

Invoking the "mingw-get source ..." command for a package name which has no matching entry in the repository catalogue does nothing (silent failure). It should emit a diagnostic, indicating that the named package is unknown.

Defect observed with:

$ uname -a
MINGW32\_NT-6.0 ... 1.0.17\(0.48/3/2\) 2011-04-24 23:39 i686 Msys

$ mingw-get --version
mingw-get version 0.5-beta-20120426-1
Copyright \(C\) 2009, 2010, 2011, 2012, MinGW Project

$ mingw-get source nonesuch

$
1 Attachments

Discussion

  • Earnie Boyd

    Earnie Boyd - 2013-02-11
    • labels: mingw-get -->
    • milestone: --> INSTALLER
    • type: --> Bug
    • resolution: --> none
    • category: --> Unknown
    • patch_attached: --> False
     
  • Keith Marshall

    Keith Marshall - 2022-02-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Invoking the "mingw-get source ..." command for a package name which has no matching entry in the repository catalogue does nothing \(silent failure\).  It should emit a diagnostic, indicating that the named package is unknown.
    
     Defect observed with:
    -
    +```
     $ uname -a
     MINGW32\_NT-6.0 ... 1.0.17\(0.48/3/2\) 2011-04-24 23:39 i686 Msys
    
    @@ -12,3 +12,4 @@
     $ mingw-get source nonesuch
    
     $
    +```
    
    • status: open --> closed
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1 @@
    +source-nonesuch.patch (4.4 kB; text/x-patch)
    
    • Resolution: none --> fixed
    • Category: Unknown --> IINR_-_Include_In_Next_Release
    • Patch attached: False --> True
     
  • Keith Marshall

    Keith Marshall - 2022-02-01

    The command:

    $ mingw-get licence nonesuch
    

    exhibits a similar silent failure.

    Since both source and licence actions are processed within the same internal code path, the attached source-nonesuch.patch corrects both manifestations of this defect.