| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We were using `str.replace()` calls to take care of URL encoding
issues.
Switch them to use our `utils._url_encode()` function which itself uses
`urllib.parse.quote()`
Closes: #1356
|
|\ \
| | |
| | |
| | |
| | | |
python-gitlab/jlvillal/merge_request_merge_defaults
fix: remove default arguments for mergerequests.merge()
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The arguments `should_remove_source_branch` and
`merge_when_pipeline_succeeds` are optional arguments. We should not
be setting any default value for them.
https://docs.gitlab.com/ee/api/merge_requests.html#accept-mr
Closes: #1750
|
|\ \
| | |
| | | |
fix(cli): url-encode path components of the URL
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the CLI we need to make sure the components put into the path
portion of the URL are url-encoded. Otherwise they will be interpreted
as part of the path. For example can specify the project ID as a path,
but in the URL it must be url-encoded or it doesn't work.
Also stop adding the components of the path as query parameters in the
URL.
Closes: #783
Closes: #1498
|
| | |
| | |
| | |
| | |
| | | |
Previously c8256a5933d745f70c7eea0a7d6230b51bac0fbc was done to fix
this but it missed two other failures.
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
fix: change to `http_list` for some ProjectCommit methods
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the type-hints and use `http_list()` for the ProjectCommits methods:
- diff()
- merge_requests()
- refs()
This will enable using the pagination support we have for lists.
Closes: #1805
Closes: #1231
|
|\ \ \
| | | |
| | | | |
chore(dist): add docs *.md files to sdist
|
| | |/
| |/|
| | |
| | | |
build_sphinx to fail due to setup.cfg warning-is-error
|
|\ \ \
| |/ /
|/| | |
chore: fix missing comma
|
|/ /
| |
| |
| |
| | |
There was a missing comma which meant the strings were concatenated
instead of being two separate strings.
|
|\ \
| | |
| | | |
chore: add a stale workflow
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the stale action to close issues and pull-requests with no
activity.
Issues: It will mark them as stale after 60 days and then close
them once they have been stale for 15 days.
Pull-Requests: It will mark pull-requests as stale after 90 days and then close
them once they have been stale for 15 days.
https://github.com/actions/stale
Closes: #1649
|
|\ \
| |/
|/| |
chore: add functional test of mergerequest.get()
|
| |
| |
| |
| |
| |
| |
| | |
Add a functional test of test mergerequest.get() and
mergerequest.get(..., lazy=True)
Closes: #1425
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
chore: fix typo in MR documentation
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
chore: add test case to show branch name with period works
|
| |
| |
| |
| |
| |
| |
| | |
Add a test case to show that a branch name with a period can be
fetched with a `get()`
Closes: #1715
|
| | |
|
|\ \
| |/
|/| |
chore(deps): update dependency mypy to v0.930
|
|/ |
|
|
|
|
|
| |
This is no longer needed as all of the configuration
is handled by the CLI and can be passed as arguments.
|
|
|
|
|
|
|
|
| |
BREAKING-CHANGE: The gitlab CLI will now accept CLI arguments
and environment variables for its global options in addition
to configuration file options. This may change behavior for
some workflows such as running inside GitLab CI and with
certain environment variables configured.
|
| |
|
|\
| |
| | |
chore: fix functional test failure if config present
|
|/
|
|
|
|
|
| |
Fix functional test failure if config present and configured with
token.
Closes: #1791
|
|\
| |
| | |
fix: handle situation where gitlab.com does not return values
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a query returns more than 10,000 records than the following values
are NOT returned:
x.total_pages
x.total
Modify the code to allow no value to be set for these values. If there
is not a value returned the functions will now return None.
Update unit test so no longer `xfail`
https://docs.gitlab.com/ee/user/gitlab_com/index.html#pagination-response-headers
Closes #1686
|
| |
|
| |
|
|\
| |
| | |
chore: ensure reset_gitlab() succeeds
|
|/
|
|
|
|
|
|
|
| |
Ensure reset_gitlab() succeeds by waiting to make sure everything has
been deleted as expected. If the timeout is exceeded fail the test.
Not using `wait_for_sidekiq` as it didn't work. During testing I
didn't see any sidekiq processes as being busy even though not
everything was deleted.
|
|\
| |
| | |
chore: skip a functional test if not using >= py3.9
|
| |
| |
| |
| |
| | |
One of the tests requires Python 3.9 or higher to run. Mark the test
to be skipped if running Python less than 3.9.
|
|\ \
| |/
|/| |
chore: update version in docker-compose.yml
|
|/
|
|
|
|
|
|
|
|
|
| |
When running with docker-compose on Ubuntu 20.04 I got the error:
$ docker-compose up
ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.gitlab-network value Additional properties are not allowed ('name' was unexpected)
Changing the version in the docker-compose.yml file fro '3' to '3.5'
resolved the issue.
|
|
|
|
| |
Closes #1777
|
|\
| |
| | |
chore: generate artifacts for the docs build in the CI
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When building the docs store the created documentation as an artifact
so that it can be viewed.
This will create a html-docs.zip file which can be downloaded
containing the contents of the `build/sphinx/html/` directory. It can
be downloaded, extracted, and then viewed. This can be useful in
reviewing changes to the documentation.
See https://github.com/actions/upload-artifact for more information on
how this works.
|
|\ \
| |/
|/| |
Add some docs for getting the status of a merge_request rebase
|
| |
| |
| |
| |
| |
| |
| | |
Add and document (some of the) optional parameters that can be done
for a `project.merge_requests.get()`
Closes #1775
|