catalinux / rgfs (public) (License: GPLv3) (since 2020-11-11) (hash sha1)
Allows mapping of RocketGit storage area into a local directory
List of commits:
Subject Hash Author Date (UTC)
Allow verbose debug cee91423dda669c580b84451d3b846b3e7ef3038 Catalin(ux) M. BOIE 2020-11-15 12:11:04
Small bug caused by an old way to pack path ad3501ea5b7b112f0760f5aca247275e974edaff Catalin(ux) M. BOIE 2020-11-15 11:59:55
Lots of improvements 9275d4bc7be78518ac7bd2c3aa9cfb946a2969ad Catalin(ux) M. BOIE 2020-11-15 10:40:44
Lots of cleanups 2998ff2dcb74565887986fb7167e65e4fdf6d173 Catalin(ux) M. BOIE 2020-11-14 19:23:09
added utimens b5c24acf3ff86a51a7a49fec1eaf8eb65ae77bbb Catalin(ux) M. BOIE 2020-11-14 16:09:29
Improved debug f9bdf71667d0c77d4fcb4fa6e7792fd2d4c60712 Catalin(ux) M. BOIE 2020-11-13 18:57:48
Allow pushing a name and a repo id 9b48c3ae2a059a1ecd84caf44cea6c551175dd46 Catalin(ux) M. BOIE 2020-11-12 16:14:02
Send also the pkg_repo_id parameter 866c8063866effdabe0aa76fcfb9cc2b3d61b67a Catalin(ux) M. BOIE 2020-11-12 07:54:07
Now we can pass parameters by env 8352d8d09714a3c2af7550ad55517bfa8590a309 Catalin(ux) M. BOIE 2020-11-12 04:48:19
Inistial commit e51779259596117c80f6e7961f4387fdd48f820a Catalin(ux) M. BOIE 2020-11-11 08:18:38
Commit cee91423dda669c580b84451d3b846b3e7ef3038 - Allow verbose debug
Author: Catalin(ux) M. BOIE
Author date (UTC): 2020-11-15 12:11
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2020-11-15 12:11
Parent(s): ad3501ea5b7b112f0760f5aca247275e974edaff
Signing key:
Tree: 72fb793349e39b37af516cadcc57c7e87c2a5a3f
File Lines added Lines deleted
rgfs.c 15 7
File rgfs.c changed (mode: 100644) (index a1cd79e..6a370d8)
... ... static ssize_t rgfs_send(const void *buf, size_t buf_len)
91 91 { {
92 92 ssize_t r; ssize_t r;
93 93
94 if (rgfs_debug > 10) {
95 char debug[4096 * 2 + 1];
96 short max = buf_len > 4096 ? 4096 : buf_len;
97 for (unsigned int i = 0; i < max; i++)
98 sprintf(debug + i * 2, "%02hhx", * (unsigned char *) (buf + i));
99 xlog(" SEND %u: %s\n", buf_len, debug);
100 }
101
94 102 do { do {
95 103 r = gnutls_record_send(session, buf, buf_len); r = gnutls_record_send(session, buf, buf_len);
96 104 } while ((r == GNUTLS_E_AGAIN) || (r == GNUTLS_E_INTERRUPTED)); } while ((r == GNUTLS_E_AGAIN) || (r == GNUTLS_E_INTERRUPTED));
 
... ... static int rgfs_recv_hl(void *buf, size_t buf_size)
383 391 if (off >= 4) if (off >= 4)
384 392 to_read = be32toh(*(uint32_t *) buf); to_read = be32toh(*(uint32_t *) buf);
385 393
386 #if 0
387 char debug[4096 * 2 + 1];
388 short max = off > 4096 ? 4096 : off;
389 for (unsigned int i = 0; i < max; i++)
390 sprintf(debug + i * 2, "%02hhx", * (unsigned char *) (buf + i));
391 xlog(" RECV %u: %s\n", off, debug);
392 #endif
394 if (rgfs_debug > 10) {
395 char debug[4096 * 2 + 1];
396 short max = off > 4096 ? 4096 : off;
397 for (unsigned int i = 0; i < max; i++)
398 sprintf(debug + i * 2, "%02hhx", * (unsigned char *) (buf + i));
399 xlog(" RECV %u: %s\n", off, debug);
400 }
393 401
394 402 if (off == 4 + to_read) { if (off == 4 + to_read) {
395 403 //xlog(" Readed 4 + %u\n", to_read); //xlog(" Readed 4 + %u\n", to_read);
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/rgfs

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

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

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