afragen / wp-dependency-installer

A lightweight class to add to WordPress plugins/themes to automatically install plugin dependencies.
MIT License
205 stars 32 forks source link

GitLab Deploy Tokens #32

Closed nunof07 closed 5 years ago

nunof07 commented 5 years ago

This package supports GitLab Personal Access Tokens. However, these are private tokens for a user.

GitLab also has Deploy Tokens, which are configured at the repository level (Settings > Repository > Deploy Tokens), but these don't work with the private_token query arg which this package is using.

Not sure how substantial of a change it would be, but it would be a nice addition.

Thanks!

afragen commented 5 years ago

Thanks. I’ll take a look at this.

afragen commented 5 years ago

It appears Deploy Tokens are using from the command line as in using git clone. In order to use such a process I would need to use it via an HTTP GET request.