https://github.com/barrel-platform/barrel_httpc
[READ ONLY] - Barrel HTTP client for Erlang applications
https://github.com/barrel-platform/barrel_httpc
Last synced: 19 days ago
JSON representation
[READ ONLY] - Barrel HTTP client for Erlang applications
- Host: GitHub
- URL: https://github.com/barrel-platform/barrel_httpc
- Owner: barrel-platform
- License: other
- Created: 2017-03-16T20:07:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-24T14:05:31.000Z (almost 9 years ago)
- Last Synced: 2026-05-06T00:39:23.320Z (about 1 month ago)
- Language: Erlang
- Homepage: https://gitlab.com/barrel-db/barrel-platform
- Size: 10.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# barrel_httpc
Barrel HTTP client for Erlang applications
## Build
$ rebar3 compile
## Post an issue
Issues should be posted on barrel-platform dashboard with the tag `Erlang HTTP client`
## Split to standalone repo
The official repo to update this library is
the [barrel-platform](https://gitlab.com/barrel-db/barrel-platform)
mono-repository.
A [standalone repository](https://gitlab.com/barrel-db/barrel_httpc) is also
available for erlang and elixir applications which want to access a barrel node
without getting the whole platform dependency.
This section describes the procedure to split the libraty for the original
repository and push it to the standalone. It has been inspired
by [this presentation](https://speakerdeck.com/fabpot/a-monorepo-vs-manyrepos).
### Setup
First install [splitsh](https://github.com/splitsh/lite) following the
information provided on its home page.
Then create a remote for barrel_httpc in your barrel-platform repo:
$ cd barrel-platform
$ git remote add barrel_httpc git@gitlab.com:barrel-db/barrel_httpc.git
### Split and push
Each time you want to update the barrel_httpc standalone repo, perform the
following commands:
$ cd barrel-platform
$ splitsh-lite --prefix apps/barrel_httpc
$ git subtree push --prefix apps/barrel_httpc barrel_httpc master
> barrel maintainer: don't forget to tag the new released package.