This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
help() | |
{ | |
echo "Expects two arguments, the GitHub organization and the GitHub repository." | |
echo "Generates a link to our Grimoire dashboard to automatically apply a filter." | |
echo "Will only work for repositories that are tracked there." | |
echo | |
echo "> ./grimoire_link.sh openedx course-discovery" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "_comment": "This xAPI statement attempts to fully map all the data represented in the canonical sample event here https://edx.readthedocs.io/projects/devdata/en/latest/internal_data_formats/tracking_logs/sample_events.html", | |
"id": "8f87ccde-bb56-4c2e-ab83-44982ef22df0", | |
"actor": { | |
"objectType": "Agent", | |
"account": { | |
"homepage": "https://openedx.org/", | |
"name": "b5059046-d6db-11ec-8490-381428857bd9" | |
} | |
}, | |
"verb": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"conditions": [ | |
{ | |
"field": "origin", | |
"value": "https://github.com/edx/frontend-component-cookie-policy-banner" | |
} | |
], | |
"set_extra_fields": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Modeled loosely on /etc/services this file lists all the ports defined for services across all OPEN EDx Ansible | |
# configuration roles. Actual ports in use in your system will depend upon deployment choices that you have | |
# made. For example, you may run all your services on a single host, you may run more or fewer services depending | |
# upon environment. | |
# | |
# This list was generated on 1/13/2017 using the following commnad: | |
# | |
# find ${GIT_BASE}/edx/configuration/playbooks/roles/ -path "*/defaults/main.yml" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
django-admin.py migrationcheck | |
processing courseware | |
Running migrations for courseware: | |
- Migrating forwards to 0010_rename_xblock_field_content_to_user_state_summary. | |
> courseware:0001_initial | |
> courseware:0002_add_indexes | |
> courseware:0003_done_grade_cache | |
> courseware:0004_add_field_studentmodule_course_id | |
> courseware:0005_auto__add_offlinecomputedgrade__add_unique_offlinecomputedgrade_user_c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
- name: analytics-experiments | install application requirements | |
pip: | |
requirements={{ analytics-experiments_requirements_file }} | |
virtualenv={{ analytics-experiments_venv_dir }} state=present | |
sudo: true | |
sudo_user: "{{ analytics-experiments_user }}" | |
tags: | |
- analytics-experiments | |
- deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from xmodule.modulestore.django import modulestore | |
from xmodule.course_module import CourseDescriptor | |
from django.conf import settings | |
def pick_subdomain(domain, options, default='default'): | |
for option in options: | |
if domain.startswith(option): | |
return option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dec 4 02:45:10 localhost [mitx.courseware][env:prod_edx] ERROR [prod-edx-001 25902] [views.py:282] - Error in index view: user=edzedx, course=CourseDescriptor(<xmodule.modulestore.xml.ImportSystem object at 0x51388d0>, {'data': {'textbooks': [('Textbook', 'https://s3.amazonaws.com/edx-textbooks/guttag_computation_v2/')], 'wiki_slug': None}, 'children': ['i4x://MITx/6.00x/chapter/Week_0', 'i4x://MITx/6.00x/chapter/Week_1', 'i4x://MITx/6.00x/chapter/Week_2', 'i4x://MITx/6.00x/chapter/Week_3', 'i4x://MITx/6.00x/chapter/Week_4', 'i4x://MITx/6.00x/chapter/Week_5', 'i4x://MITx/6.00x/chapter/Exam_1', 'i4x://MITx/6.00x/chapter/Week_6', 'i4x://MITx/6.00x/chapter/Week_7', 'i4x://MITx/6.00x/chapter/Week_8', 'i4x://MITx/6.00x/chapter/Week_9', 'i4x://MITx/6.00x/chapter/Week_10', 'i4x://MITx/6.00x/chapter/Week_11', 'i4x://MITx/6.00x/chapter/Week_12', 'i4x://MITx/6.00x/chapter/Week_13', 'i4x://MITx/6.00x/chapter/Week_14', 'i4x://MITx/6.00x/chapter/Staff_Use'], 'filename': [u'course/2012_Fall.xml', u'course/2012_Fall.xml'] |