Skip to content

main: add support for stagedata-in-repodata, add gauges for staged/unstaged pkgs#4

Closed
classabbyamp wants to merge 3 commits intovoid-linux:masterfrom
classabbyamp:stagedata
Closed

main: add support for stagedata-in-repodata, add gauges for staged/unstaged pkgs#4
classabbyamp wants to merge 3 commits intovoid-linux:masterfrom
classabbyamp:stagedata

Conversation

@classabbyamp
Copy link
Copy Markdown
Member

xbps 0.60 moves the stagedata internal to the repodata

needs Duncaen/go-xbps#1

@classabbyamp
Copy link
Copy Markdown
Member Author

unstaged test repo:

# HELP repo_is_staged Non-zero if the repo is staged
# TYPE repo_is_staged gauge
repo_is_staged 0
# HELP repo_origin_time A Unix Timestamp updated every minute on the origin
# TYPE repo_origin_time gauge
repo_origin_time 0
# HELP repo_packages Packages present in the repo
# TYPE repo_packages gauge
repo_packages 2
# HELP repo_repodata_checksum CRC32 of the repodata
# TYPE repo_repodata_checksum gauge
repo_repodata_checksum 3.117631734e+09
# HELP repo_staged_packages Staged packages present in the repo
# TYPE repo_staged_packages gauge
repo_staged_packages 0

staged test repo:

# HELP repo_is_staged Non-zero if the repo is staged
# TYPE repo_is_staged gauge
repo_is_staged 1
# HELP repo_origin_time A Unix Timestamp updated every minute on the origin
# TYPE repo_origin_time gauge
repo_origin_time 0
# HELP repo_packages Packages present in the repo
# TYPE repo_packages gauge
repo_packages 2
# HELP repo_repodata_checksum CRC32 of the repodata
# TYPE repo_repodata_checksum gauge
repo_repodata_checksum 1.266242126e+09
# HELP repo_staged_packages Staged packages present in the repo
# TYPE repo_staged_packages gauge
repo_staged_packages 1

repo-default:

# HELP repo_is_staged Non-zero if the repo is staged
# TYPE repo_is_staged gauge
repo_is_staged 0
# HELP repo_origin_time A Unix Timestamp updated every minute on the origin
# TYPE repo_origin_time gauge
repo_origin_time 1.75008375e+09
# HELP repo_packages Packages present in the repo
# TYPE repo_packages gauge
repo_packages 14556
# HELP repo_repodata_checksum CRC32 of the repodata
# TYPE repo_repodata_checksum gauge
repo_repodata_checksum 2.921160341e+09
# HELP repo_staged_packages Staged packages present in the repo
# TYPE repo_staged_packages gauge
repo_staged_packages 0

@classabbyamp classabbyamp marked this pull request as ready for review June 16, 2025 15:41
@classabbyamp classabbyamp force-pushed the stagedata branch 3 times, most recently from 5fa6ea4 to fad1a9d Compare June 16, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant