Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Update `radicle-surf` and `git-ref-format`
Alexis Sellier committed 2 years ago
commit e41739187a29ceec64cdd6a96c9fb81f714c82e3
parent ac8112a9a00bb485fc3318ff9a2eaff95782baaa
2 files changed +84 -4
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.12.0", default-features = false, features = ["serde"] }
+
radicle-surf = { version = "0.14.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
@@ -879,6 +879,14 @@ mod routes {
                                  "type": "addition",
                                },
                              ],
+
                              "old":  {
+
                                "start": 0,
+
                                "end": 0,
+
                              },
+
                              "new": {
+
                                "start": 1,
+
                                "end": 2,
+
                              },
                            },
                          ],
                          "eof": "noneMissing",
@@ -901,7 +909,15 @@ mod routes {
                                  "lineNo": 1,
                                  "type": "addition"
                                }
-
                              ]
+
                              ],
+
                              "old":  {
+
                                "start": 0,
+
                                "end": 0,
+
                              },
+
                              "new": {
+
                                "start": 1,
+
                                "end": 2,
+
                              },
                            }
                          ],
                          "eof": "noneMissing",
@@ -927,6 +943,14 @@ mod routes {
                                  "type": "deletion",
                                },
                              ],
+
                              "old":  {
+
                                "start": 1,
+
                                "end": 2,
+
                              },
+
                              "new": {
+
                                "start": 0,
+
                                "end": 0,
+
                              },
                            },
                          ],
                          "eof": "noneMissing",
@@ -981,6 +1005,14 @@ mod routes {
                                  "type": "addition",
                                },
                              ],
+
                              "old":  {
+
                                "start": 0,
+
                                "end": 0,
+
                              },
+
                              "new": {
+
                                "start": 1,
+
                                "end": 2,
+
                              },
                            },
                          ],
                          "eof": "noneMissing",
@@ -1006,6 +1038,14 @@ mod routes {
                                  "type": "deletion",
                                },
                              ],
+
                              "old":  {
+
                                "start": 1,
+
                                "end": 2,
+
                              },
+
                              "new": {
+
                                "start": 0,
+
                                "end": 0,
+
                              },
                            },
                          ],
                          "eof": "noneMissing",
@@ -1059,7 +1099,15 @@ mod routes {
                                  "lineNo": 1,
                                  "type": "addition"
                                }
-
                              ]
+
                              ],
+
                              "old":  {
+
                                "start": 0,
+
                                "end": 0,
+
                              },
+
                              "new": {
+
                                "start": 1,
+
                                "end": 2,
+
                              },
                            }
                          ],
                          "eof": "noneMissing",
@@ -1134,6 +1182,14 @@ mod routes {
                              "type": "addition",
                            },
                          ],
+
                          "old":  {
+
                            "start": 0,
+
                            "end": 0,
+
                          },
+
                          "new": {
+
                            "start": 1,
+
                            "end": 2,
+
                          },
                        },
                      ],
                      "eof": "noneMissing",
@@ -1156,7 +1212,15 @@ mod routes {
                              "lineNo": 1,
                              "type": "addition"
                            }
-
                          ]
+
                          ],
+
                          "old":  {
+
                            "start": 0,
+
                            "end": 0,
+
                          },
+
                          "new": {
+
                            "start": 1,
+
                            "end": 2,
+
                          },
                        }
                      ],
                      "eof": "noneMissing",
@@ -1182,6 +1246,14 @@ mod routes {
                              "type": "deletion",
                            },
                          ],
+
                          "old":  {
+
                            "start": 1,
+
                            "end": 2,
+
                          },
+
                          "new": {
+
                            "start": 0,
+
                            "end": 0,
+
                          },
                        },
                      ],
                      "eof": "noneMissing",
@@ -1431,6 +1503,14 @@ mod routes {
                                "type": "addition",
                              },
                            ],
+
                            "old":  {
+
                              "start": 0,
+
                              "end": 0,
+
                            },
+
                            "new": {
+
                              "start": 1,
+
                              "end": 2,
+
                            },
                          },
                        ],
                        "eof": "noneMissing",