On Wed, Mar 01, 2023 at 02:51:54AM +0000, Bob Stricklin via pacsat-dev wrote:
I continue to have an issue writing to the PacSatx repository. Jonathan has adjusted permissions to give me write access. Apparently there is more to it in this case. My use of git has mostly been with a repository I setup or one a company had. In this case it seems several here have owner rights in this repository.
I have tried with one of my personal access Tokens, but I have seen this from GIT:
Each token can only access resources owned by a single user or organization. Each token can only access specific repositories. Each token is granted specific permissions, which offer more control than the scopes granted to personal access tokens (classic). Each token must have an expiration date. Creating a personal access token - GitHub Docshttps://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#:~:text=Each%20token%20can%20only%20access%20resources%20owned%20by,%28classic%29.%20Each%20token%20must%20have%20an%20expiration%20date.
I have also read it may be possible to access a GIT if you have a project Token and create access with that using:
There's probably an easier way to do this, especially if you are running on Linux.
You need to create an ssh key and upload it. On Linux you should already have one in ~/.ssh/id_xxx.pub, where xxx is the key type. If that's not there, then run ssh-keygen. I'd recommend using an ed25519 key, but rsa is fine. (Run ssh-keygen -t ed25519). Don't use dsa. I don't know how to do that on Windows.
Then you need to upload it to github. That's in "settings" -> SSH and GPG keys. Then click on "New SSH key". Then paste in the contents of the public key file (ends in .pub, as above).
Once you have that, clone it with ssh. In the repository view on github, you click on "Code" then shoose Local then SSH. Clone what is says there, like "git clone [email protected]:AMSAT-NA/pacsat.git".
I've never tries the otken access because it's fairly inconvenient.
Would anyone that knows the process on how to do this please help with the steps or send me the needed Token so i can gain access?
pacsat-dev mailing list -- [email protected] View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/[email protected] To unsubscribe send an email to [email protected] Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org