Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Update `radicle-surf`
Alexis Sellier committed 2 years ago
commit e7006080955f069d23f86888ac02f092e90405c5
parent e325fa8621210b22a4937f52ae39b141d45eed1d
5 files changed +76 -36
modified Cargo.lock
@@ -2140,9 +2140,9 @@ checksum = "db20136bbc9ae63f3fec8e5a6c369f4902fac2244501b5dfc6d668e43475aaa4"

[[package]]
name = "radicle-surf"
-
version = "0.11.0"
+
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "66d6e854e920d75b05463c8466d86c2c00868100947e60575f63bf93bf198f1f"
+
checksum = "ccdd33d0fd00cc84309d33d736aa0e208faee7bac6a1a9374c68b5da7675c728"
dependencies = [
 "anyhow",
 "base64",
modified radicle-httpd/Cargo.toml
@@ -25,7 +25,7 @@ flate2 = { version = "1" }
hyper = { version = "0.14.17", default-features = false }
lexopt = { version = "0.2.1" }
nonempty = { version = "0.8.1", features = ["serialize"] }
-
radicle-surf = { version = "0.11.0", default-features = false, features = ["serde"] }
+
radicle-surf = { version = "0.12.0", default-features = false, features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
thiserror = { version = "1" }
modified radicle-httpd/src/api/v1/projects.rs
@@ -871,6 +871,10 @@ mod routes {
                          ],
                          "eof": "noneMissing",
                        },
+
                        "new": {
+
                          "oid": "980a0d5f19a64b4b30a87d4206aade58726b60e3",
+
                          "mode": "blob",
+
                        },
                      },
                      {
                        "path": "dir1/README",
@@ -889,7 +893,11 @@ mod routes {
                            }
                          ],
                          "eof": "noneMissing",
-
                        }
+
                        },
+
                        "new": {
+
                          "oid": "1dd5654ca2d2cf9f33b14c92b5ca9e1d21a91ae1",
+
                          "mode": "blob",
+
                        },
                      }
                    ],
                    "deleted": [
@@ -911,6 +919,10 @@ mod routes {
                          ],
                          "eof": "noneMissing",
                        },
+
                        "old": {
+
                          "oid": "82eb77880c693655bce074e3dbbd9fa711dc018b",
+
                          "mode": "blob",
+
                        },
                      },
                    ],
                    "moved": [],
@@ -961,6 +973,10 @@ mod routes {
                          ],
                          "eof": "noneMissing",
                        },
+
                        "new": {
+
                          "oid": "82eb77880c693655bce074e3dbbd9fa711dc018b",
+
                          "mode": "blob",
+
                        },
                      },
                    ],
                    "deleted": [
@@ -982,6 +998,10 @@ mod routes {
                          ],
                          "eof": "noneMissing",
                        },
+
                        "old": {
+
                          "oid": "980a0d5f19a64b4b30a87d4206aade58726b60e3",
+
                          "mode": "blob",
+
                        },
                      },
                    ],
                    "moved": [],
@@ -1031,7 +1051,11 @@ mod routes {
                            }
                          ],
                          "eof": "noneMissing",
-
                        }
+
                        },
+
                        "new": {
+
                          "oid": "980a0d5f19a64b4b30a87d4206aade58726b60e3",
+
                          "mode": "blob",
+
                        },
                      }
                    ],
                    "deleted": [],
@@ -1087,20 +1111,24 @@ mod routes {
                  {
                    "path": "README",
                    "diff": {
-
                        "type": "plain",
-
                        "hunks": [
-
                          {
-
                            "header": "@@ -0,0 +1 @@\n",
-
                            "lines": [
-
                              {
-
                                "line": "Hello World!\n",
-
                                "lineNo": 1,
-
                                "type": "addition",
-
                              },
-
                            ],
-
                          },
-
                        ],
-
                        "eof": "noneMissing",
+
                      "type": "plain",
+
                      "hunks": [
+
                        {
+
                          "header": "@@ -0,0 +1 @@\n",
+
                          "lines": [
+
                            {
+
                              "line": "Hello World!\n",
+
                              "lineNo": 1,
+
                              "type": "addition",
+
                            },
+
                          ],
+
                        },
+
                      ],
+
                      "eof": "noneMissing",
+
                    },
+
                    "new": {
+
                      "oid": "980a0d5f19a64b4b30a87d4206aade58726b60e3",
+
                      "mode": "blob",
                    },
                  },
                  {
@@ -1120,27 +1148,35 @@ mod routes {
                        }
                      ],
                      "eof": "noneMissing",
-
                    }
+
                    },
+
                    "new": {
+
                      "oid": "1dd5654ca2d2cf9f33b14c92b5ca9e1d21a91ae1",
+
                      "mode": "blob",
+
                    },
                  }
                ],
                "deleted": [
                  {
                    "path": "CONTRIBUTING",
                    "diff": {
-
                        "type": "plain",
-
                        "hunks": [
-
                          {
-
                            "header": "@@ -1 +0,0 @@\n",
-
                            "lines": [
-
                              {
-
                                "line": "Thank you very much!\n",
-
                                "lineNo": 1,
-
                                "type": "deletion",
-
                              },
-
                            ],
-
                          },
-
                        ],
-
                        "eof": "noneMissing",
+
                      "type": "plain",
+
                      "hunks": [
+
                        {
+
                          "header": "@@ -1 +0,0 @@\n",
+
                          "lines": [
+
                            {
+
                              "line": "Thank you very much!\n",
+
                              "lineNo": 1,
+
                              "type": "deletion",
+
                            },
+
                          ],
+
                        },
+
                      ],
+
                      "eof": "noneMissing",
+
                    },
+
                    "old": {
+
                      "oid": "82eb77880c693655bce074e3dbbd9fa711dc018b",
+
                      "mode": "blob",
                    },
                  },
                ],
@@ -1387,6 +1423,10 @@ mod routes {
                        ],
                        "eof": "noneMissing",
                      },
+
                      "new": {
+
                        "oid": "1dd5654ca2d2cf9f33b14c92b5ca9e1d21a91ae1",
+
                        "mode": "blob",
+
                      },
                    },
                  ],
                  "deleted": [],
modified radicle-remote-helper/Cargo.toml
@@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
thiserror = "1"
-
radicle-git-ext = { version = "0" }
+
radicle-git-ext = { version = "0.5.0" }

[dependencies.radicle]
path = "../radicle"
modified radicle-tui/Cargo.toml
@@ -13,7 +13,7 @@ path = "src/main.rs"
[dependencies]
anyhow = { version = "1" }
lexopt = { version = "0.2" }
-
radicle-surf = { version = "0.11.0" }
+
radicle-surf = { version = "0.12.0" }
timeago = { version = "0.4.1" }
tuirealm = { version = "1.8.0", default-features = false, features = [ "with-termion" ] }
tui-realm-stdlib = { version = "1.2.0", default-features = false, features = [ "with-termion" ] }