Skip to content

Commit 865ae9a

Browse files
committed
chore: update license header and bundle copyright in the debian package
Signed-off-by: usamoi <usamoi@outlook.com>
1 parent a0e8ec0 commit 865ae9a

File tree

154 files changed

+174
-156
lines changed

Some content is hidden

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

154 files changed

+174
-156
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
regarding the licenses, please contact us at:
5959
vectorchord-inquiry@tensorchord.ai
6060
61-
Copyright (c) 2025 TensorChord Inc.
61+
Copyright (c) 2025-2026 TensorChord Inc.
6262
EOF
6363
)
6464
COUNT=$(echo "$HEADER" | wc -l)

.github/workflows/release.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,22 @@ jobs:
9898
VERSION: ${{ matrix.version }}
9999
run: |
100100
make DESTDIR="~/debian" install
101+
mkdir -p ~/debian/usr/share/doc/postgresql-${VERSION}-vchord/
102+
echo "Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
103+
Upstream-Name: VectorChord
104+
Source: https://github.com/tensorchord/VectorChord
105+
106+
Files: *
107+
Copyright: Copyright (c) 2025-2026 TensorChord Inc.
108+
License: AGPL-3.0-only OR Elastic-2.0
109+
110+
License: AGPL-3.0-only
111+
$(cat ./licenses/LICENSE.AGPLv3 | sed 's/^$/./' | sed 's/^/ /')
112+
113+
License: Elastic-2.0
114+
$(cat ./licenses/LICENSE.ELv2 | sed 's/^$/./' | sed 's/^/ /')
115+
" \
116+
>> ~/debian/usr/share/doc/postgresql-${VERSION}-vchord/copyright
101117
ARCH=$(uname -m)
102118
PLATFORM=$(dpkg --print-architecture)
103119
mkdir -p ~/debian/DEBIAN
@@ -108,9 +124,11 @@ jobs:
108124
Priority: optional
109125
Architecture: ${PLATFORM}
110126
Maintainer: Tensorchord <support@tensorchord.ai>
111-
Description: Vector database plugin for Postgres, written in Rust, specifically designed for LLM
112-
Homepage: https://vectorchord.ai/
113-
License: AGPL-3.0-only OR Elastic-2.0" \
127+
Description: Scalable, fast, and disk-friendly vector search in Postgres
128+
VectorChord is a PostgreSQL extension designed for scalable,
129+
high-performance, and disk-efficient vector similarity search. It
130+
supports L2 distance, inner product, cosine distance and maxsim.
131+
Homepage: https://vectorchord.ai/" \
114132
> ~/debian/DEBIAN/control
115133
(cd ~/debian && find usr -type f -print0 | xargs -0 md5sum) > ~/debian/DEBIAN/md5sums
116134
dpkg-deb --root-owner-group -Zxz --build ~/debian ~/postgresql-${VERSION}-vchord_${SEMVER}-1_${PLATFORM}.deb

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// regarding the licenses, please contact us at:
1111
// vectorchord-inquiry@tensorchord.ai
1212
//
13-
// Copyright (c) 2025 TensorChord Inc.
13+
// Copyright (c) 2025-2026 TensorChord Inc.
1414

1515
use std::collections::HashMap;
1616
use std::env::{var, var_os};

crates/always_equal/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// regarding the licenses, please contact us at:
1111
// vectorchord-inquiry@tensorchord.ai
1212
//
13-
// Copyright (c) 2025 TensorChord Inc.
13+
// Copyright (c) 2025-2026 TensorChord Inc.
1414

1515
use std::cmp::Ordering;
1616
use std::hash::Hash;

crates/distance/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// regarding the licenses, please contact us at:
1111
// vectorchord-inquiry@tensorchord.ai
1212
//
13-
// Copyright (c) 2025 TensorChord Inc.
13+
// Copyright (c) 2025-2026 TensorChord Inc.
1414

1515
use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout};
1616

crates/feistel/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// regarding the licenses, please contact us at:
1111
// vectorchord-inquiry@tensorchord.ai
1212
//
13-
// Copyright (c) 2025 TensorChord Inc.
13+
// Copyright (c) 2025-2026 TensorChord Inc.
1414

1515
pub fn feistel<I>(width: u32, x: I, round: u32, secret: impl Fn(u32, I) -> I) -> I
1616
where

crates/index/src/accessor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// regarding the licenses, please contact us at:
1111
// vectorchord-inquiry@tensorchord.ai
1212
//
13-
// Copyright (c) 2025 TensorChord Inc.
13+
// Copyright (c) 2025-2026 TensorChord Inc.
1414

1515
use distance::Distance;
1616
use rabitq::byte::CodeMetadata;

crates/index/src/bump.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// regarding the licenses, please contact us at:
1111
// vectorchord-inquiry@tensorchord.ai
1212
//
13-
// Copyright (c) 2025 TensorChord Inc.
13+
// Copyright (c) 2025-2026 TensorChord Inc.
1414

1515
pub trait Bump: 'static {
1616
#[allow(clippy::mut_from_ref)]

crates/index/src/fetch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// regarding the licenses, please contact us at:
1111
// vectorchord-inquiry@tensorchord.ai
1212
//
13-
// Copyright (c) 2025 TensorChord Inc.
13+
// Copyright (c) 2025-2026 TensorChord Inc.
1414

1515
use crate::packed::PackedRefMut;
1616
use always_equal::AlwaysEqual;

crates/index/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// regarding the licenses, please contact us at:
1111
// vectorchord-inquiry@tensorchord.ai
1212
//
13-
// Copyright (c) 2025 TensorChord Inc.
13+
// Copyright (c) 2025-2026 TensorChord Inc.
1414

1515
// pub mod accessor;
1616
pub mod bump;

0 commit comments

Comments
 (0)