From c657893cff60eb96e01208c5e89e4e356326d6bb Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Sat, 2 Nov 2024 05:29:04 +0000 Subject: [PATCH 1/3] Pre-registration PR for new pseudo-stdlib `Compiler` This is a companion PR to JuliaLang/julia#56409. The two PRs will need to be merged somewhat contemporaneously to allow downstream consumers to transition their use of `Core.Compiler` to the `Compiler` pseudo-stdlib without interruption. As described in JuliaLang/julia#56409, the idea here is rather than using the tranditional Julia stdlib mechanism, which does not track exact package contents or versions, the Compiler instead becomes an ordinary Julia package that just happens to live in JuliaLang/julia (for now). Base has a private copy of this package, but users ordinarily aren't supposed to interact with it. Since it is an ordinary package, it will need to be registered in General, rather than relying on the entry it would have otherwise had in the julia distribution's `stdlib` folder. This PR is intended to facilitate that registration. Note that I am opening this PR without any actual tagged versions of `Compiler`. My intention is to tag `0.0.1` upon merging the corresponding julia PR, but the full versioning strategy for `Compiler` has yet to be decided upon. As mentioned, the purpose of this PR is to get pre-agreement on the registration itself to make sure we can merge/tag simultaneously without doing something overly special on the registry side. I do not know if this PR can be merged as is without any versions tagged or if some part of the tooling will be confused by that. If it can, that's probably easiest. If not, I will amend this PR with the appropriate version once the julia PR is merged and expect it to merge manually shortly thereafter. --- C/Compiler/Compat.toml | 0 C/Compiler/Deps.toml | 0 C/Compiler/Package.toml | 4 ++++ C/Compiler/Versions.toml | 0 Registry.toml | 1 + 5 files changed, 5 insertions(+) create mode 100644 C/Compiler/Compat.toml create mode 100644 C/Compiler/Deps.toml create mode 100644 C/Compiler/Package.toml create mode 100644 C/Compiler/Versions.toml diff --git a/C/Compiler/Compat.toml b/C/Compiler/Compat.toml new file mode 100644 index 000000000000000..e69de29bb2d1d64 diff --git a/C/Compiler/Deps.toml b/C/Compiler/Deps.toml new file mode 100644 index 000000000000000..e69de29bb2d1d64 diff --git a/C/Compiler/Package.toml b/C/Compiler/Package.toml new file mode 100644 index 000000000000000..3225c04f8b81292 --- /dev/null +++ b/C/Compiler/Package.toml @@ -0,0 +1,4 @@ +name = "Compiler" +uuid = "807dbc54-b67e-4c79-8afb-eafe4df6f2e1" +repo = "https://github.com/JuliaLang/julia.git" +subdir = "stdlib/Compiler" diff --git a/C/Compiler/Versions.toml b/C/Compiler/Versions.toml new file mode 100644 index 000000000000000..e69de29bb2d1d64 diff --git a/Registry.toml b/Registry.toml index 8dda7b19d10566e..2c85432d03bef6d 100644 --- a/Registry.toml +++ b/Registry.toml @@ -5906,6 +5906,7 @@ some amount of consideration when choosing package names. 80713f31-8817-5129-9cf8-209ff8fb23e1 = { name = "ImageSegmentation", path = "I/ImageSegmentation" } 807425ed-42ea-44d6-a357-6771516d7b2c = { name = "RecurrenceRelationships", path = "R/RecurrenceRelationships" } 807c15e4-954b-4072-b0d2-8db75ef7308a = { name = "EasyML", path = "E/EasyML" } +807dbc54-b67e-4c79-8afb-eafe4df6f2e1 = { name = "Compiler", path = "C/Compiler" } 807e6dab-69e6-5de1-b50c-dbd9513c50df = { name = "SerialDependence", path = "S/SerialDependence" } 8083989d-5216-488c-bbe7-b79abd7e3507 = { name = "PointwiseKDEs", path = "P/PointwiseKDEs" } 80847211-bc6c-46c0-860f-0841d8001362 = { name = "EyeOfRa", path = "E/EyeOfRa" } From f23aeb78d00d1fe26019de0848858b22d6e8986a Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Fri, 8 Nov 2024 03:49:32 +0000 Subject: [PATCH 2/3] Tag merged version as 0.0.1 --- C/Compiler/Package.toml | 2 +- C/Compiler/Versions.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/C/Compiler/Package.toml b/C/Compiler/Package.toml index 3225c04f8b81292..fcf45bc38508ed7 100644 --- a/C/Compiler/Package.toml +++ b/C/Compiler/Package.toml @@ -1,4 +1,4 @@ name = "Compiler" uuid = "807dbc54-b67e-4c79-8afb-eafe4df6f2e1" repo = "https://github.com/JuliaLang/julia.git" -subdir = "stdlib/Compiler" +subdir = "Compiler" diff --git a/C/Compiler/Versions.toml b/C/Compiler/Versions.toml index e69de29bb2d1d64..75223957a7f5aae 100644 --- a/C/Compiler/Versions.toml +++ b/C/Compiler/Versions.toml @@ -0,0 +1,2 @@ +[0.0.1] +git-tree-sha1 = "e65451228ef54619e15febc137138f2ff030eac3" From ed6326dd982d462d7ad706e06fad05e214045f86 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Fri, 8 Nov 2024 03:54:09 +0000 Subject: [PATCH 3/3] Correct syntax --- C/Compiler/Versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/Compiler/Versions.toml b/C/Compiler/Versions.toml index 75223957a7f5aae..4279da46786dad8 100644 --- a/C/Compiler/Versions.toml +++ b/C/Compiler/Versions.toml @@ -1,2 +1,2 @@ -[0.0.1] +["0.0.1"] git-tree-sha1 = "e65451228ef54619e15febc137138f2ff030eac3"