Improve build (contribute) documentation: Suggestions, Questions & PR
@IAmJafeth ya está trabajando en esto.
Desde el 23/11/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
I was attempting to build zen to test a patch/fix I wanted to submit to the project. I was initially unable to get Zen built on MacOS, with different issues on Apple Silicon and Intel based macs running the latest stable OS release.
I noticed that the contribute documentation is a little inaccurate for mac & Linux builds. It also doesn't address the core problem I encountered building Zen, which I think might hit a number of folks.
To that end, I've made an update to the contribute page of the documentation and, if you're amenable to it, I'd like to work my way to a PR. Otherwise, if you're open to PRs, I can simply start one with what I've got and we we can work our way through it there.
Updated Doc
You can see my updated version of the doc here: https://github.com/zen-browser/docs/blob/083a8b18a3d436c62b97c755ce5e303037432d01/content/contribute/desktop.md
Highlights
- Specify a compatible Python version. While I created a venv for the install (which I think all contributors should be advised to do), Python 3.13 was no bueno. I had to use Python 3.11 to get it to work reliably. I haven't tested with 3.12.
- Same goes for Node; a target version or target minimum (or maximum) version would be nice. I used 22 LTS for this project, using NVM.
- Note that MozillaBuild is only needed for Windows builds.
Ephemera
A personal opinion here, but I liked that you didn't bother with explaining how to install the required tools. I think that's a good low-bar for most potential contributors.
I do think versions are critical though—and I've even added a step to set up virtual environments for both in my suggestion. However, that would add NVM as an additional requirement.
Update: I noticed this page was a near duplicate with even less info: https://docs.zen-browser.app/building - perhaps I can help consolidate as well.
- Lenguaje dominante
- MDX
- Estrellas
- 206
- Forks
- 122
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de zen-browser/docs
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
zen-browser/docs#300 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
zen-browser/docs#292 · 1 comentario ·
-
Add docs about "boost"Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
zen-browser/docs#280 ·
-
Fix ambiguous keyboard shortcut for developer toolsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
zen-browser/docs#277 · 1 reacción ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
zen-browser/docs#271 ·