Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a "vaurien-set-handler" command line utility. #1

Closed
wants to merge 1 commit into from

Conversation

almet
Copy link
Contributor

@almet almet commented Sep 3, 2012

Also, vaurien.client.change_handler makes it easier for third parties to change
the handler remotely.

@almet
Copy link
Contributor Author

almet commented Sep 3, 2012

Thinking about it a bit, I'm even wondering if I want that into vaurien distribution. That could be handy to have this as a vaurien-client project, packaged separately. This would avoid to share dependencies (for instance, here I'm adding requests to the vaurien distribution, and if I just want to use the client, I'll get all the dependencies at the same time, even if I don't need them).

what do you think?

@tarekziade
Copy link
Collaborator

I think this is such a tiny project that it's overkill. And requests can be used on both sides no ?

@almet
Copy link
Contributor Author

almet commented Sep 3, 2012

What do you mean "on both sides"?

@tarekziade
Copy link
Collaborator

in the vaurien client and in the vaurien proxy

@@ -0,0 +1,54 @@
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are 2 spaces indentation instead of 4

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, right! that was me trying to use sublime text 2. I'll fix this, thanks for the notice.

@almet
Copy link
Contributor Author

almet commented Sep 3, 2012

I don't think the vaurien proxy needs requests at all, only the client needs it, at least at the moment. Are you thinking about something in particular where requests could be interesing on the proxy side?

@tarekziade
Copy link
Collaborator

no I just recall we use gevent' StreamServer. But requests is small and has no deps itself, I would not worry for now

@almet
Copy link
Contributor Author

almet commented Sep 3, 2012

Just updated with the replacement of tabs with spaces.

Also, vaurien.client.change_handler makes it easier for third parties to change
the handler remotely.
@tarekziade
Copy link
Collaborator

what's the state of this branch ?

@almet
Copy link
Contributor Author

almet commented Oct 23, 2012

Oh, here it was, so finally I didn't lost this. I think this is what you did again, right? If that's it, we probably can close it.

@almet
Copy link
Contributor Author

almet commented Oct 23, 2012

yeah, that's kind of the same thing you did there with 43aa4d4
However, this PR also adds support for a custom command line, which could be useful. What do you think? I can do the same work on top of the client you implemented, if that makes sense.

@tarekziade
Copy link
Collaborator

Yeah why not

@almet
Copy link
Contributor Author

almet commented Oct 29, 2012

Implemented in 592685f

@almet almet closed this Oct 29, 2012
@almet almet mentioned this pull request Nov 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants