author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
20,248 | 30.12.2017 18:37:58 | 28,800 | 574c85ac3e6f63cf012b241cd29cf30e413f0a2d | first draft of debt keeper, no thresholds or tests | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/lib.rs",
"new_path": "althea_types/src/lib.rs",
"diff": "@@ -14,7 +14,7 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer};\n#[derive(ArrayTupleDeref, ArrayTupleBase64)]\npub struct Bytes32([u8; 32]);\n-#[derive(ArrayTupleDeref, ... | Rust | Apache License 2.0 | althea-net/althea_rs | first draft of debt keeper, no thresholds or tests |
20,248 | 31.12.2017 05:05:00 | 28,800 | d5e8b032142bff07dcc0e4afa147ad7036a8281a | derive Eq, PartialOrd, Ord on num256 | [
{
"change_type": "MODIFY",
"old_path": "num256/src/lib.rs",
"new_path": "num256/src/lib.rs",
"diff": "@@ -14,7 +14,7 @@ use serde::{Deserialize, Deserializer, Serializer};\nuse std::str::FromStr;\n-#[derive(Clone, Debug, PartialEq)]\n+#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]\npub stru... | Rust | Apache License 2.0 | althea-net/althea_rs | derive Eq, PartialOrd, Ord on num256 |
20,248 | 31.12.2017 05:50:21 | 28,800 | a186dac944c281b48fc93dfd26778359119e44b4 | impl from for num256 | [
{
"change_type": "MODIFY",
"old_path": "num256/src/lib.rs",
"new_path": "num256/src/lib.rs",
"diff": "@@ -25,6 +25,22 @@ impl Deref for Uint256 {\n}\n}\n+macro_rules! impl_from_uint {\n+ ($T:ty) => {\n+ impl From<$T> for Uint256 {\n+ #[inline]\n+ fn from(n: $T) -> Self {\n+ Uint256(BigUint::from(n))... | Rust | Apache License 2.0 | althea-net/althea_rs | impl from for num256 |
20,248 | 31.12.2017 05:58:01 | 28,800 | dbf3690beffaeb9877a7105e93f7322f8e55809b | forgot i64 and u64 | [
{
"change_type": "MODIFY",
"old_path": "num256/src/lib.rs",
"new_path": "num256/src/lib.rs",
"diff": "@@ -39,6 +39,7 @@ macro_rules! impl_from_uint {\nimpl_from_uint!(u8);\nimpl_from_uint!(u16);\nimpl_from_uint!(u32);\n+impl_from_uint!(u64);\nimpl_from_uint!(usize);\nimpl Serialize for Uint256 {\n@@... | Rust | Apache License 2.0 | althea-net/althea_rs | forgot i64 and u64 |
20,248 | 31.12.2017 07:25:12 | 28,800 | 9a57de31c753572dd4d1a389d7e125069c8a8155 | add hex to array_serialization_derive | [
{
"change_type": "MODIFY",
"old_path": "array_serialization_derive/Cargo.toml",
"new_path": "array_serialization_derive/Cargo.toml",
"diff": "@@ -7,6 +7,7 @@ authors = [\"Jehan <jehan.tremback@gmail.com>\"]\nsyn = \"0.11.11\"\nquote = \"0.3.15\"\nbase64 = \"0.9.0\"\n+hex = \"0.3.1\"\nserde = \"1.0.2... | Rust | Apache License 2.0 | althea-net/althea_rs | add hex to array_serialization_derive |
20,248 | 31.12.2017 12:38:14 | 28,800 | 7087d9c89f97382b335f9c50ae382f5c29b0561b | manually implement a lot of traits for EthAddress | [
{
"change_type": "MODIFY",
"old_path": "althea_types/Cargo.toml",
"new_path": "althea_types/Cargo.toml",
"diff": "@@ -10,3 +10,4 @@ base64 = \"0.9.0\"\nserde_derive = \"1.0.24\"\nserde = \"1.0.24\"\nserde_json = \"1.0.8\"\n+hex = \"0.3.1\"\n\\ No newline at end of file\n"
},
{
"change_type":... | Rust | Apache License 2.0 | althea-net/althea_rs | manually implement a lot of traits for EthAddress |
20,248 | 31.12.2017 13:32:42 | 28,800 | 533737c21c779389ce531ac170588dc947750431 | split althea_types into modules and get rid of array_serialization_derive for now | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "althea_types/src/bytes_32.rs",
"diff": "+use std::ops::Deref;\n+use std::str::FromStr;\n+use std::fmt;\n+use hex;\n+use serde;\n+use serde::{Deserialize, Deserializer, Serialize, Serializer};\n+use std::hash::{Hash, Hasher};\n+\n+#[derive(Copy, ... | Rust | Apache License 2.0 | althea-net/althea_rs | split althea_types into modules and get rid of array_serialization_derive for now |
20,248 | 31.12.2017 17:13:25 | 28,800 | 56733ce965548d85bb21c03eb4a40947173504da | basic test for debt keeper | [
{
"change_type": "MODIFY",
"old_path": "rita/Cargo.lock",
"new_path": "rita/Cargo.lock",
"diff": "@@ -37,6 +37,7 @@ version = \"0.1.0\"\ndependencies = [\n\"array_serialization_derive 0.1.0\",\n\"base64 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)\",\n+ \"hex 0.3.1 (registry+https:/... | Rust | Apache License 2.0 | althea-net/althea_rs | basic test for debt keeper |
20,248 | 01.01.2018 13:04:15 | 28,800 | 751d58fa4ae0e09e282e18770a1529baa76d4cd0 | add from int256 <-> uint256 | [
{
"change_type": "MODIFY",
"old_path": "num256/src/lib.rs",
"new_path": "num256/src/lib.rs",
"diff": "@@ -6,9 +6,10 @@ extern crate serde_json;\nextern crate serde_derive;\n-use num::bigint::{BigInt, BigUint};\n+use num::bigint::{BigInt, BigUint, ToBigInt};\nuse std::ops::{Add, Deref, Sub};\nuse num... | Rust | Apache License 2.0 | althea-net/althea_rs | add from int256 <-> uint256 |
20,248 | 01.01.2018 14:02:16 | 28,800 | 54fa190a6419b99924c7acc5425864bc066527e6 | add tests for panic add and sub iuint256 and int256 | [
{
"change_type": "MODIFY",
"old_path": "num256/Cargo.toml",
"new_path": "num256/Cargo.toml",
"diff": "@@ -9,3 +9,4 @@ num = \"0.1.41\"\nserde = \"1.0.24\"\nserde_derive = \"1.0.24\"\nserde_json = \"1.0.8\"\n+lazy_static = \"1.0.0\"\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY... | Rust | Apache License 2.0 | althea-net/althea_rs | add tests for panic add and sub iuint256 and int256 |
20,248 | 01.01.2018 18:16:29 | 28,800 | f8529c60a3c8bde7403c17a0da26c65fd9ac00c5 | (num256) stringify largest number | [
{
"change_type": "MODIFY",
"old_path": "num256/src/lib.rs",
"new_path": "num256/src/lib.rs",
"diff": "@@ -246,12 +246,12 @@ mod tests {\n#[test]\nfn serialize() {\nlet struc = MyStruct {\n- uint: Uint256::from(234 as u32),\n- int: Int256::from(333),\n+ uint: BIGGEST_UINT.clone(),\n+ int: SMALLEST_IN... | Rust | Apache License 2.0 | althea-net/althea_rs | (num256) stringify largest number |
20,248 | 01.01.2018 19:02:19 | 28,800 | e2139e084ea01469e2f9374a4940561ec00b8539 | rearrange imports in main | [
{
"change_type": "MODIFY",
"old_path": "rita/src/main.rs",
"new_path": "rita/src/main.rs",
"diff": "#![feature(getpid)]\n+\n+#[macro_use] extern crate serde_derive;\n+#[macro_use] extern crate log;\n+\n+use std::net::SocketAddr;\n+use std::fs::File;\n+use std::io::prelude::*;\n+use std::sync::mpsc;\... | Rust | Apache License 2.0 | althea-net/althea_rs | rearrange imports in main |
20,248 | 01.01.2018 19:02:38 | 28,800 | 60e56dace2e4eb74cd1e5e9a5db7f4c166916c92 | add rita_types | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rita/rita_types/Cargo.toml",
"diff": "+[package]\n+name = \"rita_types\"\n+version = \"0.1.0\"\n+authors = [\"Jehan <jehan.tremback@gmail.com>\"]\n+\n+[dependencies]\n+num256 = { path = \"../../num256\" }\n"
},
{
"change_type": "ADD",
... | Rust | Apache License 2.0 | althea-net/althea_rs | add rita_types |
20,248 | 01.01.2018 19:03:15 | 28,800 | 4b8adfa8be35c2e8042c6d6894b4b72a032a3678 | add DebtAction to debt_keeper | [
{
"change_type": "MODIFY",
"old_path": "rita/debt_keeper/Cargo.toml",
"new_path": "rita/debt_keeper/Cargo.toml",
"diff": "@@ -6,6 +6,7 @@ license = \"Apache 2.0\"\n[dependencies]\nalthea_types = { path = \"../../althea_types\" }\n+rita_types = { path = \"../rita_types\" }\nnum256 = { path = \"../../... | Rust | Apache License 2.0 | althea-net/althea_rs | add DebtAction to debt_keeper |
20,248 | 01.01.2018 19:09:39 | 28,800 | a771841a9f2e6dd3e8925b9ce7f3e9c53968bcce | get rid of rita_types | [
{
"change_type": "MODIFY",
"old_path": "rita/debt_keeper/Cargo.toml",
"new_path": "rita/debt_keeper/Cargo.toml",
"diff": "@@ -6,7 +6,6 @@ license = \"Apache 2.0\"\n[dependencies]\nalthea_types = { path = \"../../althea_types\" }\n-rita_types = { path = \"../rita_types\" }\nnum256 = { path = \"../../... | Rust | Apache License 2.0 | althea-net/althea_rs | get rid of rita_types |
20,248 | 04.01.2018 22:02:09 | 28,800 | 04cefbd8c11de206f71e3139f77195b292e4ea02 | (num256) add multiplication | [
{
"change_type": "MODIFY",
"old_path": "num256/src/lib.rs",
"new_path": "num256/src/lib.rs",
"diff": "@@ -9,8 +9,8 @@ extern crate serde_derive;\nextern crate lazy_static;\nuse num::bigint::{BigInt, BigUint, ToBigInt};\n-use std::ops::{Add, Deref, Sub};\n-use num::traits::ops::checked::{CheckedAdd, ... | Rust | Apache License 2.0 | althea-net/althea_rs | (num256) add multiplication |
20,248 | 06.01.2018 14:15:26 | 28,800 | 9516f24e695184d04f6f18beed9b4efd88fba6d5 | change eui48 to git | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/Cargo.toml",
"new_path": "althea_kernel_interface/Cargo.toml",
"diff": "@@ -10,4 +10,4 @@ regex = \"0.2\"\nderive-error = \"0.0.4\"\nitertools = \"0.7.4\"\nlog = \"0.3\"\n-eui48 = {path = \"../../eui48\", features = [\"serde\"]}\n+eui48... | Rust | Apache License 2.0 | althea-net/althea_rs | change eui48 to git |
20,248 | 06.01.2018 23:02:01 | 28,800 | bf33b8ecdd66f48bfba2f48f5ae6e05654e22de8 | get rid of unwrap in lib code | [
{
"change_type": "MODIFY",
"old_path": "rita/Cargo.lock",
"new_path": "rita/Cargo.lock",
"diff": "@@ -822,6 +822,7 @@ version = \"0.1.0\"\ndependencies = [\n\"althea_types 0.1.0\",\n\"debt_keeper 0.1.0\",\n+ \"derive-error 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"num256 0.... | Rust | Apache License 2.0 | althea-net/althea_rs | get rid of unwrap in lib code |
20,248 | 07.01.2018 00:28:45 | 28,800 | 0ae6303f3c812ab2ec07b3e0b92787afc3ca2979 | fix debt keeper test | [
{
"change_type": "MODIFY",
"old_path": "rita/debt_keeper/src/lib.rs",
"new_path": "rita/debt_keeper/src/lib.rs",
"diff": "@@ -24,14 +24,13 @@ use num256::Int256;\nmod debts;\nuse debts::{Debts, Neighbor};\n-pub use debts::Key;\n#[derive(Debug, Error)]\npub enum Error {\n#[error(msg_embedded, no_from... | Rust | Apache License 2.0 | althea-net/althea_rs | fix debt keeper test |
20,248 | 07.01.2018 00:35:20 | 28,800 | e2d64b498c3f11c687a31ba6f1ac3ffab34bb84e | remove unused code and cleanup | [
{
"change_type": "MODIFY",
"old_path": "rita/debt_keeper/src/lib.rs",
"new_path": "rita/debt_keeper/src/lib.rs",
"diff": "@@ -22,9 +22,6 @@ use eui48::MacAddress;\nextern crate stash;\nuse num256::Int256;\n-mod debts;\n-use debts::{Debts, Neighbor};\n-\n#[derive(Debug, Error)]\npub enum Error {\n#[e... | Rust | Apache License 2.0 | althea-net/althea_rs | remove unused code and cleanup |
20,248 | 07.01.2018 17:43:42 | 28,800 | 65f63a7ea7e1446870ab04dd2f3143182f29d0ca | get integration tests working
no build or runtime errors
not passing | [
{
"change_type": "MODIFY",
"old_path": "rita/src/main.rs",
"new_path": "rita/src/main.rs",
"diff": "@@ -62,9 +62,9 @@ fn main() {\n}\nlet my_ident = Identity {\n- mac_address: \"0:0:0:aa:0:2\".parse().unwrap(),\n+ mac_address: \"00:00:00:aa:00:02\".parse().unwrap(),\nip_address: \"2001::3\".parse().... | Rust | Apache License 2.0 | althea-net/althea_rs | get integration tests working
no build or runtime errors
not passing |
20,248 | 08.01.2018 13:29:46 | 28,800 | 96f0580f982bb4f6bd330d6518b72dc568dd8637 | add some logging and fix a bug | [
{
"change_type": "MODIFY",
"old_path": "rita/Cargo.lock",
"new_path": "rita/Cargo.lock",
"diff": "@@ -1360,6 +1360,7 @@ dependencies = [\n\"althea_types 0.1.0\",\n\"debt_keeper 0.1.0\",\n\"derive-error 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)\",\n+ \"log 0.3.9 (registry+https://... | Rust | Apache License 2.0 | althea-net/althea_rs | add some logging and fix a bug |
20,248 | 08.01.2018 15:43:17 | 28,800 | 081f04a05a4f06d986d667eb3f8d0190cf09087e | add interface to get_neighbors output and fix tests | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/lib.rs",
"new_path": "althea_kernel_interface/src/lib.rs",
"diff": "@@ -24,7 +24,8 @@ use regex::Regex;\n#[derive(Debug, Error)]\npub enum Error {\nIo(std::io::Error),\n- UTF8(std::string::FromUtf8Error),\n+ StringUTF8(std::string::... | Rust | Apache License 2.0 | althea-net/althea_rs | add interface to get_neighbors output and fix tests |
20,248 | 14.01.2018 16:02:11 | 28,800 | 6a90462c236258ab1b8a33b4cfd522112b69b350 | WIP identity bootstrap | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.sh",
"new_path": "integration-tests/rita.sh",
"diff": "@@ -127,6 +127,10 @@ ip netns exec netlab-3 $babeld -I babeld-n3.pid -d 1 -L babeld-n3.log -h 1 -P 1\nsleep 20\n+ip netns exec netlab-2 ip r\n+\n+sleep 2\n+\nstop_processes\nsleep 1\... | Rust | Apache License 2.0 | althea-net/althea_rs | WIP identity bootstrap |
20,248 | 14.01.2018 16:32:48 | 28,800 | 3ecf3c84ad1565bcbd7c649fc73cce55672feca9 | delete kv_store | [
{
"change_type": "DELETE",
"old_path": "kv_store/.gitignore",
"new_path": null,
"diff": "-\n-/target/\n-**/*.rs.bk\n-Cargo.lock\n-*.db\n-*.db2\n\\ No newline at end of file\n"
},
{
"change_type": "DELETE",
"old_path": "kv_store/Cargo.toml",
"new_path": null,
"diff": "-[package]\n... | Rust | Apache License 2.0 | althea-net/althea_rs | delete kv_store |
20,248 | 14.01.2018 16:59:54 | 28,800 | f8eb7dd95183331e5a9a833ef8d75bf4640a19c1 | remove array_serialization_derive from althea_types | [
{
"change_type": "MODIFY",
"old_path": "althea_types/Cargo.toml",
"new_path": "althea_types/Cargo.toml",
"diff": "@@ -4,8 +4,6 @@ version = \"0.1.0\"\nauthors = [\"Jehan <jehan.tremback@gmail.com>\"]\n[dependencies]\n-array_serialization_derive = { path = \"../array_serialization_derive\" }\n-\nbase... | Rust | Apache License 2.0 | althea-net/althea_rs | remove array_serialization_derive from althea_types |
20,248 | 17.01.2018 17:57:28 | 28,800 | e1c9daa843ef3e5f813ea48cd9e17c31708fb389 | add num256 display trait and make rita.sh pass | [
{
"change_type": "MODIFY",
"old_path": "num256/src/lib.rs",
"new_path": "num256/src/lib.rs",
"diff": "@@ -8,6 +8,7 @@ extern crate serde_derive;\n#[macro_use]\nextern crate lazy_static;\n+use std::fmt;\nuse num::bigint::{BigInt, BigUint, ToBigInt};\nuse std::ops::{Add, Deref, Sub, Mul};\nuse num::tr... | Rust | Apache License 2.0 | althea-net/althea_rs | add num256 display trait and make rita.sh pass |
20,248 | 17.01.2018 23:17:15 | 28,800 | 85f56884439e0395d789497cf9cae7b71676fc76 | separate out kernel_interface stuff into separate files | [
{
"change_type": "MODIFY",
"old_path": "Cargo.toml",
"new_path": "Cargo.toml",
"diff": "@@ -4,7 +4,7 @@ version = \"0.1.0\"\nauthors = [\"Stan Drozd <drozdziak1@gmail.com>\"]\n[dependencies]\n-guac-light-client = { path = \"./guac-light-client\" }\n+# guac-light-client = { path = \"./guac-light-clie... | Rust | Apache License 2.0 | althea-net/althea_rs | separate out kernel_interface stuff into separate files |
20,246 | 21.01.2018 12:24:50 | 18,000 | e0758597afb861773c0ddbf5703315401c69c219 | Seperate build and test into different jobs | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "language: rust\ncache: cargo\n+env:\n+ - TYPE=build\n+ - TYPE=test\nrust:\n- stable\n- beta\n- nightly\nscript:\n- - cargo build --verbose --all\n- - cargo test --verbose --all\n+ - cargo $TYPE --verbose --all\... | Rust | Apache License 2.0 | althea-net/althea_rs | Seperate build and test into different jobs |
20,250 | 23.01.2018 20:18:58 | -39,600 | 79d85e8d9094552bca42fcd0a14cbec0703e6993 | remove check_ | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/lib.rs",
"new_path": "althea_types/src/lib.rs",
"diff": "@@ -129,26 +129,26 @@ mod tests {\n)\n}\n- test_eq!(new_addr, check_addr_eq);\n- test_eq!(new_sig, check_sig_eq);\n- test_eq!(new_key, check_key_eq);\n- test_eq!(new_payment, check_payme... | Rust | Apache License 2.0 | althea-net/althea_rs | remove check_ |
20,250 | 23.01.2018 20:20:55 | -39,600 | 044beee74b450bc52d2c2178c01c3ad0853672f2 | streamline althea_types test | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/lib.rs",
"new_path": "althea_types/src/lib.rs",
"diff": "@@ -134,12 +134,14 @@ mod tests {\ntest_eq!(new_key, key_eq);\ntest_eq!(new_payment, payment_eq);\ntest_eq!(new_identity, identity_eq);\n+ test_eq!(new_struct, struct_eq);\ntest_hash!(ne... | Rust | Apache License 2.0 | althea-net/althea_rs | streamline althea_types test |
20,248 | 24.01.2018 16:22:12 | 28,800 | 403511b9ea7af9e42db5a26e14d7b754b07a2424 | remove array_serialization_derive | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -41,7 +41,6 @@ dependencies = [\nname = \"althea_types\"\nversion = \"0.1.0\"\ndependencies = [\n- \"array_serialization_derive 0.1.0\",\n\"base64 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)\... | Rust | Apache License 2.0 | althea-net/althea_rs | remove array_serialization_derive |
20,248 | 24.01.2018 22:59:40 | 28,800 | c3fdb7d4b0a0415a492491210d9a7c96254f4c30 | implement Debug for num256 | [
{
"change_type": "MODIFY",
"old_path": "num256/src/lib.rs",
"new_path": "num256/src/lib.rs",
"diff": "@@ -18,7 +18,7 @@ use serde::{Deserialize, Deserializer, Serializer};\nuse std::str::FromStr;\n-#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]\n+#[derive(Clone, PartialEq, Eq, Partial... | Rust | Apache License 2.0 | althea-net/althea_rs | implement Debug for num256 |
20,248 | 24.01.2018 23:00:26 | 28,800 | c934e209dac1df784e1e5f8477c524888397886b | remove more useless logs | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.sh",
"new_path": "integration-tests/rita.sh",
"diff": "@@ -123,22 +123,22 @@ ip netns exec netlab-1 bash -c 'failed=1\nsleep 1\ndone' &\nip netns exec netlab-1 echo $! > ping_retry.pid\n-(RUST_BACKTRACE=full ip netns exec netlab-1 $rita ... | Rust | Apache License 2.0 | althea-net/althea_rs | remove more useless logs |
20,248 | 25.01.2018 23:27:36 | 28,800 | 6c00bc77717fc75ed23e4508b11bb96d4e845c4f | refactor to more of a actor model | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -7,3 +7,4 @@ target-mac\nintegration-tests/test.db\nbounty_hunter/test.db\ntest.db-journal\n+*.log\n"
},
{
"change_type": "MODIFY",
"old_path": "rita/debt_keeper/src/lib.rs",
"new_path": "rita/... | Rust | Apache License 2.0 | althea-net/althea_rs | refactor to more of a actor model |
20,248 | 26.01.2018 16:38:25 | 28,800 | d86e1a143d7893c950e55bdf41a32230076a35a3 | WIP cleanup, fix bugs | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.sh",
"new_path": "integration-tests/rita.sh",
"diff": "@@ -150,7 +150,7 @@ ip netns exec netlab-3 iperf3 -s -V &\nsleep 1\n-ip netns exec netlab-1 iperf3 -c 2001::3 -V -b 1000000\n+ip netns exec netlab-1 iperf3 -c 2001::3 -V -b -u 100000... | Rust | Apache License 2.0 | althea-net/althea_rs | WIP cleanup, fix bugs |
20,250 | 27.01.2018 12:54:09 | -39,600 | 5e81251c724f93ae60984e77aad260641ce8970d | merge changes from patch | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/delete_destination_counter_linux.rs",
"new_path": "althea_kernel_interface/src/delete_destination_counter_linux.rs",
"diff": "@@ -2,21 +2,25 @@ use super::{KernelInterface, Error};\nuse std::net::{IpAddr};\n+use eui48::MacAddress;\n... | Rust | Apache License 2.0 | althea-net/althea_rs | merge changes from patch |
20,250 | 27.01.2018 14:41:07 | -39,600 | 8be20f7aa70bea6263e3e6461736cb24708a133b | fix bug with crediting instead of debiting neighbour | [
{
"change_type": "MODIFY",
"old_path": "rita/traffic_watcher/src/lib.rs",
"new_path": "rita/traffic_watcher/src/lib.rs",
"diff": "@@ -101,7 +101,7 @@ pub fn watch(\nfor (mac, ip, bytes) in flow_counters {\nlet id = identities[&mac];\n- *debts.get_mut(&id).unwrap() = debts[&id].clone().add(\n+ *debts... | Rust | Apache License 2.0 | althea-net/althea_rs | fix bug with crediting instead of debiting neighbour |
20,250 | 27.01.2018 15:36:45 | -39,600 | 17c231a43d6cf31def98a0816698b0423b3e291f | add bridge interface to nodes 1 and 3 in integration test | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.sh",
"new_path": "integration-tests/rita.sh",
"diff": "@@ -110,11 +110,12 @@ create_bridge () {\nip netns exec \"$1\" brctl addbr \"br-$2\"\nip netns exec \"$1\" brctl addif \"br-$2\" \"veth-$2\"\nip netns exec \"$1\" ip link set up \"br... | Rust | Apache License 2.0 | althea-net/althea_rs | add bridge interface to nodes 1 and 3 in integration test |
20,250 | 28.01.2018 19:27:22 | -39,600 | 578a39d4965a984aef4b4b9fce72e45a8e30882d | add python script to create network topologies | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "integration-tests/rita.py",
"diff": "+#!/usr/bin/python3\n+import json\n+\n+\n+class Node:\n+ def __init__(self, id, fwd_price):\n+ self.id = id\n+ self.fwd_price = fwd_price\n+\n+\n+class Connection:\n+ def __init__(self, a, b):\n+ self.a = a\n... | Rust | Apache License 2.0 | althea-net/althea_rs | add python script to create network topologies |
20,250 | 29.01.2018 21:10:13 | -39,600 | 12da134dfbb0fb6b2afcc4467fc49e3aab7e633c | fleshing out rita.py, almost feature complete | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "#!/usr/bin/python3\nimport json\n+import os\n+import subprocess\n+\n+network_lab = os.path.join(os.path.dirname(__file__), \"deps/network-lab/network-lab.sh\")\n+babeld = os.path.joi... | Rust | Apache License 2.0 | althea-net/althea_rs | fleshing out rita.py, almost feature complete |
20,250 | 29.01.2018 21:11:00 | -39,600 | cbd8e6c6da5ebbf35bff11949da49ecb3d3c916d | add neighbour hello retry feature | [
{
"change_type": "MODIFY",
"old_path": "rita/src/main.rs",
"new_path": "rita/src/main.rs",
"diff": "@@ -83,10 +83,10 @@ fn main() {\nthread::spawn(move || {\nlet mut ki = KernelInterface {};\nlet mut tm = TunnelManager::new();\n- let mut babel = Babel::new(&\"[::1]:8080\".parse().unwrap()); //TODO: ... | Rust | Apache License 2.0 | althea-net/althea_rs | add neighbour hello retry feature |
20,248 | 31.01.2018 14:12:32 | -39,600 | ef578114e41a63c557d47d16be56b62b0583b99b | make rita.sh use the new python script | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "integration-tests/rita-deps.sh",
"diff": "+#!/usr/bin/env bash\n+set -euo pipefail\n+\n+build_babel () {\n+ if [ ! -d \"deps/babeld\" ] ; then\n+ git clone -b althea \"https://github.com/althea-mesh/babeld\" \"deps/babeld\"\n+ fi\n+\n+ pushd dep... | Rust | Apache License 2.0 | althea-net/althea_rs | make rita.sh use the new python script |
20,248 | 31.01.2018 20:40:51 | -39,600 | 84957b744626e5270bde4dbbc26978016baf59fb | Make debt keeper tests pass | [
{
"change_type": "MODIFY",
"old_path": "rita/debt_keeper/src/lib.rs",
"new_path": "rita/debt_keeper/src/lib.rs",
"diff": "@@ -6,7 +6,6 @@ extern crate derive_error;\n#[macro_use] extern crate log;\n-\nuse std::net::IpAddr;\nuse std::collections::HashMap;\nuse std::ops::{Add, Sub};\n@@ -157,7 +156,7 ... | Rust | Apache License 2.0 | althea-net/althea_rs | Make debt keeper tests pass |
20,248 | 31.01.2018 21:09:45 | -39,600 | 505b46e399b01c12451846172703b03618b7376f | fix test for payment controller | [
{
"change_type": "MODIFY",
"old_path": "rita/debt_keeper/src/lib.rs",
"new_path": "rita/debt_keeper/src/lib.rs",
"diff": "@@ -41,6 +41,7 @@ pub struct DebtKeeper {\n}\n/// The actions that a `DebtKeeper` can take.\n+#[derive(Debug, PartialEq)]\npub enum DebtKeeperMsg {\nPayment { from: Identity, amo... | Rust | Apache License 2.0 | althea-net/althea_rs | fix test for payment controller |
20,250 | 10.02.2018 20:29:16 | -39,600 | 7c33c9a1ddd8a785f9e84f49da34c9bfc3959a18 | add tests for new traits | [
{
"change_type": "MODIFY",
"old_path": "num256/src/lib.rs",
"new_path": "num256/src/lib.rs",
"diff": "@@ -563,20 +563,196 @@ mod tests {\nBIGGEST_UINT.clone() + Uint256::from(0 as u32);\n}\n+ #[test]\n+ #[should_panic]\n+ fn test_uint_add_assign_panic() {\n+ let mut big = BIGGEST_UINT.clone();\n+ bi... | Rust | Apache License 2.0 | althea-net/althea_rs | add tests for new traits |
20,250 | 11.02.2018 11:58:27 | -39,600 | 8f0439342c7893699b6ed68524dcec355bd70e94 | make althea_types encompass eui48 and num256 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -177,6 +177,20 @@ name = \"chunked_transfer\"\nversion = \"0.3.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n+[[package]]\n+name = \"config\"\n+version = \"0.8.0\"\n+source = \"regis... | Rust | Apache License 2.0 | althea-net/althea_rs | make althea_types encompass eui48 and num256 |
20,250 | 11.02.2018 19:11:47 | -39,600 | b89f8fd15bc5f9089c6fadf47ce094b086813ff8 | fix deserialization and add settings and fix integration tests | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -3,7 +3,7 @@ cache: cargo\nbefore_install:\n- sudo apt-get -qq update\n- sudo apt-get install -y ebtables libsqlite3-dev iperf3 python3-pip bridge-utils\n- - sudo pip3 install termcolor\n+ - sudo pip3 instal... | Rust | Apache License 2.0 | althea-net/althea_rs | fix deserialization and add settings and fix integration tests |
20,250 | 11.02.2018 19:15:23 | -39,600 | 4644cab37853374108064414ef4c3f348d9b62c2 | make traffic watcher use settings | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1481,6 +1481,7 @@ dependencies = [\n\"log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"serde_derive 1.0.27 (re... | Rust | Apache License 2.0 | althea-net/althea_rs | make traffic watcher use settings |
20,250 | 13.02.2018 14:18:02 | -28,800 | d650308f6602cc15a41ed8c698698a4a16954df1 | unexport num256 and change python package installation | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -3,7 +3,7 @@ cache: cargo\nbefore_install:\n- sudo apt-get -qq update\n- sudo apt-get install -y ebtables libsqlite3-dev iperf3 python3-pip bridge-utils\n- - sudo pip3 install termcolor toml\n+ - sudo pip3 i... | Rust | Apache License 2.0 | althea-net/althea_rs | unexport num256 and change python package installation |
20,250 | 18.02.2018 23:03:58 | -28,800 | ad8fd7911c71ffaa77cc2d913a7ced62c2eb85e7 | (WIP) get babel to route over wg interfaces | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1536,6 +1536,7 @@ dependencies = [\n\"serde_derive 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"serde_json 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"simple_lo... | Rust | Apache License 2.0 | althea-net/althea_rs | (WIP) get babel to route over wg interfaces |
20,250 | 27.02.2018 12:15:24 | -28,800 | 8124b59c8e508f375107155f9c5aeddf2154778a | switch to env-logger | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -607,6 +607,15 @@ name = \"encoding_index_tests\"\nversion = \"0.1.4\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n+[[package]]\n+name = \"env_logger\"\n+version = \"0.4.3\"\n+source =... | Rust | Apache License 2.0 | althea-net/althea_rs | switch to env-logger |
20,250 | 27.02.2018 21:28:35 | -28,800 | dcf0ece1b7ffda14c548db91d9d84651c4299c5b | switch to failure and start db actor | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1563,12 +1563,12 @@ dependencies = [\n\"babel_monitor 0.1.0\",\n\"bytes 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"config 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)... | Rust | Apache License 2.0 | althea-net/althea_rs | switch to failure and start db actor |
20,250 | 27.02.2018 21:36:14 | -28,800 | 95699d7e9becc3262a2b2afe3672022cd1e93b72 | switch kernel interface over to failure | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -131,8 +131,8 @@ dependencies = [\nname = \"althea_kernel_interface\"\nversion = \"0.1.0\"\ndependencies = [\n- \"derive-error 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"eui48 0.4.0 (g... | Rust | Apache License 2.0 | althea-net/althea_rs | switch kernel interface over to failure |
20,250 | 27.02.2018 21:57:02 | -28,800 | c1c0e99cdc22a0fd8a241aef7f2d3cadf68d8ff9 | clean up kernel interface | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/get_neighbors.rs",
"new_path": "althea_kernel_interface/src/get_neighbors.rs",
"diff": "@@ -21,7 +21,7 @@ impl KernelInterface {\ntrace!(\"Regex captured {:?}\", caps);\nvec.push((\n- MacAddress::parse_str(&caps[3]).unwrap(), // Ugl... | Rust | Apache License 2.0 | althea-net/althea_rs | clean up kernel interface |
20,250 | 27.02.2018 22:05:45 | -28,800 | c494db0f52b3c024559cde673b5253e46150ef09 | fix tests from improved error handling | [
{
"change_type": "MODIFY",
"old_path": "rita/src/payment_controller/mod.rs",
"new_path": "rita/src/payment_controller/mod.rs",
"diff": "@@ -290,13 +290,22 @@ mod tests {\n.match_body(\"{\\\"to\\\":{\\\"mesh_ip\\\":\\\"1:1:1:1:1:1:1:1\\\",\\\"eth_address\\\":\\\"0x010101010101010101010101010101010101... | Rust | Apache License 2.0 | althea-net/althea_rs | fix tests from improved error handling |
20,250 | 28.02.2018 21:57:05 | -28,800 | b2bb5823d769d499a3924128aedd88b65e3bcc1d | ipset support | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -3,7 +3,7 @@ cache: cargo\nbefore_install:\n- sudo add-apt-repository ppa:wireguard/wireguard -y\n- sudo apt-get -qq update\n- - sudo apt-get install -y libsqlite3-dev iperf3 python3-pip bridge-utils wiregua... | Rust | Apache License 2.0 | althea-net/althea_rs | ipset support |
20,250 | 03.03.2018 23:22:24 | -28,800 | 8a8f810c4eab19e35c7118e33df7d35a21b9baf9 | setup wg tunnels on server | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"diff": "-use super::{KernelInterface, KernelManagerError};\n-\n-use failure::Error;\n-\n-use std::net::{IpAddr, SocketAddr};\n-use std::str::F... | Rust | Apache License 2.0 | althea-net/althea_rs | setup wg tunnels on server |
20,244 | 04.03.2018 08:49:57 | 18,000 | cc4375388481471ab267b4d9b2a6567510eb4318 | Have Clu post identity objects | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -383,6 +383,7 @@ name = \"clu\"\nversion = \"0.0.1\"\ndependencies = [\n\"althea_kernel_interface 0.1.0\",\n+ \"althea_types 0.1.0\",\n\"docopt 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)\",\... | Rust | Apache License 2.0 | althea-net/althea_rs | Have Clu post identity objects |
20,250 | 05.03.2018 20:10:09 | -28,800 | bfb97a9024cd62946b04e041482105560c973f21 | live config reload in rita and rita_exit | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -219,6 +219,16 @@ dependencies = [\n\"safemem 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)\",\n]\n+[[package]]\n+name = \"bitflags\"\n+version = \"0.4.0\"\n+source = \"registry+https://github.... | Rust | Apache License 2.0 | althea-net/althea_rs | live config reload in rita and rita_exit |
20,244 | 06.03.2018 08:47:27 | 18,000 | 8132603e6fa871987d81781fda313c2c51734b40 | Library-ize clu add some unit tests | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/create_wg_key.rs",
"new_path": "althea_kernel_interface/src/create_wg_key.rs",
"diff": "@@ -56,7 +56,7 @@ impl KernelInterface {\n}\n#[test]\n-fn test_create_wg_key_linux() {\n+fn test_create_wg_key() {\nuse std::process::Output;\nu... | Rust | Apache License 2.0 | althea-net/althea_rs | Library-ize clu add some unit tests |
20,250 | 07.03.2018 22:14:44 | -28,800 | ae141e12c1209d8cc932920aaa86ad13ba17cd06 | make things compatible with openwrt (hopefully) | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "[[package]]\nname = \"actix\"\n-version = \"0.5.1\"\n+version = \"0.5.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\ndependencies = [\n\"actix_derive 0.2.0 (registry+https://github.com/r... | Rust | Apache License 2.0 | althea-net/althea_rs | make things compatible with openwrt (hopefully) |
20,250 | 07.03.2018 22:17:02 | -28,800 | 8bee7960782b356ebe064a9e90970577a4b99416 | run with new rustfmt | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/lib.rs",
"new_path": "althea_types/src/lib.rs",
"diff": "@@ -84,7 +84,7 @@ mod tests {\n}\nmacro_rules! test_eq {\n- ($func_name:ident, $test_name:ident) => (\n+ ($func_name: ident, $test_name: ident) => {\n#[test]\nfn $test_name() {\nlet a = ... | Rust | Apache License 2.0 | althea-net/althea_rs | run with new rustfmt |
20,250 | 08.03.2018 00:06:43 | -28,800 | 9f993690bf1fe52e071e9c6b5bf196f18b19c3b0 | exit rita fixes | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_counter.rs",
"new_path": "althea_kernel_interface/src/exit_counter.rs",
"diff": "@@ -37,7 +37,7 @@ fn parse_exit_ipset(input: &str) -> Result<HashMap<IpAddr, u64>, Error> {\n// example line `add aa fd::1 packets 28 bytes 2212`\... | Rust | Apache License 2.0 | althea-net/althea_rs | exit rita fixes |
20,250 | 08.03.2018 22:54:28 | -28,800 | 260808be823a1822533c97c4b989ed1fd09ce7e7 | connect to exit tunnels | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -23,7 +23,7 @@ dependencies = [\n[[package]]\nname = \"actix-web\"\nversion = \"0.4.5\"\n-source = \"git+https://github.com/kingoflolz/actix-web.git#04d0abb3c78483b45d736e945a45c6c3c17e3729\"\n+source = \"regi... | Rust | Apache License 2.0 | althea-net/althea_rs | connect to exit tunnels |
20,244 | 07.03.2018 09:39:40 | 18,000 | e0fe0de9b7cc17177e1ed94c99ad8cd03c5eae12 | Add crosscompile tests
This adds a crosscompilation test for Travis, it pulls a version
of the openwrt toolchain pre built from the Althea updates server
then uses this toolchain to build a proper mips binary. We had
to exclude beta and stable because we use binary shrinking opt
modes which are nightly only. | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -2,13 +2,15 @@ language: rust\ncache: cargo\nbefore_install:\n- sudo add-apt-repository ppa:wireguard/wireguard -y\n+ - sudo add-apt-repository universe\n- sudo apt-get -qq update\n- - sudo apt-get install -... | Rust | Apache License 2.0 | althea-net/althea_rs | Add crosscompile tests
This adds a crosscompilation test for Travis, it pulls a version
of the openwrt toolchain pre built from the Althea updates server
then uses this toolchain to build a proper mips binary. We had
to exclude beta and stable because we use binary shrinking opt
modes which are nightly only. |
20,250 | 09.03.2018 23:12:41 | -28,800 | 3f45011a10c4a82dd3847eb0f6faadce3e8d9b0e | route to exit server | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"diff": "@@ -36,7 +36,13 @@ impl KernelInterface {\nlet output = self.run_command(\n\"ip\",\n- &[\"address\", \"add\", &format!(\"{}\", local_i... | Rust | Apache License 2.0 | althea-net/althea_rs | route to exit server |
20,250 | 14.03.2018 22:04:11 | -28,800 | 4e96878501898e8e721e723bf635bf7b6423cea9 | switch to babel on althea-mesh | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.sh",
"new_path": "integration-tests/rita.sh",
"diff": "@@ -5,11 +5,9 @@ cd $(dirname $0)\nbuild_babel () {\nrm -rf \"deps/babeld\"\n- git clone -b althea \"https://github.com/drozdziak1/babeld\" \"deps/babeld\"\n+ git clone -b pre-0.1.0 ... | Rust | Apache License 2.0 | althea-net/althea_rs | switch to babel on althea-mesh |
20,250 | 22.03.2018 21:03:16 | -28,800 | 2f785620f01e7c7763fc19bf2950e9056660e4f1 | support openwrt (hopefully) | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/create_wg_key.rs",
"new_path": "althea_kernel_interface/src/create_wg_key.rs",
"diff": "@@ -8,22 +8,13 @@ use std::process::{Command, Output, Stdio};\nuse failure::Error;\nimpl KernelInterface {\n- pub fn create_wg_key(&self, path: ... | Rust | Apache License 2.0 | althea-net/althea_rs | support openwrt (hopefully) |
20,250 | 27.03.2018 21:50:23 | -28,800 | 48bdb74502df7c266b40234d7ccedd6864177930 | add openwrt flash scripts | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "openwrt_build.sh",
"diff": "+#!/usr/bin/env bash\n+export OPENWRT_DIR=/home/ben/src/althea-firmware/build\n+export TOOLCHAIN=toolchain-mipsel_24kc_gcc-7.3.0_musl\n+export TARGET_NAME=target-mipsel_24kc_musl\n+export TARGET=mipsel-unknown-linux-m... | Rust | Apache License 2.0 | althea-net/althea_rs | add openwrt flash scripts |
20,250 | 03.04.2018 23:17:05 | -28,800 | 05c82db49abd02cffef22c899e0d3db6abbfff2e | clean up per hop tunnels when starting clu | [
{
"change_type": "RENAME",
"old_path": "althea_kernel_interface/src/get_interfaces.rs",
"new_path": "althea_kernel_interface/src/interface_tools.rs",
"diff": "@@ -20,6 +20,12 @@ impl KernelInterface {\ntrace!(\"interfaces: {:?}\", vec);\nOk(vec)\n}\n+\n+ /// Deletes an named interface\n+ pub fn del_... | Rust | Apache License 2.0 | althea-net/althea_rs | clean up per hop tunnels when starting clu |
20,244 | 04.04.2018 10:26:16 | 14,400 | 8906928f484db640a2e579d08a269dca8d606d4b | Fix minor typo in clu | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -264,9 +264,10 @@ fn cleanup() -> Result<(), Error> {\nfor i in interfaces {\nif re.is_match(&i) {\n- ki.del_interface(&i)\n+ ki.del_interface(&i);\n}\n}\n+ Ok(())\n}\n// Replacement for the setup.ash ... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix minor typo in clu |
20,244 | 04.04.2018 10:26:41 | 14,400 | a3f147db72f8c5f5875c6a18d6194cb64c4107d0 | Specify dev profile
We have the task of making a dev profile that produces builds small
enough to test on the routers but does so quickly and incrementally
this is a first attempt | [
{
"change_type": "MODIFY",
"old_path": "Cargo.toml",
"new_path": "Cargo.toml",
"diff": "@@ -10,7 +10,13 @@ rita = { path = \"./rita\" }\nmembers = [\"althea_kernel_interface\", \"bounty_hunter\", \"settings\", \"clu\", \"exit_db\"]\n[profile.release]\n-opt-level = \"s\"\n+opt-level = \"z\"\n+lto = t... | Rust | Apache License 2.0 | althea-net/althea_rs | Specify dev profile
We have the task of making a dev profile that produces builds small
enough to test on the routers but does so quickly and incrementally
this is a first attempt |
20,244 | 04.04.2018 10:29:00 | 14,400 | b356a3ff34a2e5277138830bbcb8938d33a6f2ec | Organize testing scripts a little better | [
{
"change_type": "DELETE",
"old_path": "openwrt_flash.sh",
"new_path": null,
"diff": "-#!/usr/bin/env bash\n-bash openwrt_build.sh\n-scp target/mipsel-unknown-linux-musl/release/rita root@192.168.1.1:/tmp/rita\n-#RUST_BACKTRACE=FULL RUST_LOG=INFO /tmp/rita --config /etc/rita-default.toml --default /... | Rust | Apache License 2.0 | althea-net/althea_rs | Organize testing scripts a little better |
20,244 | 04.04.2018 14:46:58 | 14,400 | fba1729bf43c29f2c2950c620865c97f75d3773a | Correct merge error
Fixes some minor errors in the rebase | [
{
"change_type": "MODIFY",
"old_path": "Cargo.toml",
"new_path": "Cargo.toml",
"diff": "@@ -15,10 +15,6 @@ lto = true\ncodegen-units = 1\nincremental = false\n-[profile.dev]\n-opt-level = \"z\"\n-debug = true\n-\n[features]\ndefault = []\nsystem_alloc = []\n"
},
{
"change_type": "MODIFY",
... | Rust | Apache License 2.0 | althea-net/althea_rs | Correct merge error
Fixes some minor errors in the rebase |
20,244 | 04.04.2018 15:42:52 | 14,400 | 2df1f110485b024ae6ef7a3909c68ad7bc285860 | Copy over test config file to routers | [
{
"change_type": "MODIFY",
"old_path": "scripts/openwrt_upload.sh",
"new_path": "scripts/openwrt_upload.sh",
"diff": "@@ -3,4 +3,5 @@ set -eux\nbash scripts/openwrt_build.sh\nscp target/mipsel-unknown-linux-musl/debug/rita root@192.168.1.1:/tmp/rita\nscp settings/default.toml root@192.168.1.1:/etc/r... | Rust | Apache License 2.0 | althea-net/althea_rs | Copy over test config file to routers |
20,250 | 05.04.2018 23:55:10 | -28,800 | 7f2b75f8cc0f160f6bf55557ed0cd3232d45403a | add support for manual peers | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -159,6 +159,15 @@ impl TunnelManager {\n(ip_address, Some(dev))\n}\n)\n+ .chain(\n+ {\n+ let mut out = Vec::new();\n+ for i in SETTING.read().unw... | Rust | Apache License 2.0 | althea-net/althea_rs | add support for manual peers |
20,250 | 06.04.2018 17:47:48 | -28,800 | 81c2f8308ac433d6ea8c06de6d22c45c75a19bba | configure interfaces to peer on | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -86,17 +86,10 @@ fn openwrt_generate_mesh_ip(config: Arc<RwLock<settings::RitaSettings>>) -> Resu\nlet ki = KernelInterface {};\nlet seed = rand::thread_rng().gen::<[u8; 10]>();\nlet mesh_ip = ipgen::i... | Rust | Apache License 2.0 | althea-net/althea_rs | configure interfaces to peer on |
20,250 | 07.04.2018 11:48:35 | -28,800 | 02f3eacc797dc3f533706ed48485e02bc4967a57 | fix merge and add debug stuff | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -254,6 +254,8 @@ fn cleanup() -> Result<(), Error> {\nki.del_interface(&i)?;\n}\n}\n+\n+ ki.del_interface(\"wg_exit\")?;\nOk(())\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "rita/src/ex... | Rust | Apache License 2.0 | althea-net/althea_rs | fix merge and add debug stuff |
20,250 | 07.04.2018 21:21:53 | -28,800 | 70bb39d48469a486c3876f94ff43f0f9954a18ca | remove default config options | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "@@ -160,7 +160,7 @@ def start_rita(node):\nsave_rita_settings(id, settings)\ntime.sleep(0.1)\nos.system(\n- '(RUST_BACKTRACE=full RUST_LOG=TRACE ip netns exec netlab-{id} {rita} --co... | Rust | Apache License 2.0 | althea-net/althea_rs | remove default config options |
20,250 | 08.04.2018 00:34:56 | -28,800 | f2aa0ef64ef44ff4ab815dab3181cdceecb7c36c | (WIP) allow hostnames in manual peers | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -3,6 +3,7 @@ use std::path::Path;\nuse std::collections::HashMap;\nuse actix::prelude::*;\n+use actix::actors;\nuse futures;\nuse futures::Future... | Rust | Apache License 2.0 | althea-net/althea_rs | (WIP) allow hostnames in manual peers |
20,250 | 08.04.2018 20:37:37 | -28,800 | e4d0103228a410fc4865f30ad37c5b61bfd3cd1b | allow hostnames in manual peers | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/link_local_tools.rs",
"new_path": "althea_kernel_interface/src/link_local_tools.rs",
"diff": "@@ -15,7 +15,7 @@ impl KernelInterface {\nlet output = self.run_command(\"ip\", &[\"addr\", \"show\", \"dev\", dev, \"scope\", \"link\"])?... | Rust | Apache License 2.0 | althea-net/althea_rs | allow hostnames in manual peers |
20,250 | 08.04.2018 21:02:26 | -28,800 | 55558cebe58fb3042b2c012bb06a6e3235a7e227 | simplify session opening | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -50,7 +50,6 @@ impl Message for Identity {\n/// This is all the data we need to give a neighbor to open a wg connection\n#[derive(Debug, Serialize, Deserialize, PartialEq, Eq,... | Rust | Apache License 2.0 | althea-net/althea_rs | simplify session opening |
20,250 | 09.04.2018 23:41:09 | -28,800 | 1fc3ee63b45d596eeb18b4edfd204e332c74ef0d | limit http server threads | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -106,7 +106,7 @@ fn main() {\nApplication::new()\n.resource(\"/make_payment\", |r| r.h(make_payments))\n.resource(\"/hello\", |r| r.h(hello_response))\n- }).bind(format!(\n+ }).threads(1).bind(... | Rust | Apache License 2.0 | althea-net/althea_rs | limit http server threads |
20,250 | 10.04.2018 00:33:26 | -28,800 | 6a29c1c0a50268592a802d67ffbc591e7108bae4 | work with dirty counters and wg interfaces | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/counter.rs",
"new_path": "althea_kernel_interface/src/counter.rs",
"diff": "@@ -69,7 +69,7 @@ impl KernelInterface {\n\"inet6\",\n\"counters\",\n],\n- )?;\n+ );\nself.run_command(\n\"ip6tables\",\n&[\n@@ -106,7 +106,7 @@ impl Kernel... | Rust | Apache License 2.0 | althea-net/althea_rs | work with dirty counters and wg interfaces |
20,250 | 10.04.2018 23:17:45 | -28,800 | ec24d215d79f65ef86e3cb5495adb14c83bee20d | open tunnels for ipv4 | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/open_tunnel.rs",
"new_path": "althea_kernel_interface/src/open_tunnel.rs",
"diff": "@@ -34,6 +34,27 @@ fn test_to_wg_local() {\n)\n}\n+fn is_link_local(ip: IpAddr) -> bool {\n+ if let IpAddr::V6(ip) = ip {\n+ return (ip.segments()[0... | Rust | Apache License 2.0 | althea-net/althea_rs | open tunnels for ipv4 |
20,250 | 11.04.2018 23:08:42 | -28,800 | d52341cc936f46109804e9fc9d79cc1f2e27e5be | use fd00 instead of fd | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/counter.rs",
"new_path": "althea_kernel_interface/src/counter.rs",
"diff": "@@ -46,7 +46,7 @@ impl FilterTarget {\nfn parse_ipset(input: &str) -> Result<HashMap<(IpAddr, String), u64>, Error> {\nlet mut map = HashMap::new();\n- // e... | Rust | Apache License 2.0 | althea-net/althea_rs | use fd00 instead of fd |
20,250 | 18.04.2018 00:02:14 | -28,800 | b224b00de3c48a65c7a6fb49554934d45f700f22 | route only specific lan interfaces over wg_exit | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "althea_kernel_interface/src/ip_rule.rs",
"diff": "+use super::{KernelInterface, KernelInterfaceError};\n+\n+use std::net::IpAddr;\n+\n+use failure::Error;\n+\n+impl KernelInterface {\n+ pub fn set_interface_route_via_exit(\n+ &self,\n+ interface... | Rust | Apache License 2.0 | althea-net/althea_rs | route only specific lan interfaces over wg_exit
(cherry picked from commit 6641d4a) |
20,250 | 18.04.2018 20:17:49 | -28,800 | 8b21a3004fdd2c57caa92eeafa13a45ef1fbc530 | fix race condition in rita-client | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -88,12 +88,13 @@ pub fn watch(exit: Identity, exit_price: u64) -> Result<(), Error> {\nlet mut owes: Int256 = Int256::from(0);\ntrace!(\"exit p... | Rust | Apache License 2.0 | althea-net/althea_rs | fix race condition in rita-client |
20,250 | 23.04.2018 19:32:47 | -28,800 | a880af4f3e83c9a30510dc3d188dd005dfdf3c9f | remove deps on ring | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -28,7 +28,6 @@ dependencies = [\n\"actix 0.5.5 (git+https://github.com/kingoflolz/actix?branch=mocking)\",\n\"base64 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"bitflags 1.0.1 (registry... | Rust | Apache License 2.0 | althea-net/althea_rs | remove deps on ring |
20,250 | 24.04.2018 21:42:38 | -28,800 | 1c85045f3224cb796ec2fe4662e923c8e7ed117f | Send stats to stats server | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/lib.rs",
"new_path": "althea_kernel_interface/src/lib.rs",
"diff": "@@ -29,6 +29,7 @@ mod exit_client_counter;\nmod exit_client_tunnel;\nmod exit_server_counter;\nmod exit_server_tunnel;\n+mod stats;\nmod get_neighbors;\nmod get_wg_... | Rust | Apache License 2.0 | althea-net/althea_rs | Send stats to stats server |
20,251 | 26.04.2018 17:52:57 | -3,600 | 50ddf850cae37b13606130b263101f5783fc66d7 | Replace verbose Boolean logic
This is to clean up code | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -28,8 +28,7 @@ use settings::ExitClientDetails;\nuse std::fs::File;\nuse std::io::Write;\nuse std::path::Path;\n-use std::sync::Arc;\n-use std::sync::RwLock;\n+use std::sync::{Arc, RwLock};\nuse std::t... | Rust | Apache License 2.0 | althea-net/althea_rs | Replace verbose Boolean logic
This is to clean up code |
20,251 | 27.04.2018 12:39:51 | -3,600 | fae16c5a88d1468b4e092ee1811bdc847b99ef38 | Add light abstraction
This is to simplify code and eliminate repetition | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/manipulate_uci.rs",
"new_path": "althea_kernel_interface/src/manipulate_uci.rs",
"diff": "@@ -2,56 +2,50 @@ use super::{KernelInterface, KernelInterfaceError};\nuse failure::Error;\n+\nimpl KernelInterface {\n- //Sets an arbitrary U... | Rust | Apache License 2.0 | althea-net/althea_rs | Add light abstraction
This is to simplify code and eliminate repetition |
20,250 | 26.04.2018 23:22:05 | -28,800 | 8670adcc3ca3516420330ede6e7374575c5a7c9a | add stats server | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1922,6 +1922,23 @@ name = \"stable_deref_trait\"\nversion = \"1.0.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n+[[package]]\n+name = \"stats_server\"\n+version = \"0.1.0\"\n+depend... | Rust | Apache License 2.0 | althea-net/althea_rs | add stats server |
20,250 | 27.04.2018 22:37:13 | -28,800 | 76a5969520c3105ec2b5aa487a890c608b5fa069 | dashboard bugfixes | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/openwrt_ubus.rs",
"new_path": "althea_kernel_interface/src/openwrt_ubus.rs",
"diff": "@@ -6,9 +6,9 @@ use failure::Error;\nimpl KernelInterface {\n/// calls a ubus rpc\n- pub fn ubus_call(&self, function: &str, argument: &str) -> Re... | Rust | Apache License 2.0 | althea-net/althea_rs | dashboard bugfixes |
20,250 | 28.04.2018 17:24:09 | -28,800 | 940e8c7137fb6cde1e9a77eb2f5e3542a9cb1d4d | more dashboard bugfixes | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/lib.rs",
"new_path": "althea_kernel_interface/src/lib.rs",
"diff": "@@ -39,6 +39,7 @@ mod manipulate_uci;\nmod open_tunnel;\nmod openwrt_ubus;\nmod setup_wg_if;\n+mod wireless;\nmod stats;\npub use counter::FilterTarget;\n"
},
{... | Rust | Apache License 2.0 | althea-net/althea_rs | more dashboard bugfixes |
20,244 | 28.04.2018 17:08:02 | 14,400 | de737e4a72aa814f94d97931e615f03f67c69766 | Features should be attached to binaries
It doesn't make sense to have the system alloc feature attached to
a whole workspace. Cargo is giving us trouble with this in the latest
nightlies. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.toml",
"new_path": "Cargo.toml",
"diff": "@@ -15,6 +15,10 @@ lto = true\ncodegen-units = 1\nincremental = false\n-[features]\n-default = []\n-system_alloc = []\n+[profile.dev]\n+opt-level = \"z\"\n+lto = true\n+debug = false\n+codegen-units = 1\n+increme... | Rust | Apache License 2.0 | althea-net/althea_rs | Features should be attached to binaries
It doesn't make sense to have the system alloc feature attached to
a whole workspace. Cargo is giving us trouble with this in the latest
nightlies. |
20,244 | 28.04.2018 17:11:51 | 14,400 | 705019bc691b57ecfadd01eaef4fcfb668e02755 | Remove some clu warnings and improve wg key tests | [
{
"change_type": "MODIFY",
"old_path": "clu/src/lib.rs",
"new_path": "clu/src/lib.rs",
"diff": "@@ -25,8 +25,6 @@ extern crate althea_kernel_interface;\nuse althea_types::interop::ExitServerIdentity;\nuse regex::Regex;\nuse settings::ExitClientDetails;\n-use std::fs::File;\n-use std::io::Write;\nuse... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove some clu warnings and improve wg key tests |
20,244 | 28.04.2018 17:31:29 | 14,400 | 7052f28d5fdb4972104779f1fc587239472bc542 | Update build scripts
These where getting a little annoying, copying over the example
config is no longer needed since we now ship with one in the firmware
also we probably shouldn't commit our own build dir paths. | [
{
"change_type": "MODIFY",
"old_path": "scripts/openwrt_build.sh",
"new_path": "scripts/openwrt_build.sh",
"diff": "#!/usr/bin/env bash\n-export OPENWRT_DIR=/home/justin/repos/althea-firmware/build\n+export OPENWRT_DIR=CHANGEME\nexport TOOLCHAIN=toolchain-mipsel_24kc_gcc-7.3.0_musl\nexport TARGET_NA... | Rust | Apache License 2.0 | althea-net/althea_rs | Update build scripts
These where getting a little annoying, copying over the example
config is no longer needed since we now ship with one in the firmware
also we probably shouldn't commit our own build dir paths. |
20,244 | 29.04.2018 08:21:16 | 14,400 | 1f062365585d509def9b7cf03379beebfc521a72 | RLS is not totally accurate
RLS marked one needed dependency as a warning. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/interface_tools.rs",
"new_path": "althea_kernel_interface/src/interface_tools.rs",
"diff": "use super::KernelInterface;\n-\nuse regex::Regex;\nuse failure::Error;\n"
},
{
"change_type": "MODIFY",
"old_path": "althea_kern... | Rust | Apache License 2.0 | althea-net/althea_rs | RLS is not totally accurate
RLS marked one needed dependency as a warning. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.