[prev in list] [next in list] [prev in thread] [next in thread]
List: markus-dev
Subject: Re: Bug in repo creation? (fairly urgent)
From: Karen Reid <reid () cs ! utoronto ! ca>
Date: 2010-09-14 16:39:02
Message-ID: 9039A26A-C508-4496-989D-78AC3229DEE2 () cs ! utoronto ! ca
[Download RAW message or body]
Thanks Severin. That may very well have been the problem. Paul is going to try it \
out.
The other bug is that there seem to be a number of missing translations for error \
messages :-(
Karen
On 2010-09-14, at 12:25 PM, Severin Gehwolf wrote:
> Hi,
>
> Quoting Karen Reid <reid@cs.utoronto.ca>:
>
> > First question: at one time we were able to link to repositories created by \
> > drproject. Is that something that needs to be initialized in the setup?
>
> Yes, this setup needs IS_REPOSITORY_ADMIN = false (not sure if the constant is \
> named that way, but you might be able to guess).
> > Second is the newly created ticket #690 (trace is in the ticket). I could \
> > really use some help on this. Evan do you have some time to look at this today? \
> > Here is the scenario: For A0, Paul wants the students to work alone, but he \
> > wants to populate their repositories with some starter code. Students will not \
> > be using the web interface to commit files.
> > The question is when do the repos get created? Shouldn't they get created when \
> > the groups are created?
>
> When MarkUs is configured to be repo admin and the assignment is set up that the \
> instructor forms groups (of size exactly 1, IIRC), and then uploads a csv to create \
> groups, MarkUs should create repositories when the single student groups are \
> created.
> > Paul used the following format for uploading a csv groups file: \
> > repo_c0foo,repo_c0foo,c0foo repo_c0bar,repo_c0bar,c0bar
> > However, checking out the repositories doesn't work (403 forbidden). Also \
> > clicking on the repo name to get to the repo view yields a MarkUs error:
> > RuntimeError in SubmissionsController#repo_browser
> >
> > Repository not found and MarkUs not in authoritative mode!
> > RAILS_ROOT: /data/markus/instance/csc207-2010-09
> >
> > Application Trace | Framework Trace | Full Trace
> > /data/markus/instance/csc207-2010-09/app/models/group.rb:113:in `repo'
> > /data/markus/instance/csc207-2010-09/app/controllers/submissions_controller.rb:70:in \
> > `repo_browser'
>
> It appears that MarkUs is configured not to create repositories. I.e. MarkUs \
> expects repos with name "repo_c0bar" at location REPOSITORY_STORAGE. I.e. \
> Dr.Project should have created repositories (once per student) at:
> REPOSITORY_STORAGE/repo_c0bar
>
> Severin
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic