From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 7B724469719 for ; Sun, 25 Oct 2020 11:37:48 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Sun, 25 Oct 2020 11:37:43 +0300 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v1 2/3] update_repo: correct help message on remove List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirill Yukhin Cc: tarantool-patches@dev.tarantool.org Updated help message on remove option. --- tools/update_repo.sh | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/tools/update_repo.sh b/tools/update_repo.sh index 8e43f2442..0d39f108d 100755 --- a/tools/update_repo.sh +++ b/tools/update_repo.sh @@ -112,20 +112,22 @@ EOF Remove package specified by version from S3 repository. It will remove all found appropriate source and binaries packages from the given S3 repository, also the meta files will be corrected there. - Example of usage on 'tarantool-2.2.2.0' version: + Example of usage for DEB repositories on '2.2.2.0.' version: + ./tools/update_repo.sh -o= -d= -b= \\ + -r=tarantool_2.2.2.0. + It will search and try to remove packages: + tarantool_2.2.2.0.-1_all.deb + tarantool_2.2.2.0.-1_amd64.deb + tarantool_2.2.2.0.-1.dsc + tarantool_2.2.2.0.-1.debian.tar.xz + tarantool_2.2.2.0..orig.tar.xz + Example of usage for RPM repositories on '2.2.2.0' version: ./tools/update_repo.sh -o= -d= -b= \\ -r=tarantool-2.2.2.0 - It will search and try to remove packages: - - for DEB repositories: - tarantool-2.2.2.0-1_all.deb - tarantool-2.2.2.0-1_amd64.deb - tarantool-2.2.2.0-1.dsc - tarantool-2.2.2.0-1.debian.tar.xz - tarantool-2.2.2.0.orig.tar.xz - - for RPM repositories: + It will search and try to remove packages: x86_64/tarantool-2.2.2.0-1.*.x86_64.rpm x86_64/tarantool-2.2.2.0-1.*.noarch.rpm - SRPMS/tarantool-2.2.2.0--1.*.src.rpm + SRPMS/tarantool-2.2.2.0-1.*.src.rpm -f|--force Force updating the remote package with the local one despite the checksum difference -s|--skip_errors -- 2.25.1