[
https://issues.apache.org/jira/browse/IMPALA-12047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17713304#comment-17713304
]
ASF subversion and git services commented on IMPALA-12047:
----------------------------------------------------------
Commit bb237660a0cca7a2315ac419058cd8b7cc84073c in impala's branch
refs/heads/master from whsyourdaddy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=bb237660a ]
IMPALA-12047: [DOCS] Fix a URL mistake when using "git clone" in docs/README.md
There's a URL mistake when using "git clone" in docs/README.md:
git clone https://gitbox.apache.org/repos/asf/impala.git/docs
This doesn't work and it will prompt "repository not found".
This change corrects the description, providing two ways to download
the docs - either by downloading the whole repository and going to the
docs/ directory or by downloading only the docs using git sparse-checkout.
Change-Id: Ib00c37e28e67cca5b3630742b4c366dea4e967b7
Reviewed-on: http://gerrit.cloudera.org:8080/19634
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Daniel Becker <[email protected]>
Reviewed-by: Yingchun Lai <[email protected]>
> docs README.md
> --------------
>
> Key: IMPALA-12047
> URL: https://issues.apache.org/jira/browse/IMPALA-12047
> Project: IMPALA
> Issue Type: Improvement
> Components: Docs
> Reporter: Angelo
> Priority: Major
>
> There's a URL mistake when using "git clone" in docs/README.md.
> {code:java}
> git clone https://gitbox.apache.org/repos/asf/impala.git/docs {code}
> Actually, this doesn't work and it will prompt "repository not found".
> Remark:
> On the one hand, if the doc means to clone the whole repository, the command
> should be
> {code:java}
> git clone https://gitbox.apache.org/repos/asf/impala.git {code}
> On the other hand, if the doc means to clone only 'docs' directory of the
> whole repository, "sparse-checkout" could be used and some preceding context
> may be needed. This is a possible way:
> {code:java}
> git init impala_docs
> cd impala_docs
> git remote add origin https://gitbox.apache.org/repos/asf/impala.git
> git sparse-checkout set docs/
> git pull origin master{code}
> You'll see only the 'docs/' sub-directory is downloaded.
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]