From owner-freebsd-ports@freebsd.org Sun Nov 8 16:19:39 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E14C9A2921B for ; Sun, 8 Nov 2015 16:19:38 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 A6D3B1CF6 for ; Sun, 8 Nov 2015 16:19:38 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: by iodd200 with SMTP id d200so165268564iod.0 for ; Sun, 08 Nov 2015 08:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=p6m7g8_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WcxNCSeP2pvw5QV8cFeHyt3CYO5H+XmZqlKTr/UvHXg=; b=kaojlCMREFJH5CPujEqq4iSy1nckrSZR/nhaR9XfSWTPRHoqBB1B+h9RuRuKf3Vut0 2/4FDSiY/ZqEwWxtCaZxy1v3nhz6kY9WsD6uT5JovNrU4WUgdB/k9xyK0ZfAAuqynIfl T/1KDR+CsM4vBNeZoiBl7DvMpQ/sPOxDqNjGb3ChT5B6MiEEpQpvdXOhg/2euT/I7t/L 37XvAGEwhQCcfR9SuPeVBl4VneWPHP1WEh6MEAKavRjt5bmxhcZsebw6tspacI5Dc78E IVcmSFqWlZdVz+bMoS+cbPtBRBZxjzAUP2TUsL1o+/NcK4mLklOwqkNgn4CSaZA8GBLd XZvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=WcxNCSeP2pvw5QV8cFeHyt3CYO5H+XmZqlKTr/UvHXg=; b=jVXNnEx5NzQ13HUSloRLXiD9xJxaGcJI15jh4qhg9ZH2MEKIwWR85IK2t4yZMGsKfv /BF+wLjS6lqjyYdTOskw+jfyEEgGOIhw4Yo2A2H9Ti4kPZ15w6DEKELpTf3IOP1W0zFh RR/Bfpxtnk9PdRGZhyTq8Xlk7LX7L6DoJvVozBa2GfsyZ6WCgy/3NG8aJiWiUOtHajM5 50rfZRkOB+DL8alRy7lUPCOcXs409HHMNt2CJ6ONxOFKtO9U2cIjUSK859xsl4Bd4MnG Vhd9NjSnh7My96OtY1URNLUIvXw60EG2glof6Ca9G4SEIuJzD2sDip7ZbCtxKX6ZoUuk B0Ww== X-Gm-Message-State: ALoCoQljbL9Gfd5Qu/NDisUD87i54a4hWhWhXL40oDcfA2aBqO+FdOjHGSDKQ1Arx5Avdj1t5b4w MIME-Version: 1.0 X-Received: by 10.107.132.11 with SMTP id g11mr6636876iod.56.1446999577782; Sun, 08 Nov 2015 08:19:37 -0800 (PST) Received: by 10.50.104.135 with HTTP; Sun, 8 Nov 2015 08:19:37 -0800 (PST) X-Originating-IP: [2600:1003:b009:11bd:7ce2:3f9c:b8aa:5eb3] In-Reply-To: References: Date: Sun, 8 Nov 2015 11:19:37 -0500 Message-ID: Subject: Re: Call for Help: need script for patching ports tree, building with poudriere From: "Philip M. Gollucci" To: Craig Rodrigues Cc: "freebsd-testing@freebsd.org" , ports Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2015 16:19:39 -0000 Look at pgollucci/freebsd-bugzilla-cli On Saturday, November 7, 2015, Craig Rodrigues wrote: > Hi, > > I've been working on some advanced scripting with Eitan Adler. > We are interested in experimenting with integrating Jenkins + Phabricator > using: https://wiki.jenkins-ci.org/display/JENKINS/Phabricator+Plugin > For starters, we want to see what we can accomplish with ports. > > Can someone provide a script that does the following: > > (1) Takes a patch file > (2) Applies the patch file to a checked out ports tree > (3) If patching fails, quit and report an error > (4) If patch succeeds, do a simple guess to figure out which ports were > affected > (5) Create a file build.ports.txt which lists these ports, and can be used > as input > to poudriere, by invoking: > > poudriere bulk -f build.ports.txt > > (6) In addition, run portlint, port test, and any other appropriate > scripts to > test that the patched ports following the porting style guidelines. > > For example, if the patch in this review was submitted: > https://reviews.freebsd.org/D3791 > then a build.ports.txt file with this content would be created: > > > databases/py-Pyrseas > databases/py-pylibmc > databases/py-redis > deskutils/py-bugwarrior > deskutils/py-taskw > devel/py-Jinja2 > devel/py-TGScheduler > devel/py-apscheduler > devel/py-asn1 > devel/py-asyncio > devel/py-biplist > devel/py-check-manifest > devel/py-circuits > devel/py-dateutil > devel/py-doit > devel/py-fabric > devel/py-filemagic > devel/py-foolscap > devel/py-freezegun > devel/py-future > devel/py-lazy > devel/py-logan > devel/py-mock > devel/py-nose > devel/py-phabricator > devel/py-pip > devel/py-protobuf > devel/py-pyflakes > devel/py-pygit2 > devel/py-pygithub > devel/py-pytest-cache > devel/py-pytest > devel/py-python-bugzilla > devel/py-sanetime > devel/py-scripttest > devel/py-semantic_version > devel/py-setuptools > devel/py-simplejson > devel/py-tox > devel/py-twiggy > devel/py-tzlocal > devel/py-virtualenv > finance/py-stripe > ftp/py-pyftpdlib > math/py-graphillion > math/py-pycosat > net/py-beanstalkc > net/py-eventlet > net/py-netaddr > net/py-oauth2 > net/py-pynsq > net/py-pyzmq > net/py-twitter-tools > net/turses > science/py-h5py > security/py-cryptography > security/py-ecdsa > security/py-libnacl > security/py-oauthlib > security/py-openssl > security/py-pycrypto > security/py-pysha3 > sysutils/py-nagiosplugin > sysutils/py-supervisor > textproc/py-diff-match-patch > textproc/py-mistune > textproc/py-transifex-client > textproc/py-wtforms > www/geeknote > www/py-aiohttp > www/py-bleach > www/py-cactus > www/py-django-contrib-comments > www/py-django-mezzanine > www/py-feedgenerator > www/py-flask-wtf > www/py-flexget > www/py-gandi.cli > www/py-grequests > www/py-gunicorn > www/py-pelican > www/py-praw > www/py-pyjwt > www/py-rackspace-monitoring > www/py-requests-oauthlib > www/py-requests > www/py-slimit > www/py-slumber > > and poudriere would be invoked to build those ports. > > Does such a script exist? > > If not, would someone by interested in working on such a script, and > providing it > via GitHub at https://github.com/freebsd/freebsd-ci/ ? > > Thanks. > > -- > Craig > _______________________________________________ > freebsd-testing@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-testing > To unsubscribe, send any mail to "freebsd-testing-unsubscribe@freebsd.org > " > -- --------------------------------------------------------------------------------- Curb: Your ride is here 4096R/D21D2752 ECDF B597 B54B 7F92 753E E0EA F699 A450 D21D 2752 Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. Director IT Operations, Curb What doesn't kill us can only make us stronger; Except it almost kills you.