Skip to content

Conversation

@jpascoe
Copy link

@jpascoe jpascoe commented Nov 14, 2024

Description

I needed to be able to set the environments for a repository in our corporate JFrog Artifactory. This is a simple addition to the model.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How has it been tested ?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • I created a new repository specifying the environment and checked the environment was set in Artifactory
  • I updated an existing repository specifying the environment and checked the environment was set in Artifactory

Checklist:

  • My PR is ready for prime time! Otherwise use the "Draft PR" feature
  • All commits have a correct title
  • Readme has been updated
  • Quality tests are green (see Codacy)
  • Automated tests are green (see pipeline)

@jpascoe
Copy link
Author

jpascoe commented Nov 14, 2024

I've created issue 205

description: Optional[str] = None
url: str
packageType: str
environments: List[str] = ['DEV']
Copy link
Owner

@anancarv anancarv Nov 23, 2024

Choose a reason for hiding this comment

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

No need to add the environment here. The Get repositories response does not contain environment (See Artifactory API)

Comment on lines +24 to +25
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Copy link
Owner

Choose a reason for hiding this comment

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

If you want to add support to Python 3.13, you will need to add it to the test matrix here

@anancarv anancarv linked an issue Sep 17, 2025 that may be closed by this pull request
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.

Add environment to repository model

2 participants