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

Add branch with bin substitutes, so the branch works on external machines #73

Open
rubo77 opened this issue Nov 21, 2015 · 1 comment
Open

Comments

@rubo77
Copy link
Contributor

rubo77 commented Nov 21, 2015

I created a branch from our solution in kiel:

https://github.com/freifunk-kiel/ffmap-backend/tree/bridge

that works fine together with the bridge:

https://github.com/rubo77/ffmap-backend-bridge

should we add this to the repository somehow?

@jplitza
Copy link
Member

jplitza commented Nov 23, 2015

That solution is terribly inflexible and not very cleanly written. It would be much better to simply pass files (or file descriptors/pipes) to the program that are then used as output of the various programs. That way, not only the location of the files can be configured, but also dynamic generation like remote calls could be done like so:

... --alfred-158-output <(ssh alfred-gateway.ffhb.example.org alfred-json -z -r 158) ...

(obviously alfred-158-output is a horrible name and should be replaced by something more reasonable)

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

No branches or pull requests

2 participants