press
press copied to clipboard
Support for multiple code hosting platforms
Currently, only projects/apps hosted on GitHub can be fetched on Frappecloud. It would be great to have support for other popular hosting platforms such as Bitbucket and GitLab.
gitlab can be prioritized first, quite a lot of community apps are on gitlab 😬
Please consider Gitlab-CE (the self-hosted version where repo URLs might not have a traditional Gitlab SAAS prefix) in your workflow while implementing the same.
I have done an implementation of this feature, with one access token per app source (see below).
Is this feature still relevant and desired?
Should I add a table in Press Settings where there is a server
to token
mapping, or should the token be provided by the App authors when importing it? (Token for private repos is obtained by creating a bot user on all relevant servers, and adding it to all relevant projects with the Reporter role, and creating an access token with read_api + read_repository permissions if I remember correctly).