Skip to content

Conversation

@Jrice1317
Copy link
Owner

@Jrice1317 Jrice1317 commented Nov 19, 2025

Description

Provide metadata to easily protect environments (INST-622)

Related tickets:

  • Create frozen_environments metadata (INST-635)
  • Enable metadata for SH and PKG installers (INST-636)
  • Enable metadata for EXE installers (INST-637)
  • Extend integration tests for the new metadata (INST-638)

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@Jrice1317 Jrice1317 changed the base branch from sh_and_pkg to metadata December 8, 2025 20:20
@Jrice1317 Jrice1317 removed the request for review from marcoesters December 12, 2025 20:49
@Jrice1317 Jrice1317 changed the base branch from metadata to sh_and_pkg December 12, 2025 20:58
Base automatically changed from sh_and_pkg to metadata December 15, 2025 15:52

# Add frozen marker file if configured
{%- if env.has_frozen %}
SetOutPath "{{ env.conda_meta }}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

SetOutPath shouldn't be necessary since it has already been set to the correct directory for the history file.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I thought the same, but we explicitly do so in other areas like for $INSTDIR so I figured it wouldn't hurt to use the explicitness here either.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Fair enough. I would dedent this though - right now, these lines have a different indentation.

Copy link
Owner Author

Choose a reason for hiding this comment

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

The dedent is not necessary because this code is inside the setup envs loop.

Jrice1317 and others added 2 commits December 16, 2025 11:58
Co-authored-by: Marco Esters <mesters@anaconda.com>
Co-authored-by: Marco Esters <mesters@anaconda.com>
@Jrice1317 Jrice1317 merged commit b500804 into metadata Dec 16, 2025
13 checks passed
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.

3 participants