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

[Feature Request] change the DataHub used #56

Closed
eik-dahms opened this issue Sep 26, 2023 · 11 comments · May be fixed by #325
Closed

[Feature Request] change the DataHub used #56

eik-dahms opened this issue Sep 26, 2023 · 11 comments · May be fixed by #325
Assignees
Labels

Comments

@eik-dahms
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I want to be able to used another DataHub as upload/repository location

Describe the solution you'd like
Maybe a Dropdown field above Login where user can choose and or add another DataHub address

@Hannah-Doerpholz
Copy link
Contributor

Maybe the dropdown menu would fit well in the current (v0.0.10) versions tab in the "Remote" field, where we can upload the ARCs.

@Brilator
Copy link
Member

I guess this needs to be tackled two-fold:

  1. Login to one selected datahub
  2. Be able to re-route (e.g. push to) another datahub / remote [Feature Request] change remote #31

@Brilator
Copy link
Member

Brilator commented Oct 24, 2023

Using ARCitect to work on ARCs shared in a DataHUB group.

Problem: ARCitect currently by default adds the logged-in user as remote in the versions panel (i.e. https://git.nfdi4plants.org/<UserName>/<ARCName>/) and does not allow to change this to a group remote (https://git.nfdi4plants.org/<GroupName>/<ARCName>/) once uploaded to the DataHUB.

Option A: Force ARCitect to upload to group

  1. Create ARC locally with ARCitect
  2. Upload ARC to group account. 💡 Make sure to adapt the Remote field in the Versions panel to display https://git.nfdi4plants.org/<GroupName>/<ARCName>/

Option B: If you created an ARC in your user account

In order to share your ARC with a group, try the following:

  1. Transfer ARC to the group in the DataHUB (DataHUB -> ARC -> Settings -> General -> Advanced -> "Transfer Project")
  2. (optional) Delete the local ARC connected to your user account
  3. Clone the group ARC using ARCitect from https://git.nfdi4plants.org/<GroupName>/<ARCName>/
  4. Keep working on the ARC, add data, etc.

💡 To avoid up/download issues (large files, LFS issues, etc.), this should be done before adding a lot of data.

@Hannah-Doerpholz
Copy link
Contributor

I see. Still, it is not that convenient for users that are not logged in/that haven't configured their login credentials locally, since they always need to manually type in repo destination. We have tried uploading to our group name (Usadellab) and that seems to work without first uploading to the personal user account. To do this, we manually edited the correct location name. I am not sure if this is expected behavior though.

@Brilator
Copy link
Member

Yes, this wasn't supposed to be a good solution, but something that works with using ARCitect only (without CLI).
Alternatively, one could just git remote set-url origin <new url>.

@Brilator
Copy link
Member

Brilator commented Oct 25, 2023

Cool, I did not know about the solution you describe. This worked, but assumes that an ARC is shared with the group to begin with.
It's more complicated, if you created and transferred an ARC. That's where users ran into issues.

Added your solution top the comment above.

@Brilator
Copy link
Member

The workarounds don't work anymore.
ARCitect now always overwrites with default namespace. :(

@Freymaurer
Copy link
Collaborator

This should be solved since 0.0.24!

@eik-dahms
Copy link
Contributor Author

Where can I change the remote datahub now?

I used 0.0.24, but I can not find the setting where I can change the remote.

I tried changing the remote field under versions, which did not work.

Maybe I was looking in the wrong place?

@Freymaurer
Copy link
Collaborator

@JonasLukasczyk

@Freymaurer
Copy link
Collaborator

This should be it @eik-dahms :

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants