Skip to content

feat(cli): improve ci self package times by allowing build tree and env caching - #24

Open
mikonse wants to merge 1 commit into
mainfrom
milo/faster-ci-self-packaging
Open

feat(cli): improve ci self package times by allowing build tree and env caching#24
mikonse wants to merge 1 commit into
mainfrom
milo/faster-ci-self-packaging

Conversation

@mikonse

@mikonse mikonse commented Aug 10, 2026

Copy link
Copy Markdown
Member

Changes the meaning of the --incremental flag to always reuse the buildtree even if the underlying build environment has changed.

…nv caching

Changes the meaning of the --incremental flag to always reuse the buildtree
even if the underlying build environment has changed.
@mikonse
mikonse requested a review from TheJJ August 10, 2026 20:17
@mikonse mikonse self-assigned this Aug 10, 2026
Comment thread .github/workflows/ci.yaml
- name: Prune stale build trees from the restored cache
run: |
mkdir -p /tmp/debmagic
current="$(head -n1 debian/changelog | sed 's/^\([^ ]*\) (\([^)]*\)).*/\1-\2/')"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uuh

Comment thread .github/workflows/ci.yaml
- name: Resolve CI image tag
id: image
run: |
codename="$(sed -n 's/^[^(]*([^)]*) \([^;]*\);.*/\1/p' debian/changelog | head -n1)"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could use the proper changelog reading tool dpkg-parsechangelog

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.

2 participants