GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add task list example application by stephenplusplus · Pull Request #28 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@stephenplusplus

@stephenplusplus stephenplusplus commented Nov 16, 2015

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@JustinBeckwith

JustinBeckwith commented Nov 16, 2015

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jmdobry
jmdobry reviewed Nov 16, 2015
View reviewed changes
Comment thread datastore/package.json Outdated

@jmdobry jmdobry Nov 16, 2015

Copy link
Copy Markdown
Member

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.

Nobody is going to be installing this sample via npm, and thus no node_modules/.bin symlink will be created. Perhaps you meant this to be "scripts", as done here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@stephenplusplus stephenplusplus Nov 16, 2015

Copy link
Copy Markdown
Contributor Author

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.

npm link instead of npm install will make it available. The instructions section above suggests that, since it will install the deps and link at the same time.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jmdobry jmdobry Nov 16, 2015

Copy link
Copy Markdown
Member

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.

All of the samples in the repo should be consistent on how they instruct the user to run the sample. Do you think npm link and "bin" is better than how the storage/ samples does it? I'm leaning towards how the storage/ sample does it because it keeps everything local to the sample without affecting something elsewhere on the user's comp. What are your thoughts?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@stephenplusplus stephenplusplus Nov 16, 2015

Copy link
Copy Markdown
Contributor Author

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.

Yeah, probably not worth dealing with issues about the symlink failing due to permissions and such. It does allow a nicer interface, though:

$ datastore-tasks list

vs.

$ npm run datastore-tasks list

I'll switch this over to the second style.

Regarding the consistency note, do you prefer datastoreTasks to match authSample? Better yet, maybe just tasks?:

$ npm run tasks list

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jmdobry jmdobry Nov 16, 2015

Copy link
Copy Markdown
Member

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.

authSample follows the convention where the command for executing the sample has the same name as the sample file itself, e.g. npm run authSample because the file is named authSample.js. So here, the names should be consistent. If you want the command to be tasks, then you should rename the file to tasks.js

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@stephenplusplus stephenplusplus Nov 16, 2015

Copy link
Copy Markdown
Contributor Author

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.

Updated

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@stephenplusplus
add task list example application
5d79aa9
@stephenplusplus
stephenplusplus force-pushed the master branch from fa76ff1 to 5d79aa9 Compare November 16, 2015 21:27
jmdobry added a commit that referenced this pull request Nov 16, 2015
@jmdobry
Merge pull request #28 from stephenplusplus/master
1be77f4
add task list example application
@jmdobry
jmdobry merged commit 1be77f4 into GoogleCloudPlatform:master Nov 16, 2015
This was referenced Mar 11, 2022
[Snyk] Upgrade safe-buffer from 5.1.1 to 5.2.1 theWindSweptDev/nodejs-docs-samples#13
Open
[Snyk] Upgrade safe-buffer from 5.1.1 to 5.2.1 theWindSweptDev/nodejs-docs-samples#20
Open
[Snyk] Upgrade safe-buffer from 5.1.1 to 5.2.1 theWindSweptDev/nodejs-docs-samples#25
Open
telpirion pushed a commit that referenced this pull request Nov 9, 2022
@release-please
chore: release 1.2.1 (#29)
8582837
🤖 I have created a release \*beep\* \*boop\*
---
### [1.2.1](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.2.0...v1.2.1) (2021-08-17)


### Bug Fixes

* **build:** migrate to using main branch ([#28](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/28)) ([137533f](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/137533f0f3ce60dc0cb9edc4c690063c853ade0b))
* **deps:** google-gax v2.24.1 ([#30](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/30)) ([e3ac1ff](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/e3ac1ff60bf3c4921ef9a9f103e236c7d513cdab))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
pattishin pushed a commit that referenced this pull request Nov 9, 2022
@telpirion
test: adds cleanup function for tests (#28)
5de65c7
* feat: adds cleanup function for tests
@pattishin pattishin mentioned this pull request Nov 9, 2022
migrate code from googleapis/nodejs-game-servers #2818
Closed
pattishin pushed a commit that referenced this pull request Nov 9, 2022
@telpirion
test: adds cleanup function for tests (#28)
78d8cd1
* feat: adds cleanup function for tests
@pattishin pattishin mentioned this pull request Nov 9, 2022
migrate code from googleapis/nodejs-game-servers #2819
Closed
pattishin pushed a commit that referenced this pull request Nov 9, 2022
@telpirion
test: adds cleanup function for tests (#28)
437958d
* feat: adds cleanup function for tests
This was referenced Nov 9, 2022
migrate code from googleapis/nodejs-game-servers #2820
Closed
migrate code from googleapis/nodejs-game-servers #2837
Merged
NimJay pushed a commit that referenced this pull request Nov 11, 2022
@telpirion @NimJay
test: adds cleanup function for tests (#28)
8350c3b
* feat: adds cleanup function for tests
unforced pushed a commit that referenced this pull request Nov 17, 2022
@jkwlui
Release @google-cloud/security-center v0.1.1 (#28)
6f1f7a5
* Release v0.1.1

* Update CHANGELOG.md
@unforced unforced mentioned this pull request Nov 17, 2022
migrate code from googleapis/nodejs-security-center #2867
Merged
@kweinmeister kweinmeister mentioned this pull request Nov 18, 2022
migrate code from googleapis/nodejs-text-to-speech #2872
Merged
kweinmeister pushed a commit that referenced this pull request Nov 18, 2022
@jkwlui
chore: bump version to 0.2.0 (#28)
b7f9137
ahrarmonsur pushed a commit that referenced this pull request Nov 18, 2022
@sethvargo Benjamin E. Coe
docs: remove misleading header (#28)
1d97e26
@ahrarmonsur ahrarmonsur mentioned this pull request Nov 18, 2022
migrate code from googleapis/nodejs-secret-manager #2874
Merged
jsimonweb pushed a commit to jsimonweb/nodejs-docs-samples that referenced this pull request Dec 12, 2022
@kurtisvg
chore: remove vendored dependencies (GoogleCloudPlatform#28)
782d1ed
* chore: remove vendored dependencies

* chore: remove replace

* chore(ci): fix lint workflow

* chore: update alloydbconn version
irataxy added a commit that referenced this pull request Jan 18, 2023
@irataxy @gcf-owl-bot
docs: add Live Stream samples and tests (#28)
968094f
* docs: add Live Stream samples and tests

* Add project number needed for samples test in kokoro configs.

* Remove project number requirements. Use project ID for function parameters

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@irataxy irataxy mentioned this pull request Jan 18, 2023
migrate code from googleapis/nodejs-video-live-stream #2992
Merged
grayside pushed a commit that referenced this pull request Jan 18, 2023
@irataxy @gcf-owl-bot @grayside
docs: add Live Stream samples and tests (#28)
a2d38df
* docs: add Live Stream samples and tests

* Add project number needed for samples test in kokoro configs.

* Remove project number requirements. Use project ID for function parameters

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@stephenplusplus @JustinBeckwith @jmdobry
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.