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)
More debug b95edceb2abff793c9d2a19d62b6c1de8aa328bb Catalin(ux) M. BOIE 2021-01-16 11:53:51
Send first the name and after that the version b68e3cb967aa6a3edf5b64ac9b66c6fa67a1f990 Catalin(ux) M. BOIE 2021-01-16 10:21:57
Simplified variables sent 0f37c2cd6342c8be0f4615c8fe8979d1bb9cce8d Catalin(ux) M. BOIE 2021-01-14 04:48:11
Added job_id variable 9ab34e796d0f5494d97d1b9f9fff52e6a9f27e8c Catalin(ux) M. BOIE 2020-12-04 17:30:10
Create a function to send generic vars and use it 97fa7f7a9f4af7c9e7bf3579d1437dfc59c29825 Catalin(ux) M. BOIE 2020-11-30 17:45:17
Wrong lenght passed c642d9387496543f4fb824fad6cd2590328d83b4 Catalin(ux) M. BOIE 2020-11-30 17:33:08
Allow sending repo_id 160f9d2f3957ba5639377e8d5bdc15744dac78a2 Catalin(ux) M. BOIE 2020-11-30 13:36:55
More debugging 1b562b79df09000cb40d2e91aa069636e9fd5e55 Catalin(ux) M. BOIE 2020-11-27 07:04:43
Added support for uid and head 2c9ae749a048d990ce24aa389439056c8ab0e836 Catalin(ux) M. BOIE 2020-11-27 06:29:37
Added chmod 82a9f7db95a0327bd0d97a58a27ce6432fdf6790 Catalin(ux) M. BOIE 2020-11-16 18:53:49
implemented chown d3862312d2900e96957c0734b5f27d0851d2a19a Catalin(ux) M. BOIE 2020-11-16 18:31:35
Lots of improvements 4953574e14ffba41e05e897fb94771f0ac7bab44 Catalin(ux) M. BOIE 2020-11-15 16:46:04
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
Commit b95edceb2abff793c9d2a19d62b6c1de8aa328bb - More debug
Author: Catalin(ux) M. BOIE
Author date (UTC): 2021-01-16 11:53
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2021-01-16 11:53
Parent(s): b68e3cb967aa6a3edf5b64ac9b66c6fa67a1f990
Signing key:
Tree: 87a8c40939f92542cb058ae4e565bc2d05d21188
File Lines added Lines deleted
rgfs.c 5 3
File rgfs.c changed (mode: 100644) (index 1bad865..d2ec08c)
... ... static int rgfs_recv_hl(const char *op, void *buf, size_t buf_size)
415 415
416 416 off = 0; off = 0;
417 417 while (1) { while (1) {
418 //xlog(" Waiting for data (off=%d to_read=%u)\n", off, to_read);
418 xlog(" Waiting for data (off=%d to_read=%u)\n", off, to_read);
419 419 if (off == buf_size) { if (off == buf_size) {
420 420 xlog("Buffer is too small!\n"); xlog("Buffer is too small!\n");
421 421 exit(EXIT_FAILURE); exit(EXIT_FAILURE);
 
... ... static int rgfs_recv_hl(const char *op, void *buf, size_t buf_size)
427 427 return off; return off;
428 428
429 429 off += r; off += r;
430 if (off >= 4)
430 if (off >= 4) {
431 431 to_read = be32toh(*(uint32_t *) buf); to_read = be32toh(*(uint32_t *) buf);
432 xlog("to_read=%u\n", to_read);
433 }
432 434
433 435 if (rgfs_debug > 10) { if (rgfs_debug > 10) {
434 436 char debug[4096 * 2 + 1]; char debug[4096 * 2 + 1];
 
... ... static int rgfs_recv_hl(const char *op, void *buf, size_t buf_size)
439 441 } }
440 442
441 443 if (off == 4 + to_read) { if (off == 4 + to_read) {
442 //xlog(" Readed 4 + %u\n", to_read);
444 xlog(" Readed 4 + %u\n", to_read);
443 445 return off; return off;
444 446 } }
445 447 } }
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