diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5a019dd9fe2916881ed44135eaa7278939629091..774a5cab990e0e856a0a7edfa7ecc9870a288702 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,4 @@ -This project is tracked on our hosted gitlab server at: https://git.duniter.org/nodes/typescript/duniter/gitlab +This project is tracked on our hosted gitlab server at: https://git.duniter.org/nodes/rust/duniter-v2s The current github repository is a simple clone taken up to date at each push on the main gitlab repository. diff --git a/.vscode/settings.json b/.vscode/settings.json index bde30ef40d45b8be59935e0449ee265b37362950..fe6423f76596356afb666dc1d8854390a0a61f94 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,15 +1,11 @@ { "editor.formatOnSave": true, - "editor.rulers": [100], - "[typescript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, + "editor.rulers": [ + 100 + ], "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "[javascript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, @@ -19,4 +15,4 @@ "port_rpc": 19932, "port_ws": 19933 } -} +} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3c3134ec21e375c4483a9c2cf8bce5f6065b6b53..7f2fc29bbb7e340cac366e9902cb07b5ddf9dd7c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,9 @@ Please read [Developer documentation] before contribute. 2. Ensure that you respect the [commit naming conventions]. -3. Ensure that all automated tests pass with the `npm test` command. +3. Ensure that all automated tests pass with the `cargo test` command. + +3. Ensure that the code is well formated `cargo fmt` and comply with the good practices `cargo clippy`. If you have been working on tests, check everything with `cargo clippy --all --tests`. 4. Update the documentation with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters. diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 86498acee01d49d40da1c933aeb44610599ba939..cb1e389cb49bd5f35b77855623575f05bc708e31 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -4,7 +4,7 @@ description = "Duniter-v2s xtask" edition = "2018" license = "AGPL-3.0" name = "xtask" -repository = "https://git.duniter.org/nodes/typescript/duniter" +repository = "https://git.duniter.org/nodes/rust/duniter-v2s" version = "0.1.0" [[bin]]