Skip to content

Can't find student repositories when updating #1085

@lmove

Description

@lmove

Hi all!

Hope you can help us with the following issue.

Current Setting

We have an organization on the university GitLab instance with:

  • Students groups, each with two projects (assignments)
  • Two assignment templates at the root of the organization

The two projects that we created for each student group, were created with repobee.

Goal

I made some modifications to one of the assignment projects and I am trying to update the students' assignment projects based on this change.

Expected Behaviour

  1. For student projects that have not been modified, I expect to be able to update the content of the project without issue.
  2. According to repobee's documentation, it seems that in the case that a student has already pushed to the project, the new changes should be added manually.

Current Behaviour

When I try to update the unmodified student projects I get the following output from the terminal:

Cloning template repositories: 100%|███████████| 1/1 [00:01<00:00,  1.15s/repos]
Setting up student repos:   0%|                           | 0/1 [00:00<?, ?it/s]  
[WARNING] Can't find repos: https://gitlab.tue.nl/org-name/student-group-name/student-group-name-assignment-x-template.git
Setting up student repos:   0%|

When I copy the not-found URL on my browser I can access the project without issues.
I also checked that my repobee configuration was ok.
I am able to create new assignments from a template project in the organization, but the update option is not working as expected.

Steps to Reproduce the Issue

I have tried the following two options:

  1. Update from students' file
repobee repos update -a assignment-x-template -s student-group-name --allow-local-templates
  1. Update individually per student group
repobee repos update -a assignment-x-template --sf students.txt --allow-local-templates

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions