Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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/edx-enterprise-data

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

  • skipping Production deployment
    edx/edx-analytics-dashboard
  • Added to ARCH‌-252

OUT WITH NEXT DEPLOYMENT:

edx/edx-platform

  • edx/edx-enterprise
  • edx/completion
  • edx/edx-organizations

edx/edx-video-pipeline

  • Merged - waiting for deployment

BLOCKED:

edx/ecommerce

  • Prod deployments broken (see DEVOPS‌-7953)


Learnings:

  • Outside of the above issues, edx-analytics-data-api had several issues that weren't caught until Production. Check NewRelic for errors after each deployment.
  • 30-45 minutes to set up all PRs for upgrades/changes.
  • 40 minutes for deployments. (Some IDAs require rebasing multiple times before merge.)
  • Had issues with edx-notes-api and edx-analytics-dashboard, so those were broken out into other tickets.

DEPLOY

TO MERGE (see new related tickets)

  • No labels