feat: version list with verification + deployed badge (stage 3)
- pulp_client: list_versions / list_distributions / get_publication
- GET /repos/{uuid}/versions: 버전 목록 페이지(최신순)
- 현재 운영 배포 버전 판별: Distribution→publication→repository_version 역추적
- views.build_version_view: vN, 생성일시, 패키지 수, 증감(+/-), 검증 배지, 배포 여부
- views.verification_detail: gpgcheck/repo-gpgcheck/checksum 상세 (화면4)
- 대시보드 저장소명 → 버전 페이지 링크, [이 버전 배포] 버튼은 단계4용 placeholder
- 단계1 TODO(배포 버전 역추적) 해소
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
24
app/templates/versions.html
Normal file
24
app/templates/versions.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p><a href="/">← 대시보드</a></p>
|
||||
|
||||
<section>
|
||||
<h2>{{ repo_name }} · 버전</h2>
|
||||
|
||||
{% if error %}
|
||||
<p class="status-line status-bad">버전 목록을 불러오지 못했습니다: {{ error }}</p>
|
||||
{% else %}
|
||||
<div class="verify-detail">
|
||||
<span class="badge badge-{{ verification.status.level }}">{{ verification.status.label }}</span>
|
||||
<small>
|
||||
gpgcheck={{ verification.gpgcheck }} ·
|
||||
repo-gpgcheck={{ verification.repo_gpgcheck }} ·
|
||||
checksum={{ verification.checksum_type }}
|
||||
</small>
|
||||
</div>
|
||||
|
||||
{% include "partials/version_list.html" %}
|
||||
{% endif %}
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user