Subject | Hash | Author | Date (UTC) |
---|---|---|---|
rgfs: respect the requested size asked to be read | f6f9e3f26e9c2bc98c38ded6a732cf53630d5688 | Catalin(ux) M. BOIE | 2021-10-24 09:25:51 |
builder: delay 5s if cannot contact the database | b672b80542e80439243127aef2de4bda7d884e8a | Catalin(ux) M. BOIE | 2021-10-24 08:26:35 |
Cosmetic | ea40e49373739590d9794d203ddd7e2b18464e29 | Catalin(ux) M. BOIE | 2021-10-23 15:35:34 |
Typo | 7d156cc190c150239f16ea0b9807eb027f8cd79f | Catalin(ux) M. BOIE | 2021-10-22 17:41:34 |
worker: be more verbose | 0f0e6216ad6f5923d08c10d7461d2259e92f69cd | Catalin(ux) M. BOIE | 2021-10-22 17:32:01 |
Add /etc/ssh files to spec | 91c7c4f0bd30f01abe48e5c4f4c75857982a8f21 | Catalin(ux) M. BOIE | 2021-10-22 06:30:23 |
Removed Changelog file | 8e42a6cb730000a104956bc7d265321d67d49bfe | Catalin(ux) M. BOIE | 2021-10-22 06:22:24 |
Do not store dependencies in a file but in a variable | 13ba1da3a4a422e798393565e0a6941df660300a | Catalin(ux) M. BOIE | 2021-10-22 05:49:24 |
Forgot to create ssh dir for spec | 1fd7185cdbf427451a7f4c5ada54e43febc5184f | Catalin(ux) M. BOIE | 2021-10-22 05:46:41 |
Still need to extract rpm info when switching users | c4ddd883070d8fe48c876196dd3e4e08419745eb | Catalin(ux) M. BOIE | 2021-10-22 05:28:24 |
Add build_tools to the main script | b0f721d9391a9cbe443a986f7d15cd8c052abd11 | Catalin(ux) M. BOIE | 2021-10-22 05:18:54 |
Again, first install the dependencies | 919e46d2a71935451f576da32b61d2b6ecab126b | Catalin(ux) M. BOIE | 2021-10-22 05:02:50 |
Cosmetic | cabc1c5cec8943d614b98b7f0ca8599cf5e2682c | Catalin(ux) M. BOIE | 2021-10-21 17:16:33 |
Install dependencies before trying to build the rpm | 4df3dbf7e1f79b0c616d8dbeba8b1b30c9474f17 | Catalin(ux) M. BOIE | 2021-10-21 16:49:37 |
duilder fixes | 2afa9250c1da72997092847df5a2a18cddb8ccb9 | Catalin(ux) M. BOIE | 2021-10-21 15:59:24 |
worker: move dependencies path | 2e8902609a2d94e2eba5fb8ccda85de90ae23fb5 | Catalin(ux) M. BOIE | 2021-10-21 15:22:25 |
Lots of changes, too hard to split them; sorry about it | 77c26d9ce82d452ebdc1b609d71c5e931768805c | Catalin(ux) M. BOIE | 2021-10-21 06:05:51 |
Lots of changes to the rg daemons | 8b68e3967f650953d368dfb5ca5cdd2927e9c0de | Catalin(ux) M. BOIE | 2021-10-21 06:05:03 |
Hooks: Mostly cosmetic | 3633af7d937f7c9c7c0c33cdc3ad9897aab8becd | Catalin(ux) M. BOIE | 2021-10-21 06:04:02 |
Added RGFS for packages | e0573aadcff81694d38ee448326964bddf0c3c13 | Catalin(ux) M. BOIE | 2021-10-21 06:02:37 |
File | Lines added | Lines deleted |
---|---|---|
scripts/rgfs.php | 18 | 7 |
File scripts/rgfs.php changed (mode: 100644) (index 7b1387c..3b35ff6) | |||
... | ... | function xdispatch_one($key, $tlv) | |
509 | 509 | break; | break; |
510 | 510 | } | } |
511 | 511 | ||
512 | $r = @fread($f, $t['size']); | ||
513 | if ($r === FALSE) { | ||
514 | debug($key, ' cannot read: ' . rg_php_err()); | ||
515 | fclose($f); | ||
516 | $p2 .= pack('CN', 0x00, RGFS_EIO); | ||
517 | break; | ||
512 | $rest = $t['size']; | ||
513 | $send = ''; | ||
514 | while ($rest > 0) { | ||
515 | $r = @fread($f, $rest); | ||
516 | if ($r === FALSE) { | ||
517 | debug($key, ' cannot read: ' . rg_php_err()); | ||
518 | $p2 .= pack('CN', 0x00, RGFS_EIO); | ||
519 | break; | ||
520 | } | ||
521 | |||
522 | $send .= $r; | ||
523 | |||
524 | if (feof($f)) | ||
525 | break; | ||
526 | |||
527 | $rest -= strlen($r); | ||
518 | 528 | } | } |
519 | 529 | fclose($f); | fclose($f); |
520 | 530 | ||
521 | $p2 .= pack('C', 0x01) . $r; | ||
531 | if ($r !== FALSE) | ||
532 | $p2 .= pack('C', 0x01) . $send; | ||
522 | 533 | break; | break; |
523 | 534 | ||
524 | 535 | case 0x05: // write | case 0x05: // write |