You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Angelo (Jira)" <ji...@apache.org> on 2023/04/06 11:45:00 UTC
[jira] [Updated] (IMPALA-12047) docs README.md
[ https://issues.apache.org/jira/browse/IMPALA-12047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Angelo updated IMPALA-12047:
----------------------------
Description:
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.
was:
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 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.
> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org