From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 7 13:19:04 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D782F8F4 for ; Tue, 7 Apr 2015 13:19:04 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (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 736D8FB1 for ; Tue, 7 Apr 2015 13:19:04 +0000 (UTC) Received: by wiaa2 with SMTP id a2so18371863wia.0 for ; Tue, 07 Apr 2015 06:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=LChEKjBQ/Y3jK2NLbAiBDikoCusPmMpMDaqEi+5Vj40=; b=ixA+T6AT4a3t2gWGekuO4cDyIId2IR0QrAabOJmYsvh0Ck0Oq3ROXv8sHSsKEXeNpv U4Kmi4bwhXwgwQHvq1wG84xP8Hpa7z1YvYJ/cxltuYssE89WzT1yWmbtfl/hpWUooyYf Ah/AL0HgZo6UX4seHEagAlPIhz0C5WD9yg+uYs9TObIg/jv57Fsjkl406fRga+FhZGKI VpQiIkK1V0MACe94YDNOTdU60BMEAw3OqiRBBJvOrzbCF1CFScJgd/aDopQSAoRlIL1e DVlFTO6yqyxb8IpQpjOcVFJIT0JFsTbC46NgIQyFWd7p2N6/jA+84d/qGGwk1sj8k3xX HO8g== X-Received: by 10.194.239.65 with SMTP id vq1mr38569019wjc.98.1428412742934; Tue, 07 Apr 2015 06:19:02 -0700 (PDT) Received: from localhost ([217.14.212.217]) by mx.google.com with ESMTPSA id i13sm10559477wic.13.2015.04.07.06.19.02 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 07 Apr 2015 06:19:02 -0700 (PDT) Date: Tue, 7 Apr 2015 15:18:58 +0200 From: To: hackers@freebsd.org Subject: (GSoC 2015) Parallel ports build and installation => paraports Message-ID: <20150407151858.00004a21@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 13:19:04 -0000 Hello, You already know me so no need for introduction. ;) It is application for configuring, fetching, building and installing software (ports) on FreeBSD It provides a safe way for building AND installation of several ports simultaneously by taking care of order of dependencies. Each build process is independent of others with it's own dir where output (separated in 2 files, one for STDOUT and second for STDERR) is stored in case if build error occurs. Number of simultaneous builds depends on chosen amount of jobs, which defaults to 2 jobs per core. 1 core CPU performed fastest with 2 jobs = 2 simultaneous builds Allows multicore machines to use all its potential It also supports building AND installation in DESTDIR, which is demonstrated in video. With -e flag rnable all '-o' installed origins in rc.conf Best part => whole implementation is solely based on FreeBSD's base userland tools /bin/sh (+awk/sed/etc ...) To cut it short, here is unfinished working code: (because I could type and type lengthy description and am short on time) http://www.starforce.biz/paraports.mp4 I'll respond to questions (I bet it'll start with "why so much in configs"). ;) Mentor: ------- I would prefer to get mentor during this week. I understand theirs time is tight for mentorship, so it is a plus that I already have a working code demonstrated above and also understand whole process, so mentor's time consumption will be minimal. Domagoj