History log of /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/packages/FullRevisionPackageTest.java
Revision Date Author Comments
d113f3dc4354ac56cc51cf698610807b5bad914c 04-May-2012 Raphael Moll <ralf@android.com> SDK Manager change format of revision property.

Instead of storing the full revision as 4 separate
properties, this stores it using the legacy
"Pkg.Revision" property with the "1.2.3 rc4"
format. It reduces the number of properties to
maintain, it's more human-readable and it's
easier when we want to have min-tools-rev be
a full revision in the next CL (otherwise it
means 4 more properties, etc.)

Change-Id: I94ebc4786e83c5b565a6d3a33d11efdfda6f72c5
e4b7f106500886bf4a6eb0303dbc1cfb73229954 03-May-2012 Raphael Moll <ralf@android.com> SDK: Rework repository-7.xsd

This changes the XML schema for repository-7 to put the
"full revision" in its own <revision> element with 4
sub-elements (major/minor/micro and preview).

Next step is to reuse this for min-[plat-]tools-rev
for dependencies.

Change-Id: I644f08e7383987682f8b0b31175ce58d02fd8751
87107c5cb1fb5fdafdaa94460fb6797af60fcde9 20-Apr-2012 Raphael Moll <ralf@android.com> Rework SDK Manager support for major.minor.micro revisions.

2 things in this CL:

- There's a bit of refactoring:
- PreviewVersion becomes FullVersion (which is
a full major.minor.micro.preview)
- And I introduce a MajorRevision (which is just
a major number)
- Package.getRevision() returns one of these
revision objects instead of an integer which
leads to a multide of small boring changes.
- Changed the PackageDiffLogic and its test to
adequately use the new revision; "tools preview"
packages are placed in their own category and
releases can update previews but not the reverse.

Change-Id: Ia80fd9a3791919e827ce0d183c0f297f0d27f2e6