Arc Commander - Authentication Step Fix - detailed version #157
Replies: 1 comment
-
English version of Arc Commander - Authentication Step Fix - detailed version #157 TLDR:
Detailed version: -> Go to https://git.nfdi4plants.org/explore and sign in Prepare one project for testing: -> In the upper right corner, next to the avatar in the dropdown menu, select “Preferences”. -> Copy token In case you want to delete the Test repo again: navigate into the project within the DataHUB, on the lefthand side select settings and general |
Beta Was this translation helpful? Give feedback.
-
In our CEPLAS course in November 2022, a rare case of a problem with the authentication step occured (“arc remote accesstoken get -s https://git.nfdi4plants.org”).
Below you can find in German the quick DataPLANT response from @HLWeil and a longer detailed version I wrote in order to allow the participant also several days after the course to conduct the suggested steps.
Maybe this is of help for others, so I left it here. German version first, English version below.
UPDATE (06-2023): A respective question and answer is now also included in the FAQ section of the knowledgebase. Please visit the FAQs for more FAQs on this and other DataPLANT tools.
UPDATE (07.2023): In case you create a project access token (“if you used the left sidebar settings/Access Token”) and not a personal access token, a GitLab bot will join your project for this task. Please note that this is supportive and not a “negative” bot in case you are not familiar with this. You can read here more about this. (Thanks to @Zerskk and @j-bauer for providing the background knowledge on this.) However, for the steps below, you want to create a personal access token.
TLDR:
Ausführliche Version:
-> Auf https://git.nfdi4plants.org/explore gehen und „sign in“ durchführen
Am besten ein Projekt zum Testen einrichten:
-> Menu -> Projects -> Your projects
-> Create project
-> Create blank project
-> Project name vergeben, z.B. “Test"
-> Visibility Level sollte “Private” sein
-> unten den Haken vor README entfernen
-> Create project
-> Oben rechts neben dem “Avatar” im Dropdown-Menü “Preferences” wählen.
-> Links in der Leiste dann “Access Tokens” wählen.
-> Token Namen vergeben, bei api, read_repository und write_repository einen Haken setzen.
-> Create personal access token
-> Token kopieren
-> cmd Befehl vorbereiten: git clone https://oauth2:[email protected]/abc/xyz
-> Token bei TOKENSTRING einfügen
-> abc ist das GitHub handle (oben rechts, neben dem Avatar klicken, alle Zeichen nach dem “@“)
-> xyz der Name des Projektes, das gerade angelegt wurde
-> Im Explorer in einem Ordner gehen in den das Test Repositorium (oder hier “project” genannt) geklont werden soll. „cmd“ eingeben und den Befehl dort ausführen, alternativ im Command Prompt in diesen Ordner navigieren.
Soll das Test Repositorium gelöschen werden: im DataHUB in das Projekt gehen, dann links unter settings->general->advanced->Expand-> ganz unten “ Delete project”.
Beta Was this translation helpful? Give feedback.
All reactions