Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/rpm
AgeCommit message (Collapse)AuthorFilesLines
2014-09-29rpm: Remove useless non-javadoc.Alexander Kurtakov2-24/+0
Change-Id: I97101506f00ce80e202226a4814c59c1e39ce635 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/34040 Tested-by: Hudson CI
2014-09-29rpm: Improve Createrepo class.Alexander Kurtakov4-25/+70
* Return error/warning status instead of throwing CoreException. * Do not check twice availability of createrepo command * Add assume to test case to make it skip when createrepo not available * Do not ignore test * Enable save actions Change-Id: I22d3d7b4287ba7ea687a564ede8617de3cb89d0e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/34035 Tested-by: Hudson CI
2014-09-29rpm: Improve createrepo checks.Alexander Kurtakov6-52/+25
Method checking for correct version must check for availability first. Checking yum version is not needed as createrepo is supposed to be usable without it. Move tests the correct package to make moreunit work. Change-Id: Ibd42e8c97d804116290c64a057cee4f2846efb22 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/34021 Tested-by: Hudson CI
2014-09-26rpm: Ignore failing createrepo tests.Alexander Kurtakov3-0/+6
Change-Id: Ia12e2dbd5acf26ec08dc9e8f118f09b3775bbefd Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/33994
2014-09-26Bump features to 3.2.0-SNAPSHOT.Alexander Kurtakov12-12/+12
Change-Id: I08a5bd3b0a3892c66537997668dedd36e88474c0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/33993
2014-09-18Fix missing about.html in rpm createrepo plug-in.Jeff Johnston2-2/+32
Change-Id: I35f30be3818f512cd99f24da2f806d44ee227e2b Reviewed-on: https://git.eclipse.org/r/33509 Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com> (cherry picked from commit ede48f1977460adc1a16b8393cbf9f20ddaab74a) Reviewed-on: https://git.eclipse.org/r/33527 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-09-16Enable logging of all SWTBot tests with log4J.Andrew Ferrazzutti3-0/+18
Add log4j logging to SWTBot tests found in test bundles that reference the log4j bundle but do not actually use it. Change-Id: I3407e7574f405c4bcf36d5452fe6178f01b159b4 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/33279 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-09-09rpm: Rename createrepo tests.Alexander Kurtakov7-10/+15
Sticking with conventions to make it easier to map between test and class under test. Edit moreunit settings to make it even easier. Change-Id: I0bafd707fad02fc095848251f65a97acef875f9e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/33089 Tested-by: Hudson CI
2014-09-04RPM: Edit targets of "Build RPM" commands.Andrew Ferrazzutti3-37/+77
-The "Build RPM" toolbar button now only targets the currently active .spec file editor rather than the active selection. -Prevent RPM Builds from being possible for projects without an RPM nature. -Prevent RPM popup menu options from appearing when the active selection contains more than one element. Change-Id: I31aa2c5827b2fa4acf692f764a64dbd7b4fc25d9 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/31564 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-09-04RPM: Add "stop" feature for builds.Andrew Ferrazzutti13-123/+443
Allow stopping an RPMExportOperation to actually have an effect. Also add a stop button on the RPM Console. Change-Id: Id9b868d4e2c13cad601229a6813fb095e36a71ef Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/30693 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-09-04RPM: Allow source downloads with FTP.Andrew Ferrazzutti2-5/+10
Resolves EBZ #441736. Change-Id: I5d66e57836ebbab4638d0e3f1bc4fc2863042007 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/31580 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-07-30Fix typo in rpmlint builder messagesMat Booth1-2/+2
Change-Id: I0f8f0739d016d0fbc847fc26172dd69ce8eaddb2 Signed-off-by: Mat Booth <mat.booth@redhat.com> Reviewed-on: https://git.eclipse.org/r/30743 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-07-22rpm: Cleanup javadoc.Alexander Kurtakov1-14/+1
Change-Id: I3d0799e1f7cdb5dd8c69253a38d23e5fa02780b8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/30211 Tested-by: Hudson CI
2014-07-08Put createrepo in the update site.Alexander Kurtakov1-0/+6
Change-Id: I98f1a9de621251768cd6d6c447e296a5f43566f9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/29578 Tested-by: Hudson CI
2014-06-26RPM: Prevent "RPM" menu item from disappearing.Andrew Ferrazzutti1-1/+9
On some platforms, placing the "RPM" item of the RPM Project context menu before item additions (with a locationURI ID of before=additions) causes it to shift around & disappear when opening the context menu multiple times. Place it after additions instead to stop this behaviour. Change-Id: I30a701f1c624475526edb2e07af05f3fff413e63 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/28990 Reviewed-by: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
2014-06-04Set next release to be 3.1.0.Jeff Johnston12-12/+12
Change-Id: I4731f53db522baccec56da9d51e7a37dc8a71b64 Reviewed-on: https://git.eclipse.org/r/27612 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-06More tabs to spaces, trailing space removal.Andrew Ferrazzutti1-4/+4
Change-Id: Ib7611d2160cb88ca41a9a2a1a874fc16c5aaf830 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/25882 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-04-30Cleanups.Alexander Kurtakov7-81/+14
* Member to variable. * String.isEmpty usage. * Unnecessary local before return. * Naming conventions * Integer instantiation * Dead store to local variable Change-Id: I96b495245a2505fcbd608965319b3565edf513ff Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/25766 Tested-by: Hudson CI
2014-04-29More cleanups.Alexander Kurtakov5-35/+15
* Empty statements * This final field could be made static * Member could be replaced by local variable * 'static' modifier out of order with the JLS suggestions. * strings handling * unused parameters * unnecessary local before return Change-Id: I7e6b45466178696345a057f75278c6c5c8a670ad Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/25708 Tested-by: Hudson CI
2014-04-26Remove old 2011 license stuff from all feature.properties filesJeff Johnston1-131/+0
- tycho adds the license info automatically to the feature.properties files that end up in the output jar files Change-Id: Ic6d32db0c2cea75c06fb811674ec82b2026d5943 Reviewed-on: https://git.eclipse.org/r/25585 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-04-26Change tabs to spaces; elim trailing whitespace.Andrew Ferrazzutti239-18443/+18443
To comply with Sonar style requirements, replace all tab characters with four whitespace characters/spaces, and remove all trailing whitespace. Perform this change to all Java and XML files. Also replace tabs with "\t" in test strings that require tabs, and edit STPIndenterTest so that it doesn't rely on indented comments. Change-Id: I48c3c5449a58fe5310967d998a05df1a28fbcbb0 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/25561 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-04-25Replace feature licenses with new 2014 license.Jeff Johnston1-1/+1
Change-Id: Ib5471ff3a6f4dc66fd6e42038574b42a0d62d612 Reviewed-on: https://git.eclipse.org/r/25515 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-04-16Fix warnings.Alexander Kurtakov11-349/+361
Remaining easy fixes from last 30 days issues report. Change-Id: Ie098fc73e8a5c32d0d0ad59f658eaba745acde46 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/25103 Tested-by: Hudson CI
2014-04-15rpm: Sonar warning fixes.Alexander Kurtakov74-5509/+5278
Change-Id: Iea6c3e579225da9e0582a3ff005ebc3c80ac0df2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/25026 Tested-by: Hudson CI
2014-04-14rpm: Tighten up requirement on org.eclipse.ui.workbench.texteditorMat Booth1-1/+1
Due to making a platform API call that is only available in Luna+ Change-Id: Ide35d18320a97cf95f3367d5a25c040a55ab2ef7 Signed-off-by: Mat Booth <mat.booth@redhat.com> Reviewed-on: https://git.eclipse.org/r/24982 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-04-09rpm: Don't lose original exception.Alexander Kurtakov1-5/+5
New Status objects would better keep reference to the original exception to ease investigating an issue. Change-Id: I0cec93e5570fd05e813302c7bf3af79ba490290b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/24738 Tested-by: Hudson CI
2014-04-09rpm: Enable parameter not used warnings.Alexander Kurtakov9-16/+17
Change-Id: Ic5e7ec0083fa3ae7ff5ee8887e91634673853598 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/24741
2014-04-08Extend JFace LabelProvider instead of implementing ILabelProvider.Alexander Kurtakov1-15/+2
Prevents stubbing many methods. Change-Id: I1b6c38d81df3ac68a7f714dc3e08dbf448491551 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/24604
2014-04-07tests: Use more appropriate junit assert methods.Alexander Kurtakov3-7/+64
Improves readability: * assertTrue(!condition) -> assertFalse(condition) * assertTrue(a == b) -> assertEquals(a, b) and other similar Change-Id: Iea7478cac9eb0278b7dcfa5702c115004ba7b5ae Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/24530 Tested-by: Hudson CI
2014-04-04rpm: Readability improvements to tests.Alexander Kurtakov2-40/+39
Change-Id: I05f52bc4ea589261254b62c80cfb6df787fd3992 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/24353 Tested-by: Hudson CI
2014-04-03rpm: Remove useless call in CreaterepoProjectCreator.Alexander Kurtakov1-1/+0
Change-Id: I962db1e6ad0109afaf2b92b118ef1e5c30cb08ea Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/24356 Tested-by: Hudson CI
2014-03-31rpm: Make a method static.Alexander Kurtakov1-1/+1
Change-Id: I79d1eb98f22ecece3849a855457f0640da960173 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/24180 Tested-by: Hudson CI
2014-03-29Linuxtools: Delete /tmp files created by tests.Andrew Ferrazzutti1-3/+13
Change-Id: I42c8e6ef3b148602412164ef6bd4d4b4f2c98192 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/24120 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> IP-Clean: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-03-17rpm: Internalize remaining classes.Alexander Kurtakov47-123/+100
They were not exported so not a real change. Just fixing the javadoc generated. Change-Id: Ib489187734deb45115ce023c22708201b8092b11 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/23478 Tested-by: Hudson CI
2014-03-14RPM: Stablize more SWTBot tests.Andrew Ferrazzutti9-219/+197
SWTBot sometimes fails when expanding tree items directly (EBZ #430047), so use textual "search" features instead to reveal desired tree items in all remaining tests that look for tree nodes. Change-Id: I58f88dc67413373faafc7f7bdac6e7a8161f0199 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/23404 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> IP-Clean: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-03-14rpm: Add %autosetup to built-in macros.Alexander Kurtakov1-1/+1
Change-Id: Ia781b0fa8db4e2f93fe3429b5f157e65f589ea37 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/23346 Tested-by: Hudson CI
2014-03-13Use CBI license feature.Alexander Kurtakov1-1/+1
Change-Id: Ia423ae0a80efac36c3170f1adc1e1127e08eb4c3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/23345 Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
2014-03-07Systemtap & RPM: Stabilize SWTBot tree tests.Andrew Ferrazzutti1-3/+39
SWTBot sometimes fails when expanding tree items directly, so use textual "search" features instead to reveal desired tree items in any tests that look for tree nodes. Change-Id: I408747476138c19cdd9168dbd2ffc46762ef41e3 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/23016 Tested-by: Hudson CI Reviewed-by: Sami Wagiaalla <swagiaal@redhat.com> IP-Clean: Sami Wagiaalla <swagiaal@redhat.com> Tested-by: Sami Wagiaalla <swagiaal@redhat.com>
2014-01-27Remove .classpath files from doc plugins.Alexander Kurtakov1-5/+0
As they are not Java project .classpath files are useless. Change-Id: Id5eb59274d97207e0b4557c13cfa60777946125c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/21114 Tested-by: Hudson CI
2014-01-27rpm: Remove ChangeLog files.Alexander Kurtakov10-6244/+1
They are not maintained for years and having them now just confuses source grepping. Change-Id: Ic1a939ec6926584ed8bcab79e7f8510dcb5a6f80 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/21102 Tested-by: Hudson CI
2014-01-24rpm: Warning fixes.Alexander Kurtakov5-7/+17
* Missing javadoc. * Method can be static. * Exception not actually thrown. Change-Id: I14de468fa48114ef66c57d8b1303b558d6002a76 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/21029 Tested-by: Hudson CI
2014-01-24rpm: Simplify exception handling.Alexander Kurtakov6-106/+55
No need for retrowing exception few times just to log it in multiple places. Change-Id: I52407c8d35d6dcb5d7bc78e611f6950ca332c87a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/21028 Tested-by: Hudson CI
2014-01-23RPM: createrepo tests for preference/property pageNeil Guzman5-1/+791
Testing classes within: o org.eclipse.linuxtools.internal.rpm.createrepo.preference Change-Id: I72295849ea1b6d068e80cabbcb9b4a7f71a61427 Signed-off-by: Neil Guzman <guzmann001@gmail.com> Reviewed-on: https://git.eclipse.org/r/20958 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> IP-Clean: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-01-22rpm: Generify feature name.Alexander Kurtakov2-2/+2
The name was too long and was not reflecting the fact that createrepo and rpmstubby are part of the feature now. Change-Id: Ib578074d2a5a045d7272e9ef4c67292f6c7ef809 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/20924 Tested-by: Hudson CI
2014-01-22rpm: Move ui plugin to Java 1.7 too.Alexander Kurtakov5-7/+7
Change-Id: Ic399f6778d95a09ef9271e23303e68b9a98404f7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/20921 Tested-by: Hudson CI
2014-01-16rpm: Fixes for Java 1.7.Alexander Kurtakov2-2/+2
Fix redundant generics and enable save actions to get consistent codebase. Change-Id: I264cd57e09267358f7319ee474bbf3e6b30c3517 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/20712 Tested-by: Hudson CI
2014-01-09Unify naming and bump releng-site version.Alexander Kurtakov1-1/+1
Change-Id: I98445db9d2c8ab6e3eaa018c169b010516021779 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/20440 Tested-by: Hudson CI
2013-12-19rpm: Don't use deprecated hyperlink method.Alexander Kurtakov1-4/+2
Change-Id: I456f93668c8502f3af8a4caf78b1bd21ebe88820 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/20029 Tested-by: Hudson CI
2013-12-19rpm: Remove unused members and methods.Alexander Kurtakov2-20/+0
Change-Id: I7dfeaa989edde944c8ecb13800d672edaf1b47d7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/20030 Tested-by: Hudson CI
2013-12-19rpm: Finish createrepo move to 1.7.Alexander Kurtakov7-13/+13
* Synch .classpath values. * Enable warnings and fix them. Change-Id: I81e0ba3fc0f8f47769d20470bd67536dfa18664d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/20022 Tested-by: Hudson CI

Back to the top