Skip to content
Tcl Source Code History Of Ticket 3594230fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3594230fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3594230fffffffffffffffffffffffffffffffff

  1. Ticket change [822f40e69f] (rid 117188) by nijtmans on 2012-12-09 09:43:48:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      % package vsatisfies 8.5a0 8.5a0-8.5a0
      1
      % package vsatisfies 8.5a0 8.5a0-8.5
      0
      
      The first result suggests that the 'max' value is inclusive, the
      second result that it is exclusive. TIP #268 is not clear
      whether the max value is inclusive or exclusive, but it
      specifies that internally the min and max value are 'a0'-appended
      That suggests 'exclusive', but then I would expect 0
      in the first example
      
      I see two possible solutions.
      1) specify that the 'max' value is exclusive. That means that the 'a0'
        should only be appended to the 'max' value when the specified
        version does not already contain 'a' or 'b'
      2) specify that the 'max' value is inclusive. That would mean that
        the 'max' value should be appended with '.99' ( or '.<maxint>',
        but that would practically be more problematic).
      
      Either choice would be fine to me, I don't think any existing
      code would be affected by this. Intuitively, when a range is
      specified (e.g. string range, lrange) Tcl normally considers the
      end value as 'inclusive'. So that would give preference to
      solution 2).
      
      This still could be corrected for 8.6.0, the code change is
      trivial. I don't think any existing code would be affected
      by either choice.
      
    4. foundin initialized to: "obsolete: 8.5.13"
    5. is_private initialized to: "0"
    6. priority initialized to: "8"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "39. Package Manager"
    11. title initialized to: "unexpected "package vsatisfies" results"
    12. type initialized to: "Bug"
  2. Ticket change [c7488224e5] (rid 121905) by nijtmans on 2012-12-10 02:42:43:

    1. closedate changed to: "2012-12-09T19:42:43"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      Reading the tip again, it specifies a special syntax for when min == max:
      it means that then the "a0" append doesn't occur. It seems that
      it's according to the TIP
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "nijtmans"