Commit Graph

19 Commits

Author SHA1 Message Date
R. Ryantm
c417f4153b mycelium: 0.5.6 -> 0.5.7 2024-11-28 08:44:41 +00:00
R. Ryantm
ca60a7c431 mycelium: 0.5.5 -> 0.5.6 2024-10-09 13:27:37 +00:00
R. Ryantm
a872b1feaa mycelium: 0.5.4 -> 0.5.5 2024-09-30 10:33:11 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
r-vdp
e44b996295
mycelium: reformat with nixfmt 2024-08-21 10:36:50 +02:00
r-vdp
2ecaac9550
mycelium: add versionCheckHook 2024-08-21 10:36:09 +02:00
r-vdp
62f3497182
mycelium: add rvdp as maintainer 2024-08-21 10:23:27 +02:00
r-vdp
50d200e911
mycelium: 0.5.3 -> 0.5.4
https://github.com/threefoldtech/mycelium/releases/tag/v0.5.4
2024-08-21 10:23:27 +02:00
r-vdp
ac5507c9cb
mycelium: add update script 2024-08-21 10:23:27 +02:00
Peder Bergebakken Sundt
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Peder Bergebakken Sundt
a0396ab411 treewide: use src.name in sourceRoot 2024-08-02 14:56:50 +02:00
r-vdp
8eb7a98bbb
mycelium: 0.5.2 -> 0.5.3
https://github.com/threefoldtech/mycelium/releases/tag/v0.5.3
2024-06-07 12:08:58 +02:00
r-vdp
489742ff2e
mycelium: 0.5.1 -> 0.5.2
Release notes: https://github.com/threefoldtech/mycelium/releases/tag/v0.5.2
2024-05-03 13:36:32 +02:00
r-vdp
7210dec792
mycelium: 0.5.0 -> 0.5.1
https://github.com/threefoldtech/mycelium/releases/tag/v0.5.1
2024-04-19 18:14:14 +02:00
Florian Klink
1fb00f1396 mycelium: 0.4.5 -> 0.5.0
Changed
 - Connection identifier is now included in the error log if we can't forward a
 - seqno request.
 - Garbage collection time for source entries has been increased from 5 to 30 minutes
 - for now.
 - The router implementation has been changed to use regular locks instead of an
 - always readable concurrency primitive for all but the actual routing table. This
 - should reduce the memory consumption a bit.
 - Public key and shared secret for a destination are now saved on the router, instead
 - of maintaining a separate mapping for them. This slightly reduces memory consumption
 - of the router, and ensures stale data is properly cleaned up when all routes to
 - a subnet are removed.
 - Hello packets now set the interval in which the next Hello will be sent properly
 - in centiseconds.
 - IHU packets now set the interval properly in centiseconds.
 - IHU packets now set an RX cost. For now this is the link cost, in the future
 - this will be set properly.
 - Route expiration time is now calculated from the interval received in updates.
 - Ip address derivation from public keys now uses the blake3 hash algorithm.

Fixed
 - Don't try to forward seqno requests to a peer if we know its connection is dead.
2024-04-04 12:44:23 +03:00
r-vdp
5c3f5d8fe3
nixos/mycelium: 0.4.3 -> 0.4.5
See:
  - https://github.com/threefoldtech/mycelium/releases/tag/v0.4.5
  - https://github.com/threefoldtech/mycelium/releases/tag/v0.4.4
2024-03-29 13:51:14 +01:00
Florian Klink
6d5fedf9f7 mycelium: add flokli to maintainers 2024-03-16 10:44:53 +02:00
Florian Klink
bae9e55817 mycelium: 0.4.2 -> 0.4.3 2024-03-16 10:44:53 +02:00
matthewcroughan
bd5bc4bcb6 mycelium: init at 0.4.2 2024-02-28 10:58:16 +00:00