From patchwork Sat Feb 9 20:23:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 1039287 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="OL7VHX9d"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43xk6D5tWLz9sNJ for ; Sun, 10 Feb 2019 07:24:04 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5943786C4D; Sat, 9 Feb 2019 20:24:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4qNkcqtpVnq0; Sat, 9 Feb 2019 20:24:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2951F86CE7; Sat, 9 Feb 2019 20:24:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6776D1BF82F for ; Sat, 9 Feb 2019 20:23:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6534086130 for ; Sat, 9 Feb 2019 20:23:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6w4NHfMOjKvs for ; Sat, 9 Feb 2019 20:23:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 794568612E for ; Sat, 9 Feb 2019 20:23:58 +0000 (UTC) Received: by mail-ed1-f41.google.com with SMTP id d9so713912edh.12 for ; Sat, 09 Feb 2019 12:23:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d6x6joTy3QvzKakfHvPZdMGHBa5yKUAP6QQK5W6zI8w=; b=OL7VHX9dOaZLsmIdbzJr+0CrFoIjZU26yf6LeZfpqHZyrMQ1aqkVxRoWovQY6tdcoo tEgYWbkeGbz96V947G8/FkBkXneb89YME7RZlRCaxubf5QJCLepQjcdZPZhDWsQUjqUp uvcITVaM8Buo6xevs65kXCiwlS2rupXb3T1F40BCvJxeM1JsFwYBXqODDRIzgoLCgSPo QA+ge21xQ6aGDkf3Vg13YoYjGh6r6qyu4eFHrO94pKmQruvogf2B+wA6YppMIOj2bfHM 9/gTsqvWHd5k/IrNSQcqFgSNexuG4g0BmypPRAITq3uG0/J2vCql9CZEd8pG5UCVopPE 5M3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d6x6joTy3QvzKakfHvPZdMGHBa5yKUAP6QQK5W6zI8w=; b=oFF4r+2GLe3nONbVaBqt+x4dlfUZMP4oQpFmLSSc4w+q7Z/hQMJUHGuoqCLnKJAQ37 fUzEnMuvYIn3pXw3RqSuv/KWDV9p9L943nk67VvYDrlVxp3YgrOfe3ULHCg/qobZ1Dc5 kx5P2BJnJqNDERuqGbeTWJOPxK71XajUAXUF7gRhNJeH306J5fVP00KYuGoWFDCnPsqA zWrOKKM5S1TMDC3+Q2jrd0T51EN/pvXX/q+HpIf/HAASagsX8QlttNnOJq75RSBUbdnK kQqVAZY6zkYJvJPcCG8kwJmiPq7YBD8KcXjUqDg5chGa+FT5GekYpykLhSlEvbS5nmWQ pypQ== X-Gm-Message-State: AHQUAuZNSfFXZOYUtIzdNByGHM4dyEF2NkmVVxZjTqlzlYe3NJdsZE1k zYWJEzTdPfK7wWC8vTYEsWzj5z1BDEw= X-Google-Smtp-Source: AHgI3IbRSvTgeZQLUNn2E8QNu/QGiGo1Nbr8ULSxUvuoQ165WAheH4AqtY+C17NNtTXmZ6KTuoEupQ== X-Received: by 2002:a05:6402:754:: with SMTP id p20mr7228868edy.258.1549743836665; Sat, 09 Feb 2019 12:23:56 -0800 (PST) Received: from localhost.localdomain (d54C493B0.access.telenet.be. [84.196.147.176]) by smtp.gmail.com with ESMTPSA id j16sm492310edt.81.2019.02.09.12.23.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Feb 2019 12:23:56 -0800 (PST) From: Thomas De Schampheleire To: buildroot@buildroot.org Date: Sat, 9 Feb 2019 21:23:49 +0100 Message-Id: <20190209202350.4984-7-patrickdepinguin@gmail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190209202350.4984-1-patrickdepinguin@gmail.com> References: <20190209202350.4984-1-patrickdepinguin@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCHv3 7/7] support/download/{bzr, cvs, git, svn}: highlight unimplemented source-check X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" , Thomas De Schampheleire Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Thomas De Schampheleire For bzr, cvs, git and svn, there is no method of checking whether the revision exists remotely, without actually cloning the repository. Therefore, there is no actual implementation for '-C' (checkonly) for these download helpers. The script will fall back to the normal download logic, which would effectively fail if the revision does not exist. For completeness, mention this unimplemented feature in the usage text. Signed-off-by: Thomas De Schampheleire --- support/download/bzr | 2 ++ support/download/cvs | 2 ++ support/download/git | 2 ++ support/download/svn | 2 ++ 4 files changed, 8 insertions(+) v3: no changes diff --git a/support/download/bzr b/support/download/bzr index 5289a421cd..278d8778af 100755 --- a/support/download/bzr +++ b/support/download/bzr @@ -7,6 +7,8 @@ set -e # # Options: # -q Be quiet +# -C (unimplemented) Only check that the revision exists in the +# remote repository. # -o FILE Generate archive in FILE. # -u URI Clone from repository at URI. # -c CSET Use changeset (or revision) CSET. diff --git a/support/download/cvs b/support/download/cvs index 9d0dc3cb3a..d9a586293a 100755 --- a/support/download/cvs +++ b/support/download/cvs @@ -7,6 +7,8 @@ set -e # # Options: # -q Be quiet +# -C (unimplemented) Only check that the revision exists in the +# remote repository. # -o FILE Generate archive in FILE. # -u URI Checkout from repository at URI. # -c REV Use revision REV. diff --git a/support/download/git b/support/download/git index 17ca04eb98..e9c02d6712 100755 --- a/support/download/git +++ b/support/download/git @@ -7,6 +7,8 @@ set -E # # Options: # -q Be quiet. +# -C (unimplemented) Only check that the revision exists in the +# remote repository. # -r Clone and archive sub-modules. # -o FILE Generate archive in FILE. # -u URI Clone from repository at URI. diff --git a/support/download/svn b/support/download/svn index 542b25c0a2..5fff064683 100755 --- a/support/download/svn +++ b/support/download/svn @@ -7,6 +7,8 @@ set -e # # Options: # -q Be quiet. +# -C (unimplemented) Only check that the revision exists in the +# remote repository. # -o FILE Generate archive in FILE. # -u URI Checkout from repository at URI. # -c REV Use revision REV.