Coder Social home page Coder Social logo

Static files: build process about searxng HOT 3 CLOSED

searxng avatar searxng commented on July 18, 2024
Static files: build process

from searxng.

Comments (3)

return42 avatar return42 commented on July 18, 2024

My 2cent ...

In first order we should separate source code from the ./searx/static folder. That we mix source files and static files is what me confuse all the time and makes it hard to to manage with git / e.g. a simple git add -all ./searx/static should add only static files and not the sources (vice versa).

The problem with the commits that mixes patches of source files and static files can first be solved organizationally by defining simple rules, e.g:

"separate ./searx/static into a single commit at the end of your patch series"

ATM we do not have many contributors and if a PR mixes both (static & source) into one commit, we (the maintainers) have write access to the branch of the PR and we can split and reorder the commits in a rebase.

Later we can add some cleverness to ./manage and Makefile .. I think.

update: while we are on the way of static files we should also cover the ./searx/data files.

from searxng.

dalf avatar dalf commented on July 18, 2024

See #141

from searxng.

dalf avatar dalf commented on July 18, 2024

In the PR #157, I use https://gist.github.com/dalf/c73c59f96972ee7cf904a7861f9b0cb5 to manage the "Build Static" commit.

from searxng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.