airbyte-source-gitlab 4.0.2__tar.gz → 4.0.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/PKG-INFO +25 -11
  2. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/README.md +24 -11
  3. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/pyproject.toml +1 -1
  4. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/__init__.py +0 -0
  5. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/components/partition_routers.py +0 -0
  6. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/config_migrations.py +0 -0
  7. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/manifest.yaml +0 -0
  8. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/run.py +0 -0
  9. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/branches.json +0 -0
  10. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/commits.json +0 -0
  11. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/deployments.json +0 -0
  12. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/epic_issues.json +0 -0
  13. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/epics.json +0 -0
  14. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/group_issue_boards.json +0 -0
  15. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/group_labels.json +0 -0
  16. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/group_members.json +0 -0
  17. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/group_milestones.json +0 -0
  18. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/groups.json +0 -0
  19. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/issues.json +0 -0
  20. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/jobs.json +0 -0
  21. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/merge_request_commits.json +0 -0
  22. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/merge_requests.json +0 -0
  23. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/pipelines.json +0 -0
  24. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/pipelines_extended.json +0 -0
  25. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/project_labels.json +0 -0
  26. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/project_members.json +0 -0
  27. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/project_milestones.json +0 -0
  28. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/projects.json +0 -0
  29. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/releases.json +0 -0
  30. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/tags.json +0 -0
  31. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/schemas/users.json +0 -0
  32. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/source.py +0 -0
  33. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/spec.json +0 -0
  34. {airbyte_source_gitlab-4.0.2 → airbyte_source_gitlab-4.0.4}/source_gitlab/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-source-gitlab
3
- Version: 4.0.2
3
+ Version: 4.0.4
4
4
  Summary: Source implementation for GitLab.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -20,32 +20,33 @@ Description-Content-Type: text/markdown
20
20
 
21
21
  # Gitlab source connector
22
22
 
23
-
24
23
  This is the repository for the Gitlab source connector, written in Python.
25
24
  For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/gitlab).
26
25
 
27
26
  ## Local development
28
27
 
29
28
  ### Prerequisites
30
- * Python (~=3.9)
31
- * Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
32
29
 
30
+ - Python (~=3.9)
31
+ - Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
33
32
 
34
33
  ### Installing the connector
34
+
35
35
  From this connector directory, run:
36
+
36
37
  ```bash
37
38
  poetry install --with dev
38
39
  ```
39
40
 
40
-
41
41
  ### Create credentials
42
+
42
43
  **If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/gitlab)
43
44
  to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_gitlab/spec.yaml` file.
44
45
  Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
45
46
  See `sample_files/sample_config.json` for a sample config file.
46
47
 
47
-
48
48
  ### Locally running the connector
49
+
49
50
  ```
50
51
  poetry run source-gitlab spec
51
52
  poetry run source-gitlab check --config secrets/config.json
@@ -54,23 +55,28 @@ poetry run source-gitlab read --config secrets/config.json --catalog integration
54
55
  ```
55
56
 
56
57
  ### Running unit tests
58
+
57
59
  To run unit tests locally, from the connector directory run:
60
+
58
61
  ```
59
62
  poetry run pytest unit_tests
60
63
  ```
61
64
 
62
65
  ### Building the docker image
66
+
63
67
  1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
64
68
  2. Run the following command to build the docker image:
69
+
65
70
  ```bash
66
71
  airbyte-ci connectors --name=source-gitlab build
67
72
  ```
68
73
 
69
74
  An image will be available on your host with the tag `airbyte/source-gitlab:dev`.
70
75
 
71
-
72
76
  ### Running as a docker container
77
+
73
78
  Then run any of the connector commands as follows:
79
+
74
80
  ```
75
81
  docker run --rm airbyte/source-gitlab:dev spec
76
82
  docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-gitlab:dev check --config /secrets/config.json
@@ -79,18 +85,23 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat
79
85
  ```
80
86
 
81
87
  ### Running our CI test suite
88
+
82
89
  You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
90
+
83
91
  ```bash
84
92
  airbyte-ci connectors --name=source-gitlab test
85
93
  ```
86
94
 
87
95
  ### Customizing acceptance Tests
96
+
88
97
  Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
89
98
  If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
90
99
 
91
100
  ### Dependency Management
92
- All of your dependencies should be managed via Poetry.
101
+
102
+ All of your dependencies should be managed via Poetry.
93
103
  To add a new dependency, run:
104
+
94
105
  ```bash
95
106
  poetry add <package-name>
96
107
  ```
@@ -98,14 +109,17 @@ poetry add <package-name>
98
109
  Please commit the changes to `pyproject.toml` and `poetry.lock` files.
99
110
 
100
111
  ## Publishing a new version of the connector
112
+
101
113
  You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
114
+
102
115
  1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-gitlab test`
103
- 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
104
- - bump the `dockerImageTag` value in in `metadata.yaml`
105
- - bump the `version` value in `pyproject.toml`
116
+ 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
117
+ - bump the `dockerImageTag` value in in `metadata.yaml`
118
+ - bump the `version` value in `pyproject.toml`
106
119
  3. Make sure the `metadata.yaml` content is up to date.
107
120
  4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/gitlab.md`).
108
121
  5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
109
122
  6. Pat yourself on the back for being an awesome contributor.
110
123
  7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
111
124
  8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
125
+
@@ -1,31 +1,32 @@
1
1
  # Gitlab source connector
2
2
 
3
-
4
3
  This is the repository for the Gitlab source connector, written in Python.
5
4
  For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/gitlab).
6
5
 
7
6
  ## Local development
8
7
 
9
8
  ### Prerequisites
10
- * Python (~=3.9)
11
- * Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
12
9
 
10
+ - Python (~=3.9)
11
+ - Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
13
12
 
14
13
  ### Installing the connector
14
+
15
15
  From this connector directory, run:
16
+
16
17
  ```bash
17
18
  poetry install --with dev
18
19
  ```
19
20
 
20
-
21
21
  ### Create credentials
22
+
22
23
  **If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/gitlab)
23
24
  to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_gitlab/spec.yaml` file.
24
25
  Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
25
26
  See `sample_files/sample_config.json` for a sample config file.
26
27
 
27
-
28
28
  ### Locally running the connector
29
+
29
30
  ```
30
31
  poetry run source-gitlab spec
31
32
  poetry run source-gitlab check --config secrets/config.json
@@ -34,23 +35,28 @@ poetry run source-gitlab read --config secrets/config.json --catalog integration
34
35
  ```
35
36
 
36
37
  ### Running unit tests
38
+
37
39
  To run unit tests locally, from the connector directory run:
40
+
38
41
  ```
39
42
  poetry run pytest unit_tests
40
43
  ```
41
44
 
42
45
  ### Building the docker image
46
+
43
47
  1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
44
48
  2. Run the following command to build the docker image:
49
+
45
50
  ```bash
46
51
  airbyte-ci connectors --name=source-gitlab build
47
52
  ```
48
53
 
49
54
  An image will be available on your host with the tag `airbyte/source-gitlab:dev`.
50
55
 
51
-
52
56
  ### Running as a docker container
57
+
53
58
  Then run any of the connector commands as follows:
59
+
54
60
  ```
55
61
  docker run --rm airbyte/source-gitlab:dev spec
56
62
  docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-gitlab:dev check --config /secrets/config.json
@@ -59,18 +65,23 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat
59
65
  ```
60
66
 
61
67
  ### Running our CI test suite
68
+
62
69
  You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
70
+
63
71
  ```bash
64
72
  airbyte-ci connectors --name=source-gitlab test
65
73
  ```
66
74
 
67
75
  ### Customizing acceptance Tests
76
+
68
77
  Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
69
78
  If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
70
79
 
71
80
  ### Dependency Management
72
- All of your dependencies should be managed via Poetry.
81
+
82
+ All of your dependencies should be managed via Poetry.
73
83
  To add a new dependency, run:
84
+
74
85
  ```bash
75
86
  poetry add <package-name>
76
87
  ```
@@ -78,14 +89,16 @@ poetry add <package-name>
78
89
  Please commit the changes to `pyproject.toml` and `poetry.lock` files.
79
90
 
80
91
  ## Publishing a new version of the connector
92
+
81
93
  You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
94
+
82
95
  1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-gitlab test`
83
- 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
84
- - bump the `dockerImageTag` value in in `metadata.yaml`
85
- - bump the `version` value in `pyproject.toml`
96
+ 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
97
+ - bump the `dockerImageTag` value in in `metadata.yaml`
98
+ - bump the `version` value in `pyproject.toml`
86
99
  3. Make sure the `metadata.yaml` content is up to date.
87
100
  4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/gitlab.md`).
88
101
  5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
89
102
  6. Pat yourself on the back for being an awesome contributor.
90
103
  7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
91
- 8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
104
+ 8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
@@ -5,7 +5,7 @@ requires = [
5
5
  build-backend = "poetry.core.masonry.api"
6
6
 
7
7
  [tool.poetry]
8
- version = "4.0.2"
8
+ version = "4.0.4"
9
9
  name = "airbyte-source-gitlab"
10
10
  description = "Source implementation for GitLab."
11
11
  authors = [