Repository navigation
Improve current init samples around docs and fixes - #558
Conversation
|
@heitorlessa Why are we rolling back Dotnet Core enhancements? |
|
@jfuss I updated the description as this is no longer the case. Essentially the reason for this was that Cake isn't working on Cloud9 and requires some extra setup for people to make it work compared to all other runtimes we have so experience isn't the same. After a thorough discussion yesterday during another Workshop we came to the conclusion that it makes more sense to update the README with expectations on what exactly is required to make the sample to work on all OSes + Cloud9. |
* develop: docs: Fix @mhart link in README (aws#562) docs: Change jest to mocha in Nodejs init README (aws#564) docs: Fix syntax highlighting in README.md (aws#561) fix: spacing typo in Log statement in start-lambda (aws#559) fix: Functional tests must run on localhost to work in Windows (aws#552) docs: Adding readme for "sam logs" and "sam local start-lambda" command (aws#557) docs: Accessibility and help text changes (aws#554) chore: Preparing for release - v0.5.0 (aws#553) feat(LocalLambdaService): Integ test for start-lambda command (aws#550)
|
@joaoasrosa - Hey Joao, not sure you remember your PR for Cake (#401)... I'm trying to run this through now on a mac with a fresh install of DotNet and I keep running into issues... as I dig into I noticed that NuGet.exe isn't anywhere in the system and while searching it seems I have to install Mono to get it working -- Is this expected? I couldn't see that in the README apart from running # Define directories.
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
TOOLS_DIR=$SCRIPT_DIR/tools
ADDINS_DIR=$TOOLS_DIR/Addins
MODULES_DIR=$TOOLS_DIR/Modules
NUGET_EXE=$TOOLS_DIR/nuget.exe
CAKE_EXE=$TOOLS_DIR/Cake/Cake.exeTOOLS_DIR doesn't exist within the dotnet core sample so perhaps this was stripped out accidentally? I'd like to improve this example and make sure OSX, Linux and anyone running in Cloud9 is able to run this sample successfully so any help is more than appreciated :) |
|
@heitorlessa yes I remember the PR. :) Cake needs Mono and .NET Core in Unix based systems (more info here). Given your comment, we could enhance the README with the link, making it explicit to the users about the expectations for the system. What are your thoughts? |
|
Yes!! That isn’t in the readme today and I started to receive feedback on
those as they can’t get passed the packaging/build steps.
Although mono is straightforward there must be some instructions on getting
those in place, path and such so others can do as part of the requirements,
and therefore I believe we should do this in a separate PR to collaborate
on that.
Would you be able to help creating a new PR and I can commit to those too?
If so, I can edit this and narrow this PR to other enhancements only.
Thanks a lot ;-)
…On Mon, 23 Jul 2018 at 03:30, João Rosa ***@***.***> wrote:
@heitorlessa <https://github.com/heitorlessa> yes I remember the PR. :)
Cake needs Mono and .NET Core in Unix based systems (more info here
<https://cakebuild.net/docs/overview/requirements>).
Given your comment, we could enhance the README with the link, making it
explicit to the users about the expectations for the system.
What are your thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#558 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADL4BOVOFunxdUDHXjk2GRfddZWD27euks5uJNLFgaJpZM4VR6YR>
.
|
|
Hi Heitor,
Sure thing I will. Give me a few hours to sort out some things, and I will
push it!
Cheers
…On Mon, Jul 23, 2018, 06:41 Heitor Lessa ***@***.***> wrote:
Yes!! That isn’t in the readme today and I started to receive feedback on
those as they can’t get passed the packaging/build steps.
Although mono is straightforward there must be some instructions on getting
those in place, path and such so others can do as part of the requirements,
and therefore I believe we should do this in a separate PR to collaborate
on that.
Would you be able to help creating a new PR and I can commit to those too?
If so, I can edit this and narrow this PR to other enhancements only.
Thanks a lot ;-)
On Mon, 23 Jul 2018 at 03:30, João Rosa ***@***.***> wrote:
> @heitorlessa <https://github.com/heitorlessa> yes I remember the PR. :)
>
> Cake needs Mono and .NET Core in Unix based systems (more info here
> <https://cakebuild.net/docs/overview/requirements>).
>
> Given your comment, we could enhance the README with the link, making it
> explicit to the users about the expectations for the system.
>
> What are your thoughts?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#558 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ADL4BOVOFunxdUDHXjk2GRfddZWD27euks5uJNLFgaJpZM4VR6YR
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#558 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABdIuIHnnJyFzHPf_OWlWloZ-IrGsk8Uks5uJVQNgaJpZM4VR6YR>
.
|
|
@heitorlessa the PR #570 is done! |
|
Awesome @joaoasrosa !! Thanks for that. Just updated this PR to reflect that and @jfuss this is ready for review now and possibly merge ;) |
sanathkr
left a comment
There was a problem hiding this comment.
LGTM!! Thanks for iterating based on customer feedback. Really helps!
* fix: Functional tests must run on localhost to work in Windows (#552) * fix: spacing typo in Log statement in start-lambda (#559) * docs: Fix syntax highlighting in README.md (#561) * docs: Change jest to mocha in Nodejs init README (#564) * docs: Fix @mhart link in README (#562) * docs(README): removed cloudtrail, added SNS to generate-event (#569) * docs: Update repo name references (#577) * feat(debugging): Fixing issues around debugging Golang functions. (#565) * fix(init): Improve current init samples around docs and fixes (#558) * docs(README): Update launch config to SAM CLI from SAM Local (#587) * docs(README): Update sample code for calling Local Lambda Invoke (#584) * refactor(init): renamed handler for camel case, moved callback call up (#586) * chore: aws-lambda-java-core 1.1.0 -> 1.2.0 for java sam init (#578) * feat(validate): Add profile and region options (#582) Currently, `sam validate` requires AWS Creds (due to the SAM Translator). This commits adds the ability to pass in the credientials through a profile that is configured through `aws configure`. * docs(README): Update README prerequisites to include awscli (#596) * fix(start-lambda): Remove Content-Type Header check (#594) * docs: Disambiguation "Amazon Kinesis" (#599) * docs: Adding instructions for how to add pyenv to your PATH for Windows (#600) * docs: Update README with small grammar fix (#601) * fix: Update link in NodeJS package.json (#603) * docs: Creating instructions for Windows users to install sam (#605) * docs: Adding a note directing Windows users to use pipenv (#606) * fix: Fix stringifying λ environment variables when using Python2 (#579) * feat(generate-event): Added support for 50+ events (#612) * feat(invoke): Add region parameter to all invoke related commands (#608) * docs: Breaking up README into separate files to make it easier to read (#607) * chore: Update JVM size params to match docker-lambda (#615) * feat(invoke): Invoke Function Without Parameters through --no-event (#604) * docs: Update advanced_usage.rst with clarification on --env-vars usage (#610) * docs: Remove an extra word in the sam packaging command (#618) * UX: Improves event names to reflect Lambda Event Sources (#619) * docs: Fix git clone typo in installation docs (#630) * docs(README): Callout go1.x runtime support (#631) * docs(installation): Update sam --version command (#634) * chore(0.6.0): SAM CLI Version bump (#635)
* feat: Add java21 runtime support (#553) * Add java21 runtime * Add test_data for java21 and update gh action to use java21 * Update tests/integration/testdata/buildcmd/Java/gradlew/21/gradle/wrapper/gradle-wrapper.properties Co-authored-by: Wing Fung Lau <[email protected]> * Update tests/integration/testdata/buildcmd/Java/maven/21/pom.xml Co-authored-by: Wing Fung Lau <[email protected]> * Update tests/integration/testdata/buildcmd/Java/maven/21/pom.xml Co-authored-by: Wing Fung Lau <[email protected]> --------- Co-authored-by: Wing Fung Lau <[email protected]> * Revert "feat: Add java21 runtime support (#553)" (#558) This reverts commit 10f670e. * Sam cli java21 runtime (#559) * Add java21 runtime * Add test_data for java21 and update gh action to use java21 * Update tests/integration/testdata/buildcmd/Java/gradlew/21/gradle/wrapper/gradle-wrapper.properties Co-authored-by: Wing Fung Lau <[email protected]> * Update tests/integration/testdata/buildcmd/Java/maven/21/pom.xml Co-authored-by: Wing Fung Lau <[email protected]> * Update tests/integration/testdata/buildcmd/Java/maven/21/pom.xml Co-authored-by: Wing Fung Lau <[email protected]> * attempt to fix gradle build test failure * attempt to fix gradle build test failure * upgrade gradle wrapper * upgrading gradle wrapper --------- Co-authored-by: Haresh Nasit <[email protected]> Co-authored-by: Haresh Nasit <[email protected]> * fix: fix the runtime to schema code binding mapping (#566) * update build.yml to setup multiple java versions * Update build.yml * revert java8 gradlew testdata * revert java8 gradlew testdata * Revert "revert java8 gradlew testdata" This reverts commit a9337db. * Revert "revert java8 gradlew testdata" This reverts commit def09bd. * setup multiple versions of jdk --------- Co-authored-by: Haresh Nasit <[email protected]> Co-authored-by: Haresh Nasit <[email protected]> Co-authored-by: Mohamed ElAsmar <[email protected]> Co-authored-by: Mohamed Elasmar <[email protected]>
Issue #, if available:
Description of changes:
This PR addresses 5 feedbacks received from customers during Workshops as well as issues noted below:
async/awaitsyntax for nodejs 8.10 template #519)sam init --runtime pythonis chosen and this should be Python3.6 (Fix default Python runtime to Python 3.6 #521 )error/exceptionfor all templates except Go #520)Pending items to finalize this PRBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.