-
Notifications
You must be signed in to change notification settings - Fork 6
Merge infrahub-develop into stable #613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
cdfb316
Use new mutation names for getting pool resources (#465)
gmazoyer 937eaae
Add protocols for Infrahub 1.4
ogenstad 021a378
Merge pull request #488 from opsmill/pog-infrahub-develop-protocols
ogenstad 760cf3a
Merge develop into infrahub-develop (#489)
gmazoyer f9be10d
Support infrahub.yml or infrahub.yaml configuration files
petercrocker 06905fa
ruff
petercrocker c1d1bd4
Merge pull request #496 from opsmill/develop
ajtmccarty bf9571b
Merge pull request #492 from opsmill/pmc-yaml-2
dgarros 5349382
Merge pull request #507 from opsmill/develop
ogenstad ab99599
Merge pull request #510 from opsmill/stable
ogenstad 49335ca
Merge pull request #517 from opsmill/stable
gmazoyer ed6673e
IHS-154 Deprecate using `raise_for_error = False` (#508)
gmazoyer 82556f1
fix(docs): broken links to .infrahub.yml
fatih-acar 828e81c
Merge pull request #525 from opsmill/stable
ogenstad 28ea246
Bump actions/setup-python from 5 to 6
dependabot[bot] ef4ffe3
Bump actions/labeler from 5.0.0 to 6.0.1
dependabot[bot] b3251ab
Bump actions/setup-node from 4 to 5
dependabot[bot] 7301060
Merge pull request #534 from opsmill/dependabot/github_actions/develo…
ogenstad 41dfe7c
Merge pull request #532 from opsmill/dependabot/github_actions/develo…
ogenstad 9222be5
Clean up typing for proxy config
ogenstad 1c7922f
Merge pull request #533 from opsmill/dependabot/github_actions/develo…
ogenstad 90f7be1
Fix return types
ogenstad 751b7da
Fix typing for substract params
ogenstad 89d4e9f
Merge pull request #541 from opsmill/pog-test-return-types
ogenstad 90bad6d
Merge pull request #540 from opsmill/pog-substract-param-typing
ogenstad ac60214
Merge pull request #539 from opsmill/pog-proxy-config-typing
ogenstad 0a1d3eb
Merge pull request #530 from opsmill/develop
dgarros 285b5a4
Merge branch 'stable' into 'develop' with resolved conflicts
ogenstad e7ed981
Format with ruff
ogenstad c111658
IFC-1811: Replace toml package with tomllib and tomli optionally (#551)
solababs 654fc80
Merge pull request #550 from opsmill/pog-stable-to-develop-20250916
ogenstad 9340fd2
Add convert_object_type method (#554)
LucasG0 471bfac
Add support for clearing optional attributes (#548) (#557)
infrahub-github-bot-app[bot] 840d98a
IHS-147: Fix schema load failure exception (#555)
solababs 6cdd780
Add to object conversion input (#558)
LucasG0 f9ccf10
Merge pull request #559 from opsmill/stable
dgarros 2c16773
Object file range expansion (#561)
minitriga d058d6f
Bump peter-evans/repository-dispatch from 3 to 4
dependabot[bot] cb4c330
Merge branch 'develop' into 'infrahub-develop' with resolved conflicts
ogenstad 2a0c092
Merge pull request #566 from opsmill/pog-infrahub-develop-merge-confl…
ogenstad f7b39f0
IHS-163 Add required change for IFC-1820 (display_label) (#556)
gmazoyer a9f9740
bump version to v1.15.0b0
wvandeun cea3266
Merge pull request #568 from opsmill/wvd-20251007-prep-release-1.15.0b0
wvandeun 34fda2d
Merge pull request #569 from opsmill/stable
ogenstad 6610115
Merge pull request #570 from opsmill/develop
ogenstad 7fbc329
Range Expansion Imrovements (#571)
minitriga cf599ac
IHS-170: Disable rich console print markup causing regex reformatting…
solababs f238ec6
Merge pull request #575 from opsmill/develop
dgarros 9aaadad
Merge pull request #564 from opsmill/dependabot/github_actions/develo…
dgarros 423cfbf
Merge pull request #577 from opsmill/stable
dgarros 0ca3ee4
add infrahubctl graphql generate-return-types command
dgarros d490fd8
Add branch support to get_graphql_schema
dgarros b61c7bd
Merge pull request #546 from opsmill/dga-20250913-graphql-return-types
dgarros 0f3b29b
Merge pull request #576 from opsmill/develop
dgarros 0f5a1df
Extend GeneratorDefinition with flags to control execution
dgarros a6c6ac6
Merge pull request #578 from opsmill/dga-20250909-generator-flags
dgarros 7a7104c
bump version to 1.15.0b1
wvandeun 2dcc1db
Merge pull request #584 from opsmill/wvd-20251020-prep-release-1.15.0b1
wvandeun 7b7612d
Process schema deprecation warnings
ogenstad 4c8134d
Merge pull request #582 from opsmill/pog-process-schema-deprecations
ogenstad 5fb0758
IHS-128: Replace `Sync` in protocol sync classes schema name (#586)
solababs c50ee21
Merge pull request #587 from opsmill/develop
ogenstad 7b4adf7
Resolve merge conflict for infrahub_sdk/client.py
ogenstad 9f1a0f8
Replace strategy in object file with parameters section (#585)
dgarros 7f40f0b
Merge pull request #594 from opsmill/pog-stable-to-develop-20251031
ogenstad b52cd94
Merge pull request #592 from opsmill/stable
ogenstad 115333e
Merge pull request #598 from opsmill/develop
ogenstad 9fb8d3c
Add `graph_version` and `status` to branch (#600)
gmazoyer 7b0e10d
Merge branch 'stable' into fac-merge-stable-into-develop
fatih-acar 89426c6
Merge pull request #605 from opsmill/fac-merge-stable-into-develop
fatih-acar a151dc8
Merge pull request #607 from opsmill/develop
fatih-acar e3d2bff
Merge branch 'stable' into fac-merge-stable-into-develop
fatih-acar e37672c
Merge pull request #610 from opsmill/fac-merge-stable-into-develop
fatih-acar f43c73a
Merge pull request #612 from opsmill/develop
fatih-acar bb1acc1
fix: update infrahub-testcontainers to 1.5.0b2
fatih-acar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| repos: | ||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: v4.3.0 | ||
| hooks: | ||
| - id: trailing-whitespace | ||
| - id: check-ast | ||
| - id: check-case-conflict | ||
| - id: check-merge-conflict | ||
| - id: check-toml | ||
| - id: check-yaml | ||
| - id: end-of-file-fixer | ||
|
|
||
| - repo: https://github.com/astral-sh/ruff-pre-commit | ||
| # Ruff version. | ||
| rev: v0.11.9 | ||
| hooks: | ||
| # Run the linter. | ||
| - id: ruff | ||
| args: [--fix] | ||
| # Run the formatter. | ||
| - id: ruff-format |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add `graph_version` and `status` properties to `Branch` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add `convert_object_type` method to allow converting an object to another type. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Added deprecation warnings when loading or checking schemas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add `infrahubctl graphql` commands to export schema and generate Pydantic types from GraphQL queries |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Replaced the `Sync` word in the protocol schema name so that the correct kind can be gotten from the cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Handle error gracefully when loading schema instead of failing with an exception |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Deprecate the use of `raise_for_error=False` across several methods, using a try/except pattern is preferred. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Replace toml package with tomllib and tomli optionally for when Python version is less than 3.11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add the ability to perform range expansions in object files. This feature allows users to define patterns in string fields that will be expanded into multiple objects, facilitating bulk object creation and management. The implementation includes validation to ensure that all expanded lists have the same length, preventing inconsistencies. Documentation has been updated to explain how to use this feature, including examples of valid and invalid configurations. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Disable rich console print markup causing regex reformatting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # `infrahubctl graphql` | ||
|
|
||
| Various GraphQL related commands. | ||
|
|
||
| **Usage**: | ||
|
|
||
| ```console | ||
| $ infrahubctl graphql [OPTIONS] COMMAND [ARGS]... | ||
| ``` | ||
|
|
||
| **Options**: | ||
|
|
||
| * `--install-completion`: Install completion for the current shell. | ||
| * `--show-completion`: Show completion for the current shell, to copy it or customize the installation. | ||
| * `--help`: Show this message and exit. | ||
|
|
||
| **Commands**: | ||
|
|
||
| * `export-schema`: Export the GraphQL schema to a file. | ||
| * `generate-return-types`: Create Pydantic Models for GraphQL query... | ||
|
|
||
| ## `infrahubctl graphql export-schema` | ||
|
|
||
| Export the GraphQL schema to a file. | ||
|
|
||
| **Usage**: | ||
|
|
||
| ```console | ||
| $ infrahubctl graphql export-schema [OPTIONS] | ||
| ``` | ||
|
|
||
| **Options**: | ||
|
|
||
| * `--destination PATH`: Path to the GraphQL schema file. [default: schema.graphql] | ||
| * `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml] | ||
| * `--help`: Show this message and exit. | ||
|
|
||
| ## `infrahubctl graphql generate-return-types` | ||
|
|
||
| Create Pydantic Models for GraphQL query return types | ||
|
|
||
| **Usage**: | ||
|
|
||
| ```console | ||
| $ infrahubctl graphql generate-return-types [OPTIONS] [QUERY] | ||
| ``` | ||
|
|
||
| **Arguments**: | ||
|
|
||
| * `[QUERY]`: Location of the GraphQL query file(s). Defaults to current directory if not specified. | ||
|
|
||
| **Options**: | ||
|
|
||
| * `--schema PATH`: Path to the GraphQL schema file. [default: schema.graphql] | ||
| * `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml] | ||
| * `--help`: Show this message and exit. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add required Diataxis frontmatter.
Docs under
docs/must declare their Diataxis classification via frontmatter; without it this page can’t be indexed correctly and violates the documentation guidelines. Please add the appropriate metadata at the top (e.g., classify this as a “Reference” page) before the heading.As per coding guidelines.
Apply this diff:
📝 Committable suggestion
🧰 Tools
🪛 LanguageTool
[grammar] ~3-~3: Use a hyphen to join words.
Context: ...#
infrahubctl graphqlVarious GraphQL related commands. Usage: ```consol...(QB_NEW_EN_HYPHEN)
🤖 Prompt for AI Agents