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

merge upstream #43

Merged
merged 26 commits into from
Dec 5, 2023
Merged

merge upstream #43

merged 26 commits into from
Dec 5, 2023

Conversation

Noahnc
Copy link
Owner

@Noahnc Noahnc commented Dec 5, 2023

No description provided.

Noahnc and others added 26 commits November 24, 2023 13:13
* feat(dev_requirements): Add pytest

* refac(workspace_settings): Specify python interpreter path

* refac(cicd): Combine actions in composition action and add unit tests.

* fix(cicd): Remove custom arg from pytest.

* fix(cicd): Add missing requirements for pytest

* feat(tasks): Add task to install all dependencies.

* feat(pytest_typehint): Add extension for pytest hints.

* feat(tests): Add initial test.

* ruff format

* fix(pytest): Set pythonpath

* fix(cicd): Pass python version to sub actions with input.

* fix(cicd): Add input for sub actions

* fix(cicd): Read python version from project file instead of env.

* fix(cicd): python version var assignment
* feat(action): Add configuration provider

* feat(vscode): Change auto save to onFocusChange since ruff does not work with afterDelay.

* feat(vscode): Add test task

* refac(tests): Remove __main__.py tests

* feat(vscode): Exclude __pycache__ folders in workspace

* refac(ActionConfig): Remove default value for registry_domain

* feat(git): Add git helper

* refac(action): Pass configuration over env. instead of cli args.

* refac(action): Add git handling and use new configuration provider.

* refac(action_integration_test): Provider github token in env. instead of input.

* fix(action): Remove git logic and rename env vars

* feat(ActionConfig): Log substring of secrets

* fix(ConfigProvider): Make flag registry_secrets as secret.

* refac(action): Change github_token back to input variable.

* fix(action): Add exception handling if target branch does not exist

* fix(config): Fix conversion from env_string to bool.

* refac(cli): Move cli resources to __main__

* feat(action): Add input to set relative working dir.

* feat(git): Set git root to new repo_root value.

* doc(README): Update documentation of the github action.
* refac(hcledit): Move bin in subdirectory

* refac(terraform_utils): Move in own directory.

* refac(terraform_utils): Move to own directory

* feat(vscode): Add some project settings.

* feat(pip): Add py-markdown-table as requirement.

* refac(terraform_utils): Add init file.

* feat(providers): Add Providers.

* feat(provider_handler): Add provider_handler and builder.

* refac(models): Update versioned resources models.

* feat(composition): Remove composition.

* feat(models): Add statistics model.

* feat(cli): Switch to provider implementation.

* refac(builder): Change secret input from file path to dict.

* refac(action): Switch to provider implementation.

* ruff auto-fix

* feat(vscode): Add task to auto-fix with ruff.

* doc(README): Update doc.

* fix(provider): Fix get markdown table

* feat(Statistics): Add function to get markdown table.

* feat(action): Add report to pr body.

* fix(upgrade_resources): Add catch to handle unsuccesfull upgrades

* ruff format

* fix(terraform_provider): remove exception handling.

* refac(exception): Remove base exception.

* fix(cicd): Change error text.

* fix(hcledit_cli): Check if binary exists.

* fix(hcledit): Make binary executable.

* fix(hcledit_cli): REmove exist check.

* Revert "fix(hcledit_cli): REmove exist check."

This reverts commit c4a29a2.

* fix(setup): Change package_data path.

* fix(Statistics): Fix markdown table.

* fix(Statistics): Change markdown input to list.

* feat(vscode): Disable justmycode in launch.json

* doc(README): Add supported platforms.

* fix(pr_body): Add missing newline after provider table.

* fix(pr_body): Remove second newline.

* fix(pr_body): Format tables.

* fix(pr_body): Add quotes.

* refac(markdown_table): Switch to new library for markdown tables.

* fix(pip): Fix pytablewriter version

* fix(terraform_provider): Set table_name

* feat(action): Implement handling of existing PRs

* fix(action): Save upgradable resources instead of all.
* feat(action): Implement correct handling of repo root and action files path

* fix(tests): Change inputs in config tests.

* refac(rich): Change text in progress bar.

* fix(action): Change working directory
* feat(tests): Add tests for models

* ruff auto-fix

* test(terraform_resource): Add to_dict() test.

* doc(checkout): Add note and update action example regarding fetch-depth.

* feat(action): Add log message when updating pr.

* fix(provider_cache): Fix provider cache not working.

* fix(markdown_tables): Skip table generate for providers without changes.

* fix(pr_update): Fix handling of existing prs

* fix(action): Fix searching existing pr.

* fix(action): Filter pr in python instead of search over github api.

* feat(action): Update pr even when no upgrades where performed.

* fix(provider_handler): Switch reference of object.

* fix(provider_handler): Fix resource update.

* fix(provider_handler): Fix resource replace in cache.

* fix(provider_handler): REmove indent.
…ithub_token, so that it can be replaced with a pat."

This reverts commit 0ea227c.
@Noahnc Noahnc merged commit 2500bf3 into Noahnc:main Dec 5, 2023
1 check passed
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.

1 participant