Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: B146
    • Component/s: pkg-java
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,858
    • Status Whiteboard:
      Hide

      2.4

      Show
      2.4

      Description

      This RFE is for updating the Java API for pkg so that it works with the new drop
      of pkg(5) coming in with issue 1857.

      This work may consist of just updating the Java code to deal with the changes,
      or it may involve introducing Jython in order to run the pkg(5) code directly in
      Java. The decision about which path to take will be made as part of evaluating
      this issue.

        Issue Links

          Activity

          Hide
          Tom Mueller added a comment -

          This is one of the primary features for the 2.4 release.

          Show
          Tom Mueller added a comment - This is one of the primary features for the 2.4 release.
          Hide
          scm_issue_link added a comment -

          Code changed in updatecenter2
          User: : tmueller
          Path:
          trunk/project/build.xml
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/build.xml?view=diff&rev=2715&p1=trunk/project/build.xml&p2=trunk/project/build.xml&r1=2714&r2=2715
          trunk/project/pkg-java/build.xml
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/build.xml?view=diff&rev=2715&p1=trunk/project/pkg-java/build.xml&p2=trunk/project/pkg-java/build.xml&r1=2714&r2=2715
          trunk/project/pkg-java/pom.xml
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/pom.xml?view=diff&rev=2715&p1=trunk/project/pkg-java/pom.xml&p2=trunk/project/pkg-java/pom.xml&r1=2714&r2=2715
          trunk/project/pkg-java/src/java/com/sun/pkg/client/AuthProxy.java
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/AuthProxy.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/AuthProxy.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/AuthProxy.java&r1=2714&r2=2715
          trunk/project/pkg-java/src/java/com/sun/pkg/client/Catalog.java
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/Catalog.java?view=auto&rev=2715
          trunk/project/pkg-java/src/java/com/sun/pkg/client/Client.java
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/Client.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/Client.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/Client.java&r1=2714&r2=2715
          trunk/project/pkg-java/src/java/com/sun/pkg/client/FileList.java
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/FileList.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/FileList.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/FileList.java&r1=2714&r2=2715
          trunk/project/pkg-java/src/java/com/sun/pkg/client/Fmri.java
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/Fmri.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/Fmri.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/Fmri.java&r1=2714&r2=2715
          trunk/project/pkg-java/src/java/com/sun/pkg/client/Image.java
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/Publisher.java?view=diff&rev=2715&p1=/trunk/project/pkg-java/src/java/com/sun/pkg/client/Catalog.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/Publisher.java&r1=2669&r2=2715
          trunk/project/pkg-java/src/java/com/sun/pkg/client/SystemInfo.java
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/SystemInfo.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/SystemInfo.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/SystemInfo.java&r1=2714&r2=2715
          trunk/project/pkg-java/src/java/com/sun/pkg/client/messages.properties
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/messages.properties?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/messages.properties&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/messages.properties&r1=2714&r2=2715
          trunk/project/pkg-java/src/java/com/sun/pkg/client/package.html
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/package.html?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/package.html&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/package.html&r1=2714&r2=2715
          trunk/project/tests/sanity-unix
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/tests/sanity-unix?view=diff&rev=2715&p1=trunk/project/tests/sanity-unix&p2=trunk/project/tests/sanity-unix&r1=2714&r2=2715
          trunk/project/tests/sanity-unix-nightly
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/tests/sanity-unix-nightly?view=diff&rev=2715&p1=trunk/project/tests/sanity-unix-nightly&p2=trunk/project/tests/sanity-unix-nightly&r1=2714&r2=2715
          trunk/project/tests/sanity-windows
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/tests/sanity-windows?view=diff&rev=2715&p1=trunk/project/tests/sanity-windows&p2=trunk/project/tests/sanity-windows&r1=2714&r2=2715
          trunk/project/tests/sanity-windows-nightly
          https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/tests/sanity-windows-nightly?view=diff&rev=2715&p1=trunk/project/tests/sanity-windows-nightly&p2=trunk/project/tests/sanity-windows-nightly&r1=2714&r2=2715

          Log:
          UPDATECENTER2-1858 Make pkg-java work with pkg@1.129
          This is an initial drop of the pkg-java changes needed for 2.4.
          These changes provide sufficient functionality in the pkg(5) Java API to
          pass the sanity tests on OpenSolaris. There are some bugs with dependency and
          summary handling with catalogs that will be fixed in another checkin.

          Show
          scm_issue_link added a comment - Code changed in updatecenter2 User: : tmueller Path: trunk/project/build.xml https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/build.xml?view=diff&rev=2715&p1=trunk/project/build.xml&p2=trunk/project/build.xml&r1=2714&r2=2715 trunk/project/pkg-java/build.xml https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/build.xml?view=diff&rev=2715&p1=trunk/project/pkg-java/build.xml&p2=trunk/project/pkg-java/build.xml&r1=2714&r2=2715 trunk/project/pkg-java/pom.xml https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/pom.xml?view=diff&rev=2715&p1=trunk/project/pkg-java/pom.xml&p2=trunk/project/pkg-java/pom.xml&r1=2714&r2=2715 trunk/project/pkg-java/src/java/com/sun/pkg/client/AuthProxy.java https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/AuthProxy.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/AuthProxy.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/AuthProxy.java&r1=2714&r2=2715 trunk/project/pkg-java/src/java/com/sun/pkg/client/Catalog.java https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/Catalog.java?view=auto&rev=2715 trunk/project/pkg-java/src/java/com/sun/pkg/client/Client.java https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/Client.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/Client.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/Client.java&r1=2714&r2=2715 trunk/project/pkg-java/src/java/com/sun/pkg/client/FileList.java https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/FileList.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/FileList.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/FileList.java&r1=2714&r2=2715 trunk/project/pkg-java/src/java/com/sun/pkg/client/Fmri.java https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/Fmri.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/Fmri.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/Fmri.java&r1=2714&r2=2715 trunk/project/pkg-java/src/java/com/sun/pkg/client/Image.java https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/Publisher.java?view=diff&rev=2715&p1=/trunk/project/pkg-java/src/java/com/sun/pkg/client/Catalog.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/Publisher.java&r1=2669&r2=2715 trunk/project/pkg-java/src/java/com/sun/pkg/client/SystemInfo.java https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/SystemInfo.java?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/SystemInfo.java&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/SystemInfo.java&r1=2714&r2=2715 trunk/project/pkg-java/src/java/com/sun/pkg/client/messages.properties https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/messages.properties?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/messages.properties&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/messages.properties&r1=2714&r2=2715 trunk/project/pkg-java/src/java/com/sun/pkg/client/package.html https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/pkg-java/src/java/com/sun/pkg/client/package.html?view=diff&rev=2715&p1=trunk/project/pkg-java/src/java/com/sun/pkg/client/package.html&p2=trunk/project/pkg-java/src/java/com/sun/pkg/client/package.html&r1=2714&r2=2715 trunk/project/tests/sanity-unix https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/tests/sanity-unix?view=diff&rev=2715&p1=trunk/project/tests/sanity-unix&p2=trunk/project/tests/sanity-unix&r1=2714&r2=2715 trunk/project/tests/sanity-unix-nightly https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/tests/sanity-unix-nightly?view=diff&rev=2715&p1=trunk/project/tests/sanity-unix-nightly&p2=trunk/project/tests/sanity-unix-nightly&r1=2714&r2=2715 trunk/project/tests/sanity-windows https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/tests/sanity-windows?view=diff&rev=2715&p1=trunk/project/tests/sanity-windows&p2=trunk/project/tests/sanity-windows&r1=2714&r2=2715 trunk/project/tests/sanity-windows-nightly https://updatecenter2.dev.java.net/source/browse/updatecenter2/trunk/project/tests/sanity-windows-nightly?view=diff&rev=2715&p1=trunk/project/tests/sanity-windows-nightly&p2=trunk/project/tests/sanity-windows-nightly&r1=2714&r2=2715 Log: UPDATECENTER2-1858 Make pkg-java work with pkg@1.129 This is an initial drop of the pkg-java changes needed for 2.4. These changes provide sufficient functionality in the pkg(5) Java API to pass the sanity tests on OpenSolaris. There are some bugs with dependency and summary handling with catalogs that will be fixed in another checkin.

            People

            • Assignee:
              Unassigned
              Reporter:
              Tom Mueller
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: