From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 13 Feb 2024 13:56:46 +0300 From: Paul Wolneykien To: ALT Linux Team development discussions Message-ID: <20240213135646.78b25bd2@legato> Organization: BaseALT X-Mailer: Claws Mail 3.20.0 (GTK+ 2.24.33; x86_64-alt-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [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 10:56:47 -0000 Archived-At: List-Archive: List-Post: =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: gear --hasher -- hsh-remote ... =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? :) #!/bin/sh -efu workdir=3D"$TMPDIR/hasher" 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/"