X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=AfI2 u2mOEPNBRGer7F7xbxWz3DqJnPkI/AJqGRDjzCxwFQj0G7w+jjgb6XP78vt5c9MZ sOvtWlONqYOL2GhbCplrIXD1SgpS5Ydsz+fajC5DT20Vvp7fyzFTRru79AUWLjIP DB3GdLD+iP9F0U1f6p64sS5Y25xa+jovlr9wLCY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=cHWmNA2lC9 c+tKsSvlKmDchZ+xY=; b=qxkB5Cx5RdRHVvpsHaEHNtHQ4bNWzQmAs7IixDjGVz 5qWAyRsUORTyv9/okwlmOLWzx5sdMXPBZD3sAWiCe58jXMLvXs7X6K39A7TsPeti 4AauejrCH4Ud76aGjfLX7/jl7+zWHU1XWR215HbmIlf396kRS0cY6kFVkqgZ7v0f 8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-wr0-f172.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AX850EQxqp45CItUmXZfxiUuTN5E83DPlRhj2lmpyiU=; b=WhVZih3xw2zr7Y1Kog+B6ZrPswx7f8SIkd/DxC9ELGZawsVXRe1gTuzgNu9q8pvycu /qQwSXynBQyscD6zOu4apE4E/KTTCkII+bA1HuJ1Jwc/65vpN2qbc4D1Q0t8e2jz4Hr/ jlevaTTnppotiKqrti9ToBsjfeS7DpvVke1eBNFvgG9QawpqtWm2zGn2KTLBaQ+1Tafn X9JYot+Acir5CexKNQSmzXafnXpq/IzJ5dsu7REUg7jCVxYDL9pPZWv7nrgM7WoEg/wL FZwG7Uq/MCFhKC4yquKJm9fKgBGqaLR6exQD+eFJluVZMhZ98YO32naKsz9PdjXCzwYT 5Edw== X-Gm-Message-State: AKS2vOyQl47JwxJ947jX4nbxAkWvztr3SncZpYa09+K6FAz7DRe5AiKQ nYrmNcnoWAvusBjbABlMPQ== X-Received: by 10.223.170.204 with SMTP id i12mr2190339wrc.163.1497349368339; Tue, 13 Jun 2017 03:22:48 -0700 (PDT) Date: Tue, 13 Jun 2017 11:22:45 +0100 From: Adam Dinwoodie To: cygwin AT cygwin DOT com Subject: Re: Git without SSH Server and cygrunsrv Message-ID: <20170613102245.GH25777@dinwoodie.org> References: <31259544-9925-b5d5-bc65-a1de4bdbfbe0 AT x76 DOT eu> <1580b73b-bfde-e47d-6141-766a695e287a AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1580b73b-bfde-e47d-6141-766a695e287a@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes On Tue, Jun 13, 2017 at 05:59:45AM +0200, Marco Atzeri wrote: > On 13/06/2017 02:13, mlists wrote: > >Hi, > >how can I install Git without binutils, cygrunsrv, python and OpenSSH > >server? > > > >I want to work with remote repositories using clone/pull/push, built > >would like to avoid having to install a ton of other things that won't > >be used. > > cygrunsrv is part of the cygwin package. This isn't true: cygrunserv is pulled in as an openssh dependency. > python is a dependency of git > (due to /usr/libexec/git-core/git-p4) I have a vague intention of separating out git-p4 into a separate package, primarily so that the core git package doesn't need to require python. However, I haven't got to that work for some time, and it's not likely to make it up my priority list any time soon either. If you know you're not going to use git-p4, you can manually skip the python dependency selection. If you want to avoid having to deselect the python package using the (admittedly awkward) setup-*.exe interface, I'd gratefully take patches and pull requests for this work, either on this list or on the GitHub repository: . > you don't need the openssh server but you need the client > and they are in the same package. Likewise, if you know you're not going to need the SSH client (which will depend on how you're interacting with the remote repositories), you can deselect it at installation time. Given (a) openssh is a small package even including all its dependencies (totals about 750 kiB by my count) and (b) connecting via SSH is a mainline use case for Git, I'm not going to change the Cygwin git packages to skip this dependency. If you really want Git without SSH support, you'll need to compile it from source yourself. You could try petitioning the OpenSSH maintainer, Corinna, to split the package into openssh-client and openssh-server or similar, which would reduce some of the dependencies, but for similar reasons I can't imagine there's much appitite for that. > If you are programming you need binutils anyway. Likely true. In any case, binutils is currently being pulled in via the python package and git-p4, so as soon as I / someone does the work to split git-p4 out into a separate package, binutils will stop being a dependency of the core git package. Adam (Your local friendly Cygwin Git maintainer) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple