Bug 181440 - [PATCH] sysutils/py-salt-api : update to 0.8.2
Summary: [PATCH] sysutils/py-salt-api : update to 0.8.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-21 00:40 UTC by mike
Modified: 2013-08-21 13:40 UTC (History)
0 users

See Also:


Attachments
file.diff (887 bytes, patch)
2013-08-21 00:40 UTC, mike
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mike 2013-08-21 00:40:00 UTC
salt-api is broken, by default it will not even start up:

# salt-api
Traceback (most recent call last):
  File "/usr/local/bin/salt-api", line 11, in <module>
    main()
  File "/usr/local/bin/salt-api", line 7, in main
    sapi = saltapi.cli.SaltAPI()
  File "/usr/local/lib/python2.7/site-packages/salt/utils/parsers.py", line 113, in __init__
    optparse.OptionParser.__init__(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/optparse.py", line 1219, in __init__
    add_help=add_help_option)
  File "/usr/local/lib/python2.7/site-packages/salt/utils/parsers.py", line 178, in _populate_option_list
    mixin_setup_func(self)
  File "/usr/local/lib/python2.7/site-packages/salt/utils/parsers.py", line 308, in _mixin_setup
    self.__class__.__name__
RuntimeError: Please set SaltAPI._default_logging_logfile_

The patch updates it to 0.8.2, which has the logfile fix

Fix: I've patched the ports, see the included file

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/sysutils/py-salt-api
make install

then run:
/usr/local/bin/salt-api
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-21 00:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-21 00:40:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-21 00:40:10 UTC
Maintainer of sysutils/py-salt-api,

Please note that PR ports/181440 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181440

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 4 Christer Edwards 2013-08-21 01:05:46 UTC
Looks good. Thanks for taking care of this.


On Tue, Aug 20, 2013 at 5:40 PM, Edwin Groothuis <edwin@freebsd.org> wrote:

> Maintainer of sysutils/py-salt-api,
>
> Please note that PR ports/181440 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181440
>
> --
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
>
Comment 5 William Grzybowski freebsd_committer freebsd_triage 2013-08-21 13:09:01 UTC
Responsible Changed
From-To: freebsd-python->wg

I'll take it.
Comment 6 William Grzybowski freebsd_committer freebsd_triage 2013-08-21 13:33:04 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2013-08-21 13:33:09 UTC
Author: wg
Date: Wed Aug 21 12:32:56 2013
New Revision: 325114
URL: http://svnweb.freebsd.org/changeset/ports/325114

Log:
  sysutils/py-salt-api: update to 0.8.2
  
  - Update to 0.8.2
  
  PR:		ports/181440
  Submitted by:	Mike Carlson <mike bayphoto.com>
  Approved by:	maintainer

Modified:
  head/sysutils/py-salt-api/Makefile
  head/sysutils/py-salt-api/distinfo

Modified: head/sysutils/py-salt-api/Makefile
==============================================================================
--- head/sysutils/py-salt-api/Makefile	Wed Aug 21 12:29:18 2013	(r325113)
+++ head/sysutils/py-salt-api/Makefile	Wed Aug 21 12:32:56 2013	(r325114)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	salt-api
-PORTVERSION=	0.8.1
+PORTVERSION=	0.8.2
 CATEGORIES=	sysutils python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

Modified: head/sysutils/py-salt-api/distinfo
==============================================================================
--- head/sysutils/py-salt-api/distinfo	Wed Aug 21 12:29:18 2013	(r325113)
+++ head/sysutils/py-salt-api/distinfo	Wed Aug 21 12:32:56 2013	(r325114)
@@ -1,2 +1,2 @@
-SHA256 (salt-api-0.8.1.tar.gz) = d780ad171bbca5a26a41dc9934f5e86e68dcd11595f2133b4b1250c11daa2338
-SIZE (salt-api-0.8.1.tar.gz) = 41541
+SHA256 (salt-api-0.8.2.tar.gz) = f265d6c37f4f73a1a655997cf3a94e03ad8a40d3d9e2af9175079f0dfe3c4ec0
+SIZE (salt-api-0.8.2.tar.gz) = 42544
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"