• 
      

    Add a method for getting releases in a bundle matching certain criteria.

    Review Request #7732 — Created Oct. 25, 2015 and submitted

    Information

    rbpkg
    master

    Reviewers

    This introduces a convenience method on PackageBundle that looks up the
    newest release matching a version range across all channels meeting the
    specified criteria. The caller can specify the allowed channel type
    (pre-release or release), the release types (alpha, beta, etc.), and
    limit the result to the version range provided.

    This is useful primarily for dependency processing.

    As part of this, PackageChannel, and the serialization format, now
    supports a channel type: "prerelease" or "release".

    Unit tests pass.

    Description From Last Updated

    "compare each release to" is weird, especially given the other comments. How about "to limit releases to" to match the …

    daviddavid
    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          rbpkg/repository/package_bundle.py
          rbpkg/repository/package_channel.py
          rbpkg/repository/tests/test_package_channel.py
          rbpkg/repository/tests/test_package_bundle.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          rbpkg/repository/package_bundle.py
          rbpkg/repository/package_channel.py
          rbpkg/repository/tests/test_package_channel.py
          rbpkg/repository/tests/test_package_bundle.py
      
      
    2. 
        
    david
    1. 
        
    2. rbpkg/repository/package_bundle.py (Diff revision 1)
       
       
      Show all issues

      "compare each release to" is weird, especially given the other comments. How about "to limit releases to" to match the others?

    3. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (8b25cc2)