Skip to content

Commit 1b1ba5a

Browse files
Rename package ObjectStore -> RustyObjectStore (#18)
To avoid name clash with already registered Julia packages.
1 parent 9428f2d commit 1b1ba5a

File tree

8 files changed

+12
-13
lines changed

8 files changed

+12
-13
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "ObjectStore"
1+
name = "RustyObjectStore"
22
uuid = "1b5eed3d-1f46-4baa-87f3-a4a892b23610"
33
version = "0.1.0"
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# ObjectStore.jl2
1+
# RustyObjectStore.jl

src/ObjectStore.jl renamed to src/RustyObjectStore.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module ObjectStore
1+
module RustyObjectStore
22

33
export init_object_store, blob_get!, blob_put, AzureCredentials, ObjectStoreConfig
44

test/azure_blobs_exception_tests.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
@testitem "Basic BlobStorage exceptions" setup=[InitializeObjectStore] begin
22
using CloudBase.CloudTest: Azurite
33
import CloudBase
4-
using ObjectStore: blob_get!, blob_put, AzureCredentials
5-
import ObjectStore
4+
using RustyObjectStore: RustyObjectStore, blob_get!, blob_put, AzureCredentials
65

76
# For interactive testing, use Azurite.run() instead of Azurite.with()
87
# conf, p = Azurite.run(; debug=true, public=false); atexit(() -> kill(p))
@@ -147,7 +146,7 @@
147146

148147
@testset "multiple start" begin
149148
config = ObjectStoreConfig(5, 5)
150-
res = @ccall ObjectStore.rust_lib.start(config::ObjectStoreConfig)::Cint
149+
res = @ccall RustyObjectStore.rust_lib.start(config::ObjectStoreConfig)::Cint
151150
@test res == 1 # Rust CResult::Error
152151
end
153152
end # @testitem
@@ -164,7 +163,7 @@ end # @testitem
164163
@testitem "BlobStorage retries" setup=[InitializeObjectStore] begin
165164
using CloudBase.CloudTest: Azurite
166165
import CloudBase
167-
using ObjectStore: blob_get!, blob_put, AzureCredentials
166+
using RustyObjectStore: blob_get!, blob_put, AzureCredentials
168167
import HTTP
169168
import Sockets
170169

test/azure_blobs_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@testitem "Basic BlobStorage usage" setup=[InitializeObjectStore] begin
22
using CloudBase.CloudTest: Azurite
3-
using ObjectStore: blob_get!, blob_put, AzureCredentials
3+
using RustyObjectStore: blob_get!, blob_put, AzureCredentials
44

55
# For interactive testing, use Azurite.run() instead of Azurite.with()
66
# conf, p = Azurite.run(; debug=true, public=false); atexit(() -> kill(p))
@@ -105,7 +105,7 @@ end # @testitem
105105
# TODO: implement a way for GET to be called without credentials
106106
@test_skip begin
107107
using CloudBase.CloudTest: Azurite
108-
using ObjectStore: blob_get!, blob_put, AzureCredentials
108+
using RustyObjectStore: blob_get!, blob_put, AzureCredentials
109109

110110
# For interactive testing, use Azurite.run() instead of Azurite.with()
111111
# conf, p = Azurite.run(; debug=true, public=true); atexit(() -> kill(p))

test/common_testsetup.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@testsetup module InitializeObjectStore
2-
using ObjectStore
2+
using RustyObjectStore
33
# Since we currently only support centralized configs, we need to have one that is compatible
44
# with all the tests (some of the tests would take too long if we use default values).
55
max_retries = 2

test/release_test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# for development reasons, but it should never be set in CI.
44
@testitem "Using object_store_ffi_jll" begin
55
using object_store_ffi_jll
6-
@test ObjectStore.rust_lib == object_store_ffi_jll.libobject_store_ffi
6+
@test RustyObjectStore.rust_lib == object_store_ffi_jll.libobject_store_ffi
77
end

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using ReTestItems
2-
using ObjectStore
2+
using RustyObjectStore
33

44
withenv("RUST_BACKTRACE"=>1) do
5-
runtests(ObjectStore, testitem_timeout=180, nworkers=1)
5+
runtests(RustyObjectStore; testitem_timeout=180, nworkers=1)
66
end

0 commit comments

Comments
 (0)