refactor: 🚚 Point everything to the new GitHub org

This commit is contained in:
Jesse Wierzbinski 2024-08-27 21:40:42 +02:00
parent 47c666894c
commit f9023893af
No known key found for this signature in database
13 changed files with 66 additions and 66 deletions

View file

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
services: services:
postgres: postgres:
image: ghcr.io/lysand-org/postgres:main image: ghcr.io/versia-pub/postgres:main
ports: ports:
- 5432:5432 - 5432:5432
env: env:

View file

@ -10,7 +10,7 @@ Versia Server `0.7.0` is backwards compatible with `0.6.0`. However, some new fe
## Features ## Features
- Upgrade Bun to `1.1.25`. This brings performance upgrades and better stability. - Upgrade Bun to `1.1.25`. This brings performance upgrades and better stability.
- Added support for the [ActivityPub Federation Bridge](https://github.com/lysand-org/activitypub). - Added support for the [ActivityPub Federation Bridge](https://github.com/versia-pub/activitypub).
- Added support for the [Sonic](https://github.com/valeriansaliou/sonic) search indexer. - Added support for the [Sonic](https://github.com/valeriansaliou/sonic) search indexer.
- Note deletions are now federated. - Note deletions are now federated.
- Note edits are now federated. - Note edits are now federated.

View file

@ -28,7 +28,7 @@ curl -fsSL https://bun.sh/install | bash
1. Clone this repository 1. Clone this repository
```bash ```bash
git clone https://github.com/lysand-org/server.git git clone https://github.com/versia-pub/server.git
``` ```
2. Install the dependencies 2. Install the dependencies

View file

@ -36,7 +36,7 @@ COPY --from=build /temp/dist /app/dist
COPY entrypoint.sh /app COPY entrypoint.sh /app
LABEL org.opencontainers.image.authors="Gaspard Wierzbinski (https://cpluspatch.dev)" LABEL org.opencontainers.image.authors="Gaspard Wierzbinski (https://cpluspatch.dev)"
LABEL org.opencontainers.image.source="https://github.com/lysand-org/server" LABEL org.opencontainers.image.source="https://github.com/versia-pub/server"
LABEL org.opencontainers.image.vendor="Versia Pub" LABEL org.opencontainers.image.vendor="Versia Pub"
LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later" LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later"
LABEL org.opencontainers.image.title="Versia Server" LABEL org.opencontainers.image.title="Versia Server"

View file

@ -38,7 +38,7 @@ export default apiRoute((app) =>
title: config.instance.name, title: config.instance.name,
version: "4.3.0-alpha.3+glitch", version: "4.3.0-alpha.3+glitch",
versia_version: version, versia_version: version,
source_url: "https://github.com/lysand-org/server", source_url: "https://github.com/versia-pub/server",
description: config.instance.description, description: config.instance.description,
usage: { usage: {
users: { users: {

View file

@ -1,6 +1,6 @@
# This schema always follows the latest dev version of Versia Server, which may not be what you want # This schema always follows the latest dev version of Versia Server, which may not be what you want
# Change the URL to the commit/tag you are using # Change the URL to the commit/tag you are using
#:schema https://raw.githubusercontent.com/lysand-org/server/main/config/config.schema.json #:schema https://raw.githubusercontent.com/versia-pub/server/main/config/config.schema.json
[database] [database]
# Main PostgreSQL database connection # Main PostgreSQL database connection
@ -311,7 +311,7 @@ reactions = []
banners = [] banners = []
avatars = [] avatars = []
# For bridge software, such as lysand-org/activitypub # For bridge software, such as versia-pub/activitypub
# Bridges must be hosted separately from the main Versia Server process # Bridges must be hosted separately from the main Versia Server process
[federation.bridge] [federation.bridge]
enabled = false enabled = false

View file

@ -1,6 +1,6 @@
services: services:
versia: versia:
image: ghcr.io/lysand-org/server:latest image: ghcr.io/versia-pub/server:latest
volumes: volumes:
- ./logs:/app/dist/logs - ./logs:/app/dist/logs
- ./config:/app/dist/config - ./config:/app/dist/config
@ -17,7 +17,7 @@ services:
- fe - fe
fe: fe:
image: ghcr.io/lysand-org/frontend:main image: ghcr.io/versia-pub/frontend:main
container_name: versia-fe container_name: versia-fe
restart: unless-stopped restart: unless-stopped
networks: networks:
@ -26,7 +26,7 @@ services:
NUXT_PUBLIC_API_HOST: https://yourserver.com NUXT_PUBLIC_API_HOST: https://yourserver.com
db: db:
image: ghcr.io/lysand-org/postgres:main image: ghcr.io/versia-pub/postgres:main
container_name: versia-db container_name: versia-db
restart: unless-stopped restart: unless-stopped
environment: environment:

View file

@ -4,4 +4,4 @@ Versia Server uses a special PostgreSQL extension called `pg_uuidv7` to generate
## Using the Docker image ## Using the Docker image
Versia Server offers a pre-made Docker image for PostgreSQL with the extension already installed. Use `ghcr.io/lysand-org/postgres:main` as your Docker image name to use it. Versia Server offers a pre-made Docker image for PostgreSQL with the extension already installed. Use `ghcr.io/versia-pub/postgres:main` as your Docker image name to use it.

View file

@ -20,7 +20,7 @@ Docker is the recommended way to run Versia Server (Podman also works). To run V
1. Download the `docker-compose.yml` file from the repository 1. Download the `docker-compose.yml` file from the repository
> [!NOTE] > [!NOTE]
> You may need to change the image from `ghcr.io/lysand-org/server:latest` to `ghcr.io/lysand-org/server:main` if you want to use the latest changes from the `main` branch. Make sure to use the config template from the same branch as the server. > You may need to change the image from `ghcr.io/versia-pub/server:latest` to `ghcr.io/versia-pub/server:main` if you want to use the latest changes from the `main` branch. Make sure to use the config template from the same branch as the server.
> [!CAUTION] > [!CAUTION]
> The `latest` tag on the Docker image refers to the latest release (currently `v0.6.0`), not the latest commit on the `main` branch. > The `latest` tag on the Docker image refers to the latest release (currently `v0.6.0`), not the latest commit on the `main` branch.
@ -28,16 +28,16 @@ Docker is the recommended way to run Versia Server (Podman also works). To run V
> **Do not mix configurations from different branches, or everything will break with confusing errors!** > **Do not mix configurations from different branches, or everything will break with confusing errors!**
```bash ```bash
curl -o docker-compose.yml https://raw.githubusercontent.com/lysand-org/server/main/docker-compose.yml curl -o docker-compose.yml https://raw.githubusercontent.com/versia-pub/server/main/docker-compose.yml
``` ```
1. Edit the `docker-compose.yml` file to set up the database connection and other settings 1. Edit the `docker-compose.yml` file to set up the database connection and other settings
2. Download the `config.example.toml` file from the repository 2. Download the `config.example.toml` file from the repository
```bash ```bash
# From main branch # From main branch
curl -o config.example.toml https://raw.githubusercontent.com/lysand-org/server/main/config/config.example.toml curl -o config.example.toml https://raw.githubusercontent.com/versia-pub/server/main/config/config.example.toml
# For a specific release (e.g. v0.6.0) # For a specific release (e.g. v0.6.0)
curl -o config.example.toml https://raw.githubusercontent.com/lysand-org/server/v0.6.0/config/config.example.toml curl -o config.example.toml https://raw.githubusercontent.com/versia-pub/server/v0.6.0/config/config.example.toml
``` ```
4. Edit the `config.example.toml` file to set up the database connection and other settings, rename it to `config.toml`, then place it inside `config/` (create the `config/` directory if it does not exist) 4. Edit the `config.example.toml` file to set up the database connection and other settings, rename it to `config.toml`, then place it inside `config/` (create the `config/` directory if it does not exist)
5. Run the following command to start the server: 5. Run the following command to start the server:
@ -51,14 +51,14 @@ docker compose up
You may need root privileges to run Docker commands. You may need root privileges to run Docker commands.
To check server logs, run `docker compose logs lysand`. The server will likely stop if there is an error, so you can check the logs to see what went wrong. To check server logs, run `docker compose logs versia`. The server will likely stop if there is an error, so you can check the logs to see what went wrong.
## From Source ## From Source
1. Clone this repository 1. Clone this repository
```bash ```bash
git clone https://github.com/lysand-org/server.git git clone https://github.com/versia-pub/server.git
``` ```
2. Install the dependencies 2. Install the dependencies

View file

@ -5,7 +5,7 @@
outputHash.x86_64-linux = lib.fakeHash; outputHash.x86_64-linux = lib.fakeHash;
outputHash.aarch64-linux = lib.fakeHash; outputHash.aarch64-linux = lib.fakeHash;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lysand-org"; owner = "versia-pub";
repo = "server"; repo = "server";
rev = "fbb845f7f8ee97e51ff57edba3817224341d3078"; rev = "fbb845f7f8ee97e51ff57edba3817224341d3078";
hash = "sha256-pc5t6z/AE+NPZEzXxTlzT76jq5PF7Mvjh94A0NCBDh8="; hash = "sha256-pc5t6z/AE+NPZEzXxTlzT76jq5PF7Mvjh94A0NCBDh8=";

View file

@ -3,7 +3,7 @@
set -euo pipefail set -euo pipefail
SOURCE=$(nix-prefetch-github --nix lysand-org server | tail -n 6) SOURCE=$(nix-prefetch-github --nix versia-pub server | tail -n 6)
cat > ./nix/source.nix << EOF cat > ./nix/source.nix << EOF
{ {

View file

@ -10,9 +10,9 @@
"url": "https://cpluspatch.com" "url": "https://cpluspatch.com"
}, },
"bugs": { "bugs": {
"url": "https://github.com/lysand-org/server/issues" "url": "https://github.com/versia-pub/server/issues"
}, },
"icon": "https://github.com/lysand-org/server", "icon": "https://github.com/versia-pub/server",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"keywords": ["federated", "activitypub", "bun"], "keywords": ["federated", "activitypub", "bun"],
"workspaces": ["packages/*"], "workspaces": ["packages/*"],
@ -25,7 +25,7 @@
], ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/lysand-org/server.git" "url": "git+https://github.com/versia-pub/server.git"
}, },
"private": true, "private": true,
"scripts": { "scripts": {

View file

@ -10,9 +10,9 @@
"url": "https://cpluspatch.com" "url": "https://cpluspatch.com"
}, },
"bugs": { "bugs": {
"url": "https://github.com/lysand-org/server/issues" "url": "https://github.com/versia-pub/server/issues"
}, },
"icon": "https://github.com/lysand-org/server", "icon": "https://github.com/versia-pub/server",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"keywords": ["federated", "activitypub", "bun"], "keywords": ["federated", "activitypub", "bun"],
"maintainers": [ "maintainers": [
@ -24,7 +24,7 @@
], ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/lysand-org/server.git" "url": "git+https://github.com/versia-pub/server.git"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {