Open Beheer80 opened 7 years ago
Was just wondering the same thing but for a private github repo.
In your example you provide:
// This is an example of how to include a plugin from a GitHub repository in your theme.
// This presumes that the plugin code is based in the root of the GitHub repository
// and not in a subdirectory ('/src') of the repository.
array(
'name' => 'Adminbar Link Comments to Pending',
'slug' => 'adminbar-link-comments-to-pending',
'source' => 'https://github.com/jrfnl/WP-adminbar-comments-to-pending/archive/master.zip',
),
but preferably it would be great to have a space for a token to download from a private repo.
I've searched but didn't see any one asking.
Love this script!
At this moment, there is no simple way I can think of of doing this. Getting things to work with GH downloads was interesting in itself. By their very nature, a private repo is, well, private, so the security implications of downloading things from a private repo would need to be considered, not so much in TGMPA itself, but for the themes and plugins which include it.
I'd be happy to look at a pull request for this though and welcome anyone who's interested in such a feature to create one.
Just to chime in, I'd also be interested in this feature. It could work in a similar way to https://github.com/YahnisElsts/plugin-update-checker#bitbucket-integration
I am also in need of this feature. Downloading from a private repo with access token would be a great solution!
Hello,
Is there a way to get a plugin from a Private repo on Bitbucket?