-
Notifications
You must be signed in to change notification settings - Fork 110
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
GH-548 add data source for remote repos #682
Conversation
Refactor provider to be cleaner Bump docker image version to latest for Artifactory
Fix capitalization on a few package types
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.
Some Qs, some change requests, some indentation errors D:
pkg/artifactory/resource/repository/remote/resource_artifactory_remote_cargo_repository.go
Outdated
Show resolved
Hide resolved
pkg/artifactory/resource/repository/remote/resource_artifactory_remote_helm_repository.go
Show resolved
Hide resolved
pkg/artifactory/resource/repository/remote/resource_artifactory_remote_terraform_repository.go
Show resolved
Hide resolved
pkg/artifactory/datasource/repository/remote/datasource_artifactory_remote_repository_test.go
Outdated
Show resolved
Hide resolved
pkg/artifactory/datasource/repository/remote/datasource_artifactory_remote_repository_test.go
Outdated
Show resolved
Hide resolved
pkg/artifactory/datasource/repository/remote/datasource_artifactory_remote_repository_test.go
Outdated
Show resolved
Hide resolved
pkg/artifactory/datasource/repository/remote/datasource_artifactory_remote_repository_test.go
Outdated
Show resolved
Hide resolved
…rce-for-remote-repos
…rce-for-remote-repos' into GH-548-add-data-source-for-remote-repos
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.
LGTM
…e-repos' into GH-548-add-data-source-for-remote-repos
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.
Some minor formatting
pkg/artifactory/resource/repository/remote/resource_artifactory_remote_docker_repository.go
Outdated
Show resolved
Hide resolved
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.
LGTM
* `criteria` - (Required) Specifies where the webhook will be applied on which repositories. | ||
* `any_local` - (Required) Trigger on any local repo. | ||
* `any_remote` - (Required) Trigger on any remote repo. | ||
* `repo_keys` - (Required) Trigger on this list of repo keys. | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`. |
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.
docs/resources/artifact_webhook.md
Outdated
* `criteria` - (Required) Specifies where the webhook will be applied on which repositories. | ||
* `any_local` - (Required) Trigger on any local repo. | ||
* `any_remote` - (Required) Trigger on any remote repo. | ||
* `repo_keys` - (Required) Trigger on this list of repo keys. | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`. |
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.
Same /n issue.
* `criteria` - (Required) Specifies where the webhook will be applied on which repositories. | ||
* `any_release_bundle` - (Required) Trigger on any release bundle | ||
* `registered_release_bundle_names` - (Required) Trigger on this list of release bundle names | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**" | ||
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**" | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**` |
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.
/n
docs/resources/build_webhook.md
Outdated
* `criteria` - (Required) Specifies where the webhook will be applied on which repositories. | ||
* `any_build` - (Required) Trigger on any build. | ||
* `selected_builds` - (Required) Trigger on this list of build names. | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`. |
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.
/n
* `criteria` - (Required) Specifies where the webhook will be applied on which repositories. | ||
* `any_release_bundle` - (Required) Trigger on any release bundle. | ||
* `registered_release_bundle_names` - (Required) Trigger on this list of release bundle names. | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`. |
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.
/n
docs/resources/docker_webhook.md
Outdated
* `criteria` - (Required) Specifies where the webhook will be applied on which repositories. | ||
* `any_local` - (Required) Trigger on any local repo. | ||
* `any_remote` - (Required) Trigger on any remote repo. | ||
* `repo_keys` - (Required) Trigger on this list of repo keys. | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**". | ||
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`. |
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.
/n
For V7 branch.
Also refactor code in provider and extract data source map and resource map to own files.