WIP: This document is in-progress.  It is not yet usable.

Search for repositories using edx-drf-extensions

This page includes details about all repositories using edx-drf-extensions as-of the writing of this document.  The following are quick instructions to see if there are any new repositories using edx-drf-extensions.

  1. Search github for edx-drf-extensions: https://api.github.com/search/code?q=edx-drf-extensions+org:edx
  2. Copy search output into JSON field in https://jqplay.org/
  3. Enter the following filter in jq-play: .items[].repository.full_name

Note: The api search may not search private repos.

#!/usr/bin/python
from github import Github

# Set this to a personal access token.
# - Select "repo" for the oauth scopes.
# See https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
g = Github('<YOUR_ACCESS_TOKEN>')

repositories = set()

# Note: Gets rate limited and fails if too many hits
content_files = g.search_code(query='org:edx jwtbuilder')
for content in content_files:
	repositories.add(content.repository.full_name)
	rate_limit = g.get_rate_limit()
	if rate_limit.search.remaining == 0:
		print('Rate limit on searching was reached.')
		break

for repo in sorted(repositories):
	print(repo)

rate_limit = g.get_rate_limit()
print('Search rate limit:')
print(rate_limit.search)


DEPLOYED:

edx/edx-analytics-data-api

edx/course-discovery
edx/credentials
edx/edx-notes-api
edx/journals

OUT WITH NEXT DEPLOYMENT:

edx/edx-platform

edx/edx-video-pipeline

BLOCKED:

edx/ecommerce


Learnings:

DEPLOY

TO MERGE (see new related tickets)