From owner-svn-src-all@freebsd.org Thu Jan 17 22:42:07 2019 Return-Path: Delivered-To: svn-src-all@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 A3CBD148235D; Thu, 17 Jan 2019 22:42:07 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2028B88D22; Thu, 17 Jan 2019 22:42:07 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf1-x42b.google.com with SMTP id z9so5542701pfi.2; Thu, 17 Jan 2019 14:42:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=SzzKjqQHsR533bgl0deVFjugbvZDMIN4uGzcj7mWG7c=; b=DlaaF13HNgj+dBrckJI5RcF9RhYN/nEEegfCq+Bhyry3dvpAa5fqg9QRAP7nf7+5TI PhVYxow3JP8MeFxQ1HqK/O4Zyc8cRBUljmqyd0E4kl8kPC15mPP+NCUpErbYSVRycEgd 0hBL5Sb3UXXaQo6Fa+xzZzbphtZ94y7w7etOWAr2R7acltvJvh8vb7cu4oPT3tSzGfWJ Niv3Z5UqL2Cxe8adcbWzOvvUIVrWKuq3s2lQN8Gc2HXAVfL31O6mSu94cVJaS57+RwBm NxLdPwdjkbhBx0DLXdGuybNc9jNdgi7xYrmkuMYRcULPSbx9NaXOdKUlRUCEErGSgJJS Bpfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=SzzKjqQHsR533bgl0deVFjugbvZDMIN4uGzcj7mWG7c=; b=icSpj6UERem5m9NdBfJ1KS9R1YaXm6Gpq+aQPLq1vtpe8zg5aL8Ar1ttIuIpfdRup1 rzfTz3VVCa4s+7y+wg08N/OxtfJcMKJJZbXgl7u0lh07wqKq1XReCFPD70YWea17/yrx OhUgJ02YTpE/Klcrlgf9+D2jNGJrybLv+ngj52hYw3B2PWFnK9IfPY71jd5JjoCCSt+V 3UhKr8w+IOTvtepHMixIVdgVhZI3y5QFdJJEzGq6KpUjE+XE+hSq6+TaQb93dPSXfr6N VH7Y6Td118i7l6usFcYBQJ4fe2B+3+TVmtl+VW2vbYhMWrmH7eCy30qPNdw6U/STbVx1 RZMA== X-Gm-Message-State: AJcUukdQtZs82u7yGROUSeHPxyfj4SrJxfonfretLDe3v53B5Kc+s8hf jQB3vOtgU7Pu8VRgJXTapXQWEbGN X-Google-Smtp-Source: ALg8bN4ilXWkBcJFwBQieuoXYHuFKS2rja3R8yTAKhXkXV8dDyOKkEaiNs9S9tvU4O4ANLGWrBe4Tw== X-Received: by 2002:a63:ce50:: with SMTP id r16mr15001119pgi.217.1547764925698; Thu, 17 Jan 2019 14:42:05 -0800 (PST) Received: from [10.252.30.249] ([198.134.98.50]) by smtp.gmail.com with ESMTPSA id 62sm2909282pgc.61.2019.01.17.14.42.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jan 2019 14:42:04 -0800 (PST) From: Enji Cooper Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_6CB1620B-6707-4F06-B7FF-9F1ECBA36F56"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: svn commit: r343118 - in head/usr.sbin: . trim Date: Thu, 17 Jan 2019 14:42:04 -0800 In-Reply-To: Cc: Cy Schubert , "Conrad E. Meyer" , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org To: Maxim Sobolev References: <201901172046.x0HKkvWs011502@slippy.cwsent.com> X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 2028B88D22 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2019 22:42:07 -0000 --Apple-Mail=_6CB1620B-6707-4F06-B7FF-9F1ECBA36F56 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 17, 2019, at 2:25 PM, Maxim Sobolev = wrote: >=20 > What I think we really need is some way to easily porti-ze useful = stuff that would otherwise go into /usr/[s]bin, so adding things would = be just as easy as hooking up SUBDIR into usr.[s]bin/Makefile. Yes, I = know, this is topic almost as old as the FreeBSD Project itself, but = perhaps we just did not approach it the right way. It was always the = idea that we would just move bunch of stuff from src/usr.[s]bin repo = into ports/. Which brings several important question such as "who is to = host the distfile"? "where sources hosted", "who is to update the port = when changes happen?" etc. Projects like this could be hosted on GitHub. Ports supports GitHub out = of the box, so this seems like a low barrier for entry (the bonus of = doing this is that the projects could potentially be used by other = non-FreeBSD projects, and contributed by others outside the FreeBSD = project; the downside is having to deal with FreeBSD CI, as Travis CI = only supports Linux (IIRC making Travis support FreeBSD is a non-trivial = project, but it=E2=80=99s likely a very worthwhile goal, as it would = make it easier to catch issues upfront with third-party projects that = FreeBSD consumes, like llvm), enforcing style (can be done with git = commit hooks and GitHub checks), etc. I would really like to do these = things because it=E2=80=99s difficult getting folks to support FreeBSD = in third-party projects as-is. Lowering the barrier of entry would allow = FreeBSD and its developers to better scale (and make FreeBSD more of a = first-class OS). > Perhaps even by forking the whole ports idea into a smaller = closely-guarged subset. Something like a new baseports repository, which = might have structure like baseports/usr.bin/xxx, baseports/usr.sbin/yyy = etc. Then add some automagic glue to kick in on every commit and = transfer this into valid ports, which is going to be packaged by the = poudriere and such. This way we could reduce amount of port-foo average = src committer needs in order to maintain code. I am almost tempted to = sit and write something over the next weekend or few of thereofs. Using = usr.sbin/trim as an example. Please see my above comment. Cheers! -Enji --Apple-Mail=_6CB1620B-6707-4F06-B7FF-9F1ECBA36F56 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtvtxN6kOllEF3nmX5JFNMZeDGN4FAlxBBLwACgkQ5JFNMZeD GN5Oog//eg4gG5Onqnn9+CKOMxhk+ELELTyd4gb2Yx81EmpBdHpusExAI8eZfhzQ e5Grt7jipkNeqPUaLlEmRGBbYSHbq7mE2tHQ8SIkLdWHt72YZ2Rco43TbXlmzzIF ka+A1A+6jkBPk1qez1RHYoMs2F3jdND+1SvGnwAqWeMklMD9RAfy0QCFe3uh87cZ sApG8b8zzn7hk3VTGn1pJJzKZGZUOCYxBrZcO6zckEdiqoLmMPsCcRHG3/xJ7jRW MyiblPqeKdNMEXPzKmO/RRb5Dbjq2hXbrKWI0HCb8EwKt8KUCOWSIy+C7OLBxlQS ArpJA+xo8zVvMitb+kekxupjfYBZlPBDOV2aSQLCXAZj4jQI9hqRQOqYBw0Kt72q FH5HjteRrcIdaamrHt6lRvYPBe4SBWvd7jomFhxCiWSg+jvx0rC9zFC+4uSzqEsr v16ZLSmnPP0e5OltgGP0JM7fNkMxhU2o9VVglaR3OhhuouvXml4iXGncsdoIeeEn E9qNm6xW5GnPdu81CRgtpOAQ6JHbJ2/rYcgPt7SAiVh3Qm2RNFyLbGcWXYTo5Pgv sCEwhR2ENCgwpqpFSHkKB0wpWE3ZskTjMFhvirDYm91R/6NRuEPc5k8gpMEOOKii E8Mbb2Y/pTd4iK8O01wL4dPkFfLkWZsNBP6n5ootb1hI7iKmKjE= =RYxu -----END PGP SIGNATURE----- --Apple-Mail=_6CB1620B-6707-4F06-B7FF-9F1ECBA36F56--