Revert "repo rework: Re-add compatibility url field"

Revert "repo rework: Remove stubs; Breaks repo compat."
Revert "repo rework: Remove need for repos to be self-aware"

This reverts commit a2b2f4d642.
This reverts commit 602076ef82.
This reverts commit 5ffaf72c8a.

These changes break the build on Haiku and the ability to create repo
mirrors, for the lack of a replacement for the URL (an UUID was evoked
on the mailing lists, but not implemented).

We are due for a release soon, please don't break the build.
This commit is contained in:
Adrien Destugues
2016-12-10 12:55:56 +01:00
parent f901d7f587
commit fda0bf77fb
15 changed files with 63 additions and 178 deletions
+4
View File
@@ -33,6 +33,7 @@ public:
status_t InitCheck() const;
const BString& Name() const;
const BString& OriginalBaseURL() const;
const BString& Vendor() const;
const BString& Summary() const;
uint8 Priority() const;
@@ -41,6 +42,7 @@ 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);
@@ -56,6 +58,7 @@ public:
static const uint8 kDefaultPriority;
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;
@@ -71,6 +74,7 @@ private:
status_t fInitStatus;
BString fName;
BString fOriginalBaseURL;
BString fVendor;
BString fSummary;
uint8 fPriority;