Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 6165bb6

Browse files
committed
rename sqld to libsql-server
1 parent afe638a commit 6165bb6

File tree

108 files changed

+373
-280
lines changed

Some content is hidden

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

108 files changed

+373
-280
lines changed

.github/workflows/pr-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create and publish sqld binaried and Docker image
1+
name: Create and publish libsql-server binaried and Docker image
22

33
on:
44
pull_request:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create and publish sqld binaried and Docker image
1+
name: Create and publish libsql-server binaried and Docker image
22

33
on:
44
push:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
steps:
160160
- uses: actions/checkout@v3
161161
with:
162-
repository: "libsql/homebrew-sqld"
162+
repository: "libsql/homebrew-libsql"
163163
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
164164
# So we have access to the formula
165165
- name: Fetch local artifacts

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
submodules: recursive
109109
- name: Test openssl
110110
shell: bash {0}
111-
run: cargo tree -p sqld -i openssl; [ $? = 101 ]
111+
run: cargo tree -p libsql-server -i openssl; [ $? = 101 ]
112112

113113
docker:
114114
runs-on: ubuntu-latest
@@ -126,4 +126,4 @@ jobs:
126126
uses: docker/build-push-action@v3
127127
with:
128128
context: .
129-
tags: sqld:unstable
129+
tags: libsql-server:unstable

Cargo.lock

Lines changed: 90 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
members = [
44
"bottomless",
55
"bottomless-cli",
6-
"sqld",
7-
"sqld-libsql-bindings",
6+
"libsql-server",
7+
"libsql-bindings",
88
"testing/end-to-end",
99
]
1010

Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# build sqld
1+
# build libsql-server
22
FROM rust:slim-bullseye AS chef
33
RUN apt update \
44
&& apt install -y libclang-dev clang \
@@ -23,18 +23,18 @@ FROM chef AS builder
2323
COPY --from=planner /recipe.json recipe.json
2424
RUN cargo chef cook --release --recipe-path recipe.json
2525
COPY . .
26-
RUN cargo build -p sqld --release
26+
RUN cargo build -p libsql-server --release
2727

2828
# runtime
2929
FROM debian:bullseye-slim
30-
COPY --from=builder /target/release/sqld /bin/sqld
31-
RUN groupadd --system --gid 666 sqld
32-
RUN adduser --system --home /var/lib/sqld --uid 666 --gid 666 sqld
30+
COPY --from=builder /target/release/libsql-server /bin/libsql-server
31+
RUN groupadd --system --gid 666 libsql-server
32+
RUN adduser --system --home /var/lib/libsql-server --uid 666 --gid 666 libsql-server
3333
RUN apt-get update && apt-get install -y ca-certificates
3434
COPY docker-entrypoint.sh /usr/local/bin
3535
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
36-
VOLUME [ "/var/lib/sqld" ]
37-
WORKDIR /var/lib/sqld
38-
USER sqld
36+
VOLUME [ "/var/lib/libsql-server" ]
37+
WORKDIR /var/lib/libsql-server
38+
USER libsql-server
3939
EXPOSE 5001 8080
40-
CMD ["/bin/sqld"]
40+
CMD ["/bin/libsql-server"]

Dockerfile.dev

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# build sqld
1+
# build libsql-server
22
FROM rust:slim-bullseye as builder
33
RUN apt update
44

@@ -9,31 +9,31 @@ RUN apt install -y libclang-dev clang \
99
RUN apt clean
1010
RUN update-ca-certificates
1111

12-
WORKDIR /sqld
12+
WORKDIR /libsql-server
1313
COPY . .
1414
RUN --mount=type=cache,target=/usr/local/cargo/registry \
1515
--mount=type=cache,target=/usr/local/cargo/git \
16-
--mount=type=cache,target=/sqld/target \
17-
cargo build -p sqld --release && \
18-
cp target/release/sqld /sqld/bin
16+
--mount=type=cache,target=/libsql-server/target \
17+
cargo build -p libsql-server --release && \
18+
cp target/release/libsql-server /libsql-server/bin
1919

2020

2121
# runtime
2222
FROM debian:bullseye-slim
2323
RUN apt update
2424

25-
COPY --from=builder /sqld/bin /bin/sqld
25+
COPY --from=builder /libsql-server/bin /bin/libsql-server
2626
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
2727
COPY docker-entrypoint.sh /usr/local/bin
2828

29-
VOLUME [ "/var/lib/sqld" ]
29+
VOLUME [ "/var/lib/libsql-server" ]
3030

31-
RUN groupadd --system --gid 666 sqld
32-
RUN adduser --system --home /var/lib/sqld --uid 666 --gid 666 sqld
33-
USER sqld
34-
WORKDIR /var/lib/sqld
31+
RUN groupadd --system --gid 666 libsql-server
32+
RUN adduser --system --home /var/lib/libsql-server --uid 666 --gid 666 libsql-server
33+
USER libsql-server
34+
WORKDIR /var/lib/libsql-server
3535

3636
EXPOSE 5001 8080
3737

3838
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
39-
CMD ["/bin/sqld"]
39+
CMD ["/bin/libsql-server"]

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright 2023 the sqld authors
3+
Copyright 2023 the libsql-server authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

0 commit comments

Comments
 (0)