Update git remote URL from git.threefold.info to git.ourworld.tf

This commit is contained in:
2025-08-04 10:44:17 +02:00
parent 0cf66642a2
commit aa7e79d26c
85 changed files with 1865 additions and 392 deletions

View File

@@ -1,45 +1,26 @@
module projects
import base
import freeflowuniverse.herolib.hero.models.core
// SprintStatus represents the status of a sprint
// SprintStatus defines the possible states of a sprint
pub enum SprintStatus {
planning
active
review
completed
cancelled
paused
}
// Sprint represents a time-boxed period in which specific work has to be completed
// Sprint represents a time-boxed iteration for completing work
// Typically used in agile methodologies (e.g., two-week sprints)
pub struct Sprint {
base.Base
core.Base
pub mut:
name string
description string
project_id u32 // ID of the project this sprint belongs to
status SprintStatus
start_date string // Start date in ISO format
end_date string // End date in ISO format
goal string // The goal of this sprint
story_ids []u32 // IDs of the stories in this sprint
issue_ids []u32 // IDs of the issues in this sprint
epic_ids []u32 // IDs of the epics this sprint contributes to
velocity f32 // Planned velocity for this sprint
actual_points f32 // Actual story points completed
retrospective string // Notes from the sprint retrospective
name string @[index] // Sprint name
description string // Sprint description
status SprintStatus @[index] // Current sprint status
goal string // Sprint goal/objective
project_id u64 @[index] // Link to parent project
start_date u64 // Sprint start timestamp (Unix)
end_date u64 // Sprint end timestamp (Unix)
task_ids []u64 @[index] // List of task IDs in this sprint
}
// SprintReport represents a report generated at the end of a sprint
pub struct SprintReport {
base.Base
pub mut:
sprint_id u32
completed_items u32 // Number of items completed
total_items u32 // Total number of items
completed_points f32 // Number of story points completed
total_points f32 // Total number of story points
blockers []string // List of blockers encountered
achievements []string // List of achievements
lessons []string // Lessons learned
}