spatialtopology / spacetop-prep

code for transferring data and preprocessing
MIT License
1 stars 3 forks source link

[DOC] ultimate datalad mermaid figure #67

Open jungheejung opened 9 months ago

jungheejung commented 9 months ago

Which module is this from?

datalad and git

What is the issue?

Can't push to rolando

What was your expected behavior?

being able to remove/commit/push the dups to rolando

How can we reproduce this?

(spacetop) ➜  1076_spacetop git:(master) ✗ git remote -v
origin  f0042x1@discovery.dartmouth.edu:/dartfs-hpc/rc/lab/C/CANlab/labdata/data/spacetop/dartmouth (fetch)
origin  f0042x1@discovery.dartmouth.edu:/dartfs-hpc/rc/lab/C/CANlab/labdata/data/spacetop/dartmouth (push)
rolando heejung@rolando.cns.dartmouth.edu:/inbox/BIDS/Wager/Wager/1076_spacetop (fetch)
rolando heejung@rolando.cns.dartmouth.edu:/inbox/BIDS/Wager/Wager/1076_spacetop (push)
(spacetop) ➜  1076_spacetop git:(master) ✗ git push
f0042x1@discovery.dartmouth.edu's password: 

(spacetop) ➜  1076_spacetop git:(master) ✗ git push rolando master

    Dartmouth College, Department of Psychological and Brain Sciences
                      Authorized access only

heejung@rolando.cns.dartmouth.edu's password: 
Enumerating objects: 598, done.
Counting objects: 100% (562/562), done.
Delta compression using up to 8 threads
Compressing objects: 100% (316/316), done.
Writing objects: 100% (318/318), 56.02 KiB | 5.09 MiB/s, done.
Total 318 (delta 220), reused 0 (delta 0), pack-reused 0
error: remote unpack failed: unable to create temporary object directory
To rolando.cns.dartmouth.edu:/inbox/BIDS/Wager/Wager/1076_spacetop
 ! [remote rejected]     master -> master (unpacker error)
error: failed to push some refs to 'rolando.cns.dartmouth.edu:/inbox/BIDS/Wager/Wager/1076_spacetop'

Any additional context?

(spacetop) ➜  1076_spacetop git:(master) ✗ git remote -v
origin  f0042x1@discovery.dartmouth.edu:/dartfs-hpc/rc/lab/C/CANlab/labdata/data/spacetop/dartmouth (fetch)
origin  f0042x1@discovery.dartmouth.edu:/dartfs-hpc/rc/lab/C/CANlab/labdata/data/spacetop/dartmouth (push)
rolando heejung@rolando.cns.dartmouth.edu:/inbox/BIDS/Wager/Wager/1076_spacetop (fetch)
rolando heejung@rolando.cns.dartmouth.edu:/inbox/BIDS/Wager/Wager/1076_spacetop (push)
jungheejung commented 9 months ago

@yarikoptic I'd like to work on this item on Friday. Probably something I'm not forgetting, but can't seem to debug at the moment. Thanks in advance!

yarikoptic commented 9 months ago

git remote add --fetch rolando-exchange heejung@rolando.cns.dartmouth.edu:/inbox/BIDS/Wager/Wager/1076_spacetop.git

and then push to rolando-exchange not rolando

yarikoptic commented 9 months ago

did you draw that figure we sketched up? here is a possible sketch you can improve further using mermaid and https://mermaid.live/edit or alike

flowchart TD
    ORIGIN[1076_spacetop]-->|heejung\nremote=rolando|DISCOVERY
    DISCOVERY-->|heejung\nremote=rolando-exchange| EXCHANGE
    subgraph rolando
    EXCHANGE[1076_spacetop.git]-->|yarik| ORIGIN
    end
    subgraph discovery
    DISCOVERY[.../dartmouth]
    DISCOVERY-FMRIPREP[.../fmriprep]
    end
    subgraph laptop
    ORIGIN-->|heejung\nremote=origin|laptop-clone-name
    laptop-clone-name-->|heejung\nremote=rolando-exchange| EXCHANGE
    laptop-clone-name-->|heejung\nadds events| laptop-clone-name
    end
    subgraph JHU
    DISCOVERY-->|patrick| jhu-clone
    jhu-clone-->|used-for| JHU-FMRIPREP[.../fmriprep]
    JHU-FMRIPREP-->|patrick| DISCOVERY-FMRIPREP
    end

tune to your liking -- give better names etc.