Instal Feedback in Moodle 1.9 with Git

Instal Feedback in Moodle 1.9 with Git

by Pedro Crispim -
Number of replies: 2

Can anyone help me with instructions on how to install feedback activity using git?

 

Normally, I would use:

  • cd /.../moodle/mod
  •  git clone git://github.com/grabs/moodle-mod_feedback.git feedback
  • cd feedback
  • git checkout -d local_19_STABLE origin/MOODLE_19_STABLE

But if I do has mentioned above, inside /.../moodle/mod/feedback will be created severall directories (including mod and blocks, which in turn, have a feedback directory inside.


This way, I think I should be in the directory above my moodle directory (assuming it's name is moodle) and run:

  • git clone git://github.com/grabs/moodle-mod_feedback.git moodle
  • cd moodle

But, this way, moodle's git and feedback git local versions would stay in the same directory - is this possible? Is this the right way to do it?

Average of ratings: -
In reply to Pedro Crispim

Re: Instal Feedback in Moodle 1.9 with Git

by Andreas Grabs -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Translators

Hi Pedro,

thank you for this info. I am a beginner in git sad and did not think for this situation.

Now there are two separate repos so you can better integrate these in your moodle-installation.

For the module you have to go into the mod directory and call:
git clone git://github.com/grabs/mod_feedback.git feedback

For the block you have to go into the blocks directory and call
git clone git://github.com/grabs/block_feedback.git feedback

After this you can put both directories in the exclude list.

I hope this helps.

Best regards
Andreas

In reply to Andreas Grabs

Re: Instal Feedback in Moodle 1.9 with Git

by Pedro Crispim -

Thank you for your work, Andreas.

Like you, I'm also a newbie in Git... but we'll learn with some practice approve