{"id":15470771,"url":"https://github.com/comtihon/enot_auto_builder","last_synced_at":"2026-01-06T08:56:23.796Z","repository":{"id":48487936,"uuid":"103055994","full_name":"comtihon/enot_auto_builder","owner":"comtihon","description":"Replacemet for octocoon build service","archived":false,"fork":false,"pushed_at":"2021-07-23T04:23:16.000Z","size":713,"stargazers_count":0,"open_issues_count":11,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T13:17:07.697Z","etag":null,"topics":["build-tool","deployment","erlang"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/comtihon.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-10T19:30:53.000Z","updated_at":"2018-02-13T20:25:52.000Z","dependencies_parsed_at":"2022-09-03T21:13:05.469Z","dependency_job_id":null,"html_url":"https://github.com/comtihon/enot_auto_builder","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/comtihon%2Fenot_auto_builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comtihon%2Fenot_auto_builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comtihon%2Fenot_auto_builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comtihon%2Fenot_auto_builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/comtihon","download_url":"https://codeload.github.com/comtihon/enot_auto_builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246034276,"owners_count":20712851,"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":["build-tool","deployment","erlang"],"created_at":"2024-10-02T02:06:43.614Z","updated_at":"2026-01-06T08:56:23.769Z","avatar_url":"https://github.com/comtihon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enot build and load server [![Build Status](https://travis-ci.org/comtihon/enot_auto_builder.svg?branch=master)](https://travis-ci.org/comtihon/enot_auto_builder)[![Docker Automated build](https://img.shields.io/docker/build/comtihon/enot_auto_builder.svg)](https://hub.docker.com/r/comtihon/enot_auto_builder)  \nBuild once, use everywhere.\nAutomated service for building, storing and deploying Erlang packages with [Enot](https://github.com/comtihon/enot).  \nCan be treat as a maven/pip for Erlang. \n\n# Adding your package to Enot\nRead [howto](https://github.com/comtihon/enot_auto_builder/blob/master/docs/Add.md).\n\n# Running your own Enot build server\n## Standalone\nRequirements:\n- postgres\n- EMAIL_USER env var set up\n- EMAIL_PASSWORD env var set up\n- GIT_SECRET is Enot's git application secret\n- kerl installed\n- enot installed\n\n## Monitoring\nMonitoring is made via [collectd](https://collectd.org/) and `/metrics` endpoint. \n\n## Docker\nYou can run all services with docker-compose. See `docker-compose.yml` for details.\n\n# Protocol\n## Build\nPOST __/buildAsync__ - build request\nBODY:\n\n    {\n        \"full_name\": \u003cfullName\u003e,\n        \"clone_url\": \u003ccloneUrl\u003e,\n        \"versions\": \n        [\n            {\n                \"ref\": \u003cref\u003e,\n                \"erl_version\": \u003cerlVersion\u003e\n            }\n        ]\n    }\nWhere:  \n`fullName` is a fullname of a repository, containing namespace and repo name. Ex. \"comtihon/enot\"  \n`cloneUrl` is a url for repository clone.  \n`ref` is a version to be built. Ex: \"1.0.0\".  \n`erl_version` _(optional)_ is an Erlang version used for build. Ex: \"19\".    \n\nPOST __/rebuild__ - request a specific build to be rebuilt  \nBODY:\n\n    {\n        \"build_id\" : \u003cbuildId\u003e\n    }\nWhere:\n`buildId` is an id of a build for rebuild\n\nPOST __/callback__ - build request from Github.  \nHeader: `x-hub-signature` with request signature.  \nBODY:\n\n    {\n        \"repository\": \n        {\n            \"full_name\": \u003cfullName\u003e\n            \"clone_url\": \u003ccloneUrl\u003e\n        },\n        \"ref\": \u003cref\u003e,\n        \"ref_type\": \u003crefType\u003e\n    }\nWhere:  \n`refType` is a type of reference. Only `tag` is supported.\n## Search\nGET __/search__ - search for packages.  \nPARAMETERS:  \n`name` - package name  \n`namespace` - package's namespace (GitHub fork name)  \n`version` - package's version  \n`erl_version` - Erlang version  \nRESPONSE:  \n\n    {\n        \"result\" : \u003cresult\u003e,\n        \"response\" : \n        [\n            {\n                \"build_id\" : \u003cbuild_id\u003e,\n                \"namespace\" : \u003cnamespace\u003e,\n                \"name\" : \u003cname\u003e,\n                \"success\" : \u003csuccess\u003e,\n                \"path\" : \u003cpath\u003e,\n                \"build_date\" : \u003cdate\u003e,\n                \"version\" : \u003cversion\u003e,\n                \"erl_version\" : \u003cerl_version\u003e\n             }\n             ...\n        ]\n    }\n\nPOST __/builds__ - get a list of builds, available for download. Skip errored builds.    \nBODY:\n\n    {\n        \"full_name\": \u003cfullName\u003e,\n        \"versions\": \n        [\n            {\n                \"ref\": \u003cref\u003e,\n                \"erl_version\": \u003cerlVersion\u003e\n            }\n        ]\n    }\nWhere:  \n`ref` and `erlVersion` and `versions` are optional.  \nRESPONSE:\n\n    {\n        \"result\": \u003cboolean_result\u003e,\n        \"response\":\n        [\n            {\"build_id\" : \u003cId\u003e, \"result\" : true, \"message\" : \"\", \"artifact_path\" : \u003cPath\u003e, \"created_date\" : \u003cDate\u003e}\n            ...\n        ]\n    }\nWhere:  \n`response` will be just string error message in case of `result` is not __true__.  \n\nPOST __/versions__ - get a list of versions, available for download. Skip versions without successful builds.  \nBODY: same as `/builds`  \nRESPONSE:\n\n    {\n        \"result\": \u003cboolean_result\u003e,\n        \"response\":\n        [\n            {\"versionId\" : \u003cId\u003e, \"ref\" : \u003cref\u003e, \"erl_version\" : \u003cErl\u003e}\n            ...\n        ]\n    }\n\nGET __/last_builds__ - get last n built packages.\nPARAMETERS:\n`n` - N packages to return\nRESPONSE:\n\n    {\n        \"result\" : \u003cresult\u003e,\n        \"response\" :\n        [\n            {\n                \"build_id\" : \u003cbuild_id\u003e,\n                \"namespace\" : \u003cnamespace\u003e,\n                \"name\" : \u003cname\u003e,\n                \"success\" : \u003csuccess\u003e,\n                \"path\" : \u003cpath\u003e,\n                \"build_date\" : \u003cdate\u003e,\n                \"version\" : \u003cversion\u003e,\n                \"erl_version\" : \u003cerl_version\u003e\n             }\n             ...\n        ]\n    }\n## Download\n\nGET __/download/{id}__ - download artifact by id.  \n\nGET __/download_erts/{version}__ - download erts for erlang version. `version` - is an Erlang version, not erts!  \n\nPOST __/get__ - try to download artifact by name, ref and version. If there is multiple - the last built\nwill be fetched.    \nBODY:\n\n\n    {\n        \"full_name\": \u003cfullName\u003e,\n        \"versions\": \n        [\n            {\n                \"ref\": \u003cref\u003e,\n                \"erl_version\": \u003cerlVersion\u003e\n            }\n        ]\n    }\n    \nGET __/build_log/__ - get build's log.  \nPARAMETERS:  \n`build_id` - id of a build.  \nRESPONSE:\n\n    raw txt log\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomtihon%2Fenot_auto_builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomtihon%2Fenot_auto_builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomtihon%2Fenot_auto_builder/lists"}