Skip to content
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

Inconsistent way of defining repository objects #4068

Closed
exalate-issue-sync bot opened this issue Aug 12, 2024 · 0 comments · Fixed by #4135
Closed

Inconsistent way of defining repository objects #4068

exalate-issue-sync bot opened this issue Aug 12, 2024 · 0 comments · Fixed by #4135
Assignees
Labels
group/backend Issue related to the backend (API Server, Git Agent) type/feature New feature or request

Comments

@exalate-issue-sync
Copy link

h3. As a user

I want to have a consistent experience with regards to how objects are created and imported from Git repositories
So that it’s clear what is imported and why

h3. Description

Currently, most of the objects imported to Infrahub from an external repository requires the users to specify them within a .infrahub.yml file. The exception to this are GraphQL queries, it’s enough to have files within the repositories that have the {{.gql}} extension. As these files could be deeply nested there’s no good way for a user to know what GraphQL queries will be imported when adding a repository, also the behaviour is inconsistent.

h3. Acceptance Criteria

When a repository is added or synced with Infrahub. Then only GraphQL queries defined within a .infrahub.yml file should be imported or synced. Any {{.gql}} files not defined by .infrahub.yml should be ignored.

@exalate-issue-sync exalate-issue-sync bot added state/planned This issue is planned to be worked on in an upcoming release. group/backend Issue related to the backend (API Server, Git Agent) type/feature New feature or request labels Aug 12, 2024
@ogenstad ogenstad added this to the Infrahub - 0.16 milestone Aug 13, 2024
@ogenstad ogenstad self-assigned this Aug 13, 2024
@exalate-issue-sync exalate-issue-sync bot removed the state/planned This issue is planned to be worked on in an upcoming release. label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) type/feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant