Closed tgross closed 8 years ago
I've opened https://devhub.joyent.com/jira/browse/MANTA-2829 for the snaplink problem. I'm pretty sure it's not just a misconfiguration of the role at my end, but hopefully someone who knows things better can confirm that with all the info I dumped there.
Otherwise, this all looks great to me.
@tgross let me know when you have updates for the above, then I think we could integrate this. Perhaps we couldhave the test case skip the snaplink thing if using a subuser for the test run (emitting a warning pointing to the MANTA ticket).
@trentm updated.
I hadn't realized that about Python 2.6.
I still have a module that supports Python 2.4. :)
But yah, it was just the one spot. print "Old string interp %s" % "forever!"
Added changelog entry, bumped ver to 2.5.0, squashed and merged in commit 3ada868.
published to pypi as version 2.5.0.
For https://github.com/joyent/python-manta/issues/25, in support of https://github.com/tgross/triton-mysql/tree/working
Update the client to support roles and subusers:
MantaClient
constructor now takes optionalsubuser
androle
parameters and adds these values to theAuthorization
andRole
headers, respectively.--user
/--role
command line arguments or from theMANTA_SUBUSER
/MANTA_ROLE
environment vars. This behavior matches the Node.js Manta client.@trentm this is probably ready for review but not a merge yet -- there's one test that I can't get to pass with a subuser, which is the snaplink test. But I've discovered I can't get that test to work with the node client either. I'm investigating that now.
cc @misterbisson