JoyOfCoding icon indicating copy to clipboard operation
JoyOfCoding copied to clipboard

Survey program detects GitHub id from .git/config file

Open DavidWhitlock opened this issue 1 year ago • 0 comments

These days, the Survey program is always run from inside a checkout of a GitHub repository. It would be very helpful to know students' GitHub id so that I can add them to a GitHub organization and repositories. I can harvest the GitHub user id from the .git/config file in a checkout:

[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = [email protected]:DavidWhitlock/PortlandStateJava.git

I should augment the Survey program to harvest this information and ask the student if it is okay to send it to me. Then, I need to store the id in the me.xml file.

DavidWhitlock avatar Jan 11 '24 01:01 DavidWhitlock