| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | test(objects): add tests for project artifacts | Nejc Habjan | 2022-02-01 | 2 | -7/+114 | |
| | | ||||||
| * | feat(objects): add a complete artifacts manager | Nejc Habjan | 2022-02-01 | 3 | -81/+133 | |
| | | ||||||
| * | Merge pull request #1868 from python-gitlab/jlvillal/delete_label | Nejc Habjan | 2022-02-01 | 3 | -44/+17 | |
| |\ | | | | | fix: remove custom `delete` method for labels | |||||
| | * | fix: remove custom `delete` method for labels | John L. Villalovos | 2022-02-01 | 3 | -44/+17 | |
| |/ | | | | | | | | | | | | | | The usage of deleting was incorrect according to the current API. Remove custom `delete()` method as not needed. Add tests to show it works with labels needing to be encoded. Also enable the test_group_labels() test function. Previously it was disabled. Add ability to do a `get()` for group labels. Closes: #1867 | |||||
| * | Merge pull request #1866 from python-gitlab/jlvillal/arrays_2 | Nejc Habjan | 2022-02-01 | 10 | -49/+68 | |
| |\ | | | | | chore: create new ArrayAttribute class | |||||
| | * | chore: create new ArrayAttribute class | John L. Villalovos | 2022-01-30 | 10 | -49/+68 | |
| |/ | | | | | | | | | | | | | | | | | | | | | Create a new ArrayAttribute class. This is to indicate types which are sent to the GitLab server as arrays https://docs.gitlab.com/ee/api/#array At this stage it is identical to the CommaSeparatedListAttribute class but will be used later to support the array types sent to GitLab. This is the second step 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 [1] https://docs.gitlab.com/ee/api/#encoding-api-parameters-of-array-and-hash-types Related: #1698 | |||||
| * | docs: revert "chore: add temporary banner for v3" (#1864) | Wadim Klincov | 2022-01-29 | 1 | -4/+1 | |
| | | | | | | This reverts commit a349793307e3a975bb51f864b48e5e9825f70182. Co-authored-by: Wadim Klincov <wadim.klincov@siemens.com> | |||||
| * | chore(ci): do not run release workflow in forks | Nejc Habjan | 2022-01-28 | 1 | -0/+1 | |
| | | ||||||
| * | chore: release v3.1.1v3.1.1 | github-actions | 2022-01-28 | 2 | -1/+12 | |
| | | ||||||
| * | Merge pull request #1862 from thomasgl-orange/cli-fix-timeout | Max Wittig | 2022-01-27 | 2 | -2/+4 | |
| |\ | | | | | fix(cli): make 'timeout', 'per_page' and 'page' type explicit | |||||
| | * | fix(cli): make 'per_page' and 'page' type explicit | Thomas de Grenier de Latour | 2022-01-25 | 2 | -2/+3 | |
| | | | ||||||
| | * | fix(cli): make 'timeout' type explicit | Thomas de Grenier de Latour | 2022-01-25 | 1 | -0/+1 | |
| |/ | ||||||
| * | chore: use dataclass for RequiredOptional | Nejc Habjan | 2022-01-23 | 1 | -2/+4 | |
| | | ||||||
| * | chore: remove redundant list comprehension | Nejc Habjan | 2022-01-23 | 1 | -1/+1 | |
| | | ||||||
| * | style: use f-strings where applicable | Nejc Habjan | 2022-01-23 | 3 | -13/+8 | |
| | | ||||||
| * | chore: consistently use open() encoding and file descriptor | Nejc Habjan | 2022-01-23 | 4 | -9/+9 | |
| | | ||||||
| * | chore: don't explicitly pass args to super() | Nejc Habjan | 2022-01-23 | 7 | -13/+11 | |
| | | ||||||
| * | chore: always use context manager for file IO | Nejc Habjan | 2022-01-23 | 1 | -1/+2 | |
| | | ||||||
| * | style: use literals to declare data structures | Nejc Habjan | 2022-01-23 | 10 | -17/+17 | |
| | | ||||||
| * | chore: remove old-style classes | Nejc Habjan | 2022-01-23 | 8 | -16/+16 | |
| | | ||||||
| * | Merge pull request #1858 from python-gitlab/jlvillal/attribute_rename | Nejc Habjan | 2022-01-22 | 13 | -48/+63 | |
| |\ | | | | | chore: rename `types.ListAttribute` to `types.CommaSeparatedListAttribute` | |||||
| | * | chore: rename `types.ListAttribute` to `types.CommaSeparatedListAttribute` | John L. Villalovos | 2022-01-22 | 13 | -48/+63 | |
| |/ | | | | | | | | | | | This name more accurately describes what the type is. Also this is the first step in a series of steps of our goal to add full support for the GitLab API data types[1]: * array * hash * array of hashes [1] https://docs.gitlab.com/ee/api/#encoding-api-parameters-of-array-and-hash-types | |||||
| * | Merge pull request #1848 from python-gitlab/jlvillal/objects_imported | Nejc Habjan | 2022-01-22 | 1 | -0/+32 | |
| |\ | | | | | test: add a meta test to make sure that v4/objects/ files are imported | |||||
| | * | test: add a meta test to make sure that v4/objects/ files are imported | John L. Villalovos | 2022-01-22 | 1 | -0/+32 | |
| |/ | | | | | Add a test to make sure that all of the `gitlab/v4/objects/` files are imported in `gitlab/v4/objects/__init__.py` | |||||
| * | fix(cli): allow custom methods in managers | Nejc Habjan | 2022-01-22 | 3 | -4/+42 | |
| | | ||||||
| * | fix(objects): make resource access tokens and repos available in CLI | Nejc Habjan | 2022-01-22 | 2 | -0/+19 | |
| | | ||||||
| * | Merge pull request #1854 from MRigal/docs/small-releases-additions | Nejc Habjan | 2022-01-21 | 1 | -0/+9 | |
| |\ | | | | | Enhance releases API docs for CI_JOB_TOKEN usage | |||||
| | * | docs: enhance release docs for CI_JOB_TOKEN usage | Matthieu Rigal | 2022-01-21 | 1 | -0/+9 | |
| |/ | ||||||
| * | Merge pull request #1845 from python-gitlab/jlvillal/rm_httmock | Nejc Habjan | 2022-01-18 | 5 | -238/+405 | |
| |\ | | | | | Remove usage of httmock and clean up deprecations | |||||
| | * | test: convert usage of `match_querystring` to `match`jlvillal/rm_httmock | John L. Villalovos | 2022-01-16 | 4 | -101/+104 | |
| | | | | | | | | | | | In the `responses` library the usage of `match_querystring` is deprecated. Convert to using `match` | |||||
| | * | test: remove usage of httpmock library | John L. Villalovos | 2022-01-15 | 2 | -224/+388 | |
| |/ | | | | | Convert all usage of the `httpmock` library to using the `responses` library. | |||||
| * | Merge pull request #1838 from python-gitlab/jlvillal/version_mv | Nejc Habjan | 2022-01-15 | 7 | -6/+6 | |
| |\ | | | | | chore: rename `gitlab/__version__.py` to `gitlab/_version.py` | |||||
| | * | chore: rename `gitlab/__version__.py` -> `gitlab/_version.py`jlvillal/version_mv | John L. Villalovos | 2022-01-15 | 7 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is confusing to have a `gitlab/__version__.py` because we also create a variable `gitlab.__version__` which can conflict with `gitlab/__version__.py`. For example in `gitlab/const.py` we have to know that `gitlab.__version__` is a module and not the variable due to the ordering of imports. But in most other usage `gitlab.__version__` is a version string. To reduce confusion make the name of the version file `gitlab/_version.py`. | |||||
| * | | Merge pull request #1843 from python-gitlab/jlvillal/rm_httmock | Nejc Habjan | 2022-01-15 | 1 | -146/+191 | |
| |\ \ | | | | | | | test: use 'responses' in test_mixins_methods.py | |||||
| | * | | test: use 'responses' in test_mixins_methods.py | John L. Villalovos | 2022-01-14 | 1 | -146/+191 | |
| |/ / | | | | | | | | | | | Convert from httmock to responses in test_mixins_methods.py This leaves only one file left to convert | |||||
| * | | Merge pull request #1841 from python-gitlab/jlvillal/get_id | Nejc Habjan | 2022-01-15 | 3 | -3/+6 | |
| |\ \ | | | | | | | chore: create return type-hints for `get_id()` & `encoded_id` | |||||
| | * | | chore: create return type-hints for `get_id()` & `encoded_id` | John L. Villalovos | 2022-01-14 | 3 | -3/+6 | |
| |/ / | | | | | | | | | | | Create return type-hints for `RESTObject.get_id()` and `RESTObject.encoded_id`. Previously was saying they return Any. Be more precise in saying they can return either: None, str, or int. | |||||
| * | | Merge pull request #1840 from python-gitlab/docs/missing-changelog-items | Max Wittig | 2022-01-14 | 1 | -0/+8 | |
| |\ \ | | | | | | | docs(changelog): add missing changelog items | |||||
| | * | | docs(changelog): add missing changelog items | Nejc Habjan | 2022-01-14 | 1 | -0/+8 | |
| | |/ | ||||||
| * | | Merge pull request #1839 from python-gitlab/jlvillal/catch_warnings | Nejc Habjan | 2022-01-14 | 1 | -2/+2 | |
| |\ \ | |/ |/| | chore(tests): use method `projects.transfer()` | |||||
| | * | chore(tests): use method `projects.transfer()`jlvillal/catch_warnings | John L. Villalovos | 2022-01-13 | 1 | -2/+2 | |
| |/ | | | | | | When doing the functional tests use the new function `projects.transfer` instead of the deprecated function `projects.transfer_project()` | |||||
| * | chore: release v3.1.0v3.1.0 | github-actions | 2022-01-14 | 2 | -1/+13 | |
| | | ||||||
| * | test(groups): enable group transfer tests | Nejc Habjan | 2022-01-13 | 3 | -10/+11 | |
| | | ||||||
| * | chore(groups): use encoded_id for group path | Nejc Habjan | 2022-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | feat: add support for Groups API method `transfer()` | Christian Sattler | 2022-01-13 | 2 | -1/+27 | |
| | | ||||||
| * | Merge pull request #1836 from python-gitlab/jlvillal/id_to_encodedid | Nejc Habjan | 2022-01-14 | 2 | -7/+7 | |
| |\ | | | | | chore(objects): use `self.encoded_id` where applicable | |||||
| | * | chore(objects): use `self.encoded_id` where applicable | John L. Villalovos | 2022-01-13 | 2 | -7/+7 | |
| |/ | | | | | | | | Updated a few remaining usages of `self.id` to use `self.encoded_id` as for the most part we shouldn't be using `self.id` There are now only a few (4 lines of code) remaining uses of `self.id`, most of which seem that they should stay that way. | |||||
| * | Merge pull request #1835 from python-gitlab/jlvillal/id_to_encodedid | Nejc Habjan | 2022-01-14 | 2 | -3/+3 | |
| |\ | | | | | chore(objects): use `self.encoded_id` where could be a string | |||||
| | * | chore(objects): use `self.encoded_id` where could be a string | John L. Villalovos | 2022-01-13 | 2 | -3/+3 | |
| | | | | | | | | | | | Updated a few remaining usages of `self.id` to use `self.encoded_id` where it could be a string value. | |||||
| * | | chore(projects): fix typing for transfer method | Nejc Habjan | 2022-01-13 | 1 | -1/+1 | |
| | | | | | | | Co-authored-by: John Villalovos <john@sodarock.com> | |||||
