A minimal, single-app Erlang/OTP release used to exercise and test rebar3_jellyfish_plugin across releases.
Same functionality as medusa, but as one plain OTP application instead of an umbrella - a counterpart to test the plugin's single-app path (and, since the release name here is also the one application's name, rebar3_appup_plugin's single-app assumption too, if that's ever wanted).
A gen_server holding a single integer counter in its state (myerlangapp_server), plus (as of 0.2.0) a sibling gen_server tracking how many times it's been bumped, and a dependency-free HTTP listener (plain gen_tcp, no framework) serving a page at / showing both counters, with /bump to increment them.
rebar3 release
_build/default/rel/myerlangapp/bin/myerlangapp consoleThen open http://127.0.0.1:8080/.
rebar3_jellyfish_plugin is pulled from Hex in rebar.config. A relup-guard-erlang CI check (.github/workflows/relup-guard.yml) builds the base and head of every PR and runs a real hot upgrade between them.
0.1.0- initial release.0.2.0- addsmyerlangapp_history_server, a new supervised child tracking bump counts, and wiresmyerlangapp_serverto notify it on every bump. This exercisesadd_moduleand a supervisor-spec update rather than acode_change-based state migration:myerlangapp_serverdoesn't exportcode_change/3in 0.1.0, so an upgrade from that version would never invoke one anyway, no matter what 0.2.0 adds - the instruction an upgrade uses is chosen from the currently-deployed version's own exports.0.2.1- addscode_change/3tomyerlangapp_serveras a no-op pass-through. The 0.2.0 -> 0.2.1 appup is still a plainload_modulefor that module, since the plugin decides the instruction from the currently-deployed version's exports, not the incoming one. This version is a baseline: once it is what is running, a later release that changesmyerlangapp_server's state shape can get a realcode_changeinstruction generated against it.0.2.2-code_change/3now prints a message instead of being a no-op. Upgrading from 0.2.1 onward, the appup is a real{update, myerlangapp_server, {advanced, []}}, so this is the first version where that print actually runs during a hot upgrade rather than just being generated and skipped.0.2.3- Default PORT is now configurable by env VAR and fixed config file.