Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/34196
to look at the new patch set (#2).
Change subject: README.md: update
......................................................................
README.md: update
Fix the broken formatting (wrong headlines, missing line breaks in
blocks of commands) and move the configuration and escript sections
below the running section.
Add the command that fixeria suggested for running it with one shell
command.
Old: https://gitea.osmocom.org/erlang/osmo_dia2gsup/src/branch/master/README.md
New: https://gitea.osmocom.org/osmith/osmo_dia2gsup/src/branch/master/README.md
Change-Id: Ib96f42ca0066ba2f6d0d783f6bf1764cbfee544f
---
M README.md
1 file changed, 39 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup refs/changes/96/34196/2
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/34196
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: Ib96f42ca0066ba2f6d0d783f6bf1764cbfee544f
Gerrit-Change-Number: 34196
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/34196 )
Change subject: README.md: fix markdown formatting
......................................................................
README.md: fix markdown formatting
Fix the broken formatting (wrong headlines, missing line breaks in
blocks of commands) and move the configuration and escript sections
below the running section.
Old: https://gitea.osmocom.org/erlang/osmo_dia2gsup/src/branch/master/README.md
New: https://gitea.osmocom.org/osmith/osmo_dia2gsup/src/branch/master/README.md
Change-Id: Ib96f42ca0066ba2f6d0d783f6bf1764cbfee544f
---
M README.md
1 file changed, 30 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup refs/changes/96/34196/1
diff --git a/README.md b/README.md
index 3177caf..bd8af46 100644
--- a/README.md
+++ b/README.md
@@ -1,42 +1,45 @@
-= Osmocom DIAMETER -> GSUP translator =
+# Osmocom DIAMETER -> GSUP translator
This project implements a proxy translating Diameter into GSUP, hence allowing
Diameter clients connecting to GSUP server. This allows, for instance, using
OsmoHLR as an HSS used by 4G/5G nodes.
-== Building ==
+## Building
Install erlang and rebar3 packages (not "rebar", that's version 2! You may need
to compile it from source in some distros).
+```
$ rebar3 compile
$ rebar3 escriptize
+```
-== Testing ==
+## Testing
Unit tests can be run this way:
+```
$ rebar3 eunit
+```
-== Running ==
+## Running
Once osmo\_dia2gsup is built, you can start it this way:
+```
$ rebar3 shell
-
-In the erlang shell:
-```
1> osmo_dia2gsup:start().
```
-== Configuration ==
+Passing a config file:
+```
$ rebar3 shell --config ./examples/sys.config
-```
1> osmo_dia2gsup:start().
```
-== Run as an escript ==
+Running it as an escript in one shell command:
+```
$ rebar3 escriptize
$ ERL_FLAGS='-config ./examples/sys.config' _build/default/bin/osmo-dia2gsup
-
+```
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/34196
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: Ib96f42ca0066ba2f6d0d783f6bf1764cbfee544f
Gerrit-Change-Number: 34196
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: pespin, fixeria, daniel.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/34195 )
Change subject: README.md: Document how to run escript with config file
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
Patchset:
PS1:
Thanks for documenting this!
The formatting of the whole file is weird, I'll prepare a follow-up patch to fix it:
https://gitea.osmocom.org/erlang/osmo_dia2gsup/src/branch/master/README.md
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/34195
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: Icc78f4bd22608ad0c8a2c5f6095cd77543ab2048
Gerrit-Change-Number: 34195
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 24 Aug 2023 14:52:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/34195 )
Change subject: README.md: Document how to run escript with config file
......................................................................
README.md: Document how to run escript with config file
Change-Id: Icc78f4bd22608ad0c8a2c5f6095cd77543ab2048
---
M README.md
1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup refs/changes/95/34195/1
diff --git a/README.md b/README.md
index 4b52070..3177caf 100644
--- a/README.md
+++ b/README.md
@@ -35,3 +35,8 @@
1> osmo_dia2gsup:start().
```
+== Run as an escript ==
+
+$ rebar3 escriptize
+$ ERL_FLAGS='-config ./examples/sys.config' _build/default/bin/osmo-dia2gsup
+
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/34195
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: Icc78f4bd22608ad0c8a2c5f6095cd77543ab2048
Gerrit-Change-Number: 34195
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/34184 )
Change subject: osmo_io: Add iofd_handle_recv()
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34184
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ifc407d446805f885d37767f421ff710cb276a01f
Gerrit-Change-Number: 34184
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 24 Aug 2023 14:46:49 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment