Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support for user block/unblock | Gauvain Pocentek | 2016-02-04 | 1 | -0/+3 | |
| | ||||||
* | don't suppress docker's standard error | Richard Hansen | 2016-01-31 | 1 | -4/+4 | |
| | | | | | While docker is quite noisy, suppressing stderr makes it difficult to troubleshoot problems. | |||||
* | wait for the docker container to stop before removing it | Richard Hansen | 2016-01-31 | 1 | -1/+5 | |
| | ||||||
* | use 'docker stop' instead of 'docker kill' | Richard Hansen | 2016-01-31 | 1 | -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 messages | Richard Hansen | 2016-01-31 | 1 | -1/+15 | |
| | ||||||
* | define a testcase() function; use it for tests | Richard Hansen | 2016-01-31 | 2 | -53/+56 | |
| | ||||||
* | use ${CONFIG} instead of repeating the filename | Richard Hansen | 2016-01-31 | 1 | -2/+2 | |
| | ||||||
* | fix usage error message | Richard Hansen | 2016-01-31 | 1 | -1/+3 | |
| | ||||||
* | improve error handling | Richard Hansen | 2016-01-31 | 3 | -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 bashisms | Richard Hansen | 2016-01-31 | 3 | -17/+17 | |
| | ||||||
* | quote underquoted variable expansions | Richard Hansen | 2016-01-31 | 3 | -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 function | Richard Hansen | 2016-01-31 | 2 | -14/+14 | |
| | | | | This makes it possible to quote the $CONFIG variable expansion. | |||||
* | convert $OK to a function | Richard Hansen | 2016-01-31 | 2 | -13/+13 | |
| | | | | This makes it possible to quote the variable expansions. | |||||
* | only run deactivate if it exists | Richard Hansen | 2016-01-31 | 1 | -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 user | Richard Hansen | 2016-01-31 | 1 | -0/+1 | |
| | ||||||
* | check if docker container is up when waiting for gitlab | Richard Hansen | 2016-01-31 | 1 | -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 installed | Richard Hansen | 2016-01-31 | 1 | -0/+9 | |
| | ||||||
* | use the log functions for errors and status messages | Richard Hansen | 2016-01-31 | 1 | -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 functions | Richard Hansen | 2016-01-31 | 1 | -0/+11 | |
| | ||||||
* | compact some case statements | Richard Hansen | 2016-01-31 | 1 | -8/+3 | |
| | ||||||
* | move common code to build_test_env.sh | Richard Hansen | 2016-01-31 | 3 | -45/+23 | |
| | | | | | Note that build_test_env.sh now creates and prepares the Python virtualenv (it didn't before). | |||||
* | wrap long lines | Richard Hansen | 2016-01-31 | 2 | -11/+24 | |
| | | | | Use line continuations to keep lines shorter than 80 columns. | |||||
* | Fix Project.tree() | Gauvain Pocentek | 2016-01-30 | 1 | -0/+9 | |
| | | | | Add API tests for tree(), blob() and archive(). | |||||
* | Add sudo support | Gauvain Pocentek | 2016-01-30 | 1 | -1/+2 | |
| | ||||||
* | Add support for application settings | Gauvain Pocentek | 2016-01-27 | 1 | -0/+7 | |
| | ||||||
* | Implement project variables support | Gauvain Pocentek | 2016-01-24 | 3 | -2/+11 | |
| | ||||||
* | implement project triggers support | Gauvain Pocentek | 2016-01-24 | 1 | -0/+6 | |
| | ||||||
* | Implement setting release info on a tag | Gauvain Pocentek | 2016-01-24 | 1 | -0/+3 | |
| | | | | | Add the set_release_description() method to ProjectTag. Add python API test for this method. | |||||
* | API tests for tags | Gauvain Pocentek | 2016-01-24 | 1 | -0/+5 | |
| | ||||||
* | Implement ProjectMilestone.issues() | Gauvain Pocentek | 2016-01-23 | 1 | -0/+13 | |
| | | | | | | This lists the issues related to the milestone. Add python API tests for issues. | |||||
* | fix ProjectLabel get and delete | Gauvain Pocentek | 2016-01-23 | 1 | -2/+2 | |
| | ||||||
* | wait a little before running the python tests | Gauvain Pocentek | 2016-01-23 | 1 | -0/+2 | |
| | ||||||
* | fix the API test for decode() | Gauvain Pocentek | 2016-01-23 | 1 | -4/+5 | |
| | ||||||
* | increase the timeout value for tests | Gauvain Pocentek | 2016-01-23 | 1 | -1/+1 | |
| | ||||||
* | add a decode method for ProjectFile | Gauvain Pocentek | 2016-01-23 | 1 | -0/+1 | |
| | ||||||
* | use a custom docker image for tests | Gauvain Pocentek | 2016-01-23 | 1 | -1/+1 | |
| | ||||||
* | Add an initial set of API tests | Gauvain Pocentek | 2016-01-18 | 2 | -0/+168 | |
| | ||||||
* | add some CLI tests | Gauvain Pocentek | 2016-01-17 | 1 | -3/+11 | |
| | ||||||
* | Add a script to build a test env | Gauvain Pocentek | 2016-01-10 | 2 | -58/+82 | |
| | | | | | functional_tests.sh has been split in 2 scripts to make easier the run of gitlab container. | |||||
* | functional_tests.sh: support python 2 and 3 | Gauvain Pocentek | 2015-12-29 | 1 | -2/+21 | |
| | ||||||
* | Test branch creation et deletion | Gauvain Pocentek | 2015-09-19 | 1 | -0/+12 | |
| | ||||||
* | Provide a Gitlab.from_config method | Gauvain Pocentek | 2015-08-21 | 1 | -4/+4 | |
| | | | | | It provides the Gitlab object creation from the ~/.python-gitlab.cfg, just like the CLI does. | |||||
* | Fix the update/delete CLI subcommands | Gauvain Pocentek | 2015-07-11 | 1 | -1/+9 | |
| | | | | | | Also update the testing tool to test these features. Closes #62 | |||||
* | functional_test.sh: use a venv0.9 | Gauvain Pocentek | 2015-05-15 | 1 | -2/+10 | |
| | ||||||
* | Provide a basic functional test script | Gauvain Pocentek | 2015-05-14 | 1 | -0/+89 | |
This can be used to quickly test the correct behavior of the CLI. The script is simple and doesn't test much for now, but it's a start. |