Skip to content

Bintray configuration doesn't support bintray organizations #848

@jimm1419

Description

@jimm1419
  • Version: 7.14.2
  • Target: macOS & Win NSIS

Currently BintrayClient does not support bintray accounts with organizations, using the same value owner for authentication and api URL's.

In the case of a bintray account with an organization, the api URL and user is different.

this.auth = apiKey == null ? null : `Basic ${ new Buffer(`${ owner }:${ apiKey }`).toString("base64") }`;
this.basePath = `/packages/${ this.owner }/${ this.repo }/${ this.packageName }`;

would probably be something like this:

this.auth = apiKey == null ? null : `Basic ${ new Buffer(`${ user }:${ apiKey }`).toString("base64") }`;
this.basePath = `/packages/${ this.owner }/${ this.repo }/${ this.packageName }`;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions