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

Mostly link-related (regular) updates #978

Merged
merged 4 commits into from
Feb 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
# See https://circleci.com/docs/2.0/language-javascript/ for more details.
#
version: 2.1

defaults: &defaults
working_directory: ~/repo
docker:
# specify the version you desire here
# Specify the version you desire here.
- image: circleci/node:10.16.3

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
# Specify service dependencies here if necessary.
# CircleCI maintains a library of pre-built images,
# documented in https://circleci.com/docs/2.0/circleci-images/

commands:
install:
steps:
- checkout

# CircleCI breaks master branch which affects format check below
# CircleCI breaks master branch which affects format check below. See
# https://discuss.circleci.com/t/checkout-script-adds-commits-to-master-from-circle-branch/14194
- run:
name: restore master
Expand All @@ -29,11 +28,11 @@ commands:
git reset --hard origin/master
git checkout -

# Download cached dependencies
# Download cached dependencies.
- restore_cache:
keys:
- v1-dependencies-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
# Fallback to using the latest cache if no exact match is found.
- v1-dependencies-

- run:
Expand All @@ -44,7 +43,7 @@ commands:

cache:
steps:
# Upload dependencies cache
# Upload dependencies cache.
- save_cache:
paths:
- node_modules
Expand Down
4 changes: 2 additions & 2 deletions public/static/docs/command-reference/get.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# get

Download a file or directory from any <abbr>DVC repository</abbr> or plain Git
repository into the current working directory.
Download a file or directory tracked by DVC or by Git into the current working
directory.

> Unlike `dvc import`, this command does not track the downloaded files (does
> not create a DVC-file).
Expand Down
4 changes: 2 additions & 2 deletions public/static/docs/command-reference/import.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# import

Download a file or directory from any <abbr>DVC repository</abbr> or plain Git
repository into the <abbr>workspace</abbr>. It also creates a
Download a file or directory tracked by DVC or by Git into the
<abbr>workspace</abbr>. It also creates a
[DVC-file](/doc/user-guide/dvc-file-format) with information about the data
source, which can later be used to [update](/doc/command-reference/update) the
import.
Expand Down
4 changes: 2 additions & 2 deletions public/static/docs/understanding-dvc/how-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
any Git server, and allow for experiments to be easily reproduced:

```dvc
$ git clone https://github.com/dataversioncontrol/myrepo.git
$ git clone https://github.com/example/project.git
$ cd myrepo
# Reproduce data files
$ dvc repro
Expand All @@ -80,7 +80,7 @@
$ dvc push # push from the cache to remote storage

# On a colleague's machine:
$ git clone https://github.com/dataversioncontrol/myrepo.git
$ git clone https://github.com/example/project.git
$ cd myrepo
$ git pull # download tracked data from remote storage
$ dvc checkout # checkout data files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Please use regular Git commands to download code and DVC-files from your Git
servers. For example:

```dvc
$ git clone https://github.com/myaccount/myproject.git
$ git clone https://github.com/example/project.git
$ cd myproject
```

Expand Down
43 changes: 27 additions & 16 deletions scripts/exclude-links.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,43 @@
http://127.0.0.1:10000/devstoreaccount1;
http://localhost:3000/
https://$
https://s3-us-east-2.amazonaws.com/dvc-public/code/foo/bar
https://s3-us-east-2.amazonaws.com/dvc-public/data/foo/bar
https://s3-us-east-2.amazonaws.com/dvc-public/remote/foo/bar
https://s3-us-east-2.amazonaws.com/dvc-s3-repo/
https://s3-us-east-2.amazonaws.com/dvc-s3-repo/deb/foo
https://s3-us-east-2.amazonaws.com/dvc-s3-repo/rpm/foo
https://api.github.com/repos/$
https://blog.$
https://circleci.com/gh/iterative/dvc.org
https://discuss.$
https://dvc.org/some.link
https://dvc.org/foo
https://dvc.org/static/img/<filename>.gif
https://dvc.org/doc/command-reference/foo
https://code.dvc.org/foo/bar
https://data.dvc.org/foo/bar
https://man.dvc.org/foo
https://remote.dvc.org/foo/bar
https://remote.dvc.org/get-started
https://www.dvc.org/foo
https://example.com/data.txt
https://example.com/foo
https://example.com/foo/bar?baz
https://example.com/path/to/data
https://example.com/path/to/data.csv
https://example.com/path/to/dir
https://example.com/path/to/file
https://github.com/$
https://github.com/dataversioncontrol/myrepo.git
https://github.com/example/project.git
https://github.com/example/registry
https://github.com/iterative/dvc.org/blob/master/public$
https://github.com/iterative/dvc/releases/download/$
https://github.com/myaccount/myproject.git
https://myendpoint.com
https://object-storage.example.com
https://www.youtube.com/embed/$
https://accounts.google.com/o/oauth2/auth
http://ogp.me/ns#
https://remote.dvc.org/get-started
https://drive.google.com/drive/folders/0AIac4JZqHhKmUk9PDA
https://www.kaggle.com/rtatman/kerneld4769833fe
http://localhost:3000/
http://millionsongdataset.com/pages/getting-dataset/#subset
https://circleci.com/gh/iterative/dvc.org
https://s3-us-east-2.amazonaws.com/dvc-s3-repo/
https://www.katacoda.com/loodse/courses/docker/docker-02-install
https://www.katacoda.com/loodse/courses/dvc/dvc-01-install
https://myendpoint.com
https://object-storage.example.com
http://ogp.me/ns#
https://marketplace.visualstudio.com/items?itemName=stkb.rewrap
https://www.kaggle.com/rtatman/kerneld4769833fe

https://www.youtube.com/embed/$
https://$
2 changes: 1 addition & 1 deletion src/utils/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
prev: "/doc/get-started/configure",
next: "/doc/get-started/share-data",
tutorials: {
katacoda: "https://www.katacoda.com/loodse/courses/docker/docker-02-install"
katacoda: "https://www.katacoda.com/dvc/courses/get-started/initialize"
}
children: []
}
Expand Down
4 changes: 2 additions & 2 deletions src/utils/sidebar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('SidebarMenu/helper', () => {
slug: 'item-name',
tutorials: {
katacoda:
'https://www.katacoda.com/loodse/courses/dvc/dvc-01-install'
'https://www.katacoda.com/dvc/courses/get-started/initialize'
}
}
]
Expand All @@ -99,7 +99,7 @@ describe('SidebarMenu/helper', () => {
source: '/static/docs/item-name.md',
tutorials: {
katacoda:
'https://www.katacoda.com/loodse/courses/dvc/dvc-01-install'
'https://www.katacoda.com/dvc/courses/get-started/initialize'
},
prev: undefined,
next: undefined
Expand Down