[ 
https://issues.apache.org/jira/browse/BIGTOP-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Boudnik updated BIGTOP-1671:
---------------------------------------
    Component/s: build

> Fix handling symlinks when cloning git repos
> --------------------------------------------
>
>                 Key: BIGTOP-1671
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1671
>             Project: Bigtop
>          Issue Type: Bug
>          Components: build, general
>    Affects Versions: 0.9.0
>            Reporter: Peter Slawski
>            Assignee: Peter Slawski
>         Attachments: BIGTOP-1671.1.patch
>
>
> Symlinks are not supported when cloning Git repositories via Gradle for 
> development purposes.
> For example, in bigtop.mk when the following are set in the hue section, the 
> symlink in the cloned repository are not created properly. Thus, building hue 
> will fail
> {code:none}
> HUE_GIT_REPO=https://github.com/cloudera/hue.git
> HUE_GIT_REF=branch-3.6
> HUE_GIT_DIR=hue-release-$(HUE_BASE_VERSION)
> {code}
> {noformat}
> gradle realclean hue-rpm
> ...
> SyntaxError: invalid syntax
> --- Installing  into virtual-env
> Traceback (most recent call last):
>   File "setup.py", line 17, in <module>
>     from hueversion import VERSION
>   File 
> "/workspace/workspace/hue-rpm/build/hue/rpm/BUILD/hue-release-3.6.0/desktop/core/hueversion.py",
>  line 1
>     ../../VERSION
>     ^
> SyntaxError: invalid syntax
> {noformat}
> For cloning git repositories, Gradle uses Grgit. The version used does use a 
> version of Jgit that supports native symlinks when cloning a Git repository. 



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

Reply via email to