From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imath.kiev.ua; s=hydra; t=1508948449; bh=tCQ1b6IUPTijhmwm1NfEGAovMoZ3Kd5r2GxkFp/LKu8=; h=Date:From:To:Subject; b=OgIULvxBfSJhXcYf3gy47t32YHOA3n4p+GcQ4H55FMHGCejHD41BDBmBXf2UYlCwT /T45WpYRJ2B5ED3Ax7KFp3cxdAOwKVwlstttDR7yUtQENbmsbq+mPHd8g46kp8SQOF uGiOu706qCvwB+ImA3CUIQXie+f/HAq+FGI+i3AE= Date: Wed, 25 Oct 2017 19:20:48 +0300 From: Igor Vlasenko To: devel@lists.altlinux.org Message-ID: <20171025162047.GA24518@dad.imath.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.9.1 (2017-09-22) Subject: [devel] I: gear-remotes-restore with git source comments support 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: Wed, 25 Oct 2017 16:20:51 -0000 Archived-At: List-Archive: List-Post: Господа, По итогам обсуждения в devel@ ([devel] Неизвестный апстрим пакетов) в утилиты gear-remotes-* добавлена поддержка комментариев в спеке, указывающих на upstream git repository, в различных форматах (в т.ч. # Source-git:) Как это работает на примере xfce4-hardware-monitor-plugin.git $ gear-remotes-restore gear-remotes-restore: .gear/upstream/remotes not found. However, spec file has a comment # git://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin run gear-remotes-set-from-spec-comment to set the url from spec file comment or gear-remotes-set-from-url to set the git url manually. $ echo $? 1 Просто поиск комментариев работает с помощью $ gear-remotes-set-from-spec-comment --print git://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin без --print gear-remotes-set-from-spec-comment запишет этот URL как upstream. -- I V