apache-airflow-providers-git 0.0.2rc2__tar.gz → 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of apache-airflow-providers-git might be problematic. Click here for more details.

Files changed (30) hide show
  1. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/PKG-INFO +7 -7
  2. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/README.rst +3 -3
  3. apache_airflow_providers_git-0.0.3/docs/.latest-doc-only-change.txt +1 -0
  4. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/docs/changelog.rst +15 -0
  5. apache_airflow_providers_git-0.0.3/docs/commits.rst +35 -0
  6. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/docs/index.rst +1 -1
  7. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/provider.yaml +6 -2
  8. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/pyproject.toml +4 -4
  9. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/src/airflow/providers/git/__init__.py +1 -1
  10. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/src/airflow/providers/git/hooks/git.py +3 -2
  11. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/tests/unit/git/hooks/test_git.py +2 -2
  12. apache_airflow_providers_git-0.0.2rc2/docs/commits.rst +0 -71
  13. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/docs/bundles/index.rst +0 -0
  14. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/docs/conf.py +0 -0
  15. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/docs/connections/git.rst +0 -0
  16. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/docs/installing-providers-from-sources.rst +0 -0
  17. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/docs/security.rst +0 -0
  18. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/src/airflow/__init__.py +0 -0
  19. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/src/airflow/providers/__init__.py +0 -0
  20. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/src/airflow/providers/git/LICENSE +0 -0
  21. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/src/airflow/providers/git/bundles/__init__.py +0 -0
  22. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/src/airflow/providers/git/bundles/git.py +0 -0
  23. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/src/airflow/providers/git/get_provider_info.py +0 -0
  24. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/src/airflow/providers/git/hooks/__init__.py +0 -0
  25. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/tests/conftest.py +0 -0
  26. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/tests/unit/__init__.py +0 -0
  27. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/tests/unit/git/__init__.py +0 -0
  28. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/tests/unit/git/bundles/__init__.py +0 -0
  29. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/tests/unit/git/bundles/test_git.py +0 -0
  30. {apache_airflow_providers_git-0.0.2rc2 → apache_airflow_providers_git-0.0.3}/tests/unit/git/hooks/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-git
3
- Version: 0.0.2rc2
3
+ Version: 0.0.3
4
4
  Summary: Provider package apache-airflow-providers-git for Apache Airflow
5
5
  Keywords: airflow-provider,git,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -20,11 +20,11 @@ Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
22
  Classifier: Topic :: System :: Monitoring
23
- Requires-Dist: apache-airflow>=3.0.0rc0
23
+ Requires-Dist: apache-airflow>=3.0.0
24
24
  Requires-Dist: GitPython>=3.1.44
25
25
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
26
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.2/changelog.html
27
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.2
26
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.3/changelog.html
27
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.3
28
28
  Project-URL: Mastodon, https://fosstodon.org/@airflow
29
29
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
30
30
  Project-URL: Source Code, https://github.com/apache/airflow
@@ -55,7 +55,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
55
55
 
56
56
  Package ``apache-airflow-providers-git``
57
57
 
58
- Release: ``0.0.2``
58
+ Release: ``0.0.3``
59
59
 
60
60
 
61
61
  `Distributed version control system (GIT) <https://git-scm.com/>`__
@@ -68,7 +68,7 @@ This is a provider package for ``git`` provider. All classes for this provider p
68
68
  are in ``airflow.providers.git`` python package.
69
69
 
70
70
  You can find package information and changelog for the provider
71
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.2/>`_.
71
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.3/>`_.
72
72
 
73
73
  Installation
74
74
  ------------
@@ -90,5 +90,5 @@ PIP package Version required
90
90
  ================== ==================
91
91
 
92
92
  The changelog for the provider package can be found in the
93
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.2/changelog.html>`_.
93
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.3/changelog.html>`_.
94
94
 
@@ -23,7 +23,7 @@
23
23
 
24
24
  Package ``apache-airflow-providers-git``
25
25
 
26
- Release: ``0.0.2``
26
+ Release: ``0.0.3``
27
27
 
28
28
 
29
29
  `Distributed version control system (GIT) <https://git-scm.com/>`__
@@ -36,7 +36,7 @@ This is a provider package for ``git`` provider. All classes for this provider p
36
36
  are in ``airflow.providers.git`` python package.
37
37
 
38
38
  You can find package information and changelog for the provider
39
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.2/>`_.
39
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.3/>`_.
40
40
 
41
41
  Installation
42
42
  ------------
@@ -58,4 +58,4 @@ PIP package Version required
58
58
  ================== ==================
59
59
 
60
60
  The changelog for the provider package can be found in the
61
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.2/changelog.html>`_.
61
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.3/changelog.html>`_.
@@ -0,0 +1 @@
1
+ a4a51a02db2994e4ea94b83887739dc79a4d11d9
@@ -15,6 +15,20 @@
15
15
  specific language governing permissions and limitations
16
16
  under the License.
17
17
 
18
+ 0.0.3
19
+ .....
20
+
21
+ Bug Fixes
22
+ ~~~~~~~~~
23
+
24
+ * ``add user_name to http git (#51256)``
25
+
26
+ .. Below changes are excluded from the changelog. Move them to
27
+ appropriate section above if needed. Do not delete the lines(!):
28
+ * ``Prepare release for providers May 2025 (#50531)``
29
+ * ``Update description of provider.yaml dependencies (#50231)``
30
+ * ``Avoid committing history for providers (#49907)``
31
+
18
32
  0.0.2
19
33
  .....
20
34
 
@@ -33,6 +47,7 @@ Misc
33
47
  .. Below changes are excluded from the changelog. Move them to
34
48
  appropriate section above if needed. Do not delete the lines(!):
35
49
  * ``Prepare docs for Apr 3rd wave of providers (#49338)``
50
+ * ``Update documentation for edge3 and git provider (#49365)``
36
51
 
37
52
  0.0.1
38
53
  .....
@@ -0,0 +1,35 @@
1
+
2
+ .. Licensed to the Apache Software Foundation (ASF) under one
3
+ or more contributor license agreements. See the NOTICE file
4
+ distributed with this work for additional information
5
+ regarding copyright ownership. The ASF licenses this file
6
+ to you under the Apache License, Version 2.0 (the
7
+ "License"); you may not use this file except in compliance
8
+ with the License. You may obtain a copy of the License at
9
+
10
+ .. http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ .. Unless required by applicable law or agreed to in writing,
13
+ software distributed under the License is distributed on an
14
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ KIND, either express or implied. See the License for the
16
+ specific language governing permissions and limitations
17
+ under the License.
18
+
19
+ .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
20
+
21
+ .. IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
22
+ `PROVIDER_COMMITS_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
23
+
24
+ .. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN!
25
+
26
+ Package apache-airflow-providers-git
27
+ ------------------------------------------------------
28
+
29
+ `Distributed version control system (GIT) <https://git-scm.com/>`__
30
+
31
+
32
+ This is detailed commit list of changes for versions provider package: ``git``.
33
+ For high-level changelog, see :doc:`package information including changelog <index>`.
34
+
35
+ .. airflow-providers-commits::
@@ -72,7 +72,7 @@ apache-airflow-providers-git package
72
72
  `Distributed version control system (GIT) <https://git-scm.com/>`__
73
73
 
74
74
 
75
- Release: 0.0.2
75
+ Release: 0.0.3
76
76
 
77
77
  Provider package
78
78
  ----------------
@@ -22,9 +22,13 @@ description: |
22
22
  `Distributed version control system (GIT) <https://git-scm.com/>`__
23
23
 
24
24
  state: ready
25
- source-date-epoch: 1744792049
26
- # note that those versions are maintained by release manager - do not update them manually
25
+ source-date-epoch: 1749926358
26
+ # Note that those versions are maintained by release manager - do not update them manually
27
+ # with the exception of case where other provider in sources has >= new provider version.
28
+ # In such case adding >= NEW_VERSION and bumping to NEW_VERSION in a provider have
29
+ # to be done in the same PR
27
30
  versions:
31
+ - 0.0.3
28
32
  - 0.0.2
29
33
  - 0.0.1
30
34
 
@@ -25,7 +25,7 @@ build-backend = "flit_core.buildapi"
25
25
 
26
26
  [project]
27
27
  name = "apache-airflow-providers-git"
28
- version = "0.0.2.rc2"
28
+ version = "0.0.3"
29
29
  description = "Provider package apache-airflow-providers-git for Apache Airflow"
30
30
  readme = "README.rst"
31
31
  authors = [
@@ -57,7 +57,7 @@ requires-python = "~=3.9"
57
57
  # Make sure to run ``breeze static-checks --type update-providers-dependencies --all-files``
58
58
  # After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build``
59
59
  dependencies = [
60
- "apache-airflow>=3.0.0rc0",
60
+ "apache-airflow>=3.0.0",
61
61
  "GitPython>=3.1.44",
62
62
  ]
63
63
 
@@ -95,8 +95,8 @@ apache-airflow-providers-common-sql = {workspace = true}
95
95
  apache-airflow-providers-standard = {workspace = true}
96
96
 
97
97
  [project.urls]
98
- "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.2"
99
- "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.2/changelog.html"
98
+ "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.3"
99
+ "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-git/0.0.3/changelog.html"
100
100
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
101
101
  "Source Code" = "https://github.com/apache/airflow"
102
102
  "Slack Chat" = "https://s.apache.org/airflow-slack"
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "0.0.2"
32
+ __version__ = "0.0.3"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "3.0.0"
@@ -48,7 +48,7 @@ class GitHook(BaseHook):
48
48
  return {
49
49
  "hidden_fields": ["schema"],
50
50
  "relabeling": {
51
- "login": "Username",
51
+ "login": "Username or Access Token name",
52
52
  "host": "Repository URL",
53
53
  "password": "Access Token (optional)",
54
54
  },
@@ -68,6 +68,7 @@ class GitHook(BaseHook):
68
68
  super().__init__()
69
69
  connection = self.get_connection(git_conn_id)
70
70
  self.repo_url = repo_url or connection.host
71
+ self.user_name = connection.login or "user"
71
72
  self.auth_token = connection.password
72
73
  self.private_key = connection.extra_dejson.get("private_key")
73
74
  self.key_file = connection.extra_dejson.get("key_file")
@@ -89,7 +90,7 @@ class GitHook(BaseHook):
89
90
  if not isinstance(self.repo_url, str):
90
91
  return
91
92
  if self.auth_token and self.repo_url.startswith("https://"):
92
- self.repo_url = self.repo_url.replace("https://", f"https://{self.auth_token}@")
93
+ self.repo_url = self.repo_url.replace("https://", f"https://{self.user_name}:{self.auth_token}@")
93
94
  elif not self.repo_url.startswith("git@") or not self.repo_url.startswith("https://"):
94
95
  self.repo_url = os.path.expanduser(self.repo_url)
95
96
 
@@ -110,11 +110,11 @@ class TestGitHook:
110
110
  "conn_id, hook_kwargs, expected_repo_url",
111
111
  [
112
112
  (CONN_DEFAULT, {}, AIRFLOW_GIT),
113
- (CONN_HTTPS, {}, f"https://{ACCESS_TOKEN}@github.com/apache/airflow.git"),
113
+ (CONN_HTTPS, {}, f"https://user:{ACCESS_TOKEN}@github.com/apache/airflow.git"),
114
114
  (
115
115
  CONN_HTTPS,
116
116
  {"repo_url": "https://github.com/apache/zzzairflow"},
117
- f"https://{ACCESS_TOKEN}@github.com/apache/zzzairflow",
117
+ f"https://user:{ACCESS_TOKEN}@github.com/apache/zzzairflow",
118
118
  ),
119
119
  (CONN_ONLY_PATH, {}, "path/to/repo"),
120
120
  ],
@@ -1,71 +0,0 @@
1
-
2
- .. Licensed to the Apache Software Foundation (ASF) under one
3
- or more contributor license agreements. See the NOTICE file
4
- distributed with this work for additional information
5
- regarding copyright ownership. The ASF licenses this file
6
- to you under the Apache License, Version 2.0 (the
7
- "License"); you may not use this file except in compliance
8
- with the License. You may obtain a copy of the License at
9
-
10
- .. http://www.apache.org/licenses/LICENSE-2.0
11
-
12
- .. Unless required by applicable law or agreed to in writing,
13
- software distributed under the License is distributed on an
14
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
- KIND, either express or implied. See the License for the
16
- specific language governing permissions and limitations
17
- under the License.
18
-
19
- .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
20
-
21
- .. IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
22
- `PROVIDER_COMMITS_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
23
-
24
- .. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN!
25
-
26
- Package apache-airflow-providers-git
27
- ------------------------------------------------------
28
-
29
- `Distributed version control system (GIT) <https://git-scm.com/>`__
30
-
31
-
32
- This is detailed commit list of changes for versions provider package: ``git``.
33
- For high-level changelog, see :doc:`package information including changelog <index>`.
34
-
35
-
36
-
37
- 0.0.2
38
- .....
39
-
40
- Latest change: 2025-04-16
41
-
42
- ================================================================================================== =========== ============================================================
43
- Commit Committed Subject
44
- ================================================================================================== =========== ============================================================
45
- `dd0efe348b <https://github.com/apache/airflow/commit/dd0efe348b6ce94243ec7a727f9aa908eeafbc82>`__ 2025-04-16 ``Use 'git_default' if the user defines nothing (#49359)``
46
- `ca3e4e75c6 <https://github.com/apache/airflow/commit/ca3e4e75c634afdceb23a86b7e0b0ff74614a7f1>`__ 2025-04-16 ``Prepare docs for Apr 3rd wave of providers (#49338)``
47
- `192b337c86 <https://github.com/apache/airflow/commit/192b337c86eede5636f802d6f354fa97fe0f9030>`__ 2025-04-16 ``Don't log repo_url in git dag bundle (#48909)``
48
- `2c7b56ee74 <https://github.com/apache/airflow/commit/2c7b56ee742409f65463534e34fa5f444d651af9>`__ 2025-04-15 ``Make git connection optional for git dag bundle (#49270)``
49
- `b9052eed42 <https://github.com/apache/airflow/commit/b9052eed423f5f7f20c58815cce89e6cc659903c>`__ 2025-04-15 ``Include subdir in Gitbundle view url (#49239)``
50
- ================================================================================================== =========== ============================================================
51
-
52
- 0.0.1
53
- .....
54
-
55
- Latest change: 2025-04-10
56
-
57
- ================================================================================================== =========== ==================================================================================
58
- Commit Committed Subject
59
- ================================================================================================== =========== ==================================================================================
60
- `4a8567b20b <https://github.com/apache/airflow/commit/4a8567b20bdd6555cbdc936d6674bf4fa390b0d5>`__ 2025-04-10 ``Prepare docs for Apr 2nd wave of providers (#49051)``
61
- `4a1e2ff8ab <https://github.com/apache/airflow/commit/4a1e2ff8ab8e6abca1cb273dc55d651d971e49f2>`__ 2025-04-09 ``Mark git provider as ready (#48860)``
62
- `c68f31d3db <https://github.com/apache/airflow/commit/c68f31d3db6b957b4aeede7a257cc0ba59f12ce1>`__ 2025-04-08 ``Remove dev0 suffix from Airlfow version (#48934)``
63
- `7b2ec33c7a <https://github.com/apache/airflow/commit/7b2ec33c7ad4998d9c9735b79593fcdcd3b9dd1f>`__ 2025-04-08 ``Remove unnecessary entries in get_provider_info and update the schema (#48849)``
64
- `139673d3ce <https://github.com/apache/airflow/commit/139673d3ce5552c2cf8bcb2d202e97342c4b237c>`__ 2025-04-07 ``Remove fab from preinstalled providers (#48457)``
65
- `67858fd7e7 <https://github.com/apache/airflow/commit/67858fd7e7ac82788854844c1e6ef5a35f1d0d23>`__ 2025-04-06 ``Improve documentation building iteration (#48760)``
66
- `81ae7e2f71 <https://github.com/apache/airflow/commit/81ae7e2f71364b4a7d91432d53ce52b031e85d3b>`__ 2025-04-02 ``Fix git has_version check (#48707)``
67
- `d4473555c0 <https://github.com/apache/airflow/commit/d4473555c0e7022e073489b7163d49102881a1a6>`__ 2025-04-02 ``Simplify tooling by switching completely to uv (#48223)``
68
- `513bba7a65 <https://github.com/apache/airflow/commit/513bba7a6595cac9d47074a784c0b71d5414cb11>`__ 2025-03-29 ``Don't add auth token to git bundle view urls (#48516)``
69
- `d7d9d48e6e <https://github.com/apache/airflow/commit/d7d9d48e6eef5cd04b5699b88ffcceab75679225>`__ 2025-03-28 ``Unify the usage of structlog.get_logger in the codebase (#48480)``
70
- `08d9dc201e <https://github.com/apache/airflow/commit/08d9dc201ef9e35b87b03fdc45a251efbdad2b0c>`__ 2025-03-26 ``Move 'GitDagBundle' to providers (#47636)``
71
- ================================================================================================== =========== ==================================================================================