Skip to content

Ability to set --policy on remote #170

Open

Description

@NickLarsenNZ

Summary

I'd like to be able to create an on_demand maven remote (for pull-through caching).
It doesn't seem possible in 0.6.0.

When I create a maven remote, the JSON returned shows:

{
  ...
  "policy": "immediate",
  ...
}

Examples

pulp maven remote create \
  --name maven-central \
  --url https://repo1.maven.org/maven2/ \
  --policy on_demand

Activity

  1. NickLarsenNZ commented on Sep 24, 2026

    @NickLarsenNZ
    Author

    I just realised the backend doesn't support other policies, so this would need to wait on pulp/pulp_maven#507

  2. moved this to Needs review in RH Pulp Kanban boardon Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions