Skip to content
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

Per-project automatic suggestion configuration via API #11926

Open
nijel opened this issue Jun 24, 2024 · 1 comment · May be fixed by #13056
Open

Per-project automatic suggestion configuration via API #11926

nijel opened this issue Jun 24, 2024 · 1 comment · May be fixed by #13056
Assignees
Labels
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.

Comments

@nijel
Copy link
Member

nijel commented Jun 24, 2024

Describe the problem

Per-project automatic suggestion configuration is stored in a Project model:

machinery_settings = models.JSONField(default=dict, blank=True)

There is currently no way to configure this via the API.

Describe the solution you would like

Add machinery_settings field to the project API including validation of the settings.

Describe alternatives you have considered

No response

Screenshots

No response

Additional context

The per-service validation is already implemented in https://github.com/WeblateOrg/weblate/blob/main/weblate/machinery/management/commands/install_machinery.py and the implementation should be shared, so it needs to be factored out from there (perhaps to the Project model) and used for both command line and API.

@nijel nijel added enhancement Adding or requesting a new feature. backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. labels Jun 24, 2024
Copy link

This issue has been added to the backlog. It is not scheduled on the Weblate roadmap, but it eventually might be implemented.

In case you need this feature soon, please consider helping or push it by funding the development.

@gersona gersona linked a pull request Nov 18, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.
Projects
Status: To do
Development

Successfully merging a pull request may close this issue.

2 participants