repo rework: Remove need for repos to be self-aware
* See #12917 for details. * Squashed to one commit to make revert easy if we run into any issues. * pkgman is now pre-attached to the 'current' repo version within nightly images so they can be updated by default. * This shouldn't impact us keeping older sets of package versions by commit hash for building older hrevs. * There are XXX stubs with "Kill me". These will need to be dropped after users are given sufficent time to upgrade. We're dropping a previously required field (url) so making this a slowish roll out. * Makes the repos a lot less restrictive which should help PM package building automation be a bit easier. * Once this stuff smooths out, we'll add UUID's to the repo definitions for duplicate repo detection.
This commit is contained in:
@@ -33,7 +33,6 @@ public:
|
||||
status_t InitCheck() const;
|
||||
|
||||
const BString& Name() const;
|
||||
const BString& OriginalBaseURL() const;
|
||||
const BString& Vendor() const;
|
||||
const BString& Summary() const;
|
||||
uint8 Priority() const;
|
||||
@@ -42,7 +41,6 @@ public:
|
||||
const BStringList& LicenseTexts() const;
|
||||
|
||||
void SetName(const BString& name);
|
||||
void SetOriginalBaseURL(const BString& url);
|
||||
void SetVendor(const BString& vendor);
|
||||
void SetSummary(const BString& summary);
|
||||
void SetPriority(uint8 priority);
|
||||
@@ -57,8 +55,10 @@ public:
|
||||
|
||||
static const uint8 kDefaultPriority;
|
||||
|
||||
// XXX: Kill me after everyone upgrades
|
||||
static const char* const kURLField;
|
||||
|
||||
static const char* const kNameField;
|
||||
static const char* const kURLField;
|
||||
static const char* const kVendorField;
|
||||
static const char* const kSummaryField;
|
||||
static const char* const kPriorityField;
|
||||
@@ -74,7 +74,6 @@ private:
|
||||
status_t fInitStatus;
|
||||
|
||||
BString fName;
|
||||
BString fOriginalBaseURL;
|
||||
BString fVendor;
|
||||
BString fSummary;
|
||||
uint8 fPriority;
|
||||
|
||||
Reference in New Issue
Block a user