cis-ds / course-site

Course site for Computing for Information Science (INFO 5940)
43 stars 41 forks source link

Require use of PATs for Git operations #261

Closed bensoltoff closed 3 years ago

bensoltoff commented 4 years ago

Github is eliminating the username/password option sometime in mid-2021. This will necessitate updating my Git setup instructions as well as the workflow for cloning/pushing Git repos.

bensoltoff commented 3 years ago

No new information. Looks like this can be pushed to the spring/summer to deal with

bensoltoff commented 3 years ago

https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/

Not necessary until fall 2021. Probably need to change before summer 2021 to avoid brownouts. Otherwise just need to explain the email GitHub will automatically send to students when they push

bensoltoff commented 3 years ago

Use this workflow in the notes to explain how to configure GitHub credentials. Should be relatively painfree with some moderation from instructional staff.

Need to ensure RStudio Server will use a credential helper to save the information for the duration of the quarter. This is non-negotiable.

bensoltoff commented 3 years ago

Lucas recommends using SSH protocols in lieu of PAT. There are some drawbacks to this approach, but it looks like security policy on the RStudio Server will not allow caching of PATs.