Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ the code as free software.
The text accepted by signing the commit, is the widely adopted DCO, maintained
by the Linux Foundation, the full text of which is reproduced below.

```plain
```text
Developer Certificate of Origin
Version 1.1

Expand Down
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ Rules to follow:
Rules for markdown (Rust doc comments, `.md` files):

- always include a language specifier in fenced code blocks,
use `plain` if no language is appropriate:
use `text` if no language is appropriate:

````md
```plain
```text
```
````

Expand Down
2 changes: 1 addition & 1 deletion bindings/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ allow native modules as described in [JEP
472](https://openjdk.org/jeps/472#Description). Currently, the warning looks as
follows:

```plain
```text
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sensmetry.sysand.NativeLoader in an unnamed module (file:.../sysand-0.0.4-SNAPSHOT.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
Expand Down
3 changes: 3 additions & 0 deletions bindings/java/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use jni::{
objects::{JClass, JObject, JObjectArray, JString},
};
use sysand_core::{
auth::Unauthenticated,
build::KParBuildError,
commands,
env::local_directory::{self, LocalWriteError},
Expand Down Expand Up @@ -226,6 +227,8 @@ pub extern "system" fn Java_com_sensmetry_sysand_Sysand_info<'local>(
Some(client),
index_base_url.map(|x| vec![x]),
runtime,
// FIXME: Add Java support for authentication
Arc::new(Unauthenticated {}),
);

let results = match commands::info::do_info(&uri, &combined_resolver) {
Expand Down
9 changes: 1 addition & 8 deletions bindings/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions bindings/py/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use pyo3::{
use semver::{Version, VersionReq};
use sysand_core::{
add::do_add,
auth::Unauthenticated,
build::{KParBuildError, do_build_kpar},
commands::{
env::{EnvError, do_env_local_dir},
Expand Down Expand Up @@ -156,6 +157,8 @@ fn do_info_py(
Some(client),
index_url,
runtime,
// FIXME: Add Python support for authentication
Arc::new(Unauthenticated {}),
);

match do_info(&uri, &combined_resolver) {
Expand Down
1 change: 1 addition & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ futures = { version = "0.3.31", default-features = false, features = ["alloc", "
tokio = { version = "1.48.0", default-features = false, features = ["rt", "io-util"] }
bytes = { version = "1.11.0", default-features = false }
toml_edit = { version = "0.23.9", features = ["serde"] }
globset = { version = "0.4.18", default-features = false }

# Use native TLS only on Windows and Apple OSs
[target.'cfg(any(target_os = "windows", target_vendor = "apple"))'.dependencies]
Expand Down
6 changes: 3 additions & 3 deletions core/scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ PACKAGE_DIR=$(dirname "$SCRIPT_DIR")

cd "$PACKAGE_DIR"

cargo test --features filesystem,networking,alltests
cargo test --features js
cargo test --features python
cargo test --features filesystem,networking,alltests $@
cargo test --features js $@
cargo test --features python $@
Loading
Loading