Call for Help: need script for patching ports tree, building with poudriere
ricky1252 at hotmail.com
Mon Nov 9 02:20:00 UTC 2015
Started working on a simple sh script to do as requested. So far have 1,2,4,5 complete. There is much error checking to be added still though. Wanted to ask a few things first.
2- Does port tree checkout matter? Right now my script assumes svnlite generated the patch at the root of the tree5- Does duplicates matter? poudriere doesn't care but is this strictly for poudriere?6- How should the output be handled?
> Date: Sat, 7 Nov 2015 00:28:28 -0800
> Subject: Call for Help: need script for patching ports tree, building with poudriere
> From: rodrigc at FreeBSD.org
> To: freebsd-testing at freebsd.org; freebsd-ports at freebsd.org
> 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
> (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:
> then a build.ports.txt file with this content would be created:
> 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/ ?
> freebsd-ports at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-testing