From 30d5e80a31316796e9d6ad399d49d45c33f6d192 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Sun, 20 Jul 2025 10:41:16 +1200 Subject: [PATCH 1/2] rm unrelated code comment --- src/GenericRegistry.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/GenericRegistry.jl b/src/GenericRegistry.jl index 2f86996..7f0a0cd 100644 --- a/src/GenericRegistry.jl +++ b/src/GenericRegistry.jl @@ -1,4 +1,3 @@ -# using ArgParse """ GenericRegistry From f8d574366aca2119cc7de55754870de09950e78f Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Sun, 20 Jul 2025 11:01:01 +1200 Subject: [PATCH 2/2] fix typos --- src/GenericRegistry.jl | 4 ++-- test/methods.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GenericRegistry.jl b/src/GenericRegistry.jl index 7f0a0cd..f054ad4 100644 --- a/src/GenericRegistry.jl +++ b/src/GenericRegistry.jl @@ -2,7 +2,7 @@ GenericRegistry Module providing basic tools to manage a *package registry*, by which is meant a package -environment, together with "package metata", in the form of a dictionary of TOML-parsable +environment, together with "package metadata", in the form of a dictionary of TOML-parsable values, keyed on the environment's package dependencies, which is stored in a TOML file. (This file is called Metadata.toml and is located in the same folder as environment Project.toml file.) Not to be confused with a package registry in the sense of the @@ -191,7 +191,7 @@ close(future) = rmprocs(future.where) """ GenericRegistry.put(pkg, value, environment) -In the metata dictionary associated with specified package environment, assign `value` to +In the metadata dictionary associated with specified package environment, assign `value` to the key `pkg`. """ diff --git a/test/methods.jl b/test/methods.jl index f46e687..77c42b0 100644 --- a/test/methods.jl +++ b/test/methods.jl @@ -20,7 +20,7 @@ N = nworkers() @test keys(dic) == Set(["Model1"]) end -# build a dummmy registry: +# build a dummy registry: registry = joinpath(tempdir(), randstring(20)) mkpath(registry) project_string =