Skip to content

Commit

Permalink
Merge branch 'main' into improve-network-config
Browse files Browse the repository at this point in the history
* main:
  Minor README.md updates
  0.5.0
  Prepare README for v0.5.0 release (#532)
  Set unix cfg correctly
  Do only set permissions mode on unix
  Update RELEASE.md
  Improve log level user interface (#539)
  Move deserialization into `PeerMessage` to distinct variants correctly (#538)
  Bring back all connection handler logs to warn level again
  Add compiling windows binaries as well, remove macos universal one
  Adjust release profile
  Add checksum when releasing binaries
  Add v0.5.0 to CHANGELOG.md
  Add armv7-unknown-linux-gnueabihf target for cross compilation CI
  Add CI to compile and publish releases
  Make clippy happy
  Convert to ip addresses when logging multiaddr on info level
  Increase log level of handler errors to trace-level
  • Loading branch information
adzialocha committed Sep 6, 2023
2 parents 809ad5a + 02dcffe commit b6cbdbd
Show file tree
Hide file tree
Showing 19 changed files with 997 additions and 372 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build and upload docker image
name: docker

on:
push:
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: release

permissions:
contents: write

on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
strategy:
matrix:
include:
- target: aarch64-unknown-linux-gnu # ARM64 Linux (kernel 4.1, glibc 2.17+)
os: ubuntu-latest
- target: x86_64-unknown-linux-gnu # 64-bit Linux (kernel 3.2+, glibc 2.17+)
os: ubuntu-latest
- target: armv7-unknown-linux-gnueabihf # ARMv7-A Linux, hardfloat (kernel 3.2, glibc 2.17, RPi)
os: ubuntu-latest
- target: aarch64-apple-darwin # ARM64 macOS (11.0+, Big Sur+)
os: macos-latest
- target: x86_64-apple-darwin # # 64-bit macOS (10.7+, Lion+)
os: macos-latest
- target: x86_64-pc-windows-gnu # 64-bit MinGW (Windows 7+)
os: windows-latest
- target: x86_64-pc-windows-msvc # 64-bit MSVC (Windows 7+)
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: aquadoggo
tar: unix
zip: windows
checksum: sha256,sha512
archive: $bin-$tag-$target
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.5.0]

### Added

- Dial peers discovered via mDNS [#331](https://github.com/p2panda/aquadoggo/pull/331)
Expand Down Expand Up @@ -61,6 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Rework networking service [#502](https://github.com/p2panda/aquadoggo/pull/502)
- Deduplicate peer connections when initiating replication sessions [#525](https://github.com/p2panda/aquadoggo/pull/525)
- Improve consistency and documentation of configuration API [#528](https://github.com/p2panda/aquadoggo/pull/528)
- Improve log level config and user interface [#539](https://github.com/p2panda/aquadoggo/pull/539)

### Fixed

Expand Down Expand Up @@ -92,6 +95,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Don't update or announce an update in schema provider if a schema with this id exists already [#472](https://github.com/p2panda/aquadoggo/pull/472)
- Do nothing on document_view insertion conflicts [#474](https://github.com/p2panda/aquadoggo/pull/474)
- Only over-write `http_port` when cli arg is passed [#489](https://github.com/p2panda/aquadoggo/pull/489)
- Move deserialization into PeerMessage to distinct variants correctly [#538](https://github.com/p2panda/aquadoggo/pull/538)

### Open Sauce

Expand Down Expand Up @@ -223,7 +227,8 @@ Released on 2021-10-25: :package: [`crate`](https://crates.io/crates/aquadoggo/0
- Use p2panda-rs 0.2.1 with fixed linter setting [#41](https://github.com/p2panda/aquadoggo/41)
- Use `tide` for HTTP server and `jsonrpc-v2` for JSON RPC [#29](https://github.com/p2panda/aquadoggo/29)

[unreleased]: https://github.com/p2panda/aquadoggo/compare/v0.4.0...HEAD
[unreleased]: https://github.com/p2panda/aquadoggo/compare/v0.5.0...HEAD
[0.5.0]: https://github.com/p2panda/aquadoggo/releases/tag/v0.5.0
[0.4.0]: https://github.com/p2panda/aquadoggo/releases/tag/v0.4.0
[0.3.0]: https://github.com/p2panda/aquadoggo/releases/tag/v0.3.0
[0.2.0]: https://github.com/p2panda/aquadoggo/releases/tag/v0.2.0
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ members = [
"aquadoggo",
"aquadoggo_cli",
]

[profile.release]
strip = true
lto = true
codegen-units = 1
Loading

0 comments on commit b6cbdbd

Please sign in to comment.