Skip to content

Create a script to create allocations in Coldfront #60

Description

@QuanMPhm

Motivation

Depends on #52. During the Fall 2025 semester, a class using the NERC wanted a namespace created for each student because of the need to have privacy for each student's work. This required manually creating a allocation for each student on Coldfront. The class has around 20 students, which is manually doable. However, we expect demand for this namespace-per-student arrangement to increase in future semesters. The goal is that there is a script that can be used by Coldfront administrators to programmatically create allocations in Coldfront, given a set of students, and the quotas for each allocation.

@DanNiESh @knikolla @joachimweyl Let me know if this description is accurate, or requires further discussion

Completion Criteria

Script created that will auto-create multiple students at a time.

Description

  • Decide what information is needed for generation of allocations
    • student email?
    • Course name?
    • Proff name?
    • etc?
  • Generate script that pulls in this information in CSV form to genertate allocations
  • Test Script

Completion dates

Desired - 2025-10-15
Required - 2025-11-05

Activity

  1. self-assigned this
    on Sep 10, 2025
  2. joachimweyl commented on Sep 10, 2025

    @joachimweyl

    sounds accurate.

  3. knikolla commented on Sep 11, 2025

    @knikolla
    Collaborator

    I think you're already working on something similar as part of the API for editing Allocations?

  4. QuanMPhm commented on Sep 11, 2025

    @QuanMPhm
    ContributorAuthor

    @knikolla I have a draft POC for an API to creating allocations in #52. Once an API is available, I will proceed with this issue. Do you have any concerns about how this script should be implemented or how it is used?

  5. morantara commented on Sep 22, 2025

    @morantara

    @QuanMPhm did you get the draft you needed here? should this be pushed to the next sprint?

  6. QuanMPhm commented on Sep 24, 2025

    @QuanMPhm
    ContributorAuthor

    @morantara Pushed, already?

  7. morantara commented on Nov 3, 2025

    @morantara

    @QuanMPhm will this be reviewed and closed before Wednesday? should it be pushed to a future sprint?

  8. QuanMPhm commented on Nov 4, 2025

    @QuanMPhm
    ContributorAuthor

    @morantara I'll push this out

  9. joachimweyl commented on Jul 15, 2026

    @joachimweyl

    This issue has been migrated to: CCI-MOC/MOC-issues#269

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions