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

[DOC] ultimate datalad mermaid figure #67

Open
jungheejung opened this issue Feb 21, 2024 · 3 comments
Open

[DOC] ultimate datalad mermaid figure #67

jungheejung opened this issue Feb 21, 2024 · 3 comments

Comments

@jungheejung
Copy link
Collaborator

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	[email protected]:/dartfs-hpc/rc/lab/C/CANlab/labdata/data/spacetop/dartmouth (fetch)
origin	[email protected]:/dartfs-hpc/rc/lab/C/CANlab/labdata/data/spacetop/dartmouth (push)
rolando	[email protected]:/inbox/BIDS/Wager/Wager/1076_spacetop (fetch)
rolando	[email protected]:/inbox/BIDS/Wager/Wager/1076_spacetop (push)
(spacetop) ➜  1076_spacetop git:(master) ✗ git push
[email protected]'s password: 

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


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




[email protected]'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	[email protected]:/dartfs-hpc/rc/lab/C/CANlab/labdata/data/spacetop/dartmouth (fetch)
origin	[email protected]:/dartfs-hpc/rc/lab/C/CANlab/labdata/data/spacetop/dartmouth (push)
rolando	[email protected]:/inbox/BIDS/Wager/Wager/1076_spacetop (fetch)
rolando	[email protected]:/inbox/BIDS/Wager/Wager/1076_spacetop (push)
@jungheejung
Copy link
Collaborator Author

@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
Copy link
Collaborator

git remote add --fetch rolando-exchange [email protected]:/inbox/BIDS/Wager/Wager/1076_spacetop.git

and then push to rolando-exchange not rolando

@yarikoptic
Copy link
Collaborator

yarikoptic commented Feb 21, 2024

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
Loading

tune to your liking -- give better names etc.

@jungheejung jungheejung pinned this issue Mar 6, 2024
@jungheejung jungheejung changed the title [BUG] git push rolando [DOC] ultimate datalad mermaid figure May 24, 2024
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