Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Update Scenarios for DVC 2.0 #20

Closed
4 of 5 tasks
iesahin opened this issue Feb 21, 2021 · 13 comments
Closed
4 of 5 tasks

Update Scenarios for DVC 2.0 #20

iesahin opened this issue Feb 21, 2021 · 13 comments
Assignees
Labels
enhancement New feature or request epic

Comments

@iesahin
Copy link
Contributor

iesahin commented Feb 21, 2021

Currently there are a few issues in documentation repo for katacoda scenarios. Basically these are not running because of a required system upgrade to Python 3.8.

Update 2021-03-08

  • Changed the title to DVC 2.0. This issue was originally for 2.0 anyway. Most of the work done up until now is for 2.0
@iesahin
Copy link
Contributor Author

iesahin commented Feb 21, 2021

Could you arrange the permissions/membership so that I can take over updating katacoda? @shcheklein

Thank you.

@shcheklein
Copy link
Member

@iesahin I've added you to the repo. You can now do PRs and they are merged it will deployed I think. Feel free to merge them as you go, unless it's some substantial change to the content and you feel that review is needed

@iesahin
Copy link
Contributor Author

iesahin commented Feb 21, 2021

Thank you.

@iesahin iesahin changed the title Update Scenarios for DVC 2.0 Update Scenarios for DVC 1.0 Feb 24, 2021
@iesahin
Copy link
Contributor Author

iesahin commented Feb 24, 2021

I have updated the versioning part.

@iesahin
Copy link
Contributor Author

iesahin commented Feb 24, 2021

Changed the name because most of the parts require an update for 1.0 as well. After the release we can update the commands and breaking changes for 2.0

@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Mar 7, 2021

Hi @iesahin 👋. I noticed you started committing directly to master recently (80 or so commits: 0f302dd...2993d87 up til now). It would be a better practice (and more readable repo history) to use PRs (from branches directly on this repo, no fork needed) even if you have master write access. Thanks!

image

See https://github.com/iterative/katacoda-scenarios/network

@jorgeorpinel
Copy link
Contributor

@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Mar 8, 2021

Question: what's the purpose of updating scenarios but keep using 1.0? Should we focus on updating them with 2.0 along the way? Per iterative/dvc.org#2026

@iesahin
Copy link
Contributor Author

iesahin commented Mar 8, 2021

Hi @iesahin 👋. I noticed you started committing directly to master recently (80 or so commits: 0f302dd...2993d87 up til now). It would be a better practice (and more readable repo history) to use PRs (from branches directly on this repo, no fork needed) even if you have master write access. Thanks!

@jorgeorpinel Hi. 👋🏼 I began writing with PRs but the iteration takes 2x time that way. You need to merge to master before seeing the effects in katacoda. There are no prior tests or whatnot. 80 commits mean ~80 PRs. I agree that it would be better documentation-wise but the workflow needs updates to the master for each commit, either merging from PR or by direct commits.

I thought establishing a basic structure first and iterating with PRs is more reasonable.

Question: what's the purpose of updating scenarios but keep using 1.0? Should we focus on updating them with 2.0 along the way? Per iterative/dvc.org#2026

The initial title for this issue had DVC 2.0. Then, as a stable release was needed to install with snap orapt, I decided to stick to 1.x and changed the title. Then we talked with @shcheklein and he said it's better to just move ahead to 2.0. I updated the installation scripts to use pip --pre instead of snap and wrote stages, pipelines, params etc. for 2.0 but forgot to update this issue's title. Currently, the scenarios don't (or shouldn't) contain any reference to dvc run and we'll have an Experiments scenario this week. I will go back to earlier scenarios and change the commands to 2.0 versions.

Almost all the content and scripts in scenarios required update. I didn't stick to the issues. (e.g. the scenarios weren't able to run because the containers were not able to install DVC in the first place.) I'll just review and check if the issues are done, move them here and see whether we have some missing items.

Thank you for reviewing all. 🙏🏼 Muchas gracias. I'll update the scenarios in PRs.

@iesahin iesahin changed the title Update Scenarios for DVC 1.0 Update Scenarios for DVC 2.0 Mar 8, 2021
@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Mar 9, 2021

I began writing with PRs but the iteration takes 2x time that way.

Shouldn't take that much longer, maybe 10-20% extra time? But it's worth it. Without branching or PRs it's pretty hard to go back and find where/why things were updated. For example your recent PRs are very clear e.g. #31 fixes up the language in the GS/Init scenario. We can go there and comment on any further/pending issues related to that, etc. (divide and conquer). BTW we can make reviews before you merge PRs if you want, you just need to request a review before merging.

Look how much better organized the Git history is now, with branches (you can tell where they start from) that have all the commits, while master only has merges:

image

Finally, this kind of an industry standard for collaborative/public repos. Further reading if you're interested: https://www.gitkraken.com/learn/git/best-practices/git-branch-strategy.

@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Mar 9, 2021

we talked with @shcheklein and he said it's better to just move ahead to 2.0... I will go back to earlier scenarios and change the commands to 2.0 versions.

Sounds good!

Almost all the content and scripts in scenarios required update.

Yes they were probably made for dvc 0.x still! At least now they run and have decent, updated explanations, which is the most important step 👍

Looking forward to the 2.0 updates (again, feel free to request in-PR reviews before merging) @iesahin. Thanks

@jorgeorpinel
Copy link
Contributor

@iesahin
Copy link
Contributor Author

iesahin commented Feb 1, 2022

I think the portions related to katacoda in iterative/dvc.org#1943 are resolved. We can close this.

@iesahin iesahin closed this as completed Feb 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request epic
Projects
None yet
Development

No branches or pull requests

3 participants