{"id":18362345,"url":"https://github.com/srenatus/refactorerl-docker","last_synced_at":"2025-04-10T05:56:41.936Z","repository":{"id":152434121,"uuid":"94297878","full_name":"srenatus/refactorerl-docker","owner":"srenatus","description":"pre-shaved yak docker image for using refactorerl","archived":false,"fork":false,"pushed_at":"2017-06-14T07:00:54.000Z","size":1,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T19:26:16.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srenatus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-14T06:35:03.000Z","updated_at":"2024-01-10T09:58:34.000Z","dependencies_parsed_at":"2024-04-22T05:12:22.461Z","dependency_job_id":null,"html_url":"https://github.com/srenatus/refactorerl-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srenatus%2Frefactorerl-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srenatus%2Frefactorerl-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srenatus%2Frefactorerl-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srenatus%2Frefactorerl-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srenatus","download_url":"https://codeload.github.com/srenatus/refactorerl-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166937,"owners_count":21058480,"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":[],"created_at":"2024-11-05T22:40:31.360Z","updated_at":"2025-04-10T05:56:41.907Z","avatar_url":"https://github.com/srenatus.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RefactorErl docker container\n\nThis container is meant to provide a ready-to-go RefactorErl instance, including the right yaws version.\n\nFor more information about RefactorErl, please see [its wiki](http://pnyf.inf.elte.hu/trac/refactorerl/wiki).\n\n## Build\n\n    $ git clone https://github.com/srenatus/refactorerl-docker\n    $ cd refactorerl-docker\n    $ docker build -t referl .\n\n## Use\n\nTo add _your code_ for RefactorErl's inspection capalibilies by adding a `referl_repo.erl` like this:\n\n    \n```erlang\n-module(referl_repo).\n\n-export([start/0, load/0]).\n\nstart() -\u003e\n    rpc:call(refactorerl@localhost, referl_repo, load, []).\n\nload() -\u003e\n    ri:reset(),\n\n    [ ri:add(\"/code/apps\", App) || App \u003c- [app1, app2] ].\n```\n\nThis file will be compiled and `referl_repo:start/0` is run when the container is started:\n\n    $ docker run -v /path/to/repo/:/code -p 8001:8001 -it referl\n\nThe web UI can be accessed via http://localhost:8001.\n\nNote that further RefactorErl calls can happen in `load/0`, for example executing semantic queries via\n\n```erlang\nri:q(\"mods.funs[loc \u003e 0].mccabe, [{out, \"/code/mccabe.out\"}])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrenatus%2Frefactorerl-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrenatus%2Frefactorerl-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrenatus%2Frefactorerl-docker/lists"}