Skip to content

Rename package: DBN → DatabentoBinaryEncoding#19

Merged
tbeason merged 2 commits into
mainfrom
chore/rename-to-DatabentoBinaryEncoding
May 19, 2026
Merged

Rename package: DBN → DatabentoBinaryEncoding#19
tbeason merged 2 commits into
mainfrom
chore/rename-to-DatabentoBinaryEncoding

Conversation

@tbeason

@tbeason tbeason commented May 19, 2026

Copy link
Copy Markdown
Owner

Summary

Julia Triage rejected the General Registry submission of DBN against three naming guidelines (all-caps, <5 chars, Damerau-Levenshtein distance ≤ 2 from DSP / BDF / JDBC / RBNF / DINA / MDBM). Rename to clear all three.

Repo + folder were already renamed. This PR completes the inside-the-package work:

  • src/DBN.jlsrc/DatabentoBinaryEncoding.jl
  • module DBNmodule DatabentoBinaryEncoding
  • Project.toml: name = "DBN""DatabentoBinaryEncoding" (UUID unchanged)
  • docs/make.jl: sitename, canonical URL, modules, repo all updated
  • README + docs/src/*.md prose updated
  • benchmark/*: prose + env-check error message updated

Test/benchmark .jl files use the alias pattern (import DatabentoBinaryEncoding as DBN) so ~300 existing DBN.foo references stay unchanged.

Test plan

  • Local smoke: module loads under new name; DBN alias resolves
  • julia --project=. test/runtests.jl: 3502 pass / 1 error (unchanged from pre-rename; that 1 error is the pre-existing BenchmarkTools-not-in-[deps] issue that only surfaces when bypassing Pkg.test())
  • CI matrix via julia-actions/julia-runtest (uses Pkg.test())

Follow-ups (out of this PR)

🤖 Generated with Claude Code

Julia Triage rejected the General Registry submission of "DBN" against
three naming guidelines (all-caps, <5 chars, Damerau-Levenshtein distance
≤2 from DSP/BDF/JDBC/etc.). Rename to clear all three:

  - GitHub repo: DBN.jl → DatabentoBinaryEncoding.jl (already done)
  - src/DBN.jl → src/DatabentoBinaryEncoding.jl (file rename)
  - `module DBN` → `module DatabentoBinaryEncoding`
  - Project.toml: name = "DBN" → "DatabentoBinaryEncoding"
    (UUID unchanged, so downstream `[deps]` entries don't need re-mapping)
  - docs/make.jl: sitename, canonical URL, modules, repo all updated
  - README + docs/src/*.md prose: package-name references updated
  - benchmark/*: prose + the env-check error message updated

Test/benchmark .jl files all use the alias pattern:

  using DatabentoBinaryEncoding
  import DatabentoBinaryEncoding as DBN

This keeps all ~300 existing `DBN.foo` references unchanged — idiomatic
Julia for verbose package names (cf. `LinearAlgebra as LA`).

Local Julia 1.13 beta has a borked LibCURL that prevents Pkg.test(), but
direct `julia --project=. test/runtests.jl` shows 3502 pass / 1 error
(unchanged from pre-rename; the one error is the pre-existing
BenchmarkTools-not-in-[deps] issue that only surfaces when bypassing
Pkg.test()). CI uses Pkg.test() and should be all green.

After this merges, retrigger registration via @JuliaRegistrator register
and comment on JuliaRegistries/General#155767 with the link to the new
registry PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@JuliaRegistrator

Copy link
Copy Markdown

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

CI's docs/deploy build failed with "Refusing to add package
DatabentoBinaryEncoding [...]. Package DBN=... with the same UUID
already exists as a direct dependency." — caught by the rename PR
because docs/Project.toml still declared the dep under the old name
while the renamed package now reports as DatabentoBinaryeEncoding.

UUID unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ff6cea3e2b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/make.jl
@@ -1,14 +1,14 @@
using Documenter
using DBN
using DatabentoBinaryEncoding

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the docs environment dependency name

This import was renamed, but docs/Project.toml still declares the package as DBN = "90689371-c8cb-40d1-831f-18033db90f74". When the docs are built with the committed docs environment (the workflow uses julia --project=docs docs/make.jl), the active project does not have a DatabentoBinaryEncoding root dependency unless a prior command mutates docs/Project.toml, so local/CI docs builds can fail with the package not found. Please rename the docs dependency entry to DatabentoBinaryEncoding as part of this package rename.

Useful? React with 👍 / 👎.

@tbeason
tbeason merged commit 7b3f0d1 into main May 19, 2026
8 checks passed
@tbeason
tbeason deleted the chore/rename-to-DatabentoBinaryEncoding branch May 19, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants