Comments (5)
do you have a minimal example to replicate? what version of annex/git?
from datalad.
The error itself may be due to the use of the submodule and not bleeding-edge git annex. My point is the exitcode!
cd wherever-youhave-datalad-repo/datalad/tests/testrepos/basic/r1
git annex init
results in:
init fatal: ref HEAD is not a symbolic ref
ok
(Recording state in git...)
Exitcode: 0
git annex version
git-annex version: 5.20141125
build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier ddar hook external
local repository version: 5
supported repository version: 5
upgrade supported from repository versions: 0 1 2 4
The "fatal" on stderr when exiting with 0 seems to be a strange combination. It's either not so fatal at all or should return non-zero, right?
Edit:
This leads to the question whether checking git-annex' exitcode is enough or some parsing of stderr is needed.
from datalad.
what systems it that on? there is now more relevant moving gears in annex than before, so it would be worth checking first with recent annex before we inquire help from joey
from datalad.
It's jessie.
By now, I don't want joey to fix something. We should have a closer look
(or just ask joey), whether or not catching the exitcode is supposed to be
sufficient for our needs.
2015-03-19 4:01 GMT+01:00 Yaroslav Halchenko [email protected]:
what systems it that on? there is now more relevant moving gears in annex
than before, so it would be worth checking first with recent annex before
we inquire help from joey—
Reply to this email directly or view it on GitHub
#69 (comment).
from datalad.
Joey said that it is most probably due to that submodule handling in
Windows, which was recently fixed up. So I will close this issue, but
if it reappears with the new version of annex -- feel free to reopen.
Otherwise, git annex must spit out the error code if operation didn't
succeed as a result. There might be intermediate failures which could
cause it to fall back to alternative way to accomplish the same thing.
from datalad.
Related Issues (20)
- Edge case: Large datalad saves with tight ulimits on many-core machines can fail
- 1-letter shortcut for `--reobtain-data` in datalad-update HOT 1
- `str(GitTransportRI)` broken, and with it `_get_flexible_source_candidates()`
- Boto dependency HOT 1
- Extension command line argument in conflict with `datalad` level argument HOT 3
- "Convert" .travis.yml into a github workflow
- DataLad extensions are not properly registered on Python 3.12 HOT 1
- FOI: "generic" analog to WTF?
- Datalad get can't find URL despite registering via addurls (and I can see the URL with git annex whereis) HOT 21
- `create_sibling_ria` does not release `IO` handler resources properly
- MacOS tests fail to install Python 3.7 (which is EOL anyway) HOT 2
- Unable to get HCP FC datalad data in a pyenv with Python 3.12.2 ["you need 'boto' dependency which seems to be missing"] HOT 3
- Testing of authenticated S3 interactions
- Stop advertising broken `datalad -c :<key>` to unset config HOT 1
- Missing tab completions and linter help for datalad Python API HOT 2
- can deletions trigger automatic removal of downstream files? HOT 2
- question: is `datalad remove` the same as `git rm` plus `git commit`?
- Datalad should refuse certain actions in uninitialized submodules (subdatasets)
- datetime test failures on `=datalad-1.0.2` HOT 1
- Run did not save all changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datalad.