-
Notifications
You must be signed in to change notification settings - Fork 223
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 perl as supported language #84
Conversation
Signed-off-by: Patrick Ringl <patrick_@freenet.de>
Hi, this looks interesting - Perl is certainly useful for scripts.
Did you read the contribution guide which asks folks to raise a proposal
issue to discuss before raising a PR and doing work?
…On 6 Sep 2017 17:10, "pari-" ***@***.***> wrote:
Signed-off-by: Patrick Ringl ***@***.***
Description
OpenFAAS goes TIMTOWTDI
Motivation and Context
I love perl! ;-)
How Has This Been Tested?
Stating the obvious: by *using* it .. and honestly: enjoying it thus far
:-)
Types of changes
- New feature (non-breaking change which adds functionality)
Checklist:
- My code follows the code style of this project.
- My change requires a change to the documentation.
- I have updated the documentation accordingly.
- I've read the CONTRIBUTION
<https://github.com/alexellis/faas/blob/master/CONTRIBUTING.md> guide
- I have signed-off my commits with git commit -s
- I have added tests to cover my changes.
- All new and existing tests passed.
PS: I deliberately rearranged the supported language enumeration where I
saw fit, since ordering make enumerations much more intuitive to read -
hope you don't mind, though.
regards,
pari
------------------------------
You can view, comment on, or merge this pull request online at:
#84
Commit Summary
- Add perl as supported language
File Changes
- *M* README.md
<https://github.com/alexellis/faas-cli/pull/84/files#diff-0> (2)
- *M* build_samples.sh
<https://github.com/alexellis/faas-cli/pull/84/files#diff-1> (2)
- *M* builder/build.go
<https://github.com/alexellis/faas-cli/pull/84/files#diff-2> (2)
- *M* commands/build.go
<https://github.com/alexellis/faas-cli/pull/84/files#diff-3> (2)
- *M* deploy_samples.sh
<https://github.com/alexellis/faas-cli/pull/84/files#diff-4> (4)
- *M* proxy/deploy.go
<https://github.com/alexellis/faas-cli/pull/84/files#diff-5> (10)
- *A* sample/perl-echo/Handler.pm
<https://github.com/alexellis/faas-cli/pull/84/files#diff-6> (9)
- *A* sample/perl-echo/README.md
<https://github.com/alexellis/faas-cli/pull/84/files#diff-7> (8)
- *A* sample/perl-echo/cpanfile
<https://github.com/alexellis/faas-cli/pull/84/files#diff-8> (1)
- *M* samples.yml
<https://github.com/alexellis/faas-cli/pull/84/files#diff-9> (23)
- *A* template/perl/Dockerfile
<https://github.com/alexellis/faas-cli/pull/84/files#diff-10> (34)
- *A* template/perl/cpanfile
<https://github.com/alexellis/faas-cli/pull/84/files#diff-11> (0)
- *A* template/perl/function/Handler.pm
<https://github.com/alexellis/faas-cli/pull/84/files#diff-12> (8)
- *A* template/perl/function/cpanfile
<https://github.com/alexellis/faas-cli/pull/84/files#diff-13> (0)
- *A* template/perl/index.pl
<https://github.com/alexellis/faas-cli/pull/84/files#diff-14> (13)
Patch Links:
- https://github.com/alexellis/faas-cli/pull/84.patch
- https://github.com/alexellis/faas-cli/pull/84.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#84>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGEGz785RI0_Kh-bk9sXHLDNtq_bJtw0ks5sfsQJgaJpZM4POngS>
.
|
Yup, I did. But: while playing with OpenFAAS, evaluating it as a potential first-class citizen of my actual to-be-implemented use-case, I discovered how intuitive it'd be to integrate my favourite programming language - and that's how I arrived at submitting this PR! :-) |
Derek add label: revisit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's take this as a custom template, if you can set it up on GitHub in its own repo. In line with - #87
@alexellis will do, once #87 is merged. |
@pari- I just tried this out but it's not giving me any output when I pass data to STDIN. This happens when calling the function directly within the container:
Where I would expect Is this expected? |
@pari- please create your template.. we can support it now. Checkout the README for instructions. |
Signed-off-by: Patrick Ringl patrick_@freenet.de
Description
OpenFAAS goes TIMTOWTDI
Motivation and Context
I love perl! ;-)
How Has This Been Tested?
Stating the obvious: by using it .. and honestly: enjoying it thus far :-)
Types of changes
Checklist:
git commit -s
PS: I deliberately rearranged the supported language enumeration where I saw fit, since ordering make enumerations much more intuitive to read - hope you don't mind, though.
regards,
pari