1
0
Fork 0
mirror of synced 2024-06-16 21:01:10 -04:00
yadm/test
Erik Flodin 5818eeb9dd
Change handling of submodules at upgrade
Start with doing "submodule absorbgitdirs" as otherwise "submodule
deinit" will fail if a module has been cloned first and later added as
a submodule (as it will then contain the .git dir instead of it being
under the superprojects .git dir).

Then try to deinit the submodules before moving the repo and abort the
upgrade if it fails for any submodule. Then do the move and finally
initialize the submodules that were initialized before the upgrade.

See #285
2021-01-04 18:31:24 +01:00
..
conftest.py Bump versions of required linters 2020-12-21 17:06:14 -06:00
Dockerfile Configure git email and name in docker 2020-12-29 21:50:56 +01:00
ownertrust.txt Create acceptance tests for asymmetric encryption 2016-04-21 07:13:40 -05:00
pinentry-mock Create pinentry-mock 2019-12-05 15:02:43 -06:00
pylintrc Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
requirements.txt Upgrade to latest pytest version (6.2.1) 2020-12-29 21:51:57 +01:00
test_alt.py Merge pull request #257 from erijo/extension 2020-12-22 10:08:30 -06:00
test_alt_copy.py Remove deprecated option cygwin-copy 2020-12-26 12:34:58 -06:00
test_assert_private_dirs.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_bootstrap.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_clean.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_clone.py Improve support for default branches (#231, #232) 2020-12-06 13:23:25 -06:00
test_config.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_default_remote_branch.py Improve support for default branches (#231, #232) 2020-12-06 13:23:25 -06:00
test_encryption.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_enter.py Add test for --no-zle shell option 2020-12-29 17:58:51 -06:00
test_ext_crypt.py Remove superfluous f-strings 2020-12-21 17:06:14 -06:00
test_git.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_help.py Add --version and --help as yadm internal commands (#267) 2020-12-21 17:06:14 -06:00
test_hooks.py Add tests for hook executable bit 2020-12-22 11:52:44 -06:00
test_init.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_introspect.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_key Create acceptance tests for asymmetric encryption 2016-04-21 07:13:40 -05:00
test_list.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_perms.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_syntax.py Test for warnings from man (#195) 2020-01-21 07:26:10 -06:00
test_unit_bootstrap_available.py Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
test_unit_choose_template_cmd.py Rename default template processor 2019-10-30 17:29:17 -05:00
test_unit_configure_paths.py Improve tests to use XDG* variables 2020-11-22 17:09:44 -06:00
test_unit_copy_perms.py Preserve file mode of template (#193) 2020-07-11 21:52:28 -05:00
test_unit_encryption.py Support XDG_DATA_HOME (#208) 2020-11-22 17:09:44 -06:00
test_unit_exclude_encrypted.py Ignore encrypted files (#69) 2019-10-17 08:22:17 -05:00
test_unit_is_valid_branch_name.py Support -b <branch> when cloning (#133) 2019-10-08 17:28:53 -05:00
test_unit_issue_legacy_path_warning.py Issue legacy path warnings to stderr 2020-12-27 22:33:15 +01:00
test_unit_parse_encrypt.py Set YADM_WORK within configure_paths 2019-12-12 08:00:10 -06:00
test_unit_private_dirs.py Support GNUPGHOME environment variable (#134) 2019-12-14 13:24:39 -06:00
test_unit_query_distro.py Add test for quoted os-release 2020-01-14 07:21:02 -06:00
test_unit_record_score.py Add unit test for alternate order 2020-07-08 16:16:48 -05:00
test_unit_record_template.py Refactor symlink code 2019-11-25 08:24:46 -06:00
test_unit_relative_path.py Add function relative_path 2019-11-24 13:15:42 -06:00
test_unit_remove_stale_links.py Split out processing of stale links 2019-10-02 15:16:10 -05:00
test_unit_report_invalid_alts.py Support upgrading from version 1 repos 2020-12-30 14:19:49 -06:00
test_unit_score_file.py Verify extension does not modify alt score 2020-12-22 10:51:23 -06:00
test_unit_set_local_alt_values.py Remove superfluous f-strings 2020-12-21 17:06:14 -06:00
test_unit_set_os.py Add test for WSL identification 2020-02-03 08:30:34 -06:00
test_unit_set_yadm_dir.py Improve tests to use XDG* variables 2020-11-22 17:09:44 -06:00
test_unit_template_default.py Remove superfluous f-strings 2020-12-21 17:06:14 -06:00
test_unit_template_esh.py Preserve file mode of template (#193) 2020-07-11 21:52:28 -05:00
test_unit_template_j2.py Preserve file mode of template (#193) 2020-07-11 21:52:28 -05:00
test_unit_upgrade.py Change handling of submodules at upgrade 2021-01-04 18:31:24 +01:00
test_unit_x_program.py Rename yadm_y -> yadm_cmd 2020-11-22 17:09:44 -06:00
test_version.py Add --version and --help as yadm internal commands (#267) 2020-12-21 17:06:14 -06:00
utils.py Properly handle missing "." in alternate conditions 2019-10-12 09:59:03 -05:00