Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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>
2018-06-14Nothing to return from MirrorSelector's initMirrors methodY20180628-0525I20180629-0420I20180629-0400I20180628-2000I20180628-0230I20180627-2020I20180627-2000I20180625-1545I20180621-2000I20180618-0800I20180615-0655I20180615-0300I20180614-2045I20180614-2000Mykola Nikishov1-4/+3
Change-Id: I5c469e350b720d167333ad7142d3fa5275236877 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-06-13Minor - Fix typosMichael Keppler4-19/+19
Rename "licence" to "license". All code changes are in tests or in classes of internal packages, therefore no public API changes. Change-Id: I39713a9a9c46cf230947e33765383cddb6d102c4 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-06-13Refactor internal MirrorSelector's computeMirrors(String, IProgressMonitor)Mykola Nikishov1-11/+15
Change-Id: I88ceb0b4f5f076b4ba00cfeccc1a0b2c567c9fdb Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-06-13Refactor internal MirrorSelector's computeMirrors(String, IProgressMonitor)Mykola Nikishov1-10/+14
Change-Id: I427769a505ef055d3ea5df6481f5bb3546d787de Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-06-13Refactor internal MirrorSelector's computeMirrors(String, IProgressMonitor)Mykola Nikishov1-16/+18
Change-Id: I38bd174a92d89945b96e380d866aa0ef1d963d16 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-06-12Bug 533655 - Can't deselect features from top level category which hasI20180613-0440I20180613-0300Joshua Matsuoka1-4/+13
subcategories Change-Id: I6214b2518b13c4243c84d61de0a2e4d21b20b5b5 Signed-off-by: Joshua Matsuoka <jmatsuok@redhat.com>
2018-06-12Extract method to get artifact repositories in DownloadManagerMykola Nikishov1-7/+18
Change-Id: I03f3710c7d1debf148a90911557c1353e14cc80d Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2018-06-11Bug 535318 - Update license to EPL-2.0 for p2 in about.htmlLars Vogel47-810/+1213
Change-Id: I9c48c4b54d9685e1ee7d5296093d7b27d3d50e54 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-06-07Fix warnings in bin.includes.I20180607-2000Alexander Kurtakov2-2/+2
Change-Id: I3a1b0fbd18434ae957c53cac520cdda12a7e8b0c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-07Bug 535636 - Update bundles to Java 1.8Alexander Kurtakov14-162/+296
Take care of p2.tests.discovery. Bump BREE code updates and move to JUnit 4. Change-Id: I033137b0b994357f169f399801f730e6d4760a1e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-07Bug 535636 - Update bundles to Java 1.8Alexander Kurtakov8-117/+234
Take care of p2.sar bundle. Change-Id: I1081d9df9dca93919f79e8e74deeb1133b75e5bd Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-07Bug 535636 - Update bundles to Java 1.8Alexander Kurtakov10-62/+147
Take care of p2.artifact.processors. Bumped BREE and all kind of modernizations applied. Change-Id: I30c131ae43c427de839b08e637810c5df932f2d7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-07Bug 535636 - Update bundles to Java 1.8Alexander Kurtakov16-213/+303
Take care of p2.artifact.optimizers. All kind of modernizations to the codebase done. Change-Id: Ic4c0422a2d3aa320ef8d126c2974964c478177d7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-07Bug 535636 - Update bundles to Java 1.8Alexander Kurtakov24-268/+457
Take care of various modernizations and updates in p2.testserver. Change-Id: Id5ad446c1cab4cf81702a28e976c41a41070cd58 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-07Bug 535636 - Update bundles to Java 1.8Alexander Kurtakov25-590/+275
Take care of p2.tests.optimizers. Bump BREE, enable more warnings and fix them, remove parts testing non existing code, convert to JUnit 4 and etc. Change-Id: I8992fa1cf4bdb42a76e288e5b28aae466db21c80 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-07Bug 535318 - Update versions for next releaseAlexander Kurtakov86-85/+93
Prep for update license to EPL-2.0 Change-Id: I2fe45c006012a83c207821a2d41abaa248df3802 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-05Bug 534536 - The planner always reports detailed statusI20180606-1020Todor Boev13-139/+338
- SimplePlanner builds a MultiStatus for successful operations just like it does for failed ones - The DirectorApplication logs the status of successful planner invocations Change-Id: I0886dcf377172f99cf2d26df0f2b3dedfe9a7280 Signed-off-by: Todor Boev <rinsvind@gmail.com>
2018-06-01Bug 534372 - Cleaned up the p2 director log logicTodor Boev6-135/+224
Concentrated all output into the ILog facade: std streams and the log. Added a DefaultLog implementation of ILog instead of using if-s. All code related to the "stacktrace" flag is dead since it can't be set from the command line. Removed to simplify logic. Change-Id: Ia9a4009701eb3370d7b8a158ee4d9612286eea69 Signed-off-by: Todor Boev <rinsvind@gmail.com>
2018-06-01Bug 512407 - Let's dump 'ie.wombat.jbdiff' and related from GitI20180601-0915I20180601-0900Alexander Kurtakov48-2072/+5
repository Never have been published in our repo so safe to remove. Removed parts that used it but these bundles are not in the repo also so safe again. It is sure that if/when jbdiff is really used it should be added to Orbit and used proper instead of keeping it's source in our repo. Change-Id: Iac3cccd08d3019d70d1d18632a761d20bad444b8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-05-30Bug 535327 - Streamline maven poms hierachyI20180531-2125I20180531-2000I20180531-1245I20180531-0910Alexander Kurtakov50-178/+178
Needed so tycho-versions:set-versions works properly. Not all modules handled properly but majority are which is good enough for me now. Change-Id: I62d65744ed65d083f3755aab86b925fa780092b5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-05-12Bug 534597 - Unanticipated comparator errors in I20180511-2000I20180515-0800I20180514-2000I20180514-0800I20180513-2000I20180513-0800I20180512-1500I20180512-0830Sravan Kumar Lakkimsetti8-0/+8
Change-Id: I81a22fab41385acd21a618ae41031e372a9387a6 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-05-02More try-with-resources in simpleconfigurator.S4_8_0_M7I20180511-2000I20180509-2000I20180509-0800I20180508-2000I20180508-0800I20180507-2205I20180507-2000I20180507-0810I20180507-0800I20180506-2000I20180506-0800I20180505-1500I20180504-2000I20180503-2000I20180503-0740I20180502-2000Alexander Kurtakov2-31/+11
Change-Id: I1e45a9d05e0c31b4b0e727310d2af56cef670bdf Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-05-02Make TarFile implement closeable.Alexander Kurtakov2-7/+5
And deal with it using try-with-resources. Change-Id: I0389ab78f2aefe157378f2378f39564deee0c125 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-05-02Try-with-resources and foreach in ConfigApplier.Alexander Kurtakov1-60/+43
Change-Id: I07351432b084b58a9dd1ef4ff907779d2c743a08 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-05-02Translate comment from French to EnglishMickael Istria1-1/+1
Change-Id: I21e7779bcfb7118ca6be1d48a8b7d16ed8aa7752 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-05-02Bug 534261 - Removed PackageAdmin from the p2 director applicationTodor Boev1-30/+5
Change-Id: Ic11776d49525dfc7968f09cae79ceb5179178046 Signed-off-by: Todor Boev <rinsvind@gmail.com>
2018-04-30Foreach and efficient Map traversal changes.I20180502-0100I20180501-2000I20180430-2000Alexander Kurtakov9-96/+232
Change-Id: I27e76c54d54a7c9d22aec5a124db6f11b7bc6444 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-25Update test reconciler product.I20180430-0715I20180429-2000I20180428-2020I20180428-1500I20180427-2000I20180426-2000I20180426-0500I20180425-2000I20180425-1705I20180425-1650I20180425-1455Alexander Kurtakov1-3/+14
Let it run the reconciler app instead of workbench. Add all required plugins. Change-Id: Icc15f4953f821592d596c4bd10f748d36c88cb3a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-25Add bundle vendor to o.e.equinox.frameworkadmin.test bundle.Alexander Kurtakov3-2/+17
And externalize the strings. Change-Id: I746bf1f6f437f517007bfc8b60af1bbad9e94940 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-25Remove unused method.Alexander Kurtakov1-27/+2
That causes import of deprecated PackageAdmin. Change-Id: Idb36c049f672d9b8cb17f1fe818c73372133fc4b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-25Cleanups.I20180425-0910I20180425-0725Alexander Kurtakov8-35/+31
* Foreach conversion. * Removed useless non-javadoc comments. * Use isEmpty. Change-Id: I86a3291f3abf30a8dee2b4a4c008978b24ec75d3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-25Touching reconciler product after move to Tycho 1.2.0I20180425-0505Sravan Kumar Lakkimsetti1-0/+1
Change-Id: I7ac3fbc380298c2462abe4c84702a16d2bfe9c54 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-04-18Bug 533758 - Direct use of IStructuredSelectionI20180425-0250I20180424-2000I20180423-2000I20180423-0655I20180423-0640I20180422-2000I20180421-1500I20180420-2000I20180419-2000I20180418-2000Alexander Kurtakov13-31/+46
Instead of getSelection and cast. Enable save actions to auto remove useless casts. Change-Id: Ie9fd9546ac74d146a9fa219e37d012d7a3e79415 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-16Bug 533617 - NLS missing message warnings since 4.8 M6I20180417-2000I20180416-2000Alexander Kurtakov2-0/+5
Restore MD5 error messages. They are still used in deprecated code but were errorneously removed. Change-Id: Ibf3c499075b710f640032605cf3f8d9d90b3f6bf Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-13Bug 533117 - setRepositoryProperty: fixed regression when value is nullI20180416-0305I20180415-2000I20180414-1500I20180413-2000Karsten Thoms1-3/+8
A null value should remove the entry from the repositoryProperties. But when repositoryProperties is not initialized a null value was actually added for the key. Changed conditions to first prove wether value is null and only remove the property, when field repositoryProperties is initialized. Set field to null when the last entry was removed. Change-Id: I766094f09d24bcf3c0da093202724ab5c2f0e417 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-04-09Bug 527874 - Remember failed repositories on load requestI20180412-2000Karsten Thoms1-20/+41
When a loading a repository failed once, its location is remembered to early exit on subsequent load requests. Multiple requests can happen e.g. during Check for Updates action. Change-Id: I56258d50523d95dff84ef4153bfc687f3bf80355 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>

Back to the top