Moodle Community Sites

Allow creating Workshop 2.0 test site

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Component/s: test.moodle.net
  • Labels:
    None

Description

Hi Jordan,

I would need to be able to create a test site for Workshop 2.0. Basically, at http://test.moodle.org/admin I would need to choose
"HEAD + /mod/workshop @ MOODLE_20_WORKSHOP"
it est normal HEAD, then change dir to mod/workshop and switch a branch.

This is a temporary need as the branch is to be merged into HEAD once it is considered stable enough.

Maybe some general solution would be fine for the future. It est the ability to use HEAD/STABLE + any sub-directory switch.

Alternative approach: create a completely new site with git+ssh access so I could push the prepared tree myself

Thanks

Activity

Hide
Jordan Tomkinson added a comment -

David,

I have created a shell account for you to use, please contact me on the developers chat for details

Show
Jordan Tomkinson added a comment - David, I have created a shell account for you to use, please contact me on the developers chat for details
Hide
David Mudrak added a comment -

The site is up and running. Thanks Jordan

Show
David Mudrak added a comment - The site is up and running. Thanks Jordan
Hide
David Mudrak added a comment - - edited

Sorry Jordan - two issues emered:

1. FYI git does not work properly:

$ git remote
Can't locate lib.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .)
at /usr/bin/git-remote line 2.
BEGIN failed--compilation aborted at /usr/bin/git-remote line 2.

May this be caused by being in the chroot jail? Anyway, I could live without git if ...

2. Apache created config.php and kept the exlusive write access to it - so I can't modify it now or replace the whole checkout with a CVS one. Please chmod g+w on config.php and I will deal with the rest.

Thanks.

Show
David Mudrak added a comment - - edited Sorry Jordan - two issues emered: 1. FYI git does not work properly:
$ git remote
Can't locate lib.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .)
at /usr/bin/git-remote line 2.
BEGIN failed--compilation aborted at /usr/bin/git-remote line 2.
May this be caused by being in the chroot jail? Anyway, I could live without git if ... 2. Apache created config.php and kept the exlusive write access to it - so I can't modify it now or replace the whole checkout with a CVS one. Please chmod g+w on config.php and I will deal with the rest. Thanks.
Hide
David Mudrak added a comment -

Sorry, I did not realize I actually was able able to remove all files including config.php thanks to the "s" group permission. Sorted out (with the note that git still does not work but I guess you should not consider it as a problem since git is not anything official... yet )

Show
David Mudrak added a comment - Sorry, I did not realize I actually was able able to remove all files including config.php thanks to the "s" group permission. Sorted out (with the note that git still does not work but I guess you should not consider it as a problem since git is not anything official... yet )
Hide
Jordan Tomkinson added a comment -

This is indeed due to the chroot jail, but I have copied over lib.pm and others, so git should be working now.

Show
Jordan Tomkinson added a comment - This is indeed due to the chroot jail, but I have copied over lib.pm and others, so git should be working now.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: