From owner-freebsd-ports@freebsd.org Fri Jun 15 03:57:53 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BB061011832 for ; Fri, 15 Jun 2018 03:57:53 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3EC075711 for ; Fri, 15 Jun 2018 03:57:52 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yw0-x229.google.com with SMTP id t198-v6so2919558ywc.3 for ; Thu, 14 Jun 2018 20:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Ot3ZafQbf83a+d7Lhy/DWm4QHDQEfyCAd4HkOhBmhfg=; b=1xSW0r9CspcTIUYbE4Ko1wec2hfWInk9YUfV1DqhA3sQN/bs03Otip4vBi64nVfKrL Dj+PT3UkBqNS4iTBov/qudmUPDaR2V6bTQJ7Ku5Ca2CkwseMs/gJ0cr6eiLV9i+qD+pF bVlvOJkoQiV26qBruVCNMw9LDMYtXiOBOw/KTQADRPtMGou9ho4bsKbAMQJB3PWxU7vJ SK5KRrXWqbymFuh3DKxpLXXS7S1m/iJnXHdKevXixDJJoG518Mg1qixVXa+4hm6gEBKo iH68MuPr2oDKy36AcRF6fbs1NQkkqqgNQy45zrgraMLNjCgKlLSuUOZe2G/zfr5ANJsK aniA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Ot3ZafQbf83a+d7Lhy/DWm4QHDQEfyCAd4HkOhBmhfg=; b=bg3nVoesLOWhzwJFOmVZQ/+44bGPDgDru9gtcif1cgQ6Zjhqhv4aZTYESI5KLDGMAt liWwQaqKxJl2ifnZ15IdyO5M0I9ubGfD4woKsfFZYpgJ9VCnZXtYG0+uyjgIc4CWe8+A xkMSq+YVXD0W5Ibi0GIDsahRIg65FWiIKrAKxQu7X2LYtlywbO3oDFx0w0aOrNu2/Ys4 ADppZP3RMhS53kCnVTovopEl0BcdKySzpcPTHv4ANJF8E+syW5UiU8DAlfy1PPqTaNbu AUH150DI6zDPWY8i+SQzjC8gvlIKIZ6GfE9bKlqhr8GMzm8FgWgi05LqRBzS49nAiIJ/ 0xRg== X-Gm-Message-State: APt69E2ANKqcCXETCyDwmWtTd/bocmttlVHYgChpg0RQmsMnoT4ZELd2 9qR8XDfK2kr/LG52dHLZ/WLxJrTOqxa9nIgbelenRg== X-Google-Smtp-Source: ADUXVKJPmQVA5oBpIdmS1mFjjV6vyBT+BWTr9GpQ4/4JAddJRkGsndWm+5dsFEHXO/O7GaYqDVRPNQG3ROXyb2aJpTc= X-Received: by 2002:a81:a316:: with SMTP id a22-v6mr7620ywh.142.1529035071850; Thu, 14 Jun 2018 20:57:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adam Weinberger Date: Thu, 14 Jun 2018 21:57:35 -0600 Message-ID: Subject: Re: Removing git dependencies on perl5 and python27 To: mqudsi@neosmart.net Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 03:57:53 -0000 On Thu, Jun 14, 2018 at 8:16 PM Mahmoud Al-Qudsi wrot= e: > > Hello list, > > I'm probably not alone in considering git to be a core development tool, > perhaps just a notch or two below the C compiler. `git` and `sudo` are th= e two > packages I first install (after `pkg` itself) on any machine, and in many > cases that suffices to get a basic development environment going. > > However, the git package currently brings in a host of unwanted dependenc= ies, > and I *believe* they can be done without. > > This is the complete dependency graph for the git package [0] (generated = with > the newly-minted pkg-graph [1]). It pulls in perl5 and python27, both siz= eable > packages and both not required to use git. > > While git can be compiled without some of the additional dependencies suc= h as > expat or pcre, this results in a "crippled" git lacking in some core feat= ures, > and requires special build-time definitions like NO_EXPAT or NO_PCRE pass= ed to > the git Makefile. The other dependencies like curl, pcre, and gettext are= also > relatively small and typically part of even the most minimal system, but = perl5 > and python27 are full-blown runtimes for interpreted languages that have > fallen out of favor and have been successfully stripped from FreeBSD core= (and > even many Linux distributions). > > I'm sure these packages are not just there to have a good time and they s= erve > some purpose and enable a subset of the git functionality, but my questio= n > here today is whether that functionality is worth its weight in dependenc= ies, > and whether the ports team is open to seeing the git package stripped of = these > dependencies. > > (Obviously the option of adding a "git-lite" package =C3=A0 la "vim-lite"= also > exists, but I think it's fair to say that would be an ugly and unnecessar= y > compromise.) > > [0]: https://goo.gl/hozu1b > [1]: https://github.com/neosmart/pkg-graph Agreed. I'd personally much rather see small default packages and -kitchensink slaves, than massive default packages and -lite slaves. It's always struck me as odd that our git package comes with CVS and Perforce support. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org