From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 30 Aug 2007 15:06:41 +0400 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20070830110641.GB1332@solemn.turbinal> Mail-Followup-To: devel@lists.altlinux.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R3G7APHDIzY6R/pk" Content-Disposition: inline Subject: [devel] giter-factory: pkg_build_status X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 11:06:39 -0000 Archived-At: List-Archive: List-Post: --R3G7APHDIzY6R/pk Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =E8=CF=D2=CF=DB=CF. =E2=D5=C4=C5=CD =C9=D3=C8=CF=C4=C9=D4=D8 =C9=DA =CF=D4= =CB=C1=DA=C1 =CF=D4 src.rpm =C9 =C2=CF=CC=D8=DB=CF=CA =CE=C5=CF=D0=D2=C5=C4= =C5=CC=C5=CE=CE=CF=D3=D4=C9 =CE=C1 =D3=D4=C1=C4=C9=C9 =DA=C1=D0=D2=CF=D3=C1 =D3=CF=C2=D2=C1=D4=D8 =D0= =C1=CB=C5=D4 =C9=DA gear. =EB=F4=EF-=F4=EF =D0=CF=D0=D2=CF=D3=C9=CC =D3=CF= =C2=D2=C1=D4=D8 =EB=E1=EB=EF=EA-=F4=EF gear-=D2=C5=D0=CF=DA=C9=D4=C1=D2=C9=CA. =F0=D2=C9= =CD=C5=CE=D1=D4=D8 ACL =CE=C1 =C4=C1=CE=CE=CF=CD =DC=D4=C1=D0=C5 =C7=CC=D5= =D0=CF, gear-=D2=C5=D0=CF=DA=C9=D4=C1=D2=C9=CA =CD=CF=D6=C5=D4 =CE=C1=DA=D9=D7=C1= =D4=D8=D3=D1 =CB=C1=CB =D5=C7=CF=C4=CE=CF, =C9 =CD=D9 =EE=E5 =FA=EE=E1=E5= =ED, =DE=D4=CF =D6=C5 =C9=DA =CE=C5=C7=CF =D7 =CB=CF=CE=C5=DE=CE=CF=CD =D3=DE=A3=D4 =CD=CF= =D6=C5=D4 =D3=CF=C2=D2=C1=D4=D8=D3=D1. =E5=C4=C9=CE=D3=D4=D7=C5=CE=CE=D9= =CA =D3=D0=CF=D3=CF=C2 =DC=D4=CF =D7=D9=D1=D3=CE=C9=D4=D8 -- =D3=CF=C2=D2=C1=D4=D8 gear-=D2=C5=D0= =CF=DA=C9=D4=C1=D2=C9=CA. =EF=C2=DD=C9=CA =D0=D2=CF=C3=C5=D3=D3 =D7=D9=C7=CC=D1=C4=C9=D4 =D4=C1=CB: gear-request =3D gear-repo commit-id packager =3D invoker =20 /-> build_arch i586 -> build_arch_status -\ gear-request --> build_arch x86_64 -> build_arch_status --> check_build_sta= tus -> pkg_build_status | reject \-> build_arch ... -> build_arch_status -/ =EE=C1=CC=C9=DE=C9=C5 pkg_build_status =CF=DA=CE=C1=DE=C1=C5=D4 =DE=D4=CF = =D0=C1=CB=C5=D4 =C2=CF=CC=C5=C5-=CD=C5=CE=C5=C5 =D3=CF=C2=D2=C1=CC=D3=D1, =C9 =D4=C5=D0=C5=D2=D8 =ED=F9 =FA=EE=E1=E5=ED =DE=D4=CF =C9=CD=C5=CE=CE=CF = =D5 =CE=C1=D3 =D3=CF=C2=D2=C1=CC=CF=D3=D8. =E1 =D4=C1=CB=D6=C5 =CD=D9 =DA= =CE=C1=C5=CD, =DE=D4=CF =C9=CD=C5=CE=CE=CF =CE=D5=D6=CE=CF =C2=D5=C4=C5=D4 =D0=C5=D2=C5= =CB=CC=C1=C4=D9=D7=C1=D4=D8 =D7 =D3=C9=DA=C9=C6, =C5=D3=CC=C9 =D7=D3=C5 =D0= =CF=D3=CC=C5=C4=D5=C0=DD=C9=C5 =D0=D2=CF=D7=C5=D2=CB=C9 =D0=CF=CA=C4=D5=D4 =D5=D3=D0=C5=DB=CE=CF (=C9=CC= =C9 =C5=D3=CC=C9 =D0=CF=D4=CF=CD =D0=CF=D3=D4=D5=D0=C9=D4 =D0=CF=C4=D4=D7= =C5=D2=D6=C4=C5=CE=C9=C5 =D7=D2=D5=DE=CE=D5=C0). =E1=CC=D8=CE=C5=D2=CE=C1=D4=C9=D7=CE=CF, gear-request =CD=CF=D6=C5=D4 =D0= =CF=CC=D5=DE=C9=D4=D8 reject. =FC=D4=CF =CF=DA=CE=C1=DE=C1=C5=D4, =DE=D4=CF =D0=C1=CB=C5=D4 =CC=C9=C2=CF =CE=C5 =D3=CF=C2=D2=C1=CC=D3=D1, =CC=C9=C2=CF = =D3=CF=C2=D2=C1=CC=D3=D1 "=D3=CF=D7=D3=C5=CD =D0=CC=CF=C8=CF". =F4=C5=D0=C5=D2=D8 =C4=C5=D4=C1=CC=C9=DA=C9=D2=D5=C0 =DC=D4=C9 =C9=C4=C5=C9= =CE=C1 =D0=D3=D7=C5=C4=CF=CB=CF=C4=C5. =FA=CE=C1=CB "=3D" =CB=C1=D3=C1=C5= =D4=D3=D1 =D3=D4=D2=D5=CB=D4=D5=D2 =C4=C1=CE=CE=D9=C8, =DA=CE=C1=CB "::" =CF=DA=CE=C1= =DE=C1=C5=D4 =C6=D5=CE=CB=C3=C9=C0, =D3=D4=D2=C5=CC=CB=C1 "->" =CF=DA=CE=C1=DE=C1=C5=D4 =D4=C9=D0 (=D3=C9=C7=CE=C1=D4=D5=D2=D5) =C6=D5=CE= =CB=C3=C9=C9. build_arch :: gear-request -> build_arch_status can_build_srpm =3D gear hsh --build-args=3D-bs srpm_NSVR =3D rpm -qp srpm BuildRequires =3D rpm -qpR srpm buildroot_base =3D hsh --initroot, hsh-shell rpm -qa buildroot_BR =3D hsh-install BuildRequires, hsh-shell rpm -qa buildroot_BR =3D buildroot_BR \setminus buildroot_base hasher_exit_status =3D gear hsh build_arch_status =3D=20 gear-request can_build_srpm srpm_NSVR BuildRequires buildroot_base buildroot_BR hasher_exit_status RPMS.hasher/*.rpm check_build_status :: build_arch_status+ -> pkg_build_status | reject all primary arches must build (hasher_exit_status =3D 0 for primary_arches) all srpm_NSVR must be the same (map this.srpm_NSVR build_arch_status+ |sor= t -u |wc -l =3D> 1) if at least one RPMS.hasher/*.rpm is noarch; then # noarch packages must build essentially the same on all arches # otherwise we DO NOT KNOW how to move them to sisyphus RPMS.hasher/*.rpm set must be the same for all arches rpm -qpl set must be the same for each RPMS.hasher/*.rpm for all arches rpm -qp --requires set must be the same for each RPMS.hasher/*.rpm for al= l arches rpm -qp --provides set must be the same for each RPMS.hasher/*.rpm for al= l arches, etc. fi pkg_build_status =3D pkg =3D srpm_NSVR build_arch_status+ =FA=C4=C5=D3=D8 =C5=D3=D4=D8 =D4=C1=CB=C1=D1 =C9=C4=C5=D1, =DE=D4=CF =CE=D5= =D6=CE=CF =D7=D9=C4=C5=CC=C9=D4=D8 primary =C1=D2=C8=C9=D4=C5=CB=D4=D5=D2= =D9, =CE=C1 =CB=CF=D4=CF=D2=D9=C8 =E4=EF=EC=F6=EE=EF =D3=CF=C2=D2=C1=D4=D8=D3=D1= , =C9 =D7=D9=C4=C5=CC=C9=D4=D8 =D7=D4=CF=D2=CF=D3=D4=C5=D0=C5=CE=CE=D9=C5 = =C1=D2=C8=C9=D4=C5=CB=D4=D5=D2=D9, =D4=C9=D0=C1 arm, =C4=CC=D1 =CB=CF=D4=CF=D2=D9=C8 =CE=C5 =CE=D5=D6=CE=CF = =C4=C1=D7=C1=D4=D8 reject =C5=D3=CC=C9 =CF=CE =CE=C1 =CE=C5=CA =CE=C5 =D3= =CF=C2=D2=C1=CC=D3=D1. =EE=D5 =C9 =D7=CF=D4. =EB=CF=C7=C4=C1 =C5=D3=D4=D8 pkg_build_status, =D4= =CF =D5=D6=C5 =CD=CF=D6=CE=CF =D0=D2=CF=D7=C5=D2=D1=D4=D8 ACL =C9 =C4=C1=CC=D8=DB=C5 =D5=D6=C5 =D0=D5=D3=CB=C1=D4=D8 =D4=C5=D3=D4=D9. --R3G7APHDIzY6R/pk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFG1qTAfBKgtDjnu0YRAkUGAJ9js5C8eJvQlJvXWAflV1sZmy3hPACdGEoM M0JM0PskEVtw9p8vy0E9qto= =yHZA -----END PGP SIGNATURE----- --R3G7APHDIzY6R/pk--