Spaces:
Running
Running
|
Download docs/architecture/runtime-flow.md from DecodeMarketing/projektkalender: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/spaces/DecodeMarketing/projektkalender/resolve/main/docs/architecture/runtime-flow.md
- Command line
-
hf download hf://spaces/DecodeMarketing/projektkalender/docs/architecture/runtime-flow.md
-
curl -L -o runtime-flow.md https://huggingface.co/spaces/DecodeMarketing/projektkalender/resolve/main/docs/architecture/runtime-flow.md
1.23 kB
Runtime Flow
Startup
- Streamlit starts
app.py. - Optional
.envvalues are loaded byjira_client.py. - If
APP_PASSWORDexists, the app shows a password gate. fetch_data()loads active, pending, and on-hold Jira projects.- Assignment JSON files load from the Hugging Face Dataset when
HF_TOKENexists; otherwise local JSON files are used.
Project Calendar
jira_client.load_all_data()reads Jira project and issue data.app.pyinjects PM, backup, and country assignments into project rows.gantt_renderer.render_gantt_html()renders the interactive calendar.excel_export.generate_excel_bytes()generates the downloadable workbook.
Date Editing
- The selected project is fetched on demand through
get_all_issues_for_project_edit(). build_issue_map()maps phases/tasks to Jira issue keys.update_issue_dates()writes changed start/end dates back to Jira.
Project Creation
create_project()creates the Jira project with shared template settings.upload_project_avatar()optionally writes a Jira avatar.- Template issue cloning helpers live in
jira_client.py; the UI currently exposes template filter selection and Jira filter links.