* Git without SSH Server and cygrunsrv @ 2017-06-13 0:13 mlists 2017-06-13 4:00 ` Marco Atzeri 0 siblings, 1 reply; 7+ messages in thread From: mlists @ 2017-06-13 0:13 UTC (permalink / raw) To: cygwin 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. Thanks. :) -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Git without SSH Server and cygrunsrv 2017-06-13 0:13 Git without SSH Server and cygrunsrv mlists @ 2017-06-13 4:00 ` Marco Atzeri 2017-06-13 10:22 ` Adam Dinwoodie 0 siblings, 1 reply; 7+ messages in thread From: Marco Atzeri @ 2017-06-13 4:00 UTC (permalink / raw) To: cygwin On 13/06/2017 02:13, mlists@x76.eu 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. python is a dependency of git (due to /usr/libexec/git-core/git-p4) you don't need the openssh server but you need the client and they are in the same package. If you are programming you need binutils anyway. > Thanks. :) Regards Marco -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Git without SSH Server and cygrunsrv 2017-06-13 4:00 ` Marco Atzeri @ 2017-06-13 10:22 ` Adam Dinwoodie 2017-06-14 5:39 ` mlists 2017-06-15 16:41 ` [PATCH git] Separate git-p4 subpackage Yaakov Selkowitz 0 siblings, 2 replies; 7+ messages in thread From: Adam Dinwoodie @ 2017-06-13 10:22 UTC (permalink / raw) To: cygwin 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: <https://github.com/me-and/Cygwin-Git>. > 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Git without SSH Server and cygrunsrv 2017-06-13 10:22 ` Adam Dinwoodie @ 2017-06-14 5:39 ` mlists 2017-07-03 12:25 ` Adam Dinwoodie 2017-06-15 16:41 ` [PATCH git] Separate git-p4 subpackage Yaakov Selkowitz 1 sibling, 1 reply; 7+ messages in thread From: mlists @ 2017-06-14 5:39 UTC (permalink / raw) To: cygwin Thank you for the explanation Adam. Last question: How much more is the workload for maintaining a "splitted package"? I understand I can contribute with patches but if it would increase the workload for the maintainers, then I think there's no point in doing it. Regards On 2017-06-13 17:22, Adam Dinwoodie wrote: > 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: <https://github.com/me-and/Cygwin-Git>. > >> 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 > -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Git without SSH Server and cygrunsrv 2017-06-14 5:39 ` mlists @ 2017-07-03 12:25 ` Adam Dinwoodie 0 siblings, 0 replies; 7+ messages in thread From: Adam Dinwoodie @ 2017-07-03 12:25 UTC (permalink / raw) To: cygwin On Wed, Jun 14, 2017 at 12:35:13PM +0700, mlists wrote: > Thank you for the explanation Adam. > > Last question: How much more is the workload for maintaining a "splitted > package"? > > I understand I can contribute with patches but if it would increase the > workload for the maintainers, then I think there's no point in doing it. Once the patch is submitted and tested, it's effectively zero extra work. Yaakov has now submitted a patch for this, so I just need to test that works as expected (and in particular nothing non-p4 related is obviously broken if the new git-p4 package isn't installed), then I'll be able to publish it. As I've said elsewhere, my time as Git maintainer is currently focused on getting the latest upstream release working on Cygwin at all, so it may be a short while before I can do the testing, but it will hopefully happen soon... Adam -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH git] Separate git-p4 subpackage 2017-06-13 10:22 ` Adam Dinwoodie 2017-06-14 5:39 ` mlists @ 2017-06-15 16:41 ` Yaakov Selkowitz 2017-07-03 12:21 ` Adam Dinwoodie 1 sibling, 1 reply; 7+ messages in thread From: Yaakov Selkowitz @ 2017-06-15 16:41 UTC (permalink / raw) To: cygwin This removes the python2 dependency from the main git package: https://cygwin.com/ml/cygwin/2017-06/msg00135.html --- git.cygport | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/git.cygport b/git.cygport index bc63458..679ab3f 100644 --- a/git.cygport +++ b/git.cygport @@ -9,7 +9,7 @@ inherit perl NAME="git" VERSION=2.12.3 -RELEASE=1 +RELEASE=2 CATEGORY="Devel" SUMMARY="Distributed version control system" DESCRIPTION="Git is a free and open source distributed version control system @@ -59,11 +59,11 @@ DEPEND=" BASH_COMPLETION_DIR="$(pkg-config --variable=completionsdir bash-completion)" -PKG_NAMES="git gitk gitweb git-cvs git-email git-gui git-svn" +PKG_NAMES="git gitk gitweb git-cvs git-email git-gui git-p4 git-svn" git_REQUIRES="cygutils less openssh rsync" git_CONTENTS="--exclude=gitk* --exclude=git-cvs* --exclude=git-*email* --exclude=git-gui* --exclude=git-svn* --exclude=SVN* --exclude=Git.SVN.* - --exclude=git-instaweb* --exclude=gitweb* + --exclude=git-instaweb* --exclude=gitweb* --exclude=*p4* usr/bin/ usr/libexec/git-core/ ${PERL_VENDORLIB#/} ${PYTHON_SITELIB#/} usr/share/" git_OBSOLETES="git-completion" gitk_SUMMARY="Git repository browser" @@ -85,6 +85,10 @@ git_gui_SUMMARY="Graphical interface for Git version control system" git_gui_REQUIRES="git gitk" git_gui_CONTENTS="usr/libexec/git-core/git-gui* usr/share/doc/git/html/git-gui* usr/share/git-gui/ usr/share/man/man1/git-gui.1*" +git_p4_SUMMARY="Perforce compatibility support for Git version control system" +git_p4_REQUIRES="git" +git_p4_CONTENTS="usr/libexec/git-core/git-p4 usr/libexec/git-core/mergetools/p4merge + usr/share/doc/git/html/git-p4* usr/share/man/man1/git-p4.1*" git_svn_SUMMARY="Subversion compatibility support for Git version control system" git_svn_CONTENTS="usr/libexec/git-core/git-svn ${PERL_VENDORLIB#/}/Git/SVN* usr/share/doc/git/html/git-svn* usr/share/man/man1/git-svn.1* -- 2.12.3 -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH git] Separate git-p4 subpackage 2017-06-15 16:41 ` [PATCH git] Separate git-p4 subpackage Yaakov Selkowitz @ 2017-07-03 12:21 ` Adam Dinwoodie 0 siblings, 0 replies; 7+ messages in thread From: Adam Dinwoodie @ 2017-07-03 12:21 UTC (permalink / raw) To: cygwin On Thu, Jun 15, 2017 at 11:41:00AM -0500, Yaakov Selkowitz wrote: > This removes the python2 dependency from the main git package: > > https://cygwin.com/ml/cygwin/2017-06/msg00135.html Thanks! I've taken the patch and will integrate it shortly; currently my work on this package is focussed on getting the latest upstream release working on Cygwin without completely breaking the sha1 function, so this isn't yet top priority. -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-07-03 12:25 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-06-13 0:13 Git without SSH Server and cygrunsrv mlists 2017-06-13 4:00 ` Marco Atzeri 2017-06-13 10:22 ` Adam Dinwoodie 2017-06-14 5:39 ` mlists 2017-07-03 12:25 ` Adam Dinwoodie 2017-06-15 16:41 ` [PATCH git] Separate git-p4 subpackage Yaakov Selkowitz 2017-07-03 12:21 ` Adam Dinwoodie
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).