From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 13 Feb 2024 15:15:33 +0300 From: Denis Medvedev To: Paul Wolneykien Message-ID: <20240213151533.5ec12000@icebreaker> In-Reply-To: <20240213135646.78b25bd2@legato> References: <20240213135646.78b25bd2@legato> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: ALT Linux Team development discussions Subject: Re: [devel] hsh-remote X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2024 12:15:34 -0000 Archived-At: List-Archive: List-Post: On Tue, 13 Feb 2024 13:56:46 +0300 Paul Wolneykien wrote: >=20 > =D0=92=D1=81=D0=B5=D0=BC =D0=BF=D1=80=D0=B8=D0=B2=D0=B5=D1=82. =D0=9D= =D0=B0=D0=B1=D1=80=D0=BE=D1=81=D0=B0=D0=BB =D1=82=D1=83=D1=82 =D0=B4=D0=BB= =D1=8F =D1=81=D0=B5=D0=B1=D1=8F =D0=BA=D0=BE=D1=80=D0=BE=D1=82=D0=BA=D1=83= =D1=8E =D1=83=D1=82=D0=B8=D0=BB=D0=B8=D1=82=D0=BA=D1=83 =D0=B4=D0=BB=D1=8F = =D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0 > =D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8 =D0=BD=D0=B0 =D1=83=D0=B4=D0=B0=D0= =BB=D1=91=D0=BD=D0=BD=D0=BE=D0=B9 =D0=BC=D0=B0=D1=88=D0=B8=D0=BD=D0=B5 =D0= =BF=D1=80=D1=8F=D0=BC=D0=BE =D0=B8=D0=B7 gear: >=20 > gear --hasher -- hsh-remote ... gear-remote-hsh =D0=B6=D0=B5. =D0=A3=D0=B6=D0=B5 =D0=B5=D1=81=D1=82=D1=8C. = =D0=9F=D1=80=D1=8F=D0=BC=D0=BE =D0=B2 =D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D0=B5 = gear >=20 > =D0=92=D0=BE=D0=BF=D1=80=D0=BE=D1=81, =D1=81=D1=82=D0=BE=D0=B8=D1=82 = =D0=BB=D0=B8 =D0=B4=D0=BE=D0=B2=D0=BE=D0=B4=D0=B8=D1=82=D1=8C =D0=B4=D0=BE = =D1=83=D0=BC=D0=B0? =D0=98=D0=BB=D0=B8 =D0=BC=D0=BE=D0=B6=D0=B5=D1=82 =D0= =B1=D1=8B=D1=82=D1=8C =D1=83=D0=B6=D0=B5 =D0=B5=D1=81=D1=82=D1=8C =D1=82=D0= =B0=D0=BA=D0=BE=D0=B5, =D0=B0 =D1=8F > =D0=BD=D0=B5 =D0=B7=D0=BD=D0=B0=D1=8E? :) >=20 > #!/bin/sh -efu >=20 > workdir=3D"$TMPDIR/hasher" >=20 > HOST=3D"$1"; shift > PKGFILE=3D"${@:$#}" > rsync -v "$PKGFILE" "$HOST":"$workdir/hsh-remote.pkg" > set -- "${@:1:$(($#-1))}" > ssh "$HOST" -- "$@" "$workdir/hsh-remote.pkg" > mkdir -p "$workdir/repo" > rsync -av "$HOST":"$workdir/repo/" "$workdir/repo/" > _______________________________________________ > Devel mailing list > Devel@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/devel