You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2021/07/20 17:42:00 UTC

[jira] [Comment Edited] (ARROW-13408) [Packaging] Update crossbow to checkout specific git hashes

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

Krisztian Szucs edited comment on ARROW-13408 at 7/20/21, 5:41 PM:
-------------------------------------------------------------------

We should use different short flags.

BTW If anyone has time the resolution would be to replace the [checkout steps in macros.jinja|https://github.com/apache/arrow/blob/master/dev/tasks/macros.jinja#L31-L35] with:

{code}
git clone --no-checkout {{ arrow.remote }} arrow
git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
git -C arrow checkout {{ arrow.head }}
git -C arrow submodule update --init --recursive
{code}


was (Author: kszucs):
We should use different short flags.

BTW If anyone has time the resolution would be to replace the [checkout steps in macros.jinja|https://github.com/apache/arrow/blob/master/dev/tasks/macros.jinja#L31-L35] with:

```bash
git clone --no-checkout {{ arrow.remote }} arrow
git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
git -C arrow checkout {{ arrow.head }}
git -C arrow submodule update --init --recursive
```

> [Packaging] Update crossbow to checkout specific git hashes
> -----------------------------------------------------------
>
>                 Key: ARROW-13408
>                 URL: https://issues.apache.org/jira/browse/ARROW-13408
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Krisztian Szucs
>            Assignee: Krisztian Szucs
>            Priority: Major
>             Fix For: 6.0.0
>
>
> Crossbow was originally designed to checkout a specific hash, but the gandiva-jars required a different checkout approach where arrow-sha is omitted. We need to update the checkout step in the macros.jinja file to use specific commit ids rather than the FETCH_HEAD.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)