Skip to content

Stop emitting [template] and [template_vars] sections in zkg.meta#227

Merged
bbannier merged 3 commits into
masterfrom
topic/bbannier/issue-220
Jul 7, 2026
Merged

Stop emitting [template] and [template_vars] sections in zkg.meta#227
bbannier merged 3 commits into
masterfrom
topic/bbannier/issue-220

Conversation

@bbannier

Copy link
Copy Markdown
Member

These sections were always informational, and we never implemented the functionality to update the instantiated template on template updates. It is unlikely that we will ever be able to reliably implement this with the current loosly defined template. The sections were also potentially confusing to whoever looked at them since they referred to the state at template instantiation, but never reflected subsequent edits.

This commit drops them without replacement.

Closes #220.

These sections were always informational, and we never implemented the
functionality to update the instantiated template on template updates.
It is unlikely that we will ever be able to reliably implement this with
the current loosly defined template. The sections were also potentially
confusing to whoever looked at them since they referred to the state at
template instantiation, but never reflected subsequent edits.

This commit drops them without replacement.

Closes #220.
@bbannier bbannier self-assigned this Jun 22, 2026
@bbannier

Copy link
Copy Markdown
Member Author

@ckreibich How does this look to you? It seems the half-feature we have ATM could be more confusing than useful, and I am not aware where what we have has ever helped use debug issues.

@ckreibich ckreibich left a comment

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.

Yeah, I'm on board. I think it's quite unlikely that we'll implement some sort of tooling based on this information at this point, and the version-use context is also in the initial commit generated by the templating. We should keep that one, and your PR doesn't change that.

bbannier added 2 commits July 2, 2026 10:39
We would previously record these in the generated `zkg.meta`, but
stopped doing that. Keep a record of them in the initial Git commit
where we also already record some information on the template.
We previously would only mention the name of the template in the initial
commit, but not its URI. Since we dropped emitting the URI from
`zkg.meta`, record it in the initial commit as well.
@bbannier bbannier marked this pull request as ready for review July 2, 2026 08:54
@bbannier bbannier merged commit b0e05a6 into master Jul 7, 2026
5 checks passed
@bbannier bbannier deleted the topic/bbannier/issue-220 branch July 7, 2026 09:50
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.

package-template zkg.meta [template] context handling

2 participants