Contribute to SliTaz
5.1
SliTaz is made by volunteers and everyone is welcome: testing, bug reports, packages, code, translations and documentation. Introduce yourself on the forum and say what you would like to do. The developer pages of the site, Forge and Release guide, explain how the project works.
To write or fix a page on this wiki, see Contribute.
Test
- Development ISO images are published on lab.slitaz.org. Try them on your machines, old and new, and in a virtual machine.
- TazHelper (on the dock,
tazhelperin text mode) runs automatic checks, guides you through a checklist and sends an anonymous test report. See the TazHelper manual. - Install packages from pkgs.slitaz.org with
spk-addand report what is broken.
Report bugs
Open Report a bug from the dock or the Dash, describe the problem and send. In text mode:
$ filature-report
Once a developer accepts a report, it becomes a public bug on Filature, where you can follow it. See Handbook: Reporting a bug.
For a question rather than a bug, ask on the forum and attach the output
of trame system report. Share long logs on
paste.slitaz.org.
Make packages
A package is built by cook from a receipt, a small shell file in the
wok. As root, install cookutils and Mercurial, get the cooking wok,
create a receipt and cook it:
# spk-add cookutils mercurial
# cook setup --wok
# cook new mypkg
# nano /home/slitaz/wok/mypkg/receipt
# cook mypkg
cook setup --wok installs the build tools and clones the wok from
hg.slitaz.org into /home/slitaz/wok.
The package lands in /home/slitaz/packages/. cook never installs what
it builds: test it yourself.
# spk-add /home/slitaz/packages/mypkg-*.tazpkg
Read before you start:
- Handbook: Build your own
- Cookutils manual and Receipts v2
- Forge: building SliTaz packages, for the choice and the naming of packages
One package per task, the lightest tool that does the job. When the receipt builds and the package works, post it on the forum for review. Once pushed to the wok, the build host cooks it and publishes it on the mirror: follow it on cook.slitaz.org.
Fix the code
The source of every SliTaz tool, of the handbook and of the website is in the Mercurial repositories on hg.slitaz.org. TazTerm and TazLab are on GitHub. Anyone can clone a repository:
# spk-add mercurial
$ hg clone https://hg.slitaz.org/tazinst
Set your name in ~/.hgrc before your first commit, and never work as
root:
[ui]
username = FirstName LastName <you@example.com>
Fix, commit, then send the change to the forum or the mailing list as a patch:
$ hg export -r tip > my-fix.patch
Tools are POSIX shell first, simple and readable: keep it small and do not duplicate what exists.
Become a developer
Pushing to hg.slitaz.org needs a developer account. Write access is over
SSH only, with a key: no password. Generate an ed25519 key and send the
public line to an admin or to the developers. The
Forge gives the commands,
the SSH address of the repositories and the setup to pull over HTTPS and
push over SSH. Always hg pull before hg push.
Active contributors also meet in the SliTaz Core group, see the developers corner.
Translate
- The tools are translated with gettext: the
po/directory of each repository holds the.pottemplate and one.pofile per language (fr.po,pt_BR.po…). Start from the template or complete an existing file, and send it as a patch. - The website comes in several languages, from the website repository. The Internationalization page lists them.
- The handbook has French, Portuguese and Turkish translations in the slitaz-doc repository.
- Wiki pages: see Translating.
Ask on the forum which language and files need help.
Write documentation
- doc.slitaz.org is the official documentation, written by the developers. To improve the handbook, send a patch against the slitaz-doc repository, or report what is wrong on Filature or the forum.
- This wiki holds community guides: pick a page, check which release it was tested on and update it for the current one. See Contribute for how to write here.