updatecenter2
  1. updatecenter2
  2. UPDATECENTER2-780

Use the new pkg(5) API in Update Tool and Notifier

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: 2.4-build-unknown
    • Component/s: updatetool
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: PC

    • Issuezilla Id:
      780

      Description

      With the integration of new pkg(5) a new API is available for clients to
      interface with pkg(5). The new pkg(5) also introduces major changes in exception
      handling which are better to handler with new API rather than mending old API use.

        Issue Links

          Activity

          Hide
          mnsingh added a comment -

          Fuzzy thinking before coffee.

          Show
          mnsingh added a comment - Fuzzy thinking before coffee.
          Hide
          mnsingh added a comment -

          The API is still immature and a lot of the stuff we do needs diving into the
          original (non)API that we use. Will be performing only the api_errors changes
          for now. Holding on this for now.

          Show
          mnsingh added a comment - The API is still immature and a lot of the stuff we do needs diving into the original (non)API that we use. Will be performing only the api_errors changes for now. Holding on this for now.
          Hide
          mnsingh added a comment -

          There is no pkg(5) API yet.

          Show
          mnsingh added a comment - There is no pkg(5) API yet.
          Hide
          Tom Mueller added a comment -

          I'm not disputing the deferral of this to a future release, but for the record,
          there is a pkg(5) API (see the pkg.client.api module). However it is not
          complete yet, in the sense of providing the full functionality that is needed by
          updatetool, and it is not adequately documented.

          The pkg(1) client.py file already uses the API for those functions that the API
          supports. Updatetool could do likewise now.

          Show
          Tom Mueller added a comment - I'm not disputing the deferral of this to a future release, but for the record, there is a pkg(5) API (see the pkg.client.api module). However it is not complete yet, in the sense of providing the full functionality that is needed by updatetool, and it is not adequately documented. The pkg(1) client.py file already uses the API for those functions that the API supports. Updatetool could do likewise now.

            People

            • Assignee:
              mnsingh
              Reporter:
              mnsingh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: