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

Webdav clone - empty repository #233

Closed
mslw opened this issue Feb 10, 2023 · 1 comment
Closed

Webdav clone - empty repository #233

mslw opened this issue Feb 10, 2023 · 1 comment

Comments

@mslw
Copy link
Collaborator

mslw commented Feb 10, 2023

I had a dataset shared with me by a colleague through Sciebo with a webdav remote. It's in an export tree mode.

Cloning produces an warning, and a repo without history or files:

❱ datalad clone webdavs://...
[WARNING] You appear to have cloned an empty repository.                                                                                      
[WARNING] Cloned /home/mszczepanik/Documents/testtststs/dotgit/c05pd but could not find a branch with commits                                 
install(ok): /home/mszczepanik/Documents/testtststs/dotgit/c05pd (dataset)

Looking at Sciebo, everything seems to be in place; alongside the file tree, .datalad has .gitattributes, config & dotgit; the latter contains refs & repo.zip.

After downloading .datalad manually and inspecting the contents, I noticed that the refs file only has one line:

❱ cat b02/dotgit/refs
@refs/heads/master HEAD

compared to another dataset:

❱ cat c05/dotgit/refs 
fa696417584a08441e4e79ddd670ed89a25aa8b6 refs/heads/git-annex
2330c1bdf6b4298f762b13cf4689bdbff3a8684b refs/heads/master
@refs/heads/master HEAD

Comparing to other datasets, therepo.zip seems to be missing some files, e.g. objects/pack/pack-*.[idx|pack|bitmap] & objects/info/commit-graph:

Listing of this repo
Listing archive: b02/dotgit/repo.zip

--
Path = b02/dotgit/repo.zip
Type = zip
Physical Size = 14586

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2022-12-27 18:31:38 D....            0            0  hooks
2022-12-27 18:31:42 D....            0            0  info
2022-12-27 18:31:38 D....            0            0  objects
2022-12-27 18:31:38 D....            0            0  refs
2022-12-27 18:31:38 .....          104           98  config
2022-12-27 18:31:38 .....           73           79  description
2022-12-27 18:31:38 .....           23           41  HEAD
2022-12-27 18:31:42 .....           46           59  packed-refs
2022-12-27 18:31:38 .....          478          324  hooks/applypatch-msg.sample
2022-12-27 18:31:38 .....          896          550  hooks/commit-msg.sample
2022-12-27 18:31:38 .....         4726         1832  hooks/fsmonitor-watchman.sample
2022-12-27 18:31:38 .....          189          171  hooks/post-update.sample
2022-12-27 18:31:38 .....          424          312  hooks/pre-applypatch.sample
2022-12-27 18:31:38 .....         1643          981  hooks/pre-commit.sample
2022-12-27 18:31:38 .....          416          303  hooks/pre-merge-commit.sample
2022-12-27 18:31:38 .....         1374          759  hooks/pre-push.sample
2022-12-27 18:31:38 .....         4898         2040  hooks/pre-rebase.sample
2022-12-27 18:31:38 .....          544          369  hooks/pre-receive.sample
2022-12-27 18:31:38 .....         1492          797  hooks/prepare-commit-msg.sample
2022-12-27 18:31:38 .....         2783         1309  hooks/push-to-checkout.sample
2022-12-27 18:31:38 .....         3650         1220  hooks/update.sample
2022-12-27 18:31:38 .....          240          207  info/exclude
2022-12-27 18:31:42 .....            0           19  info/refs
2022-12-27 18:31:42 D....            0            0  objects/info
2022-12-27 18:31:38 D....            0            0  objects/pack
2022-12-27 18:31:42 .....            1           20  objects/info/packs
2022-12-27 18:31:38 D....            0            0  refs/heads
2022-12-27 18:31:38 D....            0            0  refs/tags
------------------- ----- ------------ ------------  ------------------------
2022-12-27 18:31:42              24000        11490  20 files, 8 folders
Other repo for comparison
Listing archive: c05/dotgit/repo.zip

--
Path = c05/dotgit/repo.zip
Type = zip
Physical Size = 51080

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2022-10-06 16:59:02 D....            0            0  hooks
2022-10-06 16:59:02 D....            0            0  info
2022-10-06 16:59:02 D....            0            0  objects
2022-10-06 16:59:02 D....            0            0  refs
2022-10-06 16:59:02 .....          111           98  config
2022-10-06 16:59:02 .....           23           41  HEAD
2022-10-06 16:59:02 .....           73           79  description
2022-10-06 16:59:02 .....          167          158  packed-refs
2022-10-06 16:59:02 D....            0            0  objects/info
2022-10-06 16:59:02 D....            0            0  objects/pack
2022-10-06 16:59:02 .....         5356         4280  objects/pack/pack-774e06dbfc29de72b9ac2bd4c125259f8265c81f.idx
2022-10-06 16:59:02 .....        30412        27964  objects/pack/pack-774e06dbfc29de72b9ac2bd4c125259f8265c81f.pack
2022-10-06 16:59:02 .....         3438          756  objects/pack/pack-774e06dbfc29de72b9ac2bd4c125259f8265c81f.bitmap
2022-10-06 16:59:02 .....         4412         2527  objects/info/commit-graph
2022-10-06 16:59:02 .....           54           71  objects/info/packs
2022-10-06 16:59:02 .....          240          207  info/exclude
2022-10-06 16:59:02 .....          121          123  info/refs
2022-10-06 16:59:02 .....          896          550  hooks/commit-msg.sample
2022-10-06 16:59:02 .....         4898         2040  hooks/pre-rebase.sample
2022-10-06 16:59:02 .....         1643          981  hooks/pre-commit.sample
2022-10-06 16:59:02 .....          478          324  hooks/applypatch-msg.sample
2022-10-06 16:59:02 .....         4655         1811  hooks/fsmonitor-watchman.sample
2022-10-06 16:59:02 .....          544          369  hooks/pre-receive.sample
2022-10-06 16:59:02 .....         1492          797  hooks/prepare-commit-msg.sample
2022-10-06 16:59:02 .....          189          171  hooks/post-update.sample
2022-10-06 16:59:02 .....          416          303  hooks/pre-merge-commit.sample
2022-10-06 16:59:02 .....          424          312  hooks/pre-applypatch.sample
2022-10-06 16:59:02 .....         1374          759  hooks/pre-push.sample
2022-10-06 16:59:02 .....         3650         1220  hooks/update.sample
2022-10-06 16:59:02 .....         2783         1309  hooks/push-to-checkout.sample
2022-10-06 16:59:02 D....            0            0  refs/heads
2022-10-06 16:59:02 D....            0            0  refs/tags
------------------- ----- ------------ ------------  ------------------------
2022-10-06 16:59:02              67849        47250  24 files, 8 folders

Unfortunately I only have a "consumer" access to this dataset, but I can get in touch if needed.

@mih
Copy link
Member

mih commented Oct 27, 2023

We failed to act on this in a timely fashion. I am closing this issue, because there is nothing actionable here, from my POV.

My guess would be that indeed nothing was pushed to the webdav server, as indicated by the analysis of the deposit.

@mih mih closed this as completed Oct 27, 2023
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

No branches or pull requests

2 participants