List of commits:
Subject Hash Author Date (UTC)
RockyLinux 8 does not have json_object_new_uint64 function ce66611027547ca6740f36efa4f9da60f47c6132 Catalin(ux) M. BOIE 2023-03-15 12:33:18
More functions added 920cc4824df01ccfc0b04450fdfa43568910cf85 Catalin(ux) M. BOIE 2023-03-15 06:17:29
Lots of changes 8c803765a4dd6d79e7f61927c47a5f1a19e3db31 Catalin(ux) M. BOIE 2023-03-13 05:51:28
Record full path of the cert for openssl 66e89d4e0eaf638859b39c791d82d233e2d0c2c2 Catalin(ux) M. BOIE 2023-03-03 18:41:57
Improve presentation 0600fd3c6e5fcb0dd152d0e680ea85a8ae89bd86 Catalin(ux) M. BOIE 2022-12-09 17:46:09
More curl tracing info 04013af7a216e6cf7f363b3895ffcebe78859a65 Catalin(ux) M. BOIE 2022-12-09 17:45:46
Added curl support c374ad15d2d5548d168084c0e8506929803e9bf0 Catalin(ux) M. BOIE 2022-11-30 11:28:48
More Latex modules were missing ff5bec2cfba2cf77e0115f89124cdeb83dfbc73d Catalin(ux) M. BOIE 2022-11-24 16:52:48
Forgot to add beamer 1080ddc6497af77b66fd57eb7b9da0abaf75cb2a Catalin(ux) M. BOIE 2022-11-24 16:39:30
Mispelled docs 463d312e5ddc8b237e03a4d9b4cfb33524393fb0 Catalin(ux) M. BOIE 2022-11-24 16:11:45
More docs updated 83876ce8fcf9ae03c189e4fc7f354bf67f328916 Catalin(ux) M. BOIE 2022-11-24 15:59:05
Record bytes read/written on fds 428c3905bb135725ac3bd2ecfe5949e434b179b5 Catalin(ux) M. BOIE 2022-11-24 15:58:25
A lot of small fixes 9a5841916f3f0870ca091f457102c7512b21808a Catalin(ux) M. BOIE 2022-11-23 07:28:06
Added pthread_join + small fixes a5206c335f8c858d791f114da7361190196ad4a4 Catalin(ux) M. BOIE 2022-11-21 14:05:31
Lots of updates 5583e8dbd607b684a14ced92b4d2ffdacbcf57e1 Catalin(ux) M. BOIE 2022-11-18 05:40:05
mysql, sqlite3, depth d9d83cafbd372d1055fa2e51cdf3deb2396f5d08 Catalin(ux) M. BOIE 2022-11-07 05:58:04
More spec fixes 3867b17137b5397c3eeabdcbbc232417ad212a27 Catalin(ux) M. BOIE 2022-10-25 19:04:28
More spec fixes 68abc4ce485fbbcc18a232e57b956f9e2b016d72 Catalin(ux) M. BOIE 2022-10-25 18:48:22
Fixed installation paths in Makefiles c98920bd55f7cd2ebcec7083e2360009d8c16b29 Catalin(ux) M. BOIE 2022-10-25 18:19:49
Debian support added, create correctly the paths for install 512c13ca06dda005504cdeab831431c943dde74a Catalin(ux) M. BOIE 2022-10-25 06:19:50
Commit ce66611027547ca6740f36efa4f9da60f47c6132 - RockyLinux 8 does not have json_object_new_uint64 function
Author: Catalin(ux) M. BOIE
Author date (UTC): 2023-03-15 12:33
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2023-03-15 12:33
Parent(s): 920cc4824df01ccfc0b04450fdfa43568910cf85
Signer:
Signing key:
Signing status: N
Tree: 7071c740bf78ff1973bebeffbfc7ec86792cf18d
File Lines added Lines deleted
common/bin2json.c 9 9
webd/certs.c 3 3
webd/machines.c 2 2
File common/bin2json.c changed (mode: 100644) (index e3f805f..409cce1)
... ... int nd_bin2json(struct json_object **pj,
59 59 ret = -1; ret = -1;
60 60 break; break;
61 61 } }
62 json_object_object_add(j, "ts", json_object_new_uint64(s.ts));
62 json_object_object_add(j, "ts", json_object_new_int64(s.ts));
63 63 json_object_object_add(j, "uptime", json_object_new_int(s.si.uptime)); json_object_object_add(j, "uptime", json_object_new_int(s.si.uptime));
64 64 json_object_object_add(j, "load1", json_object_new_int(s.si.loads[0])); json_object_object_add(j, "load1", json_object_new_int(s.si.loads[0]));
65 json_object_object_add(j, "tram", json_object_new_uint64(s.si.totalram * s.si.mem_unit));
66 json_object_object_add(j, "fram", json_object_new_uint64(s.si.freeram * s.si.mem_unit));
67 json_object_object_add(j, "fswap", json_object_new_uint64(s.si.freeswap * s.si.mem_unit));
68 json_object_object_add(j, "procs", json_object_new_uint64(s.si.procs));
69 json_object_object_add(j, "totalhigh", json_object_new_uint64(s.si.totalhigh * s.si.mem_unit));
70 json_object_object_add(j, "freehigh", json_object_new_uint64(s.si.freehigh * s.si.mem_unit));
71 json_object_object_add(j, "sharedram", json_object_new_uint64(s.si.sharedram * s.si.mem_unit));
72 json_object_object_add(j, "bufferram", json_object_new_uint64(s.si.bufferram * s.si.mem_unit));
65 json_object_object_add(j, "tram", json_object_new_int64(s.si.totalram * s.si.mem_unit));
66 json_object_object_add(j, "fram", json_object_new_int64(s.si.freeram * s.si.mem_unit));
67 json_object_object_add(j, "fswap", json_object_new_int64(s.si.freeswap * s.si.mem_unit));
68 json_object_object_add(j, "procs", json_object_new_int64(s.si.procs));
69 json_object_object_add(j, "totalhigh", json_object_new_int64(s.si.totalhigh * s.si.mem_unit));
70 json_object_object_add(j, "freehigh", json_object_new_int64(s.si.freehigh * s.si.mem_unit));
71 json_object_object_add(j, "sharedram", json_object_new_int64(s.si.sharedram * s.si.mem_unit));
72 json_object_object_add(j, "bufferram", json_object_new_int64(s.si.bufferram * s.si.mem_unit));
73 73 } break; } break;
74 74
75 75 default: default:
File webd/certs.c changed (mode: 100644) (index 910776b..6209b32)
... ... static int certs_load_one(struct Conn *C, const char *dir,
45 45
46 46 json_object_object_add(j, "subj", json_object_new_string(cert.subj)); json_object_object_add(j, "subj", json_object_new_string(cert.subj));
47 47 json_object_object_add(j, "issuer", json_object_new_string(cert.issuer)); json_object_object_add(j, "issuer", json_object_new_string(cert.issuer));
48 json_object_object_add(j, "not_before", json_object_new_uint64(cert.not_before));
49 json_object_object_add(j, "not_after", json_object_new_uint64(cert.not_after));
48 json_object_object_add(j, "not_before", json_object_new_int64(cert.not_before));
49 json_object_object_add(j, "not_after", json_object_new_int64(cert.not_after));
50 50 json_object_object_add(j, "path", json_object_new_string(cert.path)); json_object_object_add(j, "path", json_object_new_string(cert.path));
51 51 json_object_object_add(j, "serial", json_object_new_string(cert.serial)); json_object_object_add(j, "serial", json_object_new_string(cert.serial));
52 52 char xtype[2] = { cert.type, 0 }; char xtype[2] = { cert.type, 0 };
53 53 json_object_object_add(j, "type", json_object_new_string(xtype)); json_object_object_add(j, "type", json_object_new_string(xtype));
54 54 json_object_object_add(j, "sig_alg", json_object_new_string(cert.sig_alg)); json_object_object_add(j, "sig_alg", json_object_new_string(cert.sig_alg));
55 55 json_object_object_add(j, "pk_alg", json_object_new_string(cert.pk_alg)); json_object_object_add(j, "pk_alg", json_object_new_string(cert.pk_alg));
56 json_object_object_add(j, "pk_bits", json_object_new_uint64(cert.pk_bits));
56 json_object_object_add(j, "pk_bits", json_object_new_int(cert.pk_bits));
57 57 sj = json_object_to_json_string(j); sj = json_object_to_json_string(j);
58 58
59 59 char code[8192]; char code[8192];
File webd/machines.c changed (mode: 100644) (index eb6ad3f..27a1ed8)
... ... static int machines_load_one(struct Conn *C, char *dir,
49 49
50 50 char *id = basename(dir); char *id = basename(dir);
51 51 json_object_object_add(j, "id", json_object_new_string(id)); json_object_object_add(j, "id", json_object_new_string(id));
52 json_object_object_add(j, "first_seen", json_object_new_uint64(first_seen / 1000));
53 json_object_object_add(j, "last_seen", json_object_new_uint64(last_seen / 1000));
52 json_object_object_add(j, "first_seen", json_object_new_int64(first_seen / 1000));
53 json_object_object_add(j, "last_seen", json_object_new_int64(last_seen / 1000));
54 54 sj = json_object_to_json_string(j); sj = json_object_to_json_string(j);
55 55
56 56 char code[8192]; char code[8192];
Date/time (UTC) Type Misc Labels
2023-03-15 12:50 build fedora-37-x86_64 worker/r1 builder/color=fff worker_elap/816s wait_time/1s date/2023-03-15 time/12:34
2023-03-15 13:02 build fedora-rawhide-x86_64 worker/r1 builder/color=fff worker_elap/672s wait_time/940s date/2023-03-15 time/12:34
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/ninedogs

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/ninedogs

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/ninedogs

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main