From b7f01fafca134a3431f421c9eaa6dc32a398513c Mon Sep 17 00:00:00 2001 From: Jean Connelly Date: Wed, 23 Aug 2023 13:58:54 -0400 Subject: [PATCH] Update docstring to note it works on non-metapackages --- skare3_tools/scripts/skare3_promote.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/skare3_tools/scripts/skare3_promote.py b/skare3_tools/scripts/skare3_promote.py index e776e6a..b8f1d2f 100755 --- a/skare3_tools/scripts/skare3_promote.py +++ b/skare3_tools/scripts/skare3_promote.py @@ -1,15 +1,15 @@ #!/usr/bin/env python """ -Promote ska3 meta-packages from a list of channels to one target channel. +Promote ska3 meta-packages or packages from a list of channels to one target channel. "Promotion" usually means copying conda package files from the source channels to the target channel. The channels are expected to be within the same directory, which is specified by the `ska3-conda` argument. -The meta-packages to be promoted must be defined in skare3. This script -reads the metapackage's meta.yaml requirements in skare3, finds the -corresponding packages in the source channels, and copies/moves them to the -target channel. +The packages to be promoted must be defined in skare3. If the package is +a ska3- metapackage, this script reads the metapackage's meta.yaml requirements +in skare3, finds the corresponding packages in the source channels, and copies/moves +them to the target channel. """ import argparse import logging