Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-22Bug 518587 - Modernize o.e.equinox.p2.testsI20170623-0110I20170622-2000Alexander Kurtakov40-754/+398
Use try-with-resources. Change-Id: I6c1d3efb7f0fd4f5dd0f014d8801ec8e375355f9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-22Bug 517929 - Update POMs in the master for 4.8 releaseI20170622-0950Alexander Kurtakov65-69/+69
Point to 4.8 parent pom. Change-Id: Ic754058b23731334425f98aaca527bcf90991a7d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-22Bug 518587 - Modernize o.e.equinox.p2.testsAlexander Kurtakov1-0/+4
Add back DictionaryServiceReference.getProperties despite it showing as error in the workspace. It's new method addition in master. Change-Id: I9d40f5101fa7a95624a05edfa490e70a2535052e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-21Bug 518587 - Modernize o.e.equinox.p2.testsI20170621-2000Alexander Kurtakov314-1642/+2196
Move to Java 8, enable more warnings and save actions and go through the codebase to minimize the warnings. Change-Id: I6283bfeef18e250f5283e80f7bfad38e6ef65415 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-21Bug 518574 - Use StandardCharsetsAlexander Kurtakov23-71/+56
Bump BREE to 1.8 for bundles that were too low to have StandardCharsets. Change-Id: Iac9e9615c5179b970df893182f5f1c6e3dd4d574 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-21Bug 518299 - [Minor] Reduce SonarLint warnings in AvailableIUsPageI20170621-0600Lars Vogel1-49/+24
Change-Id: I52f4c1c4aeb04f9a9a536ca1cfdb58cf80feccd9 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-06-21Code Cleanup.Stefan Nöbauer1-11/+0
Removed non-Javadoc Comments Change-Id: I9a7d8f9888b0b0df2487160942769a4dbebc3e51 Signed-off-by: Stefan Nöbauer <stefan.noebauer@kgu-consulting.com>
2017-06-21Bug 514476 - Fix filter in Installation Details -> Installed Software Stefan Nöbauer2-20/+5
Changed from own Filter implementation to Filtered Tree. Used default PatternFilter. Change-Id: I51ffce6c037052c814001aa05342eeeca9d2fbce Signed-off-by: Stefan Nöbauer <stefan.noebauer@kgu-consulting.com>
2017-06-16Bug 518375 - Update test implementations of ServiceReference to accountY20170617-1235I20170620-2000I20170619-2000I20170618-2355I20170618-2000I20170617-2000I20170616-2000Thomas Watson1-1/+5
for new R7 method Change-Id: I42b1f4ba599faf273c967b3a35a4640aa773b73f Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-05-26Bug 508905 - On Windows disable test ↵Y20170622-1000Y20170620-0625Y20170619-2325Y20170618-0415Y20170615-1000Y20170608-1000Y20170601-1000S4_7_0_RC4aS4_7_0_RC4S4_7_0_RC3R4_7I20170616-0530I20170615-2000I20170614-2000I20170613-2000I20170612-0950I20170610-0940I20170608-0530I20170607-2000I20170607-1100I20170607-0800I20170607-0215I20170606-2000I20170606-0800I20170605-2000I20170605-0800I20170604-2000I20170604-0800I20170603-1500I20170603-0800I20170603-0100I20170602-2000I20170531-2000I20170531-0800I20170530-2000I20170530-0800I20170529-2000I20170529-0800I20170528-2000I20170528-0800I20170527-1500I20170527-0800I20170526-2000Thomas Watson1-1/+4
SharedInstallTestsProfileSpoofEnabledConfigured Change-Id: I307cd2f51d5e4f1782eac3f995a4f2067b50a010 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-05-24Bug 517155 - Version update require forY20170525-1000S4_7_0_RC2I20170524-2000Thomas Watson2-2/+2
org.eclipse.equinox.frameworkadmin.equinox Change-Id: I71c6176224ddd10d63b7e675e99d4f8cf3dcf1ed Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-05-23[Bug 516827] Disable uses conflict checking while resolvingI20170524-0800I20170523-2000Thomas Watson1-1/+3
Change-Id: Ib511e1a210f57473602851d9c7e98f2e3694c81d Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-05-23Add about.html to testsThomas Watson4-3/+32
Change-Id: I558c759ea577ca3a62e7c0dc6e40cf2cebf627ce Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-05-22Bug 506956 - Update prereqs for Oxygen Milestones: ECFY20170523-0000I20170523-0800I20170522-2000I20170522-0800Sravan Kumar Lakkimsetti2-6/+6
Change-Id: I4dd96cd294fd3970562be36dc6e55d3d35f5c8dc Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2017-05-16Bug 514530 - CCE: UpdateSiteArtifactRepository cannot be cast toY20170518-1000S4_7_0_RC1I20170521-2000I20170521-0800I20170520-1500I20170518-1030I20170518-0830I20170518-0500I20170517-2000I20170517-0800I20170516-2000I20170516-0800Alexander Kurtakov2-2/+2
IFileArtifactRepository Bump service release. Change-Id: Ie5ce44146ff0296c877e7ae44d1a60c410d14ce5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-15Bug 514530 - CCE: UpdateSiteArtifactRepository cannot be cast toI20170515-2000Andrey Loskutov1-1/+6
IFileArtifactRepository In case we are able to load a repository which type doesn't correspond to the expected IFileArtifactRepository, just return null (and do not try to create another one at same location). Change-Id: I0787bc10b02b43def7efdbcfdc9c1221e032629a Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-05-15Bug 516457 - Many of plug-ins need a version increaseI20170515-0910I20170515-0800Alexander Kurtakov2-2/+2
Service bump for o.e.equinox.simpleconfigurator.manipulator. Change-Id: If542f548352e8ba72b17621735247d39bb36b1de Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-11Bug 516457 - Many of plug-ins need a version increaseI20170514-2000I20170514-1120Alexander Kurtakov21-21/+25
Take care of the following: o.e.equinox.p2.publisher - service bump o.e.equinox.p2.publisher.eclipse - service bump o.e.equinox.p2.repository - service bump o.e.equinox.p2.repository.tools - service bump org.eclipse.equinox.p2.touchpoint.natives - service bump org.eclipse.equinox.p2.ui.admin - service bump org.eclipse.equinox.p2.ui.admin.rcp - service bump org.eclipse.equinox.p2.ui.importexport - service bump org.eclipse.equinox.p2.ui.sdk - service bump org.eclipse.equinox.p2.tests - service bump Change-Id: I21578f13200b5c9de6fed6818b16992764f33216 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-11Bug 516457 - Many of plug-ins need a version increaseAlexander Kurtakov10-10/+10
Update the following (only service bump): org.eclipse.equinox.p2.artifact.repository org.eclipse.equinox.p2.console org.eclipse.equinox.p2.metadata org.eclipse.equinox.p2.metadata.repository org.eclipse.equinox.p2.operations Change-Id: Ic0eff63a2836ab7068e2c6dc3bef1648c764843a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-10Bug 516440 - Support native touchpoint on fedora that doesn't specifyY20170512-0230Y20170511-1500Y20170511-1000S4_7_0_M7I20170512-0500I20170511-1200I20170510-2000Alexander Kurtakov1-0/+3
version Current version was reporting package as not installed if version not specified. Change-Id: I0b8609d0a6beeb5b0e4600c1e9309d7f37deb859 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-05Bug 438584 - p2 unit tests not cleaning up after themselvesI20170510-0800I20170509-2000I20170509-1300I20170509-1100I20170509-0945I20170509-0800I20170508-2000I20170508-0800I20170507-2000I20170506-2000I20170505-2000Alexander Kurtakov4-1/+18
Change-Id: I651c22e089d17929f00ee086e3de6910ef901266 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-05Bug 516095 - Remove redundant specification of type arguments fromLars Vogel38-82/+134
org.eclipse.equinox.p2.ui Change-Id: I97d013cc1ce68bcd1460bf19b72d4f3eea5ff2de Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-05-05Fixing NPE in QueryProviderelaskavaia1-0/+2
NPE occurs when its used in UI that shows something which is not profile specific such as list of repositories Change-Id: I8e7a964a938d87af1406be40a222a16ca1e23d3a Signed-off-by: elaskavaia <elaskavaia.cdt@gmail.com>
2017-05-05Remove unnecessary cast for WizardDialogelaskavaia1-1/+1
It prevents from using non WizardDialog container, for no reason Change-Id: I71e94a17b6ac250076e40de531d2d9bda346b4a6 Signed-off-by: elaskavaia <elaskavaia.cdt@gmail.com>
2017-05-04Bug 515519 - Add native touch point for FedoraI20170504-2000Alexander Kurtakov4-0/+86
Add support for native touchpoint on Fedora. Patch uses /etc/os-release for determining distro name and pkcon as command line tool as it doesn't need sudo but relies on policykit. Change-Id: I0b3d967be3572b061d481b8ff52bec9af3b8ad15 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-03Bug 479145 - Show progress bar in InstallWizard during the download ofY20170504-1000I20170503-2000Lars Vogel1-1/+1
the p2 metadata Change-Id: I5652ed3537e9572eac70ad93be733a02708ebb70 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-04-29Bug 479145 - Show progress bar in InstallWizard during theI20170502-2000David Weiser5-10/+76
download of the p2 metadata * adds ProgressBar to InstallWizard * changes visibility of ProgressBar when fetching starts/ends Change-Id: I731c6fb596d1306147aa94b097034c3c2e0f5c0b Signed-off-by: David Weiser <david.weiser@vogella.com>
2017-04-26Bug 234509 - Create Equinox keystore fragment for Linux using gnomeY20170427-1000I20170501-2000I20170430-2000I20170429-2000I20170429-1330I20170429-1230I20170428-2000I20170428-0830I20170428-0700I20170428-0550I20170428-0445I20170427-2000I20170426-2000Thomas Watson1-0/+10
keyring Change-Id: Ib5db47d5c2969db7cd23613ef0a24768356c477c Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-04-25Bug 510497 - Installation dialog - Move "Find more software..." text toI20170425-2000David Weiser3-48/+23
button * replaces "Available Software" hyperlink with "Manage"-button * adds Strings for new button * removes obsolete Strings * adds mnemonic Change-Id: I103ba7621e199fd343e064da5a5c70af215bc3f7 Signed-off-by: David Weiser <david.weiser@vogella.com>
2017-04-24Some mirroring tests use wrong MessagesI20170425-0910I20170425-0700I20170425-0240I20170425-0215I20170424-2000Mykola Nikishov5-7/+6
MD5-related test methods in ArtifactMirrorApplicationTest, NewMirrorApplicationArtifactTest and MirrorTaskTest should assert log message using the same Messages class as MD5ArtifactComparator's compare method uses when generating the log message in question. Change-Id: I6986d1d5748d55bed9589d71e9c4f62dfde91665 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2017-04-18Bug 514863: Use png files in org.eclipse.equinox.p2.uiMatthias Becker135-131/+131
Change-Id: Ia891112782c251e903149d5e3db8d873f3b1b6d9 Signed-off-by: Matthias Becker <ma.becker@sap.com>
2017-04-14bug 514495 - Certificate trust dialog ("Selection needed"): use "AcceptY20170420-1000I20170423-2000I20170422-2000I20170422-0300I20170421-2000I20170420-2000I20170419-2000I20170419-0430I20170419-0130I20170418-2000I20170417-2000I20170416-2000I20170415-2000I20170414-2000Fabian Pfaff3-0/+9
selected" instead of "OK" Change-Id: Ia23e33615141067b02f1390ca56e68301e9f5794 Signed-off-by: Fabian Pfaff <fabian.pfaff@vogella.com>
2017-04-06Bug 514807 - Avoid instantiation of empty array for processing stepsY20170413-1000I20170413-2000Karsten Thoms1-2/+3
Change-Id: Ie1a3b45efc2ce33b871db4476c4b86e7ab74f3a4 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-04-05Bug 514807 - [memory] Use EMPTY_STEPS always for empty processingStepsKarsten Thoms1-2/+2
Change-Id: I829ded8e6a6cf5c10a30508d00710d1af56e3e79 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-04-03Fix javadoc on return value of LocationProperties's ↵I20170405-0300I20170405-0200I20170405-0130I20170404-2000I20170404-0840I20170404-0245I20170403-2000Mykola Nikishov1-1/+1
getArtifactFactorySearchOrder() Change-Id: Idc31cf4e6dbc1beea5b027604d5a2a980c060dff Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2017-03-30Bug 423715 - Rename checksum-related constants in SimpleArtifactRepositoryI20170402-2000I20170401-2000I20170331-2000I20170330-2000Mykola Nikishov2-7/+16
SimpleArtifactRepository provides two properties to control if p2 client should validate artifact's MD5 checksums. Rename constants that store names of these properties to better reflect their purpose. Change-Id: I2147e366fb5d20da21c123998cf9c73510e8de24 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2017-03-30Bug 509401 - Create an artifact descriptor for a directoryMykola Nikishov1-2/+2
When creating artifact descriptor in PublisherHelper' createArtifactDescriptor method, the file denoted by the given path may be a directory and not a file. For the directory, java.io.File.length() is unspecified which makes it pointless to set IArtifactDescriptor.ARTIFACT_SIZE and IArtifactDescriptor.DOWNLOAD_SIZE. Also, do not try to calculate checksum for the directory as doing this will throw exceptions anyway. Change-Id: I9cf1507a3195790eb3b2f244a3f66ccf125f6f97 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2017-03-29Bug 509401 - Don't hide I/O problems in ChecksumProducer's computeMD5(File)Mykola Nikishov3-15/+35
If caller doesn't care about I/O problems during checksum calculation, neither should computeMD5 method. The only two callers, RecreateRepositoryApplication and PublisherHelper, now catch such exceptions (to preserve original behavior) and log them to make troubleshooting easier. Change-Id: I1e82ac45cc958f4ffc3ed969a50cfa68aec3c8fc Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2017-03-29Bug 509401 - Clean up ChecksumProducer's computeMD5(File)Y20170330-1000I20170329-2000Mykola Nikishov1-8/+3
Combine all statements that throw exceptions into a single try/catch block and do not catch FileNotFoundException as we're catching its parent, IOException, already. Change-Id: I26c02a183e5d950a6e19c3e6187d6e54418c422e Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2017-03-29Bug 514374 - Use verb in Security dialog for unsigned contentLars Vogel3-1/+3
Change-Id: Ib7624bd8415666435c1c4c7d5f6ced1f97748971 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-03-19Bug 513790 - Compiler warnings in I20170316-2000 after moving to M6I20170328-2000I20170327-2000I20170326-2000I20170325-2000I20170324-2000I20170323-2000I20170322-2000Andrey Loskutov3-6/+15
compiler Change-Id: I3de8ff54e4efc354443ab2d99fd75316f2abacbb Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-03-08Bug 513248: POM Updates RequiredY20170321-2315Y20170321-0120Y20170316-0500Y20170309-1000S4_7_0_M6I20170321-2000I20170320-2000I20170319-2000I20170318-2000I20170317-2000I20170316-2000I20170315-2000I20170315-0500I20170314-2000I20170313-2000I20170312-2000I20170311-2000I20170310-2000I20170308-2000I20170308-0800Markus Keller1-1/+1
Change-Id: I8a5e93bb48ae5e0b0c187e59c073b08ee4fbe3de
2017-02-08Convert plain text in javadoc to a linkY20170302-1000Y20170223-1000Y20170216-1515Y20170216-1450Y20170216-1000Y20170209-1000I20170307-2000I20170307-0800I20170307-0610I20170307-0450I20170307-0420I20170307-0410I20170307-0150I20170306-2000I20170306-0800I20170305-2000I20170304-2000I20170303-2000I20170302-2000I20170301-2000I20170228-2000I20170228-0330I20170228-0240I20170227-2000I20170226-2000I20170225-2000I20170224-2000I20170223-2000I20170222-2000I20170221-2000I20170220-2000I20170219-2000I20170218-2000I20170217-2000I20170216-2000I20170216-0140I20170215-2000I20170214-2200I20170214-2000I20170213-2000I20170212-2000I20170211-2000I20170210-2000I20170210-0615I20170210-0600I20170210-0550I20170210-0530I20170209-2000I20170208-2000Mykola Nikishov1-2/+2
Change-Id: I7dac259e9aa983ffff73bf96c31befd0080f6245 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2017-02-08Replace assertTrue with assertThatMykola Nikishov1-1/+3
java.lang.AssertionError: Expected: an instance of org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepository but: <org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository@180f33b2> is a org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.junit.Assert.assertThat(Assert.java:956) at org.junit.Assert.assertThat(Assert.java:923) at org.eclipse.equinox.p2.tests.metadata.repository.SiteIndexFileTest.testSingleRepository1(SiteIndexFileTest.java:258) Change-Id: Ifbfd6d8ced0c6a50a53a39faeb5311ba32097482 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2017-02-08Assert that two object arrays are equal with JUnit's ↵Mykola Nikishov1-23/+16
assertArrayEquals(Object[], Object[]) This provides a more clear error message for both cases when array lengths are different or they contain different elements: java.lang.AssertionError: array lengths differed, expected.length=0 actual.length=1 at org.junit.Assert.fail(Assert.java:88) at org.junit.internal.ComparisonCriteria.assertArraysAreSameLength(ComparisonCriteria.java:76) at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:37) at org.junit.Assert.internalArrayEquals(Assert.java:532) at org.junit.Assert.assertArrayEquals(Assert.java:283) at org.junit.Assert.assertArrayEquals(Assert.java:298) arrays first differed at element [1]; expected:<[1]> but was:<[2]> at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:55) at org.junit.Assert.internalArrayEquals(Assert.java:532) at org.junit.Assert.assertArrayEquals(Assert.java:283) at org.junit.Assert.assertArrayEquals(Assert.java:298) Change-Id: I468b376d696445c1aaae920b9b2b71c0813b09ca Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2017-02-08Bug 510206 - Please update to xz-java 1.5Alexander Kurtakov1-0/+1
Force qualifier update for the updated dependency. Change-Id: I10530a0608b546e6cbb8bae7b588e3221ee83a94 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-02-07Bug 511299 - Update org.eclipse.equinox.p2.ui to Java 8I20170208-0700I20170207-2000Simon5-434/+435
Change-Id: Ia737c8383782a07123c514a1c423ad5e86cd14c4 Signed-off-by: Simon <simon.scholz@vogella.com>
2017-02-07Bug 511830 - Remove .cvsignore from p2 projectLars Vogel7-7/+0
Change-Id: I2041f6ccbc3dc8863e202b56d33a74266905d397 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-02-07Bug 508593 - NPE in AutomaticUpdater.sameProfileAndrey Loskutov1-3/+3
Change-Id: I7c2b836c81d65761bc35583828d2bef6f86972b1 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-02-06Bug 511106 - ApplyProfileChangesDialog should use "Restart" instead ofI20170206-2000David Weiser1-1/+1
"Yes" * changes button label of restart dialog Change-Id: Idcdbf386296e806e4b061bf8712b16062ce85100 Signed-off-by: David Weiser <david.weiser@vogella.com>

Back to the top