svn commit: r392125 - in head/devel/arcanist: . files

Michael Gmelin grembo at FreeBSD.org
Wed Jul 15 10:16:36 UTC 2015


Author: grembo
Date: Wed Jul 15 10:16:35 2015
New Revision: 392125
URL: https://svnweb.freebsd.org/changeset/ports/392125

Log:
  Patch 'arc version' so it shows package versions.
  
  Differential Revision:	https://reviews.freebsd.org/D3071
  Approved by:	eadler, mentors (implicit)

Added:
  head/devel/arcanist/files/
  head/devel/arcanist/files/patch-src-workflow-ArcanistVersionWorkflow.php   (contents, props changed)
Modified:
  head/devel/arcanist/Makefile

Modified: head/devel/arcanist/Makefile
==============================================================================
--- head/devel/arcanist/Makefile	Wed Jul 15 09:12:35 2015	(r392124)
+++ head/devel/arcanist/Makefile	Wed Jul 15 10:16:35 2015	(r392125)
@@ -2,6 +2,7 @@
 
 PORTNAME=	arcanist
 PORTVERSION=	20150626
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	php5-
 

Added: head/devel/arcanist/files/patch-src-workflow-ArcanistVersionWorkflow.php
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/arcanist/files/patch-src-workflow-ArcanistVersionWorkflow.php	Wed Jul 15 10:16:35 2015	(r392125)
@@ -0,0 +1,16 @@
+--- src/workflow/ArcanistVersionWorkflow.php.orig	2015-07-14 00:07:20.409019999 +0200
++++ src/workflow/ArcanistVersionWorkflow.php	2015-07-14 00:27:09.586063998 +0200
+@@ -27,6 +27,13 @@
+   public function run() {
+     $console = PhutilConsole::getConsole();
+ 
++    $versions = array();
++    exec("pkg query '%n %v (%o)' php5-arcanist php5-libphutil", $versions);
++    foreach ($versions as $pkg) {
++      $console->writeOut($pkg."\n");
++    }
++    return;
++
+     if (!Filesystem::binaryExists('git')) {
+       throw new ArcanistUsageException(
+         pht(


More information about the svn-ports-all mailing list