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:
Use a virtualenv.
Install dependencies:
make dev-install
Run tests:
make test
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file edx-repo-tools-0.6.2.tar.gz
.
File metadata
- Download URL: edx-repo-tools-0.6.2.tar.gz
- Upload date:
- Size: 55.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48756740c54621e64ae869165a4d353db2d2edc967bed2bbc8aaaf77861077a8 |
|
MD5 | c5058a70c25bda219185b670f8297ffc |
|
BLAKE2b-256 | ee3815a6badb5485202c15f60f2044dc7b02f73efc50927d6cf469876412e0ca |
File details
Details for the file edx_repo_tools-0.6.2-py3-none-any.whl
.
File metadata
- Download URL: edx_repo_tools-0.6.2-py3-none-any.whl
- Upload date:
- Size: 69.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9e1fde10d0516e8e1a0861dda0c23357675af6f9d5617891016d827d4f1187e |
|
MD5 | 32856526a08031534732c78bac86170a |
|
BLAKE2b-256 | 0f542918e7ff15a212b8042dec4b51b077dda33ffc42b204f8dafe23f3bc42b7 |