[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2340: poor error reporting when "git describe" fails during setup.py update_version

Tahoe-LAFS trac at tahoe-lafs.org
Sat Nov 22 00:06:27 UTC 2014


#2340: poor error reporting when "git describe" fails during setup.py
update_version
-----------------------------+--------------------------------------
     Reporter:  cipherpunks  |      Owner:  daira
         Type:  defect       |     Status:  closed
     Priority:  normal       |  Milestone:  1.11.0
    Component:  packaging    |    Version:  1.10.0
   Resolution:  fixed        |   Keywords:  packaging error git easy
Launchpad Bug:               |
-----------------------------+--------------------------------------
Changes (by daira):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  undecided => 1.11.0


Comment:

 Fixed in [4421e8a84b1fe81ee7ed32ee2d07eae00b629aa2/trunk]. The
 update_version step now prints this when it cannot find the version.
 Specifically, if there is a `.git` directory then it tries to update the
 version; if that fails ''or'' there was neither a `.git` directory nor a
 `_version.py` file, then it prints:
 {{{
 ********************************************************************
 Warning: no version information found. This may cause tests to fail.
 ********************************************************************
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2340#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list