[haiku-bugs] Re: [Haiku] #12917: get_package_dependencies needs to be refactored

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 19 Sep 2016 19:02:55 -0000

#12917: get_package_dependencies needs to be refactored
--------------------------------+----------------------------
   Reporter:  kallisti5         |      Owner:  kallisti5
       Type:  enhancement       |     Status:  new
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  Kits/Package Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  1                 |   Platform:  All
--------------------------------+----------------------------

Comment (by bonefish):

 Replying to [comment:14 kallisti5]:

I can't for the life of me figure out why we have to have a
 BRepositoryConfig *AND* a BRepositoryInfo.  They contain the exact same
 freaking info just formatted slightly different.

 Huh?

 BRepositoryInfo:
 {{{
             BString             fName;
             BString             fOriginalBaseURL;
             BString             fVendor;
             BString             fSummary;
             uint8               fPriority;
             BPackageArchitecture    fArchitecture;
             BStringList         fLicenseNames;
             BStringList         fLicenseTexts;
 }}}

 BRepositoryConfig:
 {{{
             BString             fName;
             BString             fBaseURL;
             uint8               fPriority;
             bool                fIsUserSpecific;
             BEntry              fEntry;
 }}}

 How is that the same?

--
Ticket URL: <https://dev.haiku-os.org/ticket/12917#comment:15>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: