List of commits:
Subject Hash Author Date (UTC)
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
Container changes cb3c4a84e2abc3a4b206925b60fdf4524e0379de Catalin(ux) M. BOIE 2021-10-21 06:01:25
Lots of html/css changes bde37682fac058f68806b3342ba043a2f72458ba Catalin(ux) M. BOIE 2021-10-21 06:00:29
Lots of tests updated 40e01f4db4d341d4e2dceb4407ea7d6ff523ac9e Catalin(ux) M. BOIE 2021-10-21 06:00:02
Big changes to add rpm packages repositories 5e07ff440d6ad7f0ef9900a634b2f39f0e7fa1e4 Catalin(ux) M. BOIE 2021-10-21 05:59:26
Cosmetic 02376344f7d7d321d824ab7978de2ad49c007167 Catalin(ux) M. BOIE 2021-05-23 12:57:06
Added FIDO2 support for SSH 04186abe13896ad4f4ea7126691d0a2b1798de1a Catalin(ux) M. BOIE 2021-05-23 12:30:43
ssh: show the id of the key both on web and when connecting ab95ccfa2819d6ac9f427209ee61c75aad8a3661 Catalin(ux) M. BOIE 2021-05-23 10:52:44
Some events are doing some queries, and we need to cover them in transaction, not only the subevents 4768ffec303961971cc0c3732a24e858f47dd381 Catalin(ux) M. BOIE 2020-12-15 07:33:36
Added rate limit for ssh and git connections b667130e6c5721a3d30193863a5defd8bbff50f1 Catalin(ux) M. BOIE 2020-11-30 10:49:27
cosmetic abe44edadda9da7c639b7bd8c9e13e6058555669 Catalin(ux) M. BOIE 2020-11-30 10:21:01
gpg functions and test ecb9e05c99a2b73edfba5014329e362d8c6e9246 Catalin(ux) M. BOIE 2020-11-09 07:38:11
Commit 919e46d2a71935451f576da32b61d2b6ecab126b - Again, first install the dependencies
Author: Catalin(ux) M. BOIE
Author date (UTC): 2021-10-22 05:02
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2021-10-22 05:02
Parent(s): cabc1c5cec8943d614b98b7f0ca8599cf5e2682c
Signer:
Signing key:
Signing status: N
Tree: 9ff18b1fbe39d515db19e3dd3a08a3aa7e15b6c6
File Lines added Lines deleted
scripts/worker.php 12 7
File scripts/worker.php changed (mode: 100644) (index 57a5af0..2da01a5)
... ... function start_worker_build_tools($job, &$reason, &$reason2)
558 558 . ' xecho "rg_extract_rpm_info: dir=${dir} [`date`]"' . "\n" . ' xecho "rg_extract_rpm_info: dir=${dir} [`date`]"' . "\n"
559 559 . ' spec_file=`find "${dir}" -type f -iname \'*.spec\' | head -n1`' . "\n" . ' spec_file=`find "${dir}" -type f -iname \'*.spec\' | head -n1`' . "\n"
560 560 . ' if [ "${spec_file}" = "" ]; then' . "\n" . ' if [ "${spec_file}" = "" ]; then' . "\n"
561 . ' E=1' . "\n"
562 561 . ' xecho " Cannot find any .spec file in ${dir}!" > ~/rg_op.err' . "\n" . ' xecho " Cannot find any .spec file in ${dir}!" > ~/rg_op.err' . "\n"
563 . ' return ${E}' . "\n"
562 . ' return 1' . "\n" // we not signal this as an error
564 563 . ' fi' . "\n" . ' fi' . "\n"
565 564 . "\n" . "\n"
566 565 . ' spec_file_base=`basename "${spec_file}"`' . "\n" . ' spec_file_base=`basename "${spec_file}"`' . "\n"
 
... ... function start_worker_build_tools($job, &$reason, &$reason2)
571 570 . ' spec_ver=`grep ^Version: "${spec_file}" | cut -d: -f2 | tr -d " \t\r\n"`' . "\n" . ' spec_ver=`grep ^Version: "${spec_file}" | cut -d: -f2 | tr -d " \t\r\n"`' . "\n"
572 571 . ' spec_rel=`grep ^Release: "${spec_file}" | cut -d: -f2 | tr -d " \t\r\n"`' . "\n" . ' spec_rel=`grep ^Release: "${spec_file}" | cut -d: -f2 | tr -d " \t\r\n"`' . "\n"
573 572 . ' spec_deps=`rpmspec --parse "${spec_file}" | grep ^BuildRequires | cut -d: -f2 | tr ",\t\r\n" " "`' . "\n" . ' spec_deps=`rpmspec --parse "${spec_file}" | grep ^BuildRequires | cut -d: -f2 | tr ",\t\r\n" " "`' . "\n"
574 . ' xecho " DEBUG: name=${spec_name}, ver=${spec_ver}, rel=${spec_rel}, deps=[${spec_deps}]"' . "\n"
573 . ' xecho " DEBUG: name=${spec_name}, ver=${spec_ver}, rel=${spec_rel}"' . "\n"
575 574 . ' if [ "${spec_deps}" != "" ]; then' . "\n" . ' if [ "${spec_deps}" != "" ]; then' . "\n"
576 575 . ' xecho " Storing deps [${spec_deps}] into /mnt/tmp/_deps"' . "\n" . ' xecho " Storing deps [${spec_deps}] into /mnt/tmp/_deps"' . "\n"
577 . ' echo "${spec_deps}" > /mnt/tmp/_deps' . "\n"
576 . ' echo ${spec_deps} > /mnt/tmp/_deps' . "\n"
578 577 . ' fi' . "\n" . ' fi' . "\n"
579 578 . ' echo' . "\n" . ' echo' . "\n"
580 579 . '}' . "\n" . '}' . "\n"
 
... ... function start_worker_build_tools($job, &$reason, &$reason2)
585 584 . "\n" . "\n"
586 585 . ' rg_log_push "rg_build_dotrepo dir=${dir}"' . "\n" . ' rg_log_push "rg_build_dotrepo dir=${dir}"' . "\n"
587 586 . ' while [ 1 ]; do' . "\n" . ' while [ 1 ]; do' . "\n"
588 . ' rg_extract_rpm_info "${dir}" || break' . "\n"
589 587 . ' local dst_tar_gz="/mnt/rpmbuild/SOURCES/${spec_name}-${spec_ver}.tar.gz"' . "\n" . ' local dst_tar_gz="/mnt/rpmbuild/SOURCES/${spec_name}-${spec_ver}.tar.gz"' . "\n"
590 588 . ' local dst_spec="/mnt/rpmbuild/SPECS/${spec_file_base}"' . "\n" . ' local dst_spec="/mnt/rpmbuild/SPECS/${spec_file_base}"' . "\n"
591 589 . ' local xecho "DEBUG: dst_spec=${dst_spec}."' . "\n" . ' local xecho "DEBUG: dst_spec=${dst_spec}."' . "\n"
 
... ... function start_worker_build_tools($job, &$reason, &$reason2)
612 610 . "\n" . "\n"
613 611 . ' rg_log_push "rg_build_rpm: dir=${dir}"' . "\n" . ' rg_log_push "rg_build_rpm: dir=${dir}"' . "\n"
614 612 . ' while [ 1 ]; do' . "\n" . ' while [ 1 ]; do' . "\n"
615 . ' rg_extract_rpm_info "${dir}" || break' . "\n"
616 613 . ' local dst_tar_gz="/mnt/rpmbuild/SOURCES/${repo_username}+${spec_name}-${spec_ver}.tar.gz"' . "\n" . ' local dst_tar_gz="/mnt/rpmbuild/SOURCES/${repo_username}+${spec_name}-${spec_ver}.tar.gz"' . "\n"
617 614 . ' local dst_spec="/mnt/rpmbuild/SPECS/${repo_username}+${spec_file_base}"' . "\n" . ' local dst_spec="/mnt/rpmbuild/SPECS/${repo_username}+${spec_file_base}"' . "\n"
618 615 . "\n" . "\n"
 
... ... function start_worker($job)
1449 1446 . 'fi' . "\n" . 'fi' . "\n"
1450 1447 . "\n" . "\n"
1451 1448 . 'while [ "${ERR}" = "" ]; do' . "\n" . 'while [ "${ERR}" = "" ]; do' . "\n"
1449 . ' date +%s > /mnt/T_BUILD_START' . "\n" // TODO: not read and not exposed
1452 1450 . ' su - build -c "bash /mnt/build.sh" &>/mnt/status/build.log' . "\n" . ' su - build -c "bash /mnt/build.sh" &>/mnt/status/build.log' . "\n"
1451 . ' E=${?}' . "\n"
1452 . ' date +%s > /mnt/T_BUILD_END' . "\n" // TODO: this is not read and exposed
1453 . ' if [ "${E}" != "0" ]; then' . "\n"
1454 . ' ERR=$(< ~/rg_op.err)' . "\n"
1455 . ' break' . "\n"
1456 . ' fi' . "\n"
1453 1457 . "\n" . "\n"
1454 1458 . ' # Now we may have the .spec file, we can try to extract info' . "\n" . ' # Now we may have the .spec file, we can try to extract info' . "\n"
1455 . ' _deps=`cat /mnt/tmp/_deps 2>/dev/null`' . "\n"
1459 . ' rg_extract_rpm_info /mnt/target || break' . "\n"
1460 . ' _deps=`cat /mnt/tmp/_deps`' . "\n"
1456 1461 . ' if [ "${_deps}" != "" ]; then' . "\n" . ' if [ "${_deps}" != "" ]; then' . "\n"
1457 1462 . ' echo; echo "`date`: Installing dependencies [${_deps}]"' . "\n" . ' echo; echo "`date`: Installing dependencies [${_deps}]"' . "\n"
1458 1463 . ' export DEBIAN_FRONTEND=noninteractive' . "\n" . ' export DEBIAN_FRONTEND=noninteractive' . "\n"
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/rocketgit

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

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

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