Skip to content

wip#5859

Draft
pavelzw wants to merge 3 commits intoprefix-dev:mainfrom
pavelzw:exclude-newer-pixi-config
Draft

wip#5859
pavelzw wants to merge 3 commits intoprefix-dev:mainfrom
pavelzw:exclude-newer-pixi-config

Conversation

@pavelzw
Copy link
Copy Markdown
Collaborator

@pavelzw pavelzw commented Apr 8, 2026

Description

Fixes #{issue}

How Has This Been Tested?

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.

Tools: {e.g., Claude, Codex, GitHub Copilot, ChatGPT, etc.}

prompt

i would like to add exclude-newer to the pixi global configuration as well. something like this config:

  exclude-newer = "7d"
  default-channels = [
      { channel = "https://my.internal/channel", exclude-newer = "0d" },
      "conda-forge",
  ]


  this setting should lead to `pixi init` changing, `pixi exec` respecting exclude-newer, `pixi build` respecting that exclude-newer and `pixi global
  install` respecting it (also add exclude-newer in these cases to the pixi global manifest).

  no need for package overrides, though

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added sufficient tests to cover my changes.
  • I have verified that changes that would impact the JSON schema have been made in schema/model.py.

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