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

TEMP: #1451

Conversation

yarikoptic
Copy link
Member

to see the effect of perspective bpoldrack#35
and to make review of #1450 more adequate to the functionality changes not API breakage

…eption when asked to commit files unknown to git (Closes datalad#1291)
ENH: provide 'files' parameter for commit
ENH: Don't log git commit call failures at ERROR level
ENH: enable ok_clean_git's untracked_files feature for any AnnexRepo
BF: AnnexRepo.untracked_files does what is availabe, if annex-status-bug is preventing regular call
BF: Workaround for AnnexRepo.add(git=True) in v6. Ugly but enables us to see behind test failures, caused by this one.
TST: Several v6 fixes in test_annexrepo.py
Additional notes and minor changes
BF: Again, don't use annex-proxy for committing in direct mode, since it fails, when a passed path is a submodule (in direct mode)
Additional notes and minor corrections
Disabling the lazy loading of Dataset.repo, since it conflicts with flyweight implementation.

Both needs further discussion. See issue datalad#1345
bpoldrack and others added 18 commits February 27, 2017 17:02
- lock
- unlock
- adjust
- unannex
- added several TODOs
- identified more bugs (annex sync, committing of direct mode submodules, ...)
for workaround 'datalad unlock' just failed in direct mode
and refactored to move the special treatment into AnnexRepo.unlock()
…tatus fails in a submodule without a working tree
…mmands in direct mode by default

RF/BF: remove several usages of annex-proxy, since this leads to the need to also commit via annex-proxy.
Therefore we would have to constantly decide how exactly to commit in direct mode. This involves:
- git-add
- git-rm

RF: don't use gitpython's builtin git-rm implementation, since we can't make it use all options we need.
TST: Remove explicit direct mode test from test_annex_remove; we have a dedicated build for that purpose
TST: Adapt test_AnnexRepo_status
1. to be inline with other methods which are other imperative or a property
2. to make more sense/correspondence with reality (takes a single submodule)
1. to stay consistent with other methods in the *Repo API.  Imperative names
   for methods and nouns for properties.  is_ is a common prefix for such methods
   with only few exceptions which we might like to address

2. to minimize the diff (make it easier to review) for the PR#1450
@yarikoptic yarikoptic force-pushed the bf-direct-against-returnvalues branch from 483222d to 8b055fd Compare April 5, 2017 00:20
@yarikoptic
Copy link
Member Author

closing for now

@yarikoptic yarikoptic closed this Apr 7, 2017
@yarikoptic yarikoptic deleted the bf-direct-against-returnvalues branch May 3, 2017 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants