Deploying custom XBlocks using Tutor via direct upload in the LMS admin panel?

I came across this in the training.openedx.io training course quiz

Is that correct? It doesn’t seem to be correct according to docs earlier in the course. But I know nahting…

1 Like

from my understanding it should be the OPENEDX_EXTRA_PIP_REQUIREMENTS option as per docs here: Configuration and customisation — Tutor documentation

1 Like

Thanks, I thought so. @sarina , should I try and open a PR? I’m still fumbling around with OLX but it might give me a chance to understand it better!

text in line 1 here seems to be properly shown with the right answer: training-courses/Open edX Developer Onboarding/course/problem/60fce0a3363c4a4fba13f91abdd467cd.xml#L1

9. How can you deploy custom XBlocks in Open edX using Tutor?<<
(!) By adding them to the OPENEDX_EXTRA_PIP_REQUIREMENTS configuration variable.
( ) Uploading the XBlock directly through the LMS admin panel.
( ) Manually copying XBlock code into the edx-platform directory.
( ) Creating a dedicated Tutor plugin for each XBlock.

but the XML content here seems to show the wrong value, my guess is this is where you would do a PR against: training-courses/Open edX Developer Onboarding/course/problem/60fce0a3363c4a4fba13f91abdd467cd.xml#L74-L82

  <label>9. How can you deploy custom XBlocks in Open edX using Tutor?</label>
  <multiplechoiceresponse>
    <choicegroup type="MultipleChoice" shuffle="true">
      <choice correct="false">By adding them to the OPENEDX_EXTRA_PIP_REQUIREMENTS configuration variable.</choice>
      <choice correct="true">Uploading the XBlock directly through the LMS admin panel.</choice>
      <choice correct="false">Manually copying XBlock code into the edx-platform directory.</choice>
      <choice correct="false">Creating a dedicated Tutor plugin for each XBlock.</choice>
    </choicegroup>
  </multiplechoiceresponse>

Thanks @joel.edwards , here is a PR for @sarina when she gets a moment!

1 Like