Tarantool development patches archive
 help / color / mirror / Atom feed
From: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
To: Oleg Piskunov <o.piskunov@tarantool.org>,
	Sergey Bronnikov <sergeyb@tarantool.org>,
	Alexander Turenko <alexander.turenko@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1 3/3] Add help instruction on 'product' option
Date: Mon, 30 Mar 2020 08:38:06 +0300	[thread overview]
Message-ID: <47387478541cada7e64e6748c8935dc97b9af7f3.1585546307.git.avtikhon@tarantool.org> (raw)
In-Reply-To: <cover.1585546306.git.avtikhon@tarantool.org>
In-Reply-To: <cover.1585546306.git.avtikhon@tarantool.org>

From: "Alexander.V Tikhonov" <avtikhon@tarantool.org>

Added instructions on 'product' option with examples.

Follow-up #3380
---
 tools/update_repo.sh | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/tools/update_repo.sh b/tools/update_repo.sh
index 975a76c00..85df7f795 100755
--- a/tools/update_repo.sh
+++ b/tools/update_repo.sh
@@ -80,7 +80,27 @@ EOF
     done
     cat <<EOF
     -p|--product
-         Product name to be packed with, default name is 'tarantool'
+         Product name to be packed with, default name is 'tarantool'.
+	 Product name value may affect location of *.deb, *.rpm and
+         related files relative to a base repository URL. It can be
+         provided or not: the script will generate correct repository
+         metainfo anyway.
+         However providing meaningful value for this option enables
+         grouping of related set of packages into a subdirectory
+         named as '${product}' (only for Deb repositories at moment
+         of writing this).
+         It is enabled here for consistency with locations of other
+         Deb packages in our repositories, but in fact it is the
+         internal detail, which does not lead to any change in the
+         user experience.
+         Example of usage on 'tarantool-queue' product:
+           - for DEB packages:
+             ./$0 -b=s3://<target repository> -o=debian -d=stretch \\
+               <DEB repository>/debian/pool/stretch/main/t/tarantool-queue \\
+               -p=tarantool-queue
+           - for RPM packages:
+             # prepare local path with needed "tarantool-queue-*" packages only
+             ./$0 -b=s3://<target repository> -o=fedora -d=30 <local path>
     -f|--force
          Force updating the remote package with the local one despite the checksum difference
     -s|--skip_errors
-- 
2.17.1

  parent reply	other threads:[~2020-03-30  5:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-30  5:38 [Tarantool-patches] [PATCH v1 0/3] extend packages pushing to S3 script Alexander V. Tikhonov
2020-03-30  5:38 ` [Tarantool-patches] [PATCH v1 1/3] Add metafiles cleanup routines at S3 pack script Alexander V. Tikhonov
2020-03-30  5:38 ` [Tarantool-patches] [PATCH v1 2/3] Enable script for saving packages in S3 for modules Alexander V. Tikhonov
2020-03-30  5:38 ` Alexander V. Tikhonov [this message]
2020-03-30 14:40 ` [Tarantool-patches] [PATCH v1 0/3] extend packages pushing to S3 script Sergey Bronnikov
2020-04-11  5:04   ` Oleg Piskunov
2020-04-15 13:51 ` Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47387478541cada7e64e6748c8935dc97b9af7f3.1585546307.git.avtikhon@tarantool.org \
    --to=avtikhon@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=o.piskunov@tarantool.org \
    --cc=sergeyb@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 3/3] Add help instruction on '\''product'\'' option' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox