You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2014/11/13 09:41:33 UTC

[jira] [Comment Edited] (BIGTOP-1527) Allow to fetch package's source code from Git

    [ https://issues.apache.org/jira/browse/BIGTOP-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209495#comment-14209495 ] 

Konstantin Boudnik edited comment on BIGTOP-1527 at 11/13/14 8:40 AM:
----------------------------------------------------------------------

Thanks for working on that!
And yeah, I think this could be done independently from the other one. A couple of technical points:
- for cloning, could you look if [gradle-git plugin|https://github.com/ajoberstar/gradle-git] can be used instead of doing exec? Similarly to how the current download is done via a plugin?
- here it makes sense to check if GIT_BRANCH is already set
{code}
+    if (GIT_REPO) {
{code}


was (Author: cos):
Yeah, I think this could be done independently from the other one. A couple of technical points:
- for cloning, could you look if [gradle-git plugin|https://github.com/ajoberstar/gradle-git] can be used instead of doing exec? Similarly to how the current download is done via a plugin?
- here it makes sense to check if GIT_BRANCH is already set
{code}
+    if (GIT_REPO) {
{code}

> Allow to fetch package's source code from Git
> ---------------------------------------------
>
>                 Key: BIGTOP-1527
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1527
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.8.0
>            Reporter: Ivan Orlov
>         Attachments: 0001-Allow-to-fetch-sources-from-Git.patch
>
>
> For development purposes. It's useful to target Bigtop on Git-repository of your own package.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)