Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2015 10:16:36 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r392125 - in head/devel/arcanist: . files
Message-ID:  <201507151016.t6FAGaAl094217@svnmir.geo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507151016.t6FAGaAl094217>