timeplus-io / proton

A streaming SQL engine, a fast and lightweight alternative to ksqlDB and Apache Flink, 🚀 powered by ClickHouse.
https://timeplus.com
Apache License 2.0
1.37k stars 52 forks source link

Cannot git clone https://github.com/timeplus-io/proton.git #777

Open lmsasu opened 2 weeks ago

lmsasu commented 2 weeks ago

Hi all, I try to do a git clone of https://github.com/timeplus-io/proton.git with totroise git (windows 10) and git bash (cli in win 10). In tortoise I get

git.exe clone --progress --recursive -v -- "https://github.com/timeplus-io/proton.git" "D:\temp\delme\sensors\proton"
Cloning into 'D:\temp\delme\sensors\proton'...
POST git-upload-pack (185 bytes)
POST git-upload-pack (gzip 7612 to 3840 bytes)
remote: Enumerating objects: 804164, done.
remote: Counting objects: 100% (3357/3357), done.
remote: Compressing objects: 100% (1434/1434), done.
remote: Total 804164 (delta 2184), reused 2740 (delta 1910), pack-reused 800807
Receiving objects: 100% (804164/804164), 472.72 MiB | 20.11 MiB/s, done.
Resolving deltas: 100% (639705/639705), done.
error: invalid path 'tests/integration/test_checking_s3_blobs_paranoid/configs/setting.xml '
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

git did not exit cleanly (exit code 128) (47937 ms @ 6/20/2024 12:11:48 PM)

and in cli I see:

$ git clone https://github.com/timeplus-io/proton.git
Cloning into 'proton'...
remote: Enumerating objects: 804164, done.
remote: Counting objects: 100% (3353/3353), done.
remote: Compressing objects: 100% (1424/1424), done.
remote: Total 804164 (delta 2182), reused 2752 (delta 1916), pack-reused 800811
Receiving objects: 100% (804164/804164), 472.73 MiB | 16.61 MiB/s, done.
Resolving deltas: 100% (639707/639707), done.
error: invalid path 'tests/integration/test_checking_s3_blobs_paranoid/configs/setting.xml '
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

I bot cases I get a directory proton with only .git inside it.

What should I do? Lucian

jovezhong commented 2 weeks ago

Hi @lmsasu , thanks for reporting this. I saw an extra space in

error: invalid path 'tests/integration/test_checking_s3_blobs_paranoid/configs/setting.xml ' Not sure whether it is related.

If you just want to run the awesome logger example, you may download the source code as a zip. Timeplus Proton correctly cannot be compiled on Windows, FYI.

In the meanwhile, let me find a Windows server to reproduce the issue you mentioned.

yokofly commented 1 week ago

hi Lucian! proton is not supported running in win10, but it work in wsl2 (ubuntu2004/ubuntu2204) for the clone repo, I assume we can directly download the zip if you are not going to code change? https://github.com/timeplus-io/proton/archive/refs/heads/develop.zip