Skip to content

Commit 7a5e4f8

Browse files
authored
chore: remove Git LFS and refresh documentation (alibaba#456)
1 parent 0008f7a commit 7a5e4f8

60 files changed

Lines changed: 234 additions & 138 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/centos7/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
# scl enable devtoolset-11 rh-python38 -- bash # activate modern gcc + python
3434
# source /opt/paimon-env.sh # PATH for rust, cmake
3535
# cd /workspaces/paimon-cpp
36-
# git lfs install --local && git lfs pull # critical: boost & friends are LFS
3736
#
3837
# Run ./.devcontainer/centos7/run.sh smoke from the host for the full check.
3938

@@ -91,7 +90,7 @@ enabled=0\n' > /etc/yum.repos.d/CentOS-Base.repo \
9190
&& yum makecache
9291

9392
# ---------- Base toolchain ----------
94-
# EPEL provides git-lfs, ninja-build, a newer python3 than the base 3.6.
93+
# EPEL provides ninja-build and a newer python3 than the base 3.6.
9594
# SCL (Software Collections) provides devtoolset-11 (gcc 11) and rh-python38
9695
# without overriding the system gcc/python. CentOS 7's default gcc 4.8 is
9796
# too old for C++17/20 used by lucene++ and our tantivy wrapper.
@@ -129,7 +128,6 @@ enabled=1\n' > /etc/yum.repos.d/CentOS-SCLo-scl.repo \
129128
rh-python38 \
130129
rh-python38-python-pip \
131130
git \
132-
git-lfs \
133131
ninja-build \
134132
make \
135133
patch \

.devcontainer/centos7/run.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ case "${cmd}" in
9898
"${CONTAINER}" bash -lc '
9999
set -eux
100100
cd /workspaces/paimon-cpp
101-
git lfs install --local
102-
git lfs pull
103101
cmake -S . -B build-centos7 \
104102
-G Ninja \
105103
-DCMAKE_BUILD_TYPE=Release \

.gitattributes

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/gcc8_test.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Install dependencies
4343
run: |
4444
apt-get update
45-
DEBIAN_FRONTEND=noninteractive apt-get install -y gcc-8 g++-8 ninja-build git git-lfs tar curl libcurl4-openssl-dev libssl-dev tzdata zip unzip pkg-config build-essential python3-dev gdb sudo
45+
DEBIAN_FRONTEND=noninteractive apt-get install -y gcc-8 g++-8 ninja-build git tar curl libcurl4-openssl-dev libssl-dev tzdata zip unzip pkg-config build-essential python3-dev gdb sudo
4646
curl -L -O https://github.com/Kitware/CMake/releases/download/v3.28.3/cmake-3.28.3-linux-x86_64.tar.gz
4747
tar -zxvf cmake-3.28.3-linux-x86_64.tar.gz -C /usr/local --strip-components=1
4848
rm cmake-3.28.3-linux-x86_64.tar.gz
@@ -57,8 +57,6 @@ jobs:
5757
ls -la
5858
- name: Checkout paimon-cpp
5959
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
60-
with:
61-
lfs: true
6260
- name: Setup ccache
6361
uses: ./.github/actions/setup-ccache
6462
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
build
1717
build-*/
1818
output
19+
release
1920

2021
# IDE settings
2122
.idea

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ Before submitting, please verify:
7979
- **C++17** compatible compiler (GCC recommended)
8080
- **CMake** ≥ 3.16
8181
- **Python 3** (for linting scripts and pre-commit)
82-
- **git-lfs** (the repository uses Git LFS for large files)
8382

8483
---
8584

LICENSE

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ This product includes code from Apache Iceberg C++.
219219
* Dev Container utilities:
220220
* .devcontainer/Dockerfile.template
221221
* .devcontainer/devcontainer.json.template
222+
* .devcontainer/x86_64/devcontainer.json.template
222223
* CI utilities:
223224
* .pre-commit-config.yaml
224225
* Avro direct decoder/encoder:
@@ -234,6 +235,28 @@ License: https://www.apache.org/licenses/LICENSE-2.0
234235

235236
--------------------------------------------------------------------------------
236237

238+
This product includes code based on Apache Spark.
239+
240+
* Variant utilities:
241+
* src/paimon/common/data/variant/generic_variant.cpp
242+
* src/paimon/common/data/variant/generic_variant.h
243+
* src/paimon/common/data/variant/variant_binary_util.cpp
244+
* src/paimon/common/data/variant/variant_binary_util.h
245+
* src/paimon/common/data/variant/variant_builder.cpp
246+
* src/paimon/common/data/variant/variant_builder.h
247+
* src/paimon/common/data/variant/variant_reassembler.cpp
248+
* src/paimon/common/data/variant/variant_reassembler.h
249+
* src/paimon/common/data/variant/variant_schema.h
250+
* src/paimon/common/data/variant/variant_shredding_utils.cpp
251+
* src/paimon/common/data/variant/variant_shredding_writer.cpp
252+
* src/paimon/common/data/variant/variant_shredding_writer.h
253+
254+
Copyright: 2014 and onwards The Apache Software Foundation.
255+
Home page: https://spark.apache.org/
256+
License: https://www.apache.org/licenses/LICENSE-2.0
257+
258+
--------------------------------------------------------------------------------
259+
237260
This product includes code based on Google Guava.
238261

239262
* Preconditions utility in src/paimon/common/utils/preconditions.h

NOTICE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ Copyright 2024-2025 The Apache Software Foundation
2424

2525
--------------------------------------------------------------------------------
2626

27+
Apache Spark
28+
Copyright 2014 and onwards The Apache Software Foundation.
29+
30+
--------------------------------------------------------------------------------
31+
2732
Apache ORC
2833
Copyright 2013 and onwards The Apache Software Foundation.
2934

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,9 @@ The reading is divided into two stages:
134134

135135
### Clone the Repository
136136

137-
If you don't have `git-lfs` installed, please install it first.
138-
139-
```
140-
$ git clone https://github.com/alibaba/paimon-cpp.git
141-
$ cd paimon-cpp
142-
$ git lfs pull
137+
```bash
138+
git clone https://github.com/alibaba/paimon-cpp.git
139+
cd paimon-cpp
143140
```
144141

145142
### CMake

docs/source/_static/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
{
33
"name": "0.10.0 (dev)",
44
"version": "dev/",
5-
"url": "#"
5+
"url": "https://alibaba.github.io/paimon-cpp/"
66
}
77
]

0 commit comments

Comments
 (0)