mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
Rename nlx to dvc
This commit is contained in:
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$DVC_HOME python $DVC_HOME/dvc/cmd_data_import.py $@
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$DVC_HOME python $DVC_HOME/dvc/cmd_data_remove.py $@
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$DVC_HOME python $DVC_HOME/dvc/cmd_data_sync.py $@
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$DVC_HOME python $DVC_HOME/dvc/cmd_init.py $@
|
||||
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$DVC_HOME python $DVC_HOME/dvc/cmd_repro.py $@
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$DVC_HOME python $DVC_HOME/dvc/cmd_run.py $@
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$NEATLYNX_HOME python $NEATLYNX_HOME/neatlynx/cmd_data_import.py $@
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$NEATLYNX_HOME python $NEATLYNX_HOME/neatlynx/cmd_data_remove.py $@
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$NEATLYNX_HOME python $NEATLYNX_HOME/neatlynx/cmd_data_sync.py $@
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$NEATLYNX_HOME python $NEATLYNX_HOME/neatlynx/cmd_init.py $@
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$NEATLYNX_HOME python $NEATLYNX_HOME/neatlynx/cmd_repro.py $@
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
PYTHONPATH=$NEATLYNX_HOME python $NEATLYNX_HOME/neatlynx/cmd_run.py $@
|
||||
@@ -8,7 +8,7 @@ Cloud = AWS
|
||||
AccessKeyId =
|
||||
SecretAccessKey =
|
||||
|
||||
StoragePath = neatlynx/tutorial
|
||||
StoragePath = dvc/tutorial
|
||||
|
||||
|
||||
Region = us-east-1
|
||||
@@ -24,6 +24,6 @@ SpotTimeout = 300
|
||||
Storage = my-100gb-drive-io
|
||||
|
||||
KeyDir = ~/.ssh
|
||||
KeyName = neatlynx-key
|
||||
KeyName = dvc-key
|
||||
|
||||
SecurityGroup = neatlynx-group
|
||||
SecurityGroup = dvc-group
|
||||
@@ -1,13 +1,13 @@
|
||||
import argparse
|
||||
import os
|
||||
|
||||
from neatlynx.git_wrapper import GitWrapper
|
||||
from neatlynx.config import Config, ConfigError
|
||||
from neatlynx.logger import Logger
|
||||
from dvc.git_wrapper import GitWrapper
|
||||
from dvc.config import Config, ConfigError
|
||||
from dvc.logger import Logger
|
||||
|
||||
|
||||
class CmdBase(object):
|
||||
CONFIG = 'neatlynx.conf'
|
||||
CONFIG = 'dvc.conf'
|
||||
|
||||
def __init__(self, parse_config=True):
|
||||
self._git = GitWrapper()
|
||||
@@ -5,12 +5,12 @@ import re
|
||||
import fasteners
|
||||
import requests
|
||||
|
||||
from neatlynx.cmd_base import CmdBase
|
||||
from neatlynx.cmd_data_sync import sizeof_fmt
|
||||
from neatlynx.logger import Logger
|
||||
from neatlynx.data_file_obj import DataFileObj
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from neatlynx.state_file import StateFile
|
||||
from dvc.cmd_base import CmdBase
|
||||
from dvc.cmd_data_sync import sizeof_fmt
|
||||
from dvc.logger import Logger
|
||||
from dvc.data_file_obj import DataFileObj
|
||||
from dvc.exceptions import NeatLynxException
|
||||
from dvc.state_file import StateFile
|
||||
|
||||
|
||||
class DataImportError(NeatLynxException):
|
||||
@@ -2,10 +2,10 @@ import os
|
||||
from boto.s3.connection import S3Connection
|
||||
import fasteners
|
||||
|
||||
from neatlynx.cmd_base import CmdBase
|
||||
from neatlynx.logger import Logger
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from neatlynx.data_file_obj import DataFileObjExisting
|
||||
from dvc.cmd_base import CmdBase
|
||||
from dvc.logger import Logger
|
||||
from dvc.exceptions import NeatLynxException
|
||||
from dvc.data_file_obj import DataFileObjExisting
|
||||
|
||||
|
||||
class DataRemoveError(NeatLynxException):
|
||||
@@ -3,10 +3,10 @@ import os
|
||||
|
||||
from boto.s3.connection import S3Connection
|
||||
|
||||
from neatlynx.cmd_base import CmdBase
|
||||
from neatlynx.logger import Logger
|
||||
from neatlynx.data_file_obj import DataFileObjExisting
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from dvc.cmd_base import CmdBase
|
||||
from dvc.logger import Logger
|
||||
from dvc.data_file_obj import DataFileObjExisting
|
||||
from dvc.exceptions import NeatLynxException
|
||||
|
||||
|
||||
class DataSyncError(NeatLynxException):
|
||||
@@ -2,10 +2,10 @@ import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from neatlynx.cmd_base import CmdBase
|
||||
from neatlynx.logger import Logger
|
||||
from neatlynx.config import Config
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from dvc.cmd_base import CmdBase
|
||||
from dvc.logger import Logger
|
||||
from dvc.config import Config
|
||||
from dvc.exceptions import NeatLynxException
|
||||
|
||||
|
||||
class InitError(NeatLynxException):
|
||||
@@ -24,7 +24,7 @@ Cloud = AWS
|
||||
AccessKeyId =
|
||||
SecretAccessKey =
|
||||
|
||||
StoragePath = neatlynx/tutorial
|
||||
StoragePath = dvc/tutorial
|
||||
|
||||
|
||||
Region = us-east-1
|
||||
@@ -40,9 +40,9 @@ SpotTimeout = 300
|
||||
Storage = my-100gb-drive-io
|
||||
|
||||
KeyDir = ~/.ssh
|
||||
KeyName = neatlynx-key
|
||||
KeyName = dvc-key
|
||||
|
||||
SecurityGroup = neatlynx-group'''
|
||||
SecurityGroup = dvc-group'''
|
||||
|
||||
def __init__(self):
|
||||
CmdBase.__init__(self, parse_config=False)
|
||||
@@ -2,13 +2,13 @@ import os
|
||||
|
||||
import fasteners
|
||||
|
||||
from neatlynx.cmd_base import CmdBase
|
||||
from neatlynx.cmd_run import CmdRun
|
||||
from neatlynx.git_wrapper import GitWrapper
|
||||
from neatlynx.logger import Logger
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from neatlynx.data_file_obj import DataFileObj, NotInDataDirError
|
||||
from neatlynx.state_file import StateFile
|
||||
from dvc.cmd_base import CmdBase
|
||||
from dvc.cmd_run import CmdRun
|
||||
from dvc.git_wrapper import GitWrapper
|
||||
from dvc.logger import Logger
|
||||
from dvc.exceptions import NeatLynxException
|
||||
from dvc.data_file_obj import DataFileObj, NotInDataDirError
|
||||
from dvc.state_file import StateFile
|
||||
|
||||
|
||||
class ReproError(NeatLynxException):
|
||||
@@ -2,13 +2,13 @@ import os
|
||||
import shutil
|
||||
import fasteners
|
||||
|
||||
from neatlynx.data_file_obj import DataFileObj, NotInDataDirError
|
||||
from neatlynx.git_wrapper import GitWrapper
|
||||
from neatlynx.cmd_base import CmdBase
|
||||
from neatlynx.logger import Logger
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from neatlynx.repository_change import RepositoryChange
|
||||
from neatlynx.state_file import StateFile
|
||||
from dvc.data_file_obj import DataFileObj, NotInDataDirError
|
||||
from dvc.git_wrapper import GitWrapper
|
||||
from dvc.cmd_base import CmdBase
|
||||
from dvc.logger import Logger
|
||||
from dvc.exceptions import NeatLynxException
|
||||
from dvc.repository_change import RepositoryChange
|
||||
from dvc.state_file import StateFile
|
||||
|
||||
|
||||
class RunError(NeatLynxException):
|
||||
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
import configparser
|
||||
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from dvc.exceptions import NeatLynxException
|
||||
|
||||
|
||||
class ConfigError(NeatLynxException):
|
||||
@@ -30,7 +30,7 @@ class ConfigI(object):
|
||||
|
||||
|
||||
class Config(ConfigI):
|
||||
CONFIG = 'neatlynx.conf'
|
||||
CONFIG = 'dvc.conf'
|
||||
|
||||
def __init__(self, conf_file):
|
||||
self._conf_file = conf_file
|
||||
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from dvc.exceptions import NeatLynxException
|
||||
|
||||
|
||||
class DataFilePathError(NeatLynxException):
|
||||
@@ -2,10 +2,10 @@ import os
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
from neatlynx.dvc_path import DvcPath
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from neatlynx.logger import Logger
|
||||
from neatlynx.config import Config
|
||||
from dvc.dvc_path import DvcPath
|
||||
from dvc.exceptions import NeatLynxException
|
||||
from dvc.logger import Logger
|
||||
from dvc.config import Config
|
||||
|
||||
|
||||
class GitCmdError(NeatLynxException):
|
||||
@@ -1,8 +1,8 @@
|
||||
import os
|
||||
|
||||
from neatlynx.data_file_obj import DataFileObj, NotInDataDirError
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from neatlynx.git_wrapper import GitWrapper
|
||||
from dvc.data_file_obj import DataFileObj, NotInDataDirError
|
||||
from dvc.exceptions import NeatLynxException
|
||||
from dvc.git_wrapper import GitWrapper
|
||||
|
||||
|
||||
class RepositoryChangeError(NeatLynxException):
|
||||
@@ -3,9 +3,9 @@ import sys
|
||||
import json
|
||||
import time
|
||||
|
||||
from neatlynx.exceptions import NeatLynxException
|
||||
from neatlynx.git_wrapper import GitWrapper
|
||||
from neatlynx.logger import Logger
|
||||
from dvc.exceptions import NeatLynxException
|
||||
from dvc.git_wrapper import GitWrapper
|
||||
from dvc.logger import Logger
|
||||
|
||||
|
||||
class StateFileError(NeatLynxException):
|
||||
@@ -2,9 +2,9 @@ from unittest import TestCase
|
||||
import os
|
||||
import shutil
|
||||
|
||||
from neatlynx.config import ConfigI
|
||||
from neatlynx.data_file_obj import DataFileObj, NotInDataDirError, DataFilePathError
|
||||
from neatlynx.git_wrapper import GitWrapperI
|
||||
from dvc.config import ConfigI
|
||||
from dvc.data_file_obj import DataFileObj, NotInDataDirError, DataFilePathError
|
||||
from dvc.git_wrapper import GitWrapperI
|
||||
|
||||
|
||||
class BasicDataDirTest(TestCase):
|
||||
|
||||
@@ -2,7 +2,7 @@ import os
|
||||
import shutil
|
||||
from unittest import TestCase
|
||||
|
||||
from neatlynx.git_wrapper import GitWrapperI
|
||||
from dvc.git_wrapper import GitWrapperI
|
||||
|
||||
|
||||
class TestDvcPathTest(TestCase):
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
nosetests --cover-inclusive --cover-erase --cover-package=neatlynx --with-coverage
|
||||
nosetests --cover-inclusive --cover-erase --cover-package=dvc --with-coverage
|
||||
CODECLIMATE_REPO_TOKEN=a668a3d02db00ab993ad82e1b3d5d2eb00c3c2e26e659153ae4cfd2f12aaad23 codeclimate-test-reporter
|
||||
|
||||
Reference in New Issue
Block a user