Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2014-07-27 08:01:35 -0400
committerFrank Becker2014-08-13 11:52:58 -0400
commit1d9df855c6dcaf1ca1a96d8f96dc0038290703af (patch)
tree07f32351b1f984b45eaee3744c8d7bb3c85976b4
parente46414f2254fa32bccd87ac9c904c6450460aba2 (diff)
downloadorg.eclipse.mylyn.tasks-1d9df855c6dcaf1ca1a96d8f96dc0038290703af.tar.gz
org.eclipse.mylyn.tasks-1d9df855c6dcaf1ca1a96d8f96dc0038290703af.tar.xz
org.eclipse.mylyn.tasks-1d9df855c6dcaf1ca1a96d8f96dc0038290703af.zip
440493: [ANN] Release of Bugzilla 4.5.5, 4.4.5, 4.2.10, and 4.0.14
Change-Id: Ida37afcc4594ee85ce6833f89fed5b54c67efbf6 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=440493
-rw-r--r--connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestValidateRequest.java7
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp29
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/installPerlModules.sh.erb8
3 files changed, 25 insertions, 19 deletions
diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestValidateRequest.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestValidateRequest.java
index f0a0d0d1d..795bf4e32 100644
--- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestValidateRequest.java
+++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestValidateRequest.java
@@ -30,8 +30,11 @@ public class BugzillaRestValidateRequest extends BugzillaRestAuthenticatedGetReq
@Override
protected void doValidate(CommonHttpResponse response, IOperationMonitor monitor) throws IOException,
- BugzillaRestException {
- validate(response, HttpStatus.SC_BAD_REQUEST, monitor);
+ BugzillaRestException {
+ // since 4.5.5 we get an HttpStatus.SC_NOT_FOUND instead of an HttpStatus.SC_BAD_REQUEST
+ validate(response, response.getStatusCode() == HttpStatus.SC_NOT_FOUND
+ ? HttpStatus.SC_NOT_FOUND
+ : HttpStatus.SC_BAD_REQUEST, monitor);
}
@Override
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp
index 08822bca2..15af870cd 100644
--- a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp
@@ -56,40 +56,40 @@ define bugzilla::defaultsites($base = $bugzilla::bugzillaBase, $userOwner = $bug
minor => "0",
}
- bugzilla::site { "bugzilla-4.2.9":
+ bugzilla::site { "bugzilla-4.2.10":
major => "4",
minor => "2",
}
- bugzilla::site { "bugzilla-4.2.9-bugaliases":
+ bugzilla::site { "bugzilla-4.2.10-bugaliases":
major => "4",
minor => "2",
- branchTag => "bugzilla-4.2.9",
+ branchTag => "bugzilla-4.2.10",
usebugaliases => true,
}
- bugzilla::site { "bugzilla-4.4.4":
+ bugzilla::site { "bugzilla-4.4.5":
major => "4",
minor => "4",
envdefault => true,
}
-bugzilla::site { "bugzilla-4.5.4":
+bugzilla::site { "bugzilla-4.5.5":
major => "4",
minor => "5",
branch => "trunk",
- branchTag => "bugzilla-4.5.4",
- envversion => "4.5.4",
+ branchTag => "bugzilla-4.5.5",
+ envversion => "4.5.5",
}
-
-bugzilla::site { "bugzilla-rest-4.5.4":
+
+bugzilla::site { "bugzilla-rest-4.5.5":
major => "4",
minor => "5",
branch => "trunk",
- branchTag => "bugzilla-4.5.4",
+ branchTag => "bugzilla-4.5.5",
rest_enabled => true,
- envversion => "4.5.4",
- envinfo => "4.5.4, REST enabled"
+ envversion => "4.5.5",
+ envinfo => "4.5.5, REST enabled"
}
bugzilla::site { "bugzilla-trunk":
@@ -97,7 +97,7 @@ bugzilla::site { "bugzilla-rest-4.5.4":
minor => "5",
branch => "trunk",
branchTag => "trunk",
- envversion => "4.5.4+",
+ envversion => "4.5.5+",
}
bugzilla::site { "bugzilla-rest-trunk":
@@ -105,9 +105,8 @@ bugzilla::site { "bugzilla-rest-trunk":
minor => "5",
branch => "trunk",
branchTag => "trunk",
- envversion => "4.5.4+",
+ envversion => "4.5.5+",
envdefault_rest => true,
rest_enabled => true,
}
-
} \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/installPerlModules.sh.erb b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/installPerlModules.sh.erb
index 7e2ae20c3..45c7e992d 100644
--- a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/installPerlModules.sh.erb
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/templates/installPerlModules.sh.erb
@@ -15,5 +15,9 @@
<% if @operatingsystemrelease = "12.04" && @envversion > "4.4" %>
/usr/bin/perl install-module.pl Template
<% end %>
-echo "Ende1"
-
+<% if @envversion > "4.5.4" %>
+/usr/bin/perl install-module.pl DateTime
+/usr/bin/perl install-module.pl DateTime::TimeZone
+/usr/bin/perl install-module.pl File::Slurp
+<% end %>
+echo "Ende1" \ No newline at end of file

Back to the top