-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from igormukhingmailcom/master
Added: Ability to provide HTTP Basic Auth credentials
- Loading branch information
Showing
6 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
{ | ||
"github-oauth": { | ||
"github.com": "{{ composer_github_oauth }}" | ||
{% if composer_http_basic %} | ||
"http-basic": { | ||
{% for repository,credentials in composer_http_basic.iteritems() %} | ||
{% if loop.index0 %},{% endif %} | ||
"{{ repository }}": { | ||
"username": "{{ credentials.username }}", | ||
"password": "{{ credentials.password }}" | ||
} | ||
{% endfor %} | ||
} | ||
{% endif %} | ||
{% if composer_http_basic and composer_http_basic %},{% endif %} | ||
{% if composer_github_oauth %} | ||
"github-oauth": { | ||
"github.com": "{{ composer_github_oauth }}" | ||
} | ||
{% endif %} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters