Commit Graph
100 Commits
Author SHA1 Message Date
Mr. Outis de1de68f90 s3: import boto3 inside _copy instead of module level
Kudos to @skshetry for bringing this out during a review
2020-01-18 23:01:50 -06:00
Mr. Outis 6ad55ec3b0 completion: get --show-url 2020-01-17 18:50:08 -06:00
Mr. Outis 388fcd6d32 api: identify local repos with os.path.exists
Close #3111
2020-01-15 21:31:09 -06:00
Mr. Outis 48326620ec setup: remove py2 backports 2020-01-15 19:13:01 -06:00
Mr. Outis ff094b2560 remote: error out when modifying a non-existing remote
Close #3131
2020-01-13 18:29:40 -06:00
Mr. Outis 2c9b763906 version: decode correctly commands output 2020-01-13 12:36:47 -06:00
Mr. Outis df97a2a7de don't reimport DvcException 2020-01-10 18:32:34 -06:00
Mr. Outis b8dd4225d2 py3: fspath source and link_name 2020-01-10 17:40:59 -06:00
Mr. Outis 6eac40d226 system: catch OSError instead of Exception 2020-01-10 17:35:54 -06:00
Mr. Outis e5bee243a3 py3: use links from os module 2020-01-08 14:09:22 -06:00
Mr. Outis f942e26453 py3: remove tb_list 2020-01-07 00:13:51 -06:00
Mr. Outis 7ed4fd3840 py3: use format_exc instead of print_exception 2020-01-06 23:40:00 -06:00
Mr. Outis 71b15d259a py3: remove code related to py2 limitations 2020-01-06 23:03:33 -06:00
Mr. Outis 8712ecc1e1 completion: fix --relink problem
Close #2983
2020-01-05 02:05:24 -06:00
Mr. Outis 5611ccb43a exceptions: remove cause 2020-01-02 20:43:24 -06:00
Mr. Outis aed04e7cc9 exceptions: remove noop code 2020-01-02 16:59:56 -06:00
Mr. Outis fd82402d34 py3: use new magic from PEP 3135 2020-01-02 16:24:31 -06:00
Mr. Outis 55e90b7bdf py3: ignore_file_not_found -> contextlib.suppress 2019-12-31 23:42:40 -06:00
Mr. Outis 086acf6404 py3: dvc/utils/compat.py -> dvc/compat.py 2019-12-31 23:42:07 -06:00
Mr. Outis 27f581cf4e py3: remove imports from utils.compat 2019-12-31 23:16:11 -06:00
Mr. Outis 9c42809587 py3: _makedirs -> os.makedirs 2019-12-31 22:19:07 -06:00
Mr. Outis 999130b029 py3: remove compat csv_reader 2019-12-31 22:17:02 -06:00
Mr. Outis 1ef466b849 py3: remove convert_to_unicode noop 2019-12-31 22:14:54 -06:00
Mr. Outis b844aea42c py3: remove cast_bytes method 2019-12-31 20:14:25 -06:00
Mr. Outis 326ba21ed0 py3: remove unneeded string casts 2019-12-31 19:43:15 -06:00
Mr. Outis 6d36b85736 py3: remove string compat related code 2019-12-30 23:49:19 -06:00
Mr. Outis 2827146e55 py3: adapt TEXT_CHARS on istextfile.py 2019-12-30 19:45:51 -06:00
Mr. Outis 94a0914bba py3: get rid of future imports 2019-12-30 19:35:48 -06:00
Mr. Outis c61254dc75 py3: get rid of py2 on CI scripts 2019-12-30 19:16:10 -06:00
Mr. Outis 886afdb203 py3: get rid of is_py checks 2019-12-30 18:53:36 -06:00
Mr. Outis d3d6f679be py3: modify python_requires to support 3.5 onwards 2019-12-30 13:10:28 -06:00
Mr. Outis dad224ef42 summon: os.curdir -> os.getcwd 2019-12-27 10:09:13 -06:00
Mr. Outis e8dd2358f5 summon: fix path popping operation 2019-12-27 10:05:41 -06:00
Mr. Outis b97747179b Merge branch 'master' into summon 2019-12-25 14:40:34 -06:00
Mr. Outis 49264b55ac py2: fix problem with ruamel.yaml and unicode 2019-12-25 13:07:40 -06:00
Mr. Outis 4a25612282 💅 refactor 2019-12-25 01:04:52 -06:00
Mr. Outis 75ad14aaa2 💅 black 2019-12-25 00:43:33 -06:00
Mr. Outis 0658622ca2 summon: pair-programming adjustments 2019-12-25 00:42:55 -06:00
Mr. Outis 7a58901ec6 💅 black & flake 2019-12-24 20:21:03 -06:00
Mr. Outis 1e65c76ef1 summon: raise SummonError appropiately 2019-12-24 20:20:03 -06:00
Mr. Outis fbb7aebd31 tests/summon: use different args for non-canon.yml 2019-12-24 19:50:43 -06:00
Mr. Outis d45f07cbec summon: make schema more consistent
* Mark optional keywords
* Allow extra entries
* Include objects into the schema
2019-12-24 13:41:57 -06:00
Mr. Outis 1c22cd5af4 summon: adjust comments 2019-12-24 02:20:08 -06:00
Mr. Outis 7dd340aeeb summon: 💅 refactoring/reordering 2019-12-24 02:13:11 -06:00
Mr. Outis 542f4c3c18 summon: wrap chdir_and_syspath in a try/finally 2019-12-24 00:42:13 -06:00
Mr. Outis 6fd5eb4185 summon: use slice instead of get 2019-12-24 00:40:07 -06:00
Mr. Outis 7ece84b840 summon: prevent modifying the yaml args 2019-12-24 00:39:24 -06:00
Mr. Outis 4ad7cb3961 summon: define yaml file schema 2019-12-23 23:45:13 -06:00
Mr. Outis addc56c232 summon: allow different YAML file names 2019-12-18 23:38:52 -06:00
Mr. Outis c852d3316d 💅 black 2019-12-18 23:34:43 -06:00
Mr. Outis ee72280e60 summon: left a comment about chdir and syspath 2019-12-18 23:34:00 -06:00
Mr. Outis 4273ff49b3 summon: params -> args; use summon key in yaml 2019-12-18 23:32:28 -06:00
Mr. Outis 29339d29a2 summon: file & method -> call 2019-12-18 23:25:45 -06:00
Mr. Outis 1b3c771df5 summon: artifacs.yaml -> dvcsummon.yaml; artifact -> object 2019-12-18 22:42:55 -06:00
Mr. Outis 0a54683f91 💅 black 2019-12-18 22:30:22 -06:00
Mr. Outis 32f35ea686 summon: remove scm.add, *_gen already handles it 2019-12-18 22:29:44 -06:00
Mr. Outis 4ce1113ccf summon: use find_out_by_relpath 2019-12-18 22:18:37 -06:00
Mr. Outis fea3d1400a summon: return empty generator for object.deps 2019-12-18 22:15:54 -06:00
Mr. Outis 5d66a572d4 summon: support overriding parameters 2019-12-18 17:20:07 -06:00
Mr. Outis d0344ce975 summon: grimoire/spells -> artifacts 2019-12-18 17:00:39 -06:00
Mr. Outis 789db9169a summon: support checking out dependencies 2019-12-18 16:41:03 -06:00
Mr. Outis b921730f37 summon: safely get a module; change naming 2019-12-18 13:32:23 -06:00
Mr. Outis 3d133186d4 summon: ugly hack 2019-12-18 00:48:10 -06:00
Mr. Outis e519464aca 💅 black 2019-12-17 12:21:50 -06:00
Mr. Outis 8a14700c12 tests/updater: fix problems with .check 2019-12-17 12:18:43 -06:00
Mr. Outis 7dedd7f518 tests/repo: bring back the old branch logic 2019-12-17 12:12:57 -06:00
Mr. Outis d2469f7a1f tests/repo: str -> fspath 2019-12-17 12:04:37 -06:00
Mr. Outis 1bd66fa859 tests/repo: old params in is_dvc_internal 2019-12-17 12:03:35 -06:00
Mr. Outis a83e440b32 tests/repo: remove unnecessary os.path.join 2019-12-17 11:56:48 -06:00
Mr. Outis 0de183de26 tests/repo: reload cache properly 2019-12-17 11:55:47 -06:00
Mr. Outis 5194543007 tests/repo: windows compat 2019-12-16 10:25:07 -06:00
Mr. Outis 59072f4d18 💅 revert black upgrade 2019-12-16 09:44:59 -06:00
Mr. Outis a7525fca64 💅 black and flake 2019-12-16 08:13:54 -06:00
Mr. Outis 576290a3c5 restyled: bump black to v19.10 2019-12-16 08:13:06 -06:00
Mr. Outis 6ed61efc05 tests/repo: refactor some tests 2019-12-16 08:08:23 -06:00
Mr. Outis 08b335d2b5 tests/repo: move unit tests to func tests 2019-12-16 08:04:28 -06:00
Mr. Outis f209e1eb6f tests/analytics: explicitly set content for foo 2019-12-15 13:11:40 -06:00
Mr. Outis 4b833f58e5 tests/updater: use skipif for .check 2019-12-15 13:09:23 -06:00
Mr. Outis df9f3de231 tests/repo: stringify stage.relpath 2019-12-13 19:15:25 -06:00
Mr. Outis 299fb9022f 💅 black 2019-12-13 18:04:15 -06:00
Mr. Outis 37a2844a74 tests/repo: move .stages to unit 2019-12-13 18:01:11 -06:00
Mr. Outis b3a52515a3 tests/repo: move .collect to unit 2019-12-13 17:54:05 -06:00
Mr. Outis 655b79bf0c tests/repo: move .destroy to unit test 2019-12-13 17:51:54 -06:00
Mr. Outis c178e77ab7 tests/repo: use pytest 2019-12-13 17:51:54 -06:00
Mr. Outis c09c3aec0c remove empty file 2019-12-12 19:05:31 -06:00
Mr. Outis d0f3559d96 tests: updater, use dir helpers 2019-12-12 18:59:52 -06:00
Mr. Outis 7426a62baa tests: analytics, use dir helpers 2019-12-12 18:16:10 -06:00
Mr. Outis 5dd6300878 💅 black 2019-12-07 21:19:54 -06:00
Mr. Outis 6e4c3d6acd tests: require keys on analytics report schema 2019-12-07 21:18:28 -06:00
Mr. Outis 3244f10e7f 💅 add dot to the end of the comment 2019-12-07 21:15:49 -06:00
Mr. Outis c9f958dd00 analytics: AttributeError -> KeyError 2019-12-07 21:15:38 -06:00
Mr. Outis 146e75be3e analytics: raise error when collecting a not supported os 2019-12-07 21:15:11 -06:00
Mr. Outis c50bd17bb4 analytics: collect execution info only when available 2019-12-07 21:14:31 -06:00
Mr. Outis 2145daa130 analytics: define private methods 2019-12-06 16:26:10 -06:00
Mr. Outis 5a8033415d tests: use str, builtin_str in schema 2019-12-06 13:54:17 -06:00
Mr. Outis da064e2ede analytics: remove the report after sending it 2019-12-06 12:28:06 -06:00
Mr. Outis f704e5468b tests: stringify tmp_global_config since it doesnt return a pathlike object 2019-12-06 10:20:30 -06:00
Mr. Outis c82d9dcbc1 compat: bring back unicode literals 2019-12-05 23:18:44 -06:00
Mr. Outis bc2471cd30 tests: adjust scm_class schema 2019-12-05 19:56:45 -06:00
Mr. Outis 7e8bdbd603 remove pathlib / fspath changes related to the patch 2019-12-05 19:52:03 -06:00