You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+17-10Lines changed: 17 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@ operating environment, schemachange version and python version. Whenever possibl
7
7
also include a brief, self-contained code example that demonstrates the problem.
8
8
9
9
We have
10
-
included [issue templates](https://github.com/Snowflake-Labs/schemachange/issues/new/choose) for reporting bugs, requesting features and seeking clarifications. Choose the appropriate issue template to contribute to the repository.
10
+
included [issue templates](https://github.com/Snowflake-Labs/schemachange/issues/new/choose) for reporting bugs,
11
+
requesting features and seeking clarifications. Choose the appropriate issue template to contribute to the repository.
11
12
12
13
## Contributing code
13
14
@@ -22,8 +23,6 @@ Thank you for your interest in contributing code to schemachange!
22
23
23
24
### Guide to contributing to schemachange
24
25
25
-
> **IMPORTANT** : You will need to follow the [provisioning and schemachange setup instructions](../demo/README.MD) to ensure you can run GitHub actions against your Snowflake account before placing a PR with main schemachange repository so that your PR can be merged into schemachange master branch.
26
-
27
26
1. If you are a first-time contributor
28
27
+ Go to [Snowflake-Labs/Schemachange](https://github.com/Snowflake-Labs/schemachange) and click the "fork" button to
29
28
create your own copy of the project.
@@ -53,8 +52,8 @@ Thank you for your interest in contributing code to schemachange!
53
52
+ [Pull](https://github.com/git-guides/git-pull) the latest changes from upstream, including tags:
54
53
55
54
```shell
56
-
git checkout main
57
-
git pull upstream main --tags
55
+
git checkout master
56
+
git pull upstream master --tags
58
57
```
59
58
60
59
2. Create and Activate a Virtual Environment
@@ -98,24 +97,32 @@ Thank you for your interest in contributing code to schemachange!
98
97
99
98
+ Commit locally as you progress ( [git add](https://github.com/git-guides/git-add)
100
99
and [git commit](https://github.com/git-guides/git-commit) ). Use a properly formatted commit message. Be sure to
101
-
document any changed behavior in the [CHANGELOG.md](../CHANGELOG.md) file to help us collate the changes for a specific release.
100
+
document any changed behavior in the [CHANGELOG.md](../CHANGELOG.md) file to help us collate the changes for a
101
+
specific release.
102
102
103
103
4. Test your contribution locally
104
104
105
105
```bash
106
106
python -m pytest
107
107
```
108
-
PS: Please add test cases to the features you are developing so that over time, we can capture any lapse in functionality changes.
108
+
PS: Please add test cases to the features you are developing so that over time, we can capture any lapse in
109
+
functionality changes.
110
+
111
+
5. Perform integration tests on your branch from your fork
112
+
- Follow the [provisioning and schemachange setup instructions](../demo/README.MD) to configure your Snowflake
instructions to manually run the `master-pytest` workflow on your fork of the repo, targeting your feature branch.
109
116
110
-
5. Push your contribution to GitHub
117
+
6. Push your contribution to GitHub
111
118
112
-
[Push](https://github.com/git-guides/git-push) your changes back to your fork on GitHub
119
+
[Push](https://github.com/git-guides/git-push) your changes back to your fork on GitHub
113
120
114
121
```shell
115
122
git push origin update-build-library-dependencies
116
123
```
117
124
118
-
6. Raise a Pull Request to merge your contribution into the a Schemachange Release
125
+
7. Raise a Pull Request to merge your contribution into the a Schemachange Release
119
126
+ Go to GitHub. The new branch will show up with a
120
127
green [Pull Request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#initiating-the-pull-request)
121
128
button. Make sure the title and message are clear, concise and self-explanatory. Then click the button to submit
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,14 @@ All notable changes to this project will be documented in this file.
7
7
### Added
8
8
- Use of `structlog~=24.1.0` for standard log outputs
9
9
- Verified Schemachange against Python 3.12
10
+
- Support for connections.toml configurations
11
+
- Support for supplying the authenticator, private key path, token path, connections file path, and connection name via the YAML and command-line configurations.
10
12
11
13
### Changed
12
14
- Refactored the main cli.py into multiple modules - config, session.
13
15
- Updated contributing guidelines and demo readme content to help contributors setup local snowflake account to run the github actions in their fork before pushing the PR to upstream repository.
14
16
- Removed tests against Python 3.8 [End of Life on 2024-10-07](https://devguide.python.org/versions/#supported-versions)
15
-
17
+
- Command-line vars are now merged into YAML vars instead of overwriting them entirely
0 commit comments