Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge pull request #1699 from python-gitlab/jlvillal/arrays | Nejc Habjan | 2022-07-28 | 7 | -31/+134 | |
|\ \ | |/ |/| | fix: use the [] after key names for array variables in `params` | |||||
| * | fix: use the [] after key names for array variables in `params` | John L. Villalovos | 2022-07-27 | 7 | -31/+134 | |
|/ | | | | | | | | | | | | | | | | | | 1. If a value is of type ArrayAttribute then append '[]' to the name of the value for query parameters (`params`). This is step 3 in a series of steps of our goal to add full support for the GitLab API data types[1]: * array * hash * array of hashes Step one was: commit 5127b1594c00c7364e9af15e42d2e2f2d909449b Step two was: commit a57334f1930752c70ea15847a39324fa94042460 Fixes: #1698 [1] https://docs.gitlab.com/ee/api/#encoding-api-parameters-of-array-and-hash-types | |||||
* | feat: add support for iterations API | Nejc Habjan | 2022-07-27 | 7 | -0/+112 | |
| | ||||||
* | feat(groups): add support for shared projects API | Nejc Habjan | 2022-07-26 | 4 | -4/+72 | |
| | ||||||
* | test: always ensure clean config environment | Nejc Habjan | 2022-07-26 | 4 | -19/+29 | |
| | ||||||
* | chore: revert "test(functional): simplify token creation" | Nejc Habjan | 2022-07-26 | 2 | -4/+26 | |
| | | | | This reverts commit 67ab24fe5ae10a9f8cc9122b1a08848e8927635d. | |||||
* | Merge pull request #1778 from python-gitlab/jlvillal/gitlab-ee | Nejc Habjan | 2022-07-26 | 5 | -7/+89 | |
|\ | | | | | chore: enable using GitLab EE in functional tests | |||||
| * | test(ee): add an EE specific test | John L. Villalovos | 2022-07-25 | 2 | -5/+11 | |
| | | ||||||
| * | chore: enable using GitLab EE in functional tests | John L. Villalovos | 2022-07-25 | 4 | -3/+79 | |
|/ | | | | | | Enable using GitLab Enterprise Edition (EE) in the functional tests. This will allow us to add functional tests for EE only features in the functional tests. | |||||
* | test(functional): simplify token creation | Nejc Habjan | 2022-07-25 | 3 | -26/+9 | |
| | ||||||
* | Merge pull request #2184 from ↵ | Nejc Habjan | 2022-07-25 | 1 | -1/+1 | |
|\ | | | | | | | | | python-gitlab/renovate/commitizen-tools-commitizen-2.x chore(deps): update pre-commit hook commitizen-tools/commitizen to v2.29.0 | |||||
| * | chore(deps): update pre-commit hook commitizen-tools/commitizen to v2.29.0 | renovate[bot] | 2022-07-25 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #2182 from python-gitlab/renovate/commitizen-2.x | Nejc Habjan | 2022-07-25 | 1 | -1/+1 | |
|\ \ | | | | | | | chore(deps): update dependency commitizen to v2.29.0 | |||||
| * | | chore(deps): update dependency commitizen to v2.29.0 | renovate[bot] | 2022-07-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | chore(deps): update dependency mypy to v0.971 | renovate[bot] | 2022-07-24 | 1 | -1/+1 | |
| |/ |/| | ||||||
* | | chore(deps): update typing dependencies | renovate[bot] | 2022-07-24 | 2 | -4/+4 | |
|/ | ||||||
* | docs(projects): document export with upload to URL | Nejc Habjan | 2022-07-24 | 1 | -0/+13 | |
| | ||||||
* | feat(issues): add support for issue reorder API | Nejc Habjan | 2022-07-24 | 3 | -1/+57 | |
| | ||||||
* | feat(namespaces): add support for namespace existence API | Nejc Habjan | 2022-07-24 | 3 | -4/+49 | |
| | ||||||
* | Merge pull request #2173 from python-gitlab/jlvillal/config_test_fix | Nejc Habjan | 2022-07-24 | 1 | -1/+6 | |
|\ | | | | | test: fix broken test if user had config files | |||||
| * | test: fix broken test if user had config files | John L. Villalovos | 2022-07-23 | 1 | -1/+6 | |
|/ | | | | | | | Use `monkeypatch` to ensure that no config files are reported for the test. Closes: #2172 | |||||
* | feat: add support for group and project invitations API | Nejc Habjan | 2022-07-23 | 8 | -0/+331 | |
| | ||||||
* | feat(projects): add support for project restore API | Nejc Habjan | 2022-07-23 | 4 | -0/+40 | |
| | ||||||
* | chore(authors): fix email and do the ABC | Nejc Habjan | 2022-07-23 | 1 | -1/+1 | |
| | ||||||
* | refactor: migrate services to integrations | Nejc Habjan | 2022-07-23 | 5 | -55/+79 | |
| | ||||||
* | fix(runners): fix listing for /runners/all | Nejc Habjan | 2022-07-23 | 5 | -5/+68 | |
| | ||||||
* | docs: describe fetching existing export status | Nejc Habjan | 2022-07-23 | 1 | -0/+8 | |
| | ||||||
* | Merge pull request #2166 from python-gitlab/jlvillal/podman | Nejc Habjan | 2022-07-23 | 1 | -1/+1 | |
|\ | | | | | test: allow `podman` users to run functional tests | |||||
| * | test: allow `podman` users to run functional tests | John L. Villalovos | 2022-07-22 | 1 | -1/+1 | |
|/ | | | | | | | | Users of `podman` will likely have `DOCKER_HOST` set to something like `unix:///run/user/1000/podman/podman.sock` Pass this environment variable so that it will be used during the functional tests. | |||||
* | fix(config): raise error when gitlab id provided but no config section found | Nejc Habjan | 2022-07-22 | 2 | -1/+12 | |
| | ||||||
* | fix(config): raise error when gitlab id provided but no config file found | Nejc Habjan | 2022-07-22 | 2 | -0/+11 | |
| | ||||||
* | Merge pull request #1785 from python-gitlab/jlvillal/reset_gitlab | Nejc Habjan | 2022-07-22 | 1 | -48/+17 | |
|\ | | | | | chore: make reset_gitlab() better | |||||
| * | chore: make reset_gitlab() better | John L. Villalovos | 2022-07-22 | 1 | -48/+17 | |
|/ | | | | | | | | | | | | | Saw issues in the CI where reset_gitlab() would fail. It would fail to delete the group that is created when GitLab starts up. Extending the timeout didn't fix the issue. Changed the code to use the new `helpers.safe_delete()` function. Which will delete the resource and then make sure it is deleted before returning. Also added some logging functionality that can be seen if logging is turned on in pytest. | |||||
* | Merge pull request #1784 from python-gitlab/jlvillal/sidekiq | Nejc Habjan | 2022-07-22 | 2 | -29/+50 | |
|\ | | | | | chore: fixtures: after delete() wait to verify deleted | |||||
| * | chore: fixtures: after delete() wait to verify deleted | John L. Villalovos | 2022-07-21 | 2 | -29/+50 | |
| | | | | | | | | | | | | | | | | | | | | | | | | In our fixtures that create: - groups - project merge requests - projects - users They delete the created objects after use. Now wait to ensure the objects are deleted before continuing as having unexpected objects existing can impact some of our tests. | |||||
* | | Merge pull request #2163 from python-gitlab/jlvillal/lint_warning | Nejc Habjan | 2022-07-22 | 1 | -1/+2 | |
|\ \ | |/ |/| | test(api_func_v4): catch deprecation warning for `gl.lint()` | |||||
| * | test(api_func_v4): catch deprecation warning for `gl.lint()` | John L. Villalovos | 2022-07-21 | 1 | -1/+2 | |
|/ | | | | | Catch the deprecation warning for the call to `gl.lint()`, so it won't show up in the log. | |||||
* | test(functional): use both get_all and all in list() tests | Nejc Habjan | 2022-07-21 | 1 | -11/+22 | |
| | ||||||
* | fix: add `get_all` param (and `--get-all`) to allow passing `all` to API | Nejc Habjan | 2022-07-21 | 19 | -100/+158 | |
| | ||||||
* | Merge pull request #2161 from nickbroon/nickbroon-jobs_scope | Nejc Habjan | 2022-07-21 | 1 | -0/+1 | |
|\ | | | | | feat: add support for filtering jobs by scope | |||||
| * | feat: add support for filtering jobs by scope | Nick Brown | 2022-07-21 | 1 | -0/+1 | |
| | | | | | | | | | | See: 'scope' here: https://docs.gitlab.com/ee/api/jobs.html#list-project-jobs | |||||
* | | Merge pull request #2160 from python-gitlab/docs-author-add-john | Nejc Habjan | 2022-07-21 | 1 | -0/+1 | |
|\ \ | |/ |/| | docs(authors): add John | |||||
| * | docs(authors): add John | Max Wittig | 2022-07-21 | 1 | -0/+1 | |
|/ | ||||||
* | Merge pull request #1872 from python-gitlab/jlvillal/as_dict | Nejc Habjan | 2022-07-20 | 3 | -13/+148 | |
|\ | | | | | feat: add `asdict()` and `to_json()` methods to Gitlab Objects | |||||
| * | feat: add `asdict()` and `to_json()` methods to Gitlab Objects | John L. Villalovos | 2022-07-20 | 3 | -22/+129 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an `asdict()` method that returns a dictionary representation copy of the Gitlab Object. This is a copy and changes made to it will have no impact on the Gitlab Object. The `asdict()` method name was chosen as both the `dataclasses` and `attrs` libraries have an `asdict()` function which has the similar purpose of creating a dictionary represenation of an object. Also add a `to_json()` method that returns a JSON string representation of the object. Closes: #1116 | |||||
| * | fix: results returned by `attributes` property to show updates | John L. Villalovos | 2022-07-20 | 2 | -4/+32 | |
| | | | | | | | | | | | | | | | | | | Previously the `attributes` method would show the original values in a Gitlab Object even if they had been updated. Correct this so that the updated value will be returned. Also use copy.deepcopy() to ensure that modifying the dictionary returned can not also modify the object. | |||||
* | | Merge pull request #2082 from python-gitlab/jlvillal/mark_lazy_state | Nejc Habjan | 2022-07-20 | 3 | -2/+54 | |
|\ \ | |/ |/| | chore: add a `lazy` boolean attribute to `RESTObject` | |||||
| * | chore: add a `lazy` boolean attribute to `RESTObject` | John L. Villalovos | 2022-07-20 | 3 | -2/+54 | |
|/ | | | | | | | | This can be used to tell if a `RESTObject` was created using `lazy=True`. Add a message to the `AttributeError` if attribute access fails for an instance created with `lazy=True`. | |||||
* | test: add more tests for container registries | Nejc Habjan | 2022-07-20 | 1 | -4/+50 | |
| | ||||||
* | feat(api): add support for instance-level registry repositories | Nejc Habjan | 2022-07-20 | 2 | -1/+25 | |
| |