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

guide: add "Best Practices" #72

Closed
3 of 6 tasks
efiop opened this issue Aug 14, 2018 · 24 comments
Closed
3 of 6 tasks

guide: add "Best Practices" #72

efiop opened this issue Aug 14, 2018 · 24 comments
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: guide Content of /doc/user-guide ✨ epic Placeholder ticket for multi-sprint direction, use story, improvement status: stale You've been groomed! type: discussion Requires active participation to reach a conclusion.

Comments

@efiop
Copy link
Contributor

efiop commented Aug 14, 2018

UPDATE: Possibly as a How To guide (see #899)

Looks like we need a special section describing ways how to organize your projects:

See also the latest relevant #72 (comment) and below.

@efiop

This comment has been minimized.

@shcheklein shcheklein added the A: docs Area: user documentation (gatsby-theme-iterative) label Aug 30, 2018
@shcheklein

This comment has been minimized.

@shcheklein

This comment has been minimized.

@shcheklein

This comment has been minimized.

@shcheklein

This comment has been minimized.

@shcheklein shcheklein added type: enhancement Something is not clear, small updates, improvement suggestions user-guide labels Mar 25, 2019
@shcheklein shcheklein changed the title docs: "Best Practices" add "Best Practices" user guide section Mar 25, 2019
@dmpetrov

This comment has been minimized.

@shcheklein

This comment has been minimized.

@dmpetrov

This comment has been minimized.

@shcheklein

This comment has been minimized.

@Soumya0803

This comment has been minimized.

@shcheklein

This comment has been minimized.

@dashohoxha

This comment has been minimized.

@shcheklein

This comment has been minimized.

@dashohoxha dashohoxha mentioned this issue Oct 25, 2019
10 tasks
@jorgeorpinel jorgeorpinel changed the title add "Best Practices" user guide section user-guide: add "Best Practices" section Jan 20, 2020
@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Jul 15, 2020

Should this be merged with #230 and featured in the #899 epic? We're trying to avoid so many sections now.

Also, the Questions part of What is DVC? (currently in https://dvc.org/doc/user-guide/what-is-dvc/collaboration-issues#questions) probably overlaps with this.

@efiop
Copy link
Contributor Author

efiop commented Jul 17, 2020

@jorgeorpinel Yeah, that indeed seems suitable.

@shcheklein
Copy link
Member

@jorgeorpinel how would it looks like? like a subsection in How To?

@jorgeorpinel
Copy link
Contributor

Just a single document under How To.

I updated the description of this issue and in fact I think #230 is already included here, in the "manually editing dvc.yaml + dvc commit or dvc repro" checkbox.

@jorgeorpinel jorgeorpinel changed the title user-guide: add "Best Practices" section user-guide: add "Best Practices" Sep 20, 2020
@jorgeorpinel

This comment has been minimized.

@shcheklein

This comment has been minimized.

@jorgeorpinel jorgeorpinel added the ✨ epic Placeholder ticket for multi-sprint direction, use story, improvement label Dec 6, 2020
@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Jan 7, 2021

More:

@jorgeorpinel jorgeorpinel added C: guide Content of /doc/user-guide and removed A: docs Area: user documentation (gatsby-theme-iterative) p2-nice-to-have Less of a priority at the moment. We don't usually deal with this immediately. labels Oct 12, 2021
@jorgeorpinel jorgeorpinel changed the title user-guide: add "Best Practices" guide: add "Best Practices" Oct 12, 2021
@shcheklein shcheklein added type: feature-request DEPRECATED New feature or request A: docs Area: user documentation (gatsby-theme-iterative) and removed type: enhancement Something is not clear, small updates, improvement suggestions labels Dec 31, 2021
@jorgeorpinel jorgeorpinel added type: discussion Requires active participation to reach a conclusion. and removed type: feature-request DEPRECATED New feature or request labels Jan 14, 2022
@jorgeorpinel jorgeorpinel added the status: stale You've been groomed! label Aug 5, 2022
@jorgeorpinel
Copy link
Contributor

Looking at open check boxes, most or all of these topics are addressed I think (the relevant ones at least).

how to use DVC with DB

This would be a how-to, but is it still something we want to have official docs for? Not really matching DVC's approach

creating a pipeline in a 'debug' directory and then ... set different data sets as an input

@efiop is this some sort of bootstrapping method? Is it really something people do? What problem does it solve?

never store user credentials in the DVC project config

We do stress the use of --local for sensitive configurations (especially in remote modify). Should be enough I believe.

Avoid dynamic names

We mention non-deterministic behavior in general in https://dvc.org/doc/command-reference/stage/add#avoiding-unexpected-behavior and avoiding ad hoc file naming for versioning is a core use case..

@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Aug 5, 2022

all of these topics are addressed

So we could close this ticket. That said we still don't have a "Best Practices" section or guide(s). Do we want to? Maybe Use Cases or the trails of the Get Started already cover this need (informing users of the main/recommended patterns for DVC project setup/usage).

WDYT @shcheklein @dberenbaum ? Thanks

@shcheklein
Copy link
Member

I'm fine to close this. Not all items are covered though and yes, we could have done a good page that contains tips/faq for pipelines, for data, general project structure (e.g. never store user credentials in the DVC project config) ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: guide Content of /doc/user-guide ✨ epic Placeholder ticket for multi-sprint direction, use story, improvement status: stale You've been groomed! type: discussion Requires active participation to reach a conclusion.
Projects
None yet
Development

No branches or pull requests

6 participants