Conversation
Convert all .erl files in src/ and src/ext/ to .ex files in lib/bpe/,
delete the original Erlang sources, and update mix.exs, config, and
test infrastructure to work with the pure-Elixir codebase.
Key changes:
- lib/BPE.ex: expanded with all record definitions and API functions
- lib/bpe/: new modules for otp, proc, task, gateways, event, env,
xml, metainfo, account, boundary, ping, n2o
- test/bpe_test.exs: proper ExUnit test file (3 tests, all passing)
- test/test_helper.exs: reduced to setup only
- lib/test/*.ex: updated to use BPE.* API and ~c"" charlist sigils
- config/config.exs: fixed charlist deprecation warnings
- mix.exs: updated deps, mod: {BPE.OTP, []}, removed src from files
Notable fixes during migration:
- Elixir catch clauses take 2 args, not 3 (no stacktrace capture)
- Record macro names conflict with same-named functions; renamed
hist->proc_hist, step->find_step, sched->proc_sched
- XML find/2 unified to avoid wrong clause triggering on whitespace nodes
- get_inserted/4 must receive actual target_task, not nil
- compare conditions use 1-based field index; adjusted for elem/2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
RocksDB requires cmake, build-essential, and libsnappy-dev to compile from source on Ubuntu. Also update OTP (24→27) and Elixir (1.13→1.18), use actions/checkout@v4, and add a test step. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.