List of commits:
Subject Hash Author Date (UTC)
Cosmetic 6cd025cc3724731b983e92b4851783730c4e1c43 Catalin(ux) M. BOIE 2023-03-20 05:37:01
Solved a little curl processing bug; updated doc 55c78506492a686c38a3d2833708e243f339ba0f Catalin(ux) M. BOIE 2023-03-18 06:55:28
Added nd-cert-info tool 14447ae85aa5501d542c17f31fd6ce820267846c Catalin(ux) M. BOIE 2023-03-18 06:54:42
Mostly documentation updates fadbfe517eac4b0de3783e79d9779af57791833d Catalin(ux) M. BOIE 2023-03-17 07:17:12
Another json_object_get_uint64 replaced with int64 21f272b86ed57916d0fb7cc05de20170c36cf1cb Catalin(ux) M. BOIE 2023-03-15 20:16:13
make chown optional to not get errors when building rpm 2541f217b4ee77748d03f553ce1f6576c43c7106 Catalin(ux) M. BOIE 2023-03-15 19:00:49
Wrong path to Makefile.common in Makefile 82d474d4e825fd1afaf225518512f075ca25295f Catalin(ux) M. BOIE 2023-03-15 18:16:58
DESTDIR installation fix 5b5b7917a4b26daed48f1bb6dee826533997b518 Catalin(ux) M. BOIE 2023-03-15 12:59:22
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
Commit 6cd025cc3724731b983e92b4851783730c4e1c43 - Cosmetic
Author: Catalin(ux) M. BOIE
Author date (UTC): 2023-03-20 05:37
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2023-03-20 05:37
Parent(s): 55c78506492a686c38a3d2833708e243f339ba0f
Signer:
Signing key:
Signing status: N
Tree: dbd60b2675e92b367e1cde51e077161d7b547235
File Lines added Lines deleted
agent/ninedogs.TODO 3 0
agent/ninedogs.c 4 4
docs/pre1.txt 1 0
trace/nd-trace.c 3 1
File agent/ninedogs.TODO changed (mode: 100644) (index afc944c..3edf0a8)
1 1 [ ] At a trace start, dump the file descriptors, else the trace is useless. [ ] At a trace start, dump the file descriptors, else the trace is useless.
2 Same about queries.
2 3 [ ] [ ]
3 4
4 5 Move from: Move from:
 
... ... To add:
18 19 in clear at the execution time). in clear at the execution time).
19 20 [ ] socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 10 [ ] socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 10
20 21 [ ] Load ninedogs.so with an environemnt variable to replace ninedogs.dlsym.so. [ ] Load ninedogs.so with an environemnt variable to replace ninedogs.dlsym.so.
22 [ ] Some locking is needed accessing fd structure. Probably other places.
23 Maybe the semaphores blocks concurrent access?
21 24 [ ] [ ]
22 25
File agent/ninedogs.c changed (mode: 100644) (index 6d0da9b..6deef77)
... ... void my_trace(const char *func, const char *tf, const char type, ...)
1464 1464 memcpy(nd_info->buf + off, &u32, 4); off += 4; memcpy(nd_info->buf + off, &u32, 4); off += 4;
1465 1465
1466 1466 size = export_fd_nodes(nd_info->buf + off, size = export_fd_nodes(nd_info->buf + off,
1467 sizeof(nd_info->buf) - off, fd_nodes, 32);
1467 sizeof(nd_info->buf) - off, fd_nodes, 32); // TODO: wha is 32/ Isn't is too low?
1468 1468 off += size; off += size;
1469 1469
1470 1470 nd_info->buf_size = off; nd_info->buf_size = off;
 
... ... void my_trace(const char *func, const char *tf, const char type, ...)
1497 1497 xlog(1, "I do not know how to encode [%s][%c]!\n", func, type); xlog(1, "I do not know how to encode [%s][%c]!\n", func, type);
1498 1498 break; break;
1499 1499 } }
1500 char dump[i * 4 + 1];
1501 bin2hex_ascii(dump, out, i);
1502 xlog(201, " gen: %s\n", dump);
1500 //char dump[i * 4 + 1];
1501 //bin2hex_ascii(dump, out, i);
1502 //xlog(201, " gen: %s\n", dump);
1503 1503
1504 1504 // TODO: use an internal buffer if we cannot take the lock and move back to 'trywait' // TODO: use an internal buffer if we cannot take the lock and move back to 'trywait'
1505 1505 xlog(201, " head=%u tail=%u junk=%u to_copy=%u [before lock]\n", xlog(201, " head=%u tail=%u junk=%u to_copy=%u [before lock]\n",
File docs/pre1.txt changed (mode: 100644) (index 62e1a85..6a9022b)
... ... Ideas for the first presentation
4 4 - Why? - Why?
5 5 - Package management security updates not done. - Package management security updates not done.
6 6
7
7 8 - Ce probleme vrei sa le rezolvi? - Ce probleme vrei sa le rezolvi?
8 9 - Cum te ajuta produsul meu sa-ti rezolvi problemele? - Cum te ajuta produsul meu sa-ti rezolvi problemele?
9 10 - De ce e mai bun decit alte solutii de pe piata? - De ce e mai bun decit alte solutii de pe piata?
File trace/nd-trace.c changed (mode: 100644) (index 0ff6e40..bc077ee)
... ... static void nd_trace_color(char *out, const size_t out_size,
145 145 const char *flags, const uint64_t u64) const char *flags, const uint64_t u64)
146 146 { {
147 147 char scolor[4] = { 0 }; char scolor[4] = { 0 };
148 int r;
149
148 150 //fprintf(outf, "%s: str=[%s] category=[%s] u64=%lu\n", //fprintf(outf, "%s: str=[%s] category=[%s] u64=%lu\n",
149 151 // __func__, str, category, u64); fflush(outf); // __func__, str, category, u64); fflush(outf);
150 152
 
... ... static void nd_trace_color(char *out, const size_t out_size,
186 188 snprintf(scolor, sizeof(scolor), "%u", color); snprintf(scolor, sizeof(scolor), "%u", color);
187 189
188 190 no_theme: no_theme:
189 int r = snprintf(out, out_size, "%s%s%s%s%s",
191 r = snprintf(out, out_size, "%s%s%s%s%s",
190 192 theme_s1, scolor, theme_s2, str, theme_e); theme_s1, scolor, theme_s2, str, theme_e);
191 193 // we will not color things if we do not have enough space // we will not color things if we do not have enough space
192 194 if ((unsigned) r > out_size) if ((unsigned) r > out_size)
Date/time (UTC) Type Misc Labels
2023-03-29 21:37 build fedora-37-x86_64 worker/r1 builder/color=fff worker_elap/654s wait_time/834547s date/2023-03-20 time/05:37
2023-03-29 21:47 build fedora-rawhide-x86_64 worker/r1 builder/color=fff worker_elap/521s wait_time/835247s date/2023-03-20 time/05:37
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