{"id":15056412,"url":"https://github.com/soranoba/erlup","last_synced_at":"2025-04-10T04:10:30.400Z","repository":{"id":51287367,"uuid":"56517010","full_name":"soranoba/erlup","owner":"soranoba","description":"Upgrade tools for Erlang/OTP. Contains rebar3 plugin and escript.","archived":false,"fork":false,"pushed_at":"2021-05-17T17:08:05.000Z","size":4087,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T02:56:38.198Z","etag":null,"topics":["erlang","rebar3-plugin","release-helper"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soranoba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["soranoba"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://paypal.me/soranoba"]}},"created_at":"2016-04-18T14:56:15.000Z","updated_at":"2021-12-01T14:14:01.000Z","dependencies_parsed_at":"2022-09-26T20:52:56.291Z","dependency_job_id":null,"html_url":"https://github.com/soranoba/erlup","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soranoba%2Ferlup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soranoba%2Ferlup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soranoba%2Ferlup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soranoba%2Ferlup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soranoba","download_url":"https://codeload.github.com/soranoba/erlup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154986,"owners_count":21056543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["erlang","rebar3-plugin","release-helper"],"created_at":"2024-09-24T21:51:00.874Z","updated_at":"2025-04-10T04:10:30.376Z","avatar_url":"https://github.com/soranoba.png","language":"Erlang","funding_links":["https://github.com/sponsors/soranoba","https://paypal.me/soranoba"],"categories":[],"sub_categories":[],"readme":"erlup\n========\n[![CircleCI](https://circleci.com/gh/soranoba/erlup/tree/master.svg?style=svg)](https://circleci.com/gh/soranoba/erlup/tree/master)\n[![hex.pm version](https://img.shields.io/hexpm/v/erlup.svg)](https://hex.pm/packages/erlup)\n\nUpgrade tools for Erlang/OTP. Contains rebar3 plugin and escript.\n\n## Overview\nIt is a tool to support the upgrade and downgrade of OTP application.\n\n1. Automatic generation of the appup files. [See also](doc/appup.md).\n2. Automatic generation of the relup file. [See also](doc/relup.md).\n3. Create a rel file in the tar file for the upgrade / downgrade. [See also](doc/tarup.md)\n4. Display the release vsn. [See also](doc/vsn.md).\n\nSome of the library already exists, but they has many defects.\nFor example, supporting downgrade and create the more safety appup.\nIf you want to know in detail, please refer to the [documentation](doc) of each command.\n\n## Usage\n\n### Using rebar3\n\n```erlang\n%% rebar.config\n{plugins, [erlup]}.\n```\n\n```bash\n$ git checkout v0.0.1\n$ rebar3 release        # make a previous version package\n\n$ git checkout v0.0.2\n$ rebar3 release        # make a current version package\n\n$ rebar3 erlup appup    # generate the appup files (v0.0.1 -\u003e v0.0.2)\n$ rebar3 erlup relup    # generate the relup file  (v0.0.1 -\u003e v0.0.2)\n```\n\n### Using escript\n\n```bash\n$ git clone https://github.com/soranoba/erlup\n$ cd erlup\n$ make escriptize\n```\n\n```bash\n$ ls /usr/local/myapp/releases         # previous versions\n0.0.1 0.0.2 RELEASES  start_erl.data\n$ ls /tmp/myapp/releases               # a new version\n0.0.3 RELEASES start_erl.data\n\n$ erlup appup -p 0.0.1 -c 0.0.2 -d /tmp/myapp -d /usr/local/myapp\n$ erlup relup -c 0.0.2 -d /tmp/myapp -d /usr/local/myapp\n```\n\n### More information\n\n[Documents](doc)\n\n## Configure file\n\nIf you use the rebar3.\n```\n%% rebar.config\n{erlup,\n [\n  {appup, [{extra, {[], []}}]},\n  {relup, []}\n ]}.\n```\n\nIf you use the escript.\n```\n%% erlup.config\n{appup, [{extra, {[], []}}]}.\n{relup, []}.\n```\nThe escript can read in the form of a rebar3.config.\n\n## Contribute\n\nPull request is welcome =D\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoranoba%2Ferlup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoranoba%2Ferlup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoranoba%2Ferlup/lists"}