New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with individual group creation when repos are not created by MarkUs #150

Closed
reidka opened this Issue Oct 29, 2010 · 8 comments

Comments

Projects
None yet
3 participants
@reidka
Member

reidka commented Oct 29, 2010

Here is the scenario. A student joins the course after MarkUs has been set up for grading an assignment. The students submit directly to svn, and the repos are not created by MarkUs. We need a way to create a group and associate it with an external repo.

@jerboaa

This comment has been minimized.

Show comment
Hide comment
@jerboaa

jerboaa Apr 17, 2011

Member

I don't think this will make it into 0.10.0. Maybe some release following that :(

Member

jerboaa commented Apr 17, 2011

I don't think this will make it into 0.10.0. Maybe some release following that :(

@lakeskysea

This comment has been minimized.

Show comment
Hide comment
@lakeskysea

lakeskysea Mar 8, 2012

Contributor

I am looking into this issue but I don't really understand (due to my lack of knowledge of MarkUs' s submission mechanism). After some reading I got the idea that we are using svn repository to store assignments submitted by students. I got the following questions:

  1. In the code, it seems that every student has his own svn repo and he should submit to his own repo. Then what does it mean in the issue description "The students submit directly to svn"? The student doesn't even have a repo that he can submit to.
  2. Since we already have a way to create a new group, the main goal of this issue is really on how to "associate it with an external repo". Am I right?
  3. The "associate it with an external repo" sounds like a job need to be done by admin / grader. Does it mean, to create such a way to "associate a group with an external repo", we need some UI changes (like a new window to allow admin to associate a group with a external repo) as well as back-end code?
Contributor

lakeskysea commented Mar 8, 2012

I am looking into this issue but I don't really understand (due to my lack of knowledge of MarkUs' s submission mechanism). After some reading I got the idea that we are using svn repository to store assignments submitted by students. I got the following questions:

  1. In the code, it seems that every student has his own svn repo and he should submit to his own repo. Then what does it mean in the issue description "The students submit directly to svn"? The student doesn't even have a repo that he can submit to.
  2. Since we already have a way to create a new group, the main goal of this issue is really on how to "associate it with an external repo". Am I right?
  3. The "associate it with an external repo" sounds like a job need to be done by admin / grader. Does it mean, to create such a way to "associate a group with an external repo", we need some UI changes (like a new window to allow admin to associate a group with a external repo) as well as back-end code?
@reidka

This comment has been minimized.

Show comment
Hide comment
@reidka

reidka Mar 8, 2012

Member
  1. We can tell students about the svn repo, and allow them to use svn commands to submit their work. In some courses, we disable the web submission interface to force students to use svn directly.

Sometimes there are other reasons why an instructor wants to use an svn repo. For example, it might be connected to a project management system. We wanted instructors to be able to connect svn repos created externally to MarkUs.

  1. That's correct.
  2. Yes, it should be done only by an admin and is part of the group creating process. The external repo path has to be specified in a config file by the sys admin installing MarkUs. You can specify the repo name when creating the group using the csv upload, but you can't specify the repo name when creating a group using the web UI. So most of the code to do this should be there. It just isn't part of the web UI.
Member

reidka commented Mar 8, 2012

  1. We can tell students about the svn repo, and allow them to use svn commands to submit their work. In some courses, we disable the web submission interface to force students to use svn directly.

Sometimes there are other reasons why an instructor wants to use an svn repo. For example, it might be connected to a project management system. We wanted instructors to be able to connect svn repos created externally to MarkUs.

  1. That's correct.
  2. Yes, it should be done only by an admin and is part of the group creating process. The external repo path has to be specified in a config file by the sys admin installing MarkUs. You can specify the repo name when creating the group using the csv upload, but you can't specify the repo name when creating a group using the web UI. So most of the code to do this should be there. It just isn't part of the web UI.
@reidka

This comment has been minimized.

Show comment
Hide comment
@reidka

reidka Mar 8, 2012

Member

Hi,

I added comment on github. Thanks for the email!

KAren

On 2012-03-07, at 9:12 PM, lakeskysea wrote:

I am looking into this issue but I don't really understand (due to my lack of knowledge of MarkUs' s submission mechanism). After some reading I got the idea that we are using svn repository to store assignments submitted by students. I got the following questions:

  1. In the code, it seems that every student has his own svn repo and he should submit to his own repo. Then what does it mean in the issue description "The students submit directly to svn"? The student doesn't even have a repo that he can submit to.
  2. Since we already have a way to create a new group, the main goal of this issue is really on how to "associate it with an external repo". Am I right?
  3. The "associate it with an external repo" sounds like a job need to be done by admin / grader. Does it mean, to create such a way to "associate a group with an external repo", we need some UI changes (like a new window to allow admin to associate a group with a external repo) as well as back-end code?

Reply to this email directly or view it on GitHub:
#150 (comment)

Member

reidka commented Mar 8, 2012

Hi,

I added comment on github. Thanks for the email!

KAren

On 2012-03-07, at 9:12 PM, lakeskysea wrote:

I am looking into this issue but I don't really understand (due to my lack of knowledge of MarkUs' s submission mechanism). After some reading I got the idea that we are using svn repository to store assignments submitted by students. I got the following questions:

  1. In the code, it seems that every student has his own svn repo and he should submit to his own repo. Then what does it mean in the issue description "The students submit directly to svn"? The student doesn't even have a repo that he can submit to.
  2. Since we already have a way to create a new group, the main goal of this issue is really on how to "associate it with an external repo". Am I right?
  3. The "associate it with an external repo" sounds like a job need to be done by admin / grader. Does it mean, to create such a way to "associate a group with an external repo", we need some UI changes (like a new window to allow admin to associate a group with a external repo) as well as back-end code?

Reply to this email directly or view it on GitHub:
#150 (comment)

@lakeskysea

This comment has been minimized.

Show comment
Hide comment
@lakeskysea

lakeskysea Mar 9, 2012

Contributor

Thanks for the reply, @reidka . I got what you mean now. Still have some points to be confirmed:

  1. My judgement: In the current code, students submit assignment to their own unique repos.
    My assumption: If students are asked to submit to svn directly (in the senario you gave), they will still be assigned a unique svn repo for each of them to submit assignment.
    Is it correct?
  2. The goal is to implement this senario:

MarkUs has been setup => admin wants to create new groups and associate them with external repos => admin does this by uploading a csv file (group info, repo paths included in the csv file) => done.

And this is the only way to associate a group with a external repo. Is it?

I think I need to grab some knowledge about csv file format and how svn repo works in MarkUs.

Contributor

lakeskysea commented Mar 9, 2012

Thanks for the reply, @reidka . I got what you mean now. Still have some points to be confirmed:

  1. My judgement: In the current code, students submit assignment to their own unique repos.
    My assumption: If students are asked to submit to svn directly (in the senario you gave), they will still be assigned a unique svn repo for each of them to submit assignment.
    Is it correct?
  2. The goal is to implement this senario:

MarkUs has been setup => admin wants to create new groups and associate them with external repos => admin does this by uploading a csv file (group info, repo paths included in the csv file) => done.

And this is the only way to associate a group with a external repo. Is it?

I think I need to grab some knowledge about csv file format and how svn repo works in MarkUs.

@reidka

This comment has been minimized.

Show comment
Hide comment
@reidka

reidka Mar 13, 2012

Member
  1. Yes. (or more properly, each group has a unique repo)
  2. That's correct.

Check config/enviornments. I think some of the settings related to external repos are there.

Member

reidka commented Mar 13, 2012

  1. Yes. (or more properly, each group has a unique repo)
  2. That's correct.

Check config/enviornments. I think some of the settings related to external repos are there.

@jerboaa

This comment has been minimized.

Show comment
Hide comment
@jerboaa

jerboaa Mar 13, 2012

Member

@lakeskysea As for simulating the external repo creation you can use svnadmin (on Linux) to create new SVN repos. Then point MarkUs to the parent folder where the SVN repos are, upload a group CSV with proper repo name and you should be good to go.

Member

jerboaa commented Mar 13, 2012

@lakeskysea As for simulating the external repo creation you can use svnadmin (on Linux) to create new SVN repos. Then point MarkUs to the parent folder where the SVN repos are, upload a group CSV with proper repo name and you should be good to go.

@ghost ghost assigned lakeskysea Apr 3, 2012

@reidka

This comment has been minimized.

Show comment
Hide comment
@reidka

reidka May 20, 2014

Member

Closing. This hasn't come up for a while. (even though this makes me a bit nervous.)

Member

reidka commented May 20, 2014

Closing. This hasn't come up for a while. (even though this makes me a bit nervous.)

@reidka reidka closed this May 20, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment