realpython / data-version-control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where are the tutorial sources?

adswa opened this issue · comments

Sorry for posting into the wrong repository - I'm searching for the sources of the Tutorial that this repository provides the materials for - I'd like to fix a (tiny) bug. I couldn't find it yet, though, do you have a pointer for me? Thanks in advance :)

ping @KristijanIvancic
(closed, because its unrelated to the repo and has been open without activity for two weeks now, but pinged nevertheless, in case the initial issue notification slipped through)

Hi @adswa! Apologies, I didn't get the notification for your original issue. This repo represents the materials for the tutorial you linked. What is the bug you wanted to fix? 🙂

Thanks for getting back. :)

What is the bug you wanted to fix?

Very minor stuff - I haven't used DVC before, and executed your complete tutorial, and just noted things that caught me off guard as a new user. If the sources would be open, I would have quickly PRed the changes, they aren't really meaningful. One was: The storage remote is added with a relative path, but the config file entry shows an absolute path. I added my remote from a relative path as shown, and was confused by the mismatching representation of the resulting relative path in the config file (which for relative paths contains a relative path from the config file, not project root, to the remote and looks wrong at first sight). The docs recommend using an absolute path:

Using an absolute path (recommended)

Another one is a minor typo in a code cell command: There was a branch called random_forest but its local changes are pushed to origin random-forest, which fails when copying the code exactly.

I think I also spotted a few typos, but lost my notes on that between now and opening this issue. Hope none of this comes of as "nit-picky", I just usually try to PR fixes whenever I spot such things.

Cheers,
adina

oh, and thanks for the nice tutorial, by the way. Its well written and extensive - I found it very helpful! Thanks!