-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use separate settings field for repository URL #57
Comments
Looking at GlotPress code, this won‘t be feasible without overriding the complete template file I think. Here‘s another thought I had: When we receive an incoming webhook for a given project, we store the repository type (gitlab, github, etc.) and perhaps the URL/host as project meta. In theory also the vcs type (git/hg) for Bitbucket repositories. This way when trying to clone the repository we don‘t have to figure out where it resides, which is of course useful for self-hosted GitLab and things like that. |
Ideally we‘d also have settings fields for the webhook secrets. |
That already works now.
-> #80 |
@ocean90 Can you confirm this? |
You mean project-form.php? Yes, there's no filter yet. Maybe worth creating an issue/PR? |
Opened an issue upstream: GlotPress/GlotPress#969 |
This way we don't have to guess the repsitory URL based on the "Source file URL" field.
Also, one might want to use Traduttore without having "Source file URL" set.
The text was updated successfully, but these errors were encountered: