Skip to main content

This repo contains a number of tools Open edX uses for working with GitHub repositories.

Project description

This repo contains a number of tools Open edX uses for working with GitHub repositories.

  • oep2: Report on OEP-2 compliance across repositories.

  • tag_release: Tags multiple repos as part of the release process.

Setting up GitHub authentication

Most of these make GitHub API calls, and so will need GitHub credentials in order to not be severely rate-limited. Edit (or create) ~/.netrc so that it has an entry like this:

machine api.github.com
  login your_user_name
  password ddf9079e12042ac022c101c61c0235965851e209

Change the login to your GitHub user name. You’ll get the password value from https://github.com/settings/applications. Visit that page, click on Developer Settings and in the section called “Personal access tokens,” click “Generate new token.” It will prompt you for your password, then you’ll see a scary list of scopes. Check the “repo” option and click “Generate token.” Copy the password that appears. Paste it into your ~/.netrc.

Working in the repo

To work on these tools:

  1. Use a virtualenv.

  2. Install dependencies:

    make dev-install
  3. Run tests:

    make test
  4. Older tools were Python files run from the root of the repo. Now we are being more disciplined and putting code into importable modules with entry points in setup.py.

Older Tools

There are many programs in this repo in various stages of disrepair. A few of them are described in this repo’s older README.md file. Others are not described at all, but may be useful, or have useful tidbits in the code.

Feedback

Please send any feedback to oscm@edx.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edx-repo-tools-0.2.5.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

edx_repo_tools-0.2.5-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

Details for the file edx-repo-tools-0.2.5.tar.gz.

File metadata

  • Download URL: edx-repo-tools-0.2.5.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for edx-repo-tools-0.2.5.tar.gz
Algorithm Hash digest
SHA256 1ba3c565be08b748c6ba159d0139f610cee19e462c90b320abc21883ae177858
MD5 34f1634c4cca775c80ef8546e818ef93
BLAKE2b-256 ab56ad720f8b8b4e4584d3f8a4ed98eae4117af8f5b57068e3df99de4e1aee4a

See more details on using hashes here.

File details

Details for the file edx_repo_tools-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: edx_repo_tools-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 39.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for edx_repo_tools-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 66d89e214eebbc9ef4f2b3359156b9056889e6dd17709e765b5bc7bdf8deaac0
MD5 4b0419460277779a8b25799d8e156b9e
BLAKE2b-256 d0be640d7a5b36d8e2490972cd4d96ca69b97765ab8b44553f957895fa6ca9d3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page