[jbosstools-issues] [JBoss JIRA] (JBIDE-22158) bzira needs to support multiple regex matches for Platform, JSDT, WTP, m2e, etc.
Nick Boldt (JIRA)
issues at jboss.org
Wed Apr 13 09:43:00 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-22158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Boldt closed JBIDE-22158.
------------------------------
Assignee: Nick Boldt
Resolution: Done
Fixed with https://github.com/maxandersen/jiralint/commit/d64dfd49499cb63fd541359248d4148747bdac6e for now.
> bzira needs to support multiple regex matches for Platform, JSDT, WTP, m2e, etc.
> --------------------------------------------------------------------------------
>
> Key: JBIDE-22158
> URL: https://issues.jboss.org/browse/JBIDE-22158
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Affects Versions: 4.4.0.Alpha1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 4.3.1.CR1
>
>
> Currently, bzira supports two ways to define mappings:
> a) hardcoded list:
> {code}
> def map_linuxtools(version):
> versions = {
> "4.2.1" : "Mars.2 (4.5)",
> "4.2.0" : "Mars.2 (4.5)",
> "4.1.0" : "Mars.1 (4.5)",
> "4.0.0" : "Mars (4.5)",
> "5.0.0" : "Neon (4.6)",
> "---" : NO_VERSION
> }
> return versions.get(version, None)
> {code}
> b) regex mapping:
> {code}
> "Platform" : (lambda version: re.sub(r"4.6(.*)", r"Neon (4.6)\1", version)),
> {code}
> But for Platform, we need two sets of mappings for 4.6 (Neon) and 4.7 (Oxygen).
> Here's a BZ for which we have a target milestone of 4.7:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=484347
> and here's currently the error that bzira reports:
> {code}
> [DEBUG] 484347 - [JFace] MessageDialog should use Link instead of Text [Platform, UI, [4.7]] {20160323T17:24:18} (19 days, 4:16:34.025318) -> https://bugs.eclipse.org/484347
> [DEBUG] Mapper: Platform / 4.7 -> 4.7
> [ERROR] Version '4.7' mapped from '4.7' not found in ERT. Please create it or fix the mapping. Bug: #484347 NEW - Platform-UI-Inbox at eclipse.org - [JFace] MessageDialog should use Link instead of Text
> Query: https://issues.jboss.org/rest/api/2/search?jql=project+%3D+ERT+and+summary+%7E+%27EBZ%23484347%27&maxResults=5
> [INFO] https://bugs.eclipse.org/484347 already proxied as https://issues.jboss.org/browse/ERT-33; checking if something needs updating/syncing.
> {code}
> There's an existing issue https://issues.jboss.org/browse/ERT-33 but it has fixversion of "Neon (4.6) M6" despite the fact that the bugzilla now has a target milestone of 4.7
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list