Skip to content

Commit ec88d01

Browse files
author
Andreas Müller
committed
replace request by node native fetch. this removes the proxy, ssl insecure and dump options
1 parent e6446cb commit ec88d01

File tree

9 files changed

+51
-927
lines changed

9 files changed

+51
-927
lines changed

documentation.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* [config file](#config-file)
1515
* [time format](#time-format)
1616
* [how to use gtt as a library](#how-to-use-gtt-as-a-library)
17-
* [dumps](#dumps)
1817
* [faqs](#faqs)
1918
* [contributing](#contributing)
2019
* [support further development 🍺](#support-further-development)
@@ -219,11 +218,8 @@ Resume the last activity (--ask let you choose the activity to resume)
219218

220219
```shell
221220
gtt sync
222-
gtt sync --proxy="http://localhost:8888"
223221
```
224222

225-
You can pass an url to the proxy option if you want to use a proxy server.
226-
227223
### III) reports
228224

229225
Get a report for the time tracking data stored on GitLab. If you want to include your local data make sure to sync it
@@ -459,12 +455,6 @@ gtt report --include_labels=pending --include_labels=approved
459455
gtt report --exclude_labels=bug --exclude_labels=feature
460456
```
461457

462-
#### Use a proxy server
463-
464-
```shell
465-
gtt report --proxy="http://localhost:8080"
466-
```
467-
468458
#### Output verbose debug information
469459

470460
```shell
@@ -490,14 +480,6 @@ url: http://gitlab.com/api/v4/
490480
# [required]
491481
token: abcdefghijklmnopqrst
492482

493-
# Use a proxy server
494-
# defaults to false
495-
proxy: http://localhost:8080
496-
497-
# Don't check SSL certificate
498-
# defaults to false
499-
insecure: true
500-
501483
# Project
502484
# defaults to false
503485
project: namespace/projectname
@@ -798,10 +780,6 @@ timeFormat: "[%sign][%hours_overall:2]"
798780
18,25
799781
```
800782

801-
## dumps
802-
803-
Starting with 1.7.4 gtt can dump the results of all API requests within a report and use it on another machine without access to the GitLab instance itself. This is very useful for debugging purposes. If you stumble upon a bug which could be unique to your set of data, please rerun the report with these options to save a dump to the given file: `--output=dump --file=/path/dump.json` Check your dump for sensitive information and provide it when asked.
804-
805783
## faqs
806784

807785
#### What is the difference between 'total spent' and 'spent'?

0 commit comments

Comments
 (0)