Is it possible to have Satis generate the GitLab source URLs as https instead of git@
- Dominant language
- PHP
- Stars
- 3.3k
- Forks
- 530
- Avg merge
- 6h 53m
- Merged PRs (30d)
- 13
Description
When generating the package info `.json` file, Satis automatically generates URLs in the for of `git@gitlab.com:Foo/Bar.git`
```json
{"packages": {
"foo/bar": {
"dev-master": {
"name": "Foo/Bar",
"version": "dev-master",
"version_normalized": "9999999-dev",
"source": {
"type": "git",
"url": "git@gitlab.com:Foo/Bar.git",
"reference": "a2c204bb385d552057bd07a4f19e6b91240c217c"
},
```
**My question is:** Is there some sort of setting (such as `github-protocols`, but then for GitLab instead of GitHub) that would let Satis generate the https URL instead, so that it would look like:
```json
{"packages": {
"foo/bar": {
"dev-master": {
"name": "Foo/Bar",
"version": "dev-master",
"version_normalized": "9999999-dev",
"source": {
"type": "git",
"url": "https://gitlab.com/api/v3/projects/Foo%2FBar",
"reference": "a2c204bb385d552057bd07a4f19e6b91240c217c"
},
```
**Why this request?**
Well, the `https` version can be downloaded with a 'personal access Token' for authentication, while the `git` version requires SSH keys, which are much harder to set up and distribute.
Contributor guide
Assessment
This issue has not been assessed yet.