✓ These tarballs should be reproducible, meaning you should be able to generate distributables that match the official releases.
This assumes an Ubuntu (x86_64) host, but it should not be too hard to adapt to another similar system.
We distribute two tarballs, a "normal" one (the default, recommended for users), and a strictly source-only one (for Linux distro packagers). The normal tarball, in addition to including everything from the source-only one, also includes:
.mo
) locale files (in addition to source .po
locale files)_pb2.py
) protobuf files (in addition to source .proto
files)packages/
folder containing source-only pure-python runtime dependenciesInstall Docker
(worth reading even if you already have docker)
Build tarball
(set envvar OMIT_UNCLEAN_FILES=1
to build the "source-only" tarball)
$ ./build.sh
If you want reproducibility, try instead e.g.:
$ ELECBUILD_COMMIT=HEAD ELECBUILD_NOCACHE=1 ./build.sh
$ ELECBUILD_COMMIT=HEAD ELECBUILD_NOCACHE=1 OMIT_UNCLEAN_FILES=1 ./build.sh
The generated distributables are in ./dist
.
sourceonly
vs "normal" tar.gzThese scripts can either build a source-only or a "normal" tarball. The official release process builds both.
The source-only tarball is aimed at Linux distro packagers. Users wanting to run from source should typically use the normal tarball.
The differences are as follows:
packages/
folder, and they are automatically
found and used at runtime.contrib/locale/build_locale.sh
).*_pb2.py
files. These are created
using protobuf-compiler
from .proto
files (see contrib/generate_payreqpb2.sh
)Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )