Packaging: the binary and package are inbuxa, INBUXA_* settings with STALWART_* fallback
- crates/main: package and [[bin]] renamed to inbuxa; homepage inbuxa.org; license AGPL-3.0-only (upstream is dual; the fork takes the AGPL). - types::branding::env_var reads INBUXA_<name>, falling back to STALWART_<name> with a warning, for all nine server settings. STALWART_APP_ and STALWART_SPAM_* storage keys are unchanged. - New-install default paths /var/lib/inbuxa and /var/log/inbuxa. - Dockerfiles, systemd unit, launchd plist and AppArmor profile renamed. - Upstream's .github moved to .github-upstream so none of it runs. - install.sh stubbed: upstream's would install Stalwart. - Two missed brand strings: the SMTP Received header and the utils user agent.
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
style:
|
||||
name: Check Style
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Check Style
|
||||
run: cargo fmt --all --check
|
||||
|
||||
test:
|
||||
name: Test
|
||||
needs: style
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
STORE: RocksDb
|
||||
RUST_MIN_STACK: "16777216"
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7
|
||||
|
||||
# External services (OpenLDAP, Keycloak, PostgreSQL, MySQL, Redis, NATS,
|
||||
# MinIO, OpenSearch, Meilisearch) are provisioned on demand by the test
|
||||
# suite via testcontainers using the Docker daemon available on the
|
||||
# runner; see tests/src/utils/containers.rs.
|
||||
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: JMAP Protocol Tests
|
||||
run: cargo test -p jmap_proto -- --nocapture
|
||||
|
||||
- name: IMAP Protocol Tests
|
||||
run: cargo test -p imap_proto -- --nocapture
|
||||
|
||||
- name: Full-text search Tests
|
||||
run: cargo test -p store -- --nocapture
|
||||
|
||||
- name: Directory Tests
|
||||
run: cargo test -p tests directory -- --nocapture
|
||||
|
||||
- name: SMTP Tests
|
||||
run: cargo test -p tests smtp -- --nocapture
|
||||
|
||||
- name: IMAP Tests
|
||||
run: cargo test -p tests imap -- --nocapture
|
||||
|
||||
- name: JMAP Tests
|
||||
run: cargo test -p tests jmap -- --nocapture
|
||||
Reference in New Issue
Block a user