Giter Site home page Giter Site logo

github-classroom-for-teachers's People

Contributors

acorbin3 avatar cecileane avatar jfiksel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

github-classroom-for-teachers's Issues

Step 4 Clarification -

I'm at step 4 of the classroom step up:

Go to the current year's version of the classroom organization. Under settings, go to member privileges. Change Default repository permission to "none" (if it's not already) and save these changes. This will make it so that students cannot change non-assignment repositories in the organization.

Do you mean "Base Permissions"?
GitHubClassroomStep5

Cannot change to pull: No such file or directory

Hello,

I was able to successfully clone and download a large set of repositories for my students' first assignment. I didn't bother to push any commits afterwards. Now today I am trying to clone another set of labs but am getting the error I indicated above. Here is my console output:

brianmacbook:mass_clone admin$ ./clone_all_helper_example.sh apcs-lab-2-input
Using ssh
Enter Github Password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 192.30.253.117...

  • TCP_NODELAY set
  • Connected to api.github.com (192.30.253.117) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/cert.pem
    CApath: none
  • TLSv1.2 (OUT), TLS handshake, Client hello (1):
    } [512 bytes data]
  • TLSv1.2 (IN), TLS handshake, Server hello (2):
    { [108 bytes data]
  • TLSv1.2 (IN), TLS handshake, Certificate (11):
    { [3091 bytes data]
  • TLSv1.2 (IN), TLS handshake, Server key exchange (12):
    { [333 bytes data]
  • TLSv1.2 (IN), TLS handshake, Server finished (14):
    { [4 bytes data]
  • TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
    } [70 bytes data]
  • TLSv1.2 (OUT), TLS change cipher, Client hello (1):
    } [1 bytes data]
  • TLSv1.2 (OUT), TLS handshake, Finished (20):
    } [16 bytes data]
  • TLSv1.2 (IN), TLS change cipher, Client hello (1):
    { [1 bytes data]
  • TLSv1.2 (IN), TLS handshake, Finished (20):
    { [16 bytes data]
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
  • ALPN, server accepted to use http/1.1
  • Server certificate:
  • subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=*.github.com
  • start date: Jan 18 00:00:00 2017 GMT
  • expire date: Apr 17 12:00:00 2020 GMT
  • subjectAltName: host "api.github.com" matched cert's "*.github.com"
  • issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
  • SSL certificate verify ok.
  • Server auth using Basic with user 'brianjschott'

GET /orgs/bronxacademy/repos?per_page=100 HTTP/1.1
Host: api.github.com
Authorization: Basic YnJpYW5qc2Nob3R0OjAxMTVEOGM0IQ==
User-Agent: curl/7.54.0
Accept: /

< HTTP/1.1 200 OK
< Server: GitHub.com
< Date: Mon, 16 Oct 2017 00:57:24 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 698135
< Status: 200 OK
< X-RateLimit-Limit: 5000
< X-RateLimit-Remaining: 4880
< X-RateLimit-Reset: 1508118014
< Cache-Control: private, max-age=60, s-maxage=60
< Vary: Accept, Authorization, Cookie, X-GitHub-OTP
< ETag: "b491c2656f919e9d59b9928781b4d99e"
< X-GitHub-Media-Type: github.v3; format=json
< Link: https://api.github.com/organizations/14323329/repos?per_page=100&page=2; rel="next", https://api.github.com/organizations/14323329/repos?per_page=100&page=3; rel="last"
< Access-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
< Access-Control-Allow-Origin: *
< Content-Security-Policy: default-src 'none'
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
< X-Content-Type-Options: nosniff
< X-Frame-Options: deny
< X-XSS-Protection: 1; mode=block
< X-Runtime-rack: 0.353002
< X-GitHub-Request-Id: E437:128EA:154A78C:383B86E:59E403F4
<
{ [256 bytes data]
100 681k 100 681k 0 0 644k 0 0:00:01 0:00:01 --:--:-- 644k

  • Connection #0 to host api.github.com left intact
    usage: basename string [suffix]
    basename [-a] [-s suffix] string [...]
    fatal: Cannot change to 'pull': No such file or directory

Prevent from asking ssh key password each time

Hi,
thanks for your wonderful guide. I've managed to prevent the script from asking the same ssh key password by running.
eval $(ssh-agent)
followed by
ssh-add ~/.ssh/id_rsa
and the I run the script. (both the one pulling/cloning or the one that push the grades).

Hope that can be useful to anybody.

Workflow broken by changes to GitHub Classroom

Hi,
First of all thanks for the very helpful instructions (which I have used successfully in the past). However it appears the workflow has now been broken by changes to GitHub classroom, since it is no longer possible to use private repos from a master organisation as template assignments in the organisation for the current year (see here: https://education.github.community/t/please-read-if-you-are-using-starter-code-outside-of-your-github-classroom-organization-for-an-assignment/66612 )

Any thoughts on how to change the workflow (other than making the master repos public which is not an option for me)? The easiest solution I have found is to (i) enable forking private repos in the master org (ii) fork each assignment template to the org for the current year. The downside is this has to be done manually every year for every assignment repo template.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.