You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Yetus QA (JIRA)" <ji...@apache.org> on 2017/03/09 19:29:38 UTC
[jira] [Commented] (YETUS-494) smart-apply-patch fails if there is
the corresponding PR but the patch URL is not written
[ https://issues.apache.org/jira/browse/YETUS-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903696#comment-15903696 ]
Yetus QA commented on YETUS-494:
--------------------------------
(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/PreCommit-YETUS-Build/545/console in case of problems.
> smart-apply-patch fails if there is the corresponding PR but the patch URL is not written
> -----------------------------------------------------------------------------------------
>
> Key: YETUS-494
> URL: https://issues.apache.org/jira/browse/YETUS-494
> Project: Yetus
> Issue Type: Bug
> Components: Test Patch
> Affects Versions: 0.4.0
> Reporter: Akira Ajisaka
> Assignee: Akira Ajisaka
> Priority: Minor
> Attachments: YETUS-494.01.patch
>
>
> {{github_jira_bridge}} searches the patch URL as follows:
> {code:title=github.sh}
> urlfromjira=$(${AWK} "match(\$0,\"${GITHUB_BASE_URL}/[^ ]*patch[ &\\\"]\"){url=substr(\$0,RSTART,RLENGTH-1)}
> END{if (url) print url}" "${PATCH_DIR}/jira" )
> {code}
> It would be better the function searches the PR URL (ex. https://github.com/apache/hadoop/pull/<# of the PR>) as well. If a jira is created after the corresponding PR, ASF GitHub bot does not comment the patch URL to the jira. In this case, the search fails. HADOOP-14156 is an example.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)