Change in osmo-sysmon[master]: Introduce generic host config and related helpers

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Thu Feb 7 16:41:15 UTC 2019


Max has posted comments on this change. ( https://gerrit.osmocom.org/12761 )

Change subject: Introduce generic host config and related helpers
......................................................................


Patch Set 6:

(6 comments)

This change is ready for review.

https://gerrit.osmocom.org/#/c/12761/5/contrib/jenkins.sh
File contrib/jenkins.sh:

https://gerrit.osmocom.org/#/c/12761/5/contrib/jenkins.sh@27
PS5, Line 27: 
> why is this line needed?
Done


https://gerrit.osmocom.org/#/c/12761/5/src/client.c
File src/client.c:

https://gerrit.osmocom.org/#/c/12761/5/src/client.c@34
PS5, Line 34: {
> can be simplified: #define MATCH(a, b) (strcmp(a,b) == 0) […]
Done


https://gerrit.osmocom.org/#/c/12761/5/src/client.c@38
PS5, Line 38: 	switch (k) {
> separate lines please.
Done


https://gerrit.osmocom.org/#/c/12761/5/src/client.c@56
PS5, Line 56: 	struct host_cfg *cfg = talloc_zero(ctx, struct host_cfg);
> This is basically a constructor/allocator, so better name it like we usually do, like talloc_host_cf […]
Done


https://gerrit.osmocom.org/#/c/12761/5/src/client.c@79
PS5, Line 79: 
> It's allocating something and the method is not const, so I'd better name it "create_authority" or " […]
Done


https://gerrit.osmocom.org/#/c/12761/5/src/client.c@81
PS5, Line 81: 
> Is this really needed?
Yes, it's easier to use it that way because it's used by both logging and polling code.



-- 
To view, visit https://gerrit.osmocom.org/12761
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sysmon
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie321655a92cdbefbfaa056ac0d583397c83beccb
Gerrit-Change-Number: 12761
Gerrit-PatchSet: 6
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Comment-Date: Thu, 07 Feb 2019 16:41:15 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190207/62dae64c/attachment.htm>


More information about the gerrit-log mailing list