summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Reorganise the code to handle v3 and v4 objectsGauvain Pocentek2017-05-231-1/+1
| | | | | | Having objects managing both versions will only make the code more complicated, with lots of tests everywhere. This solution might generate some code duplication, but it should be maintainable.
* Add 'search' attribute to projects.list()Gauvain Pocentek2017-05-231-1/+1
| | | | projects.search() has been deprecated by Gitlab
* Add support for nested groups (#257)Matej Zerovnik2017-05-201-1/+5
|
* Deploy keys: rework enable/disableGauvain Pocentek2017-02-041-0/+16
| | | | | | | | | The method have been moved to the keys manager class as they don't make sens at all on the project keys themselves. Update doc and add tests. Fixes #196
* Add support for commit creationGauvain Pocentek2017-01-211-1/+14
| | | | Fixes #206
* Some objects need getRequires to be set to FalseGauvain Pocentek2017-01-021-0/+8
|
* Add functional tests for SnippetGauvain Pocentek2016-12-261-0/+15
|
* Add support for the notification settings APIGauvain Pocentek2016-10-231-0/+7
|
* Add support for broadcast messages APIGauvain Pocentek2016-10-231-0/+11
|
* Add support for boards APIGauvain Pocentek2016-10-231-0/+13
| | | | | | | | This is not fully usable because the gitlab API has some limitations: - not possible to create boards programmatically - not possible to get labels ID (https://gitlab.com/gitlab-org/gitlab-ce/issues/23448)
* Workaround gitlab setup failure in testsGauvain Pocentek2016-09-301-11/+16
| | | | | While running the functional tests in a venv, the token download somtimes fail. Try to get it multiple times before failing.
* Fix and test paginationGauvain Pocentek2016-09-031-0/+7
| | | | Fixes #140
* Implement user emails supportGauvain Pocentek2016-07-161-0/+7
|
* Merge branch 'label-subscribe'Gauvain Pocentek2016-06-191-0/+4
|\
| * Add support for label (un)subscribeGauvain Pocentek2016-06-191-0/+4
| |
* | add support for namespacesGauvain Pocentek2016-06-191-0/+6
|/
* implement star/unstar for projectsGauvain Pocentek2016-05-131-0/+6
|
* Deprecate Project.archive()Gauvain Pocentek2016-05-131-2/+2
|
* Rename some methods to better match the API URLsGauvain Pocentek2016-05-121-2/+4
| | | | Also deprecate the file_* methods in favor of the files manager.
* Add support for MergeRequest validationGauvain Pocentek2016-03-222-0/+35
| | | | | | Both API and CLI support this feature. fixes #105
* CI: implement user get-by-usernameGauvain Pocentek2016-02-141-0/+8
| | | | fixes #95
* define UserManager.get_by_username() to get a user by usernameRichard Hansen2016-02-121-0/+9
|
* define UserManager.search() to search for usersRichard Hansen2016-02-121-0/+12
|
* Add support for user block/unblockGauvain Pocentek2016-02-041-0/+3
|
* don't suppress docker's standard errorRichard Hansen2016-01-311-4/+4
| | | | | While docker is quite noisy, suppressing stderr makes it difficult to troubleshoot problems.
* wait for the docker container to stop before removing itRichard Hansen2016-01-311-1/+5
|
* use 'docker stop' instead of 'docker kill'Richard Hansen2016-01-311-2/+2
| | | | | | | The 'stop' command first tries SIGTERM before resorting to SIGKILL, which is a gentler way to stop processes. (SIGTERM gives processes an opportunity to clean up before exiting; SIGKILL can't be caught so it is very abrupt.)
* add more log messagesRichard Hansen2016-01-311-1/+15
|
* define a testcase() function; use it for testsRichard Hansen2016-01-312-53/+56
|
* use ${CONFIG} instead of repeating the filenameRichard Hansen2016-01-311-2/+2
|
* fix usage error messageRichard Hansen2016-01-311-1/+3
|
* improve error handlingRichard Hansen2016-01-313-35/+46
| | | | | | Break up pipelines and check the exit status of non-basic commands to ensure that any problems cause the scripts/testcases to fail right away.
* convert scripts to POSIX shell by eliminating bashismsRichard Hansen2016-01-313-17/+17
|
* quote underquoted variable expansionsRichard Hansen2016-01-313-21/+21
| | | | | | This protects against word splitting if the variable contains IFS characters, and it ensures that an empty variable doesn't become an elided argument.
* convert $GITLAB to a functionRichard Hansen2016-01-312-14/+14
| | | | This makes it possible to quote the $CONFIG variable expansion.
* convert $OK to a functionRichard Hansen2016-01-312-13/+13
| | | | This makes it possible to quote the variable expansions.
* only run deactivate if it existsRichard Hansen2016-01-311-1/+1
| | | | | The deactivate command only exists if activate is run, but cleanup() might be called before activate is run if there is an error.
* ensure that cleanup() runs if terminated by the userRichard Hansen2016-01-311-0/+1
|
* check if docker container is up when waiting for gitlabRichard Hansen2016-01-311-1/+3
| | | | | There's no point in waiting for GitLab to come up if the docker container died.
* error out if required utilities aren't installedRichard Hansen2016-01-311-0/+9
|
* use the log functions for errors and status messagesRichard Hansen2016-01-311-6/+5
| | | | | This causes the error messages to go to standard error, and it makes it easy to prefix all log messages if desired.
* add logging and error handling helper functionsRichard Hansen2016-01-311-0/+11
|
* compact some case statementsRichard Hansen2016-01-311-8/+3
|
* move common code to build_test_env.shRichard Hansen2016-01-313-45/+23
| | | | | Note that build_test_env.sh now creates and prepares the Python virtualenv (it didn't before).
* wrap long linesRichard Hansen2016-01-312-11/+24
| | | | Use line continuations to keep lines shorter than 80 columns.
* Fix Project.tree()Gauvain Pocentek2016-01-301-0/+9
| | | | Add API tests for tree(), blob() and archive().
* Add sudo supportGauvain Pocentek2016-01-301-1/+2
|
* Add support for application settingsGauvain Pocentek2016-01-271-0/+7
|
* Implement project variables supportGauvain Pocentek2016-01-243-2/+11
|
* implement project triggers supportGauvain Pocentek2016-01-241-0/+6
|