Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-09Bug 535897 - Run tests from org.eclipse.equinox.p2.tests.optimizersS4_10_0_M1I20181010-1800I20181010-0600I20181009-1800Mykola Nikishov3-1/+7
Disable failing tests in SarTest. Drop unused dependency on org.eclipse.equinox.p2.tests bundle to let Maven run org.eclipse.equinox.p2.tests.optimizers before org.eclipse.equinox.p2.tests. Change-Id: I7151cc48306873c57870bbab0e5d7708f6ae0da7 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-10-08Switch default target platform file to 4.10-I buildsI20181009-0600I20181008-1800Mykola Nikishov1-1/+1
Change-Id: Iac58ecb7f375ef01dca95e8d2cd959e369df0ebc Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-10-08Fix setup for ImportExportTestsMykola Nikishov3-5/+6
Closing service tracker in test's setup method unbinds agent in ImportExportImpl and is the cause of NPEs when calling P2ImportExport's exportP2F(OutputStream, IInstallableUnit[], boolean, IProgressMonitor). Just open service tracker before test, keep it open during the test and close it after the test. Change-Id: I61c1f8d4b37e0b490d61f4b2496343e6f0132591 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-10-05Reuse ChecksumHelper.MD5 constantI20181008-0600Mykola Nikishov3-8/+8
Change-Id: Ic011655240f2772e9356ab5a17e8a54eb3700236 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-10-04Remove ref to org.eclipse.equinox.dsI20181007-1800I20181007-0600I20181006-1800I20181006-0600I20181005-1800Mickael Istria2-10/+2
Change-Id: I5784844afcaa49e1293c381733ce0d49f515512b Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-10-04Bug 536326 - Bump versionMickael Istria2-2/+2
Change-Id: Icf815e4895dfdae0345b3a2cd19cd1a35d051929 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-10-03Bug 536326 - Add failing test w/mirrors into MirrorRequestTestI20181004-1800I20181003-2215I20181003-1800Mykola Nikishov2-0/+28
As MirrorRequest keeps re-trying more mirrors than OrderedMirrorSelector has: java.lang.ArrayIndexOutOfBoundsException: 3 at org.eclipse.equinox.p2.tests.artifact.repository.MirrorRequestTest$OrderedMirrorSelector.nextMirror(MirrorRequestTest.java:426) at org.eclipse.equinox.p2.tests.artifact.repository.MirrorRequestTest$OrderedMirrorSelector.getMirrorLocation(MirrorRequestTest.java:417) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getMirror(SimpleArtifactRepository.java:742) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:639) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:772) at org.eclipse.equinox.p2.tests.artifact.repository.MirrorRequestTest$RemoteRepo.getArtifact(MirrorRequestTest.java:319) at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:316) at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:286) at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:222) at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:176) at org.eclipse.equinox.p2.tests.artifact.repository.MirrorRequestTest.testFailToCanonicalWithMirrors(MirrorRequestTest.java:120) Change-Id: I76888490a4fa76b02bd7e037247f07a6e8cfb616 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-10-03Bug 536326 - Report ARTIFACT_PROCESSING_ERROR from pack200 processing stepMykola Nikishov1-3/+7
When Pack200ProcessorStep fails to unpack artifact, it reports MirrorRequest.ARTIFACT_PROCESSING_ERROR. Since b26ae58972e96118b4f9e4496438fc218e5ab2d0, processing step must return MirrorRequest.ARTIFACT_PROCESSING_ERROR to report non-transport artifact errors and instruct SimpleArtifactRepository's downloadArtifact(IArtifactDescriptor, OutputStream, IProgressMonitor) via artifactError(IStatus) method to stop retrying. This fixes failing MirrorRequestTest's testFailToCanonicalWithMirrors() from the previous commit. Bug: 377976 Change-Id: Ib0c3316915044d115408a91a45a590266a63e8b6 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-10-03Bug 536326 - Improve messages in MirrorRequestTest's testFailToCanonicalMykola Nikishov1-2/+2
Message junit.framework.AssertionFailedError: Exact number of downloads expected:<12> but was:<2> is more specific than original one: junit.framework.AssertionFailedError: Number of downloads differs from expected attempts. Also print artifact's key. Change-Id: Idcebd80c9b94161d895e1ba56b50f90518630b16 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-10-03Fix typo in IArtifactDescriptor.*_CHECKSUM javadocsMykola Nikishov3-4/+4
Change-Id: I41c5af886d3cb354aa61a77a39e852adfbe6160b Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-10-03[javadoc] Corrected link & version bump for 4.10Karsten Thoms3-3/+3
Missing arg raised validation error Change-Id: Ifb82822a6122e5927b9e8162e2296d4a04872a3e Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-09-28Fix PlanAnalyzer_NoUpdates messageI20181002-1800I20181002-0205I20181001-1800I20181001-0920Mickael Istria1-1/+1
Change-Id: I140ad7875d14cff9f81792f10905f3b186150452 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-21Bug 536766 - Bump versionsI20181001-0235I20180930-1800I20180929-1800I20180928-1800I20180927-1800I20180927-0135I20180927-0040I20180926-1800I20180926-0830I20180925-1800I20180924-1800I20180923-1800I20180922-1800I20180922-0245I20180922-0005I20180921-1800Mickael Istria36-56/+67
Change-Id: I2d65ee3c1cb2566dfae0bbcf3a379f73b4fb6900 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-21Bug 537376 - Bump versionMickael Istria2-2/+2
Change-Id: Ic49e58b283fa25ea5479e1057779be385532d450 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-21Bug 537757 - Bump versionMickael Istria3-5/+9
Change-Id: Ic06c717e5640968b4f0e082a639880be95aaeecc Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-21Improve No Updates Found messageMickael Istria3-3/+4
Make users more interested in going to the preference page. Change-Id: I962e19afbc58bc8ee17ef053dcc50ae17f751762 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-21Bug 533297 - Bump bundle versionMickael Istria6-6/+6
The .externalToolBuilder and .project are not marked as ignored in the build-qualifier configuration updating them requires version bump compared to previous release. Change-Id: I7ee60bdb451ee7fc950a5047a0bf89f1513a2ac6 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-19Bug 537376 - TrustCertificateDialog shell has no titleY20180919-2200I20180920-1800I20180920-0630I20180920-0430I20180919-1800Michael Keppler3-2/+5
Add a simple title "Certificates" to the dialog. The localization keys have been changed, since the message string was put under the key "title" instead of "message". Change-Id: Ib43ac5e2c3020ab8487822b5050ee874eaf0f076 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-09-19Bug 533297 - AntTaskBuilder modifies workspaceMichael Keppler3-3/+4
There are multiple Ant based build scripts in the equinox.p2 repository, which modify version controlled files immediately after checkout and import. Those modified files should be checked in once (therefore this pull request) or the Ant builds should be configured differently by someone with the necessary knowledge. Change-Id: I1244c3c2710c756e52785a1acd1af93d3e5ffcb7 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-09-12Bug 536766 - Drop 32 bit support in 4.10I20180918-2005I20180918-1800I20180914-0620Sravan Kumar Lakkimsetti11-42/+0
Change-Id: Id681ad2177d6e8ae1b4fd01f9542254d886ec0ae Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-09-06Bug 537757 - Always attempt to delete old file when moving to backupY20180912-2200I20180913-1800I20180913-0415I20180912-2240I20180912-0225I20180912-0210I20180911-1400Todor Boev1-4/+6
Since File.exist() is not a reliable check it is performed not as a guard against deleting a non-existent file, but as confirmation that the deletion indeed failed because the file was not there. Change-Id: I77233458892083b3049c323cb004d97e195f475a Signed-off-by: Todor Boev <rinsvind@gmail.com>
2018-09-04Bug 538531 - POM version change for 4.10 releaseY20180905-2200I20180910-0310I20180907-0855I20180907-0715I20180907-0650I20180907-0400I20180906-1400I20180906-0005I20180905-1305I20180905-0410Sravan Kumar Lakkimsetti61-62/+62
Change-Id: I926c2afdfc2e32a627aec616130e33bb25629a42 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-08-29Bug 538356 - Add "org.eclipse.equinox.concurrent.future" to relevantY20180829-2200S4_9_0_RC2S4_9_0_RC1R4_9I20180906-0745I20180905-2000I20180905-0800I20180904-2000I20180904-0800I20180903-2000I20180903-1305I20180903-1125I20180903-0945I20180903-0800I20180902-2000I20180902-0800I20180901-1500I20180901-0800I20180831-2000I20180831-0815I20180830-1030I20180829-2000R4_9_maintenanceLars Vogel1-0/+7
feature Change-Id: I3c02644ee36b16d89e8ac21fc5ed780a05d45394 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-27Bug 535802 - EPL 2.0 for remaining test plug-insI20180829-0800I20180828-2000I20180828-0800I20180827-2000Lars Vogel646-1929/+3858
Change-Id: If2e35c4c118edbcf6ef4db5858726dde942da562 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-27Bug 535802 - Update p2 EPL-2.0 for its plug-ins - Part 5I20180827-0800Lars Vogel113-330/+660
Change-Id: I5f6906b87cbc08760a35a71420f1a90780346769 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-22Bug 538168 - Can't enable tracing for org.eclipse.equinox.p2.coreY20180823-0800Y20180822-2200S4_9_0_M3I20180826-2000I20180825-1500I20180824-2000I20180823-0450I20180823-0430I20180823-0100I20180822-2000Andrey Loskutov1-1/+2
Change-Id: Ia6d9b0a545df83935e3151110d18ab5cd9ca9a38 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-08-22Bug 535802 - Update p2 EPL-2.0 for its plug-ins - Part 4Lars Vogel228-683/+1365
Change-Id: I351c065b61cb7a83200affa0f3133f3c82399e5e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-22Bug 535802 - Update p2 EPL-2.0 for its plug-ins - Part 3Lars Vogel312-930/+1860
Change-Id: I7b922fdd409b7f004a77cf1d662a72034bd18a58 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-22More EPL 1.0 line break issues fixedLars Vogel18-18/+36
Change-Id: Ib05aa5ae2e1797a9df97e2905a435284a6e61996 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-22Bug 535802 - Update p2 EPL-2.0 for its plug-ins - Part 2Lars Vogel434-1300/+2601
Change-Id: I1f223baf52ff9a41f374a5f3d71410243d5cb6a4 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-22Bug 535802 - Update p2 EPL-2.0 for its plug-ins - Part 1Lars Vogel202-607/+1212
Change-Id: I5d8231e4070987a258d03a475ea69046263ea6b3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-22Adds linebreak before the EPL 1.0 licenceLars Vogel235-235/+470
Change-Id: Ic1638772d5f58d4567a83b519ecd885b80f5602b Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-22Fixes incorrectly formated EPL 1.0 license headerI20180822-0800Lars Vogel239-239/+478
Change-Id: I6337f0a9e32e7eb71ba6e368137e180a456bb8da Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-21Bug 535802 - Update p2 EPL-2.0 for its examplesLars Vogel26-78/+156
Change-Id: Id2eb611aa59e17fac5de192e72e1142a8bf25ea3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-21Bug 535802 - Update p2 EPL-2.0 for its featuresLars Vogel22-99/+198
Change-Id: Id1a3dd4baa7903f8361f36c81d48c6da9915b632 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-20Bug 530393 - EPL 2.0 for exsd in equinox.p2I20180821-2000I20180821-0800Lars Vogel7-23/+43
This updates the exsd definitions to EPL 2.0. Regex expression used below, manually fixed: bundles/org.eclipse.equinox.p2.artifact.repository/schema/artifactChecksums.exsd bundles/org.eclipse.equinox.p2.discovery.compatibility/schema/connectorDiscovery.exsd git checkout master git reset --hard origin/master git pull find . -type f -name "*.exsd" -exec sed -i -E 's/http:\/\/www.eclipse.org\/legal\/epl-v10.html\&quot;\&gt;http:\/\/www.eclipse.org\/legal\/epl-v10.html\&lt;\/a\&gt;/https:\/\/www.eclipse.org\/legal\/epl-2.0\&quot;\&gt;https:\/\/www.eclipse.org\/legal\/epl-v20.html\&lt;\/a\&gt;\/\n\nSPDX-License-Identifier: EPL-2.0/' {} + find . -type f -name "*.exsd" | xargs sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' find . -type f -name "*.exsd" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved. )/\1\n\1\2/' {} + Change-Id: I01eb54895c4bcbb7cc1988fc176b2da984944e09 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-13A bit more JUnit 4 conversion in p2.ui tests.Y20180815-2200I20180820-2000I20180820-0800I20180819-2000I20180819-0800I20180818-1500I20180818-0800I20180817-2000I20180816-2000I20180815-2000I20180815-1250I20180814-2000I20180814-0910I20180814-0900I20180813-2000Alexander Kurtakov2-10/+20
Change-Id: I4c88d405c42ced96054e70f18eac25a093c8f41d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-13Fix ArtifactRepositoryValidator creation error message.Alexander Kurtakov1-15/+14
The error message has a placeholder for reporting the comparator id requested but not existing but it was not binded. Also some for-each conversions in the file while on it. Change-Id: Ie28554fa346a720c43b583a6a5941ced7f7086c6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-11Convert test suites to junit4 in p2.tests.ui.I20180812-2000Alexander Kurtakov12-119/+147
Added all tests and marked them as ignored. Updated the formatter to the standard Eclipse one. Change-Id: Ia261f46edeeea15fcfae93dd7fe6f86f66a10e62 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-01For-each conversion in director.Y20180808-2200I20180811-1500I20180810-2000I20180810-0320I20180809-2000I20180808-2000I20180807-2000I20180807-1425I20180807-0350I20180806-2000I20180806-0300I20180805-2000I20180804-1500Alexander Kurtakov3-60/+29
Change-Id: I952f3752adde2b6be0883393812d3add19d98cc4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-01For-each conversion in RemediationOperation.Alexander Kurtakov1-4/+4
Change-Id: I81f8ea465e9127a01b248d7ca2d379d392ce93b1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-01For-each conversion in ProfileChangeRequest.Alexander Kurtakov1-4/+4
Change-Id: I20bb4044d92a3a28b73906f381fd1764f034fbe6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-01For-each conversion in ElementUtils.Alexander Kurtakov1-23/+21
Change-Id: I07c4eeb8dc3e976ad0b20b9b52809643887e6914 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-17Default target for master branchY20180801-2200Y20180725-2200Y20180723-0635Y20180723-0615Y20180720-0300Y20180718-2200S4_9_0_M2I20180803-2000I20180801-2000I20180801-0820I20180801-0800I20180801-0550I20180731-2000I20180731-1305I20180731-1250I20180731-1025I20180731-0800I20180731-0340I20180730-2240I20180730-2000I20180730-0800I20180729-2000I20180729-0800I20180728-1500I20180728-0805I20180727-2000I20180726-2000I20180725-2000I20180724-2000I20180723-2000I20180722-2000I20180721-1500I20180720-2000I20180719-2000I20180718-2000I20180718-0130I20180717-2000Mykola Nikishov1-0/+11
For now, keep Photon target around in case someone do need to do a maintenance build and create a new target file to use for ongoing development in master branch. Change-Id: Id8b4bfa6abd622e1f3a523f2b9f64a0f058b4faa Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-07-17releng: Let xz-java be fetched by the platform.sdk feature instead ofAlexander Kurtakov1-4/+0
hardcoding one. Change-Id: I084e6f81dd3346fa40cf68493e27605d644d9ed6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-17Photon target platform - use /releases/photon p2 repositoryMykola Nikishov1-3/+3
- org.eclipse.platform.sdk, org.eclipse.core.tests.harness and org.eclipse.test.feature.group from /eclipse/updates/4.8 - long term Orbit repo Change-Id: I123df915f35a2a11f8dacadd496b073a06fb797e Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-07-10Bug 535824 - Check for directory traversal entry pathsY20180712-0200I20180717-0320I20180716-2000I20180716-0715I20180715-2000I20180714-1500I20180713-2000I20180712-2000I20180711-2000I20180710-2000Thomas Watson5-6/+63
Change-Id: I105a488ea8264c1a2420a819255e6a95219365ad Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-07-10Try-with-resources in p2.repository.tools.Alexander Kurtakov3-70/+108
Enabled the compiler warning and changed the formatter to standard eclipse one so lines are not endless. Change-Id: I90519c176f366e847ba4f24021a8ed94790a7c8e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-05Bug 536616 - Test testPauseAndResumeMoreThanOnce and testPauseAndResumeI20180709-2000I20180708-2000I20180707-1500I20180706-2000I20180705-2000Alexander Kurtakov1-4/+14
fail Switch to fetching photon content.jar. Change-Id: I65c56f6038198c4241888d94f3b3e6705cc1d773 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-26Fix typo in MirrorSelector's initMirrors(IProgressMonitor) javadocY20180705-0105I20180704-2000I20180704-0805I20180704-0605I20180704-0545I20180703-2000I20180702-2000I20180702-0435I20180701-2000I20180630-1500I20180629-2000Mykola Nikishov1-1/+1
Change-Id: Ibbc6da645c2b547971c79f75bda7871d44c2b253 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>

Back to the top