lets establish a build process for all the build products #2034
Comments
I agree with the proposal but it raises new questions: If the build is done by the admins, it greatly increases the number of dependencies required to host searx (nodejs, npm, etc..), probably there are many administrators who would dislike installing nodejs to their servers just to be able to host searx.
|
In https://github.com/sethmlarson/hstspreload , there is a cron which build a pypi package automatically: https://pypi.org/project/hstspreload/#history Can we do something similar ? One idea, but frankly speaking I don't like too much because I'm afraid it will be burden rather than a help:
|
Its not entirely clear to me how could we use this solution in our case. Would it mean that we have to build pypi packages for every PR to be able to test it?
Yeah, I was thinking about a similar solution. Perhaps instead of a repo, we can use a build server (e.g. searx.me) to create and serve the artifacts - not sure if it would be better. |
I think same .. one word about searx versions .. We need a kind of releases to build and deploy artefacts ..Can we agree that every merge in the master is a version? At least as long as there is no concept for release management .. or should we better use a daily tag? .. any other suggestions about? |
Yup, this can be a good approach, but we still have to solve the build of the unmerged contributions to be able to run the CI and perform manual tests. |
Another idea:
But
For information:
|
In this context I want to mentioning, that 6abebc2 from PR #1938 tries to implement a model for StaticFiles. i think we have to design and describe an architecture, my suggestion is a part of PR #1938 and I tried to document all the components of resources in the doc-strings (later I will add the doc-strings to the documentation build process). |
Unfortunately I have no more time if you want to discuss the topic further .. otherwise please close / Thanks! |
Idea with pypi packageThe The external plugin feature deploys the static files into the static directory: the Would it makes sense to deploy the themes in the same way? In this case:
Doing that for the But:
Idea using worktreeIn this approach, themes are in different git repository:
Some
|
We should no longer commit build products to the repository. ATM we are committing build products like minified CSS and JS from themes, which is the cause of ongoing merge-conflicts.
Beside themes there are other topics we can generalize in a build phase. I think about the logo, there should be one logo image (e.g. a SVG used as the single source of definition) and derived logos in the themes.
More suggestions are welcome, add your toughs ...
The text was updated successfully, but these errors were encountered: