author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
603,660 | 11.10.2022 20:12:50 | -10,800 | f45b830bc9b69f3a8c3e5bbb0a34cf869a7f0e6f | [Chore] Update nix building
Problem: Since `v15.0-rc1`, binaries were
renamed. Thus, building process should be updated.
Solution: Update packages names. | [
{
"change_type": "MODIFY",
"old_path": "flake.lock",
"new_path": "flake.lock",
"diff": "\"opam-repository\": {\n\"flake\": false,\n\"locked\": {\n- \"lastModified\": 1664884700,\n- \"narHash\": \"sha256-tnbz1RmTs0W7nNeWA+749/Ca044VZFWuLkdH/C324kM=\",\n+ \"lastModified\": 1665559776,\n+ \"narHash\": ... | Python | MIT License | serokell/tezos-packaging | [Chore] Update nix building
Problem: Since `v15.0-rc1`, binaries were
renamed. Thus, building process should be updated.
Solution: Update packages names. |
603,660 | 11.10.2022 20:21:09 | -10,800 | 751ccbb24376187c152fd7b758dab3d7ee0a70a6 | [Chore] Update static build
Problem: Since `v15.0-rc1`, binaries were renamed.
Solution: Update artifact names produced by static build. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -54,9 +54,9 @@ steps:\n- eval \"$SET_VERSION\"\n- cd docker\n- ./docker-static-build.sh\n- - nix shell .#upx -c upx tezos-*\n+ - nix shell .#upx -c upx octez-*\nartifact_paths... | Python | MIT License | serokell/tezos-packaging | [Chore] Update static build
Problem: Since `v15.0-rc1`, binaries were renamed.
Solution: Update artifact names produced by static build. |
603,660 | 11.10.2022 21:28:06 | -10,800 | 7372c03a88748d481500a65f8f856a44df535e2b | [Chore] Update ubuntu and fedora packaging
Problem: We decided to keep previous package names.
Solution: Create symlinks with legacy names to actual binaries. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -232,7 +232,8 @@ class TezosBinaryPackage(AbstractPackage):\n# We'll be using the pre-built binaries as source.\nif binaries_dir:\n- shutil.copy(f\"{binaries_dir}/{self.name}\", self.... | Python | MIT License | serokell/tezos-packaging | [Chore] Update ubuntu and fedora packaging
Problem: We decided to keep previous package names.
Solution: Create symlinks with legacy names to actual binaries. |
603,660 | 12.10.2022 10:51:27 | -10,800 | 61444dbff6166494a2f26123945cbd6a6d88b1c1 | [Chore] Update `flake.nix`
Problem: Flake output `overlay` is deprecated.
Solution: Use `overlays.default`. | [
{
"change_type": "MODIFY",
"old_path": "flake.nix",
"new_path": "flake.nix",
"diff": "devShells.\"aarch64-darwin\".autorelease-macos =\nimport ./scripts/macos-shell.nix { pkgs = pkgs-darwin; };\n- overlay = final: prev: nixpkgs.lib.composeManyExtensions [\n+ overlays.default = final: prev: nixpkgs.l... | Python | MIT License | serokell/tezos-packaging | [Chore] Update `flake.nix`
Problem: Flake output `overlay` is deprecated.
Solution: Use `overlays.default`. |
603,660 | 12.10.2022 13:10:25 | -10,800 | 99a510523bde4be8b278d0647cbfc6c8e2347d8f | [Chore] Support limanet
Problem: Test network `limanet` is running.
Solution: Add support for it. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/packages.py",
"new_path": "docker/package/packages.py",
"diff": "@@ -17,11 +17,13 @@ from .systemd import Service, ServiceFile, SystemdUnit, Unit, Install\nnetworks = {\n\"mainnet\": \"mainnet\",\n\"ghostnet\": \"ghostnet\",\n+ \"limanet\": \"ht... | Python | MIT License | serokell/tezos-packaging | [Chore] Support limanet
Problem: Test network `limanet` is running.
Solution: Add support for it. |
603,660 | 12.10.2022 13:15:42 | -10,800 | 810387bdb23be947b0ef45c7c94a74cb869d1fa0 | [Chore] Remove obsolete formulae
Problem: Jakartanet is down, and
jakarta protocol deprecated.
Solution: Remove jakarta-related formulae. | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build-bottles.yml",
"new_path": ".github/workflows/build-bottles.yml",
"diff": "@@ -17,7 +17,7 @@ jobs:\nmatrix:\nos: [ { id: macos-12, name: \"monterey\" } ]\n# we don't bottle meta-formulas that contain only services\n- formula: [tezos-accu... | Python | MIT License | serokell/tezos-packaging | [Chore] Remove obsolete formulae
Problem: Jakartanet is down, and
jakarta protocol deprecated.
Solution: Remove jakarta-related formulae. |
603,660 | 13.10.2022 11:10:48 | -10,800 | 81e140bd2ccae11388cbf532b48cd7de39efd512 | [Chore] Reset `tezos-baking` letter version
Problem: Letter version should be reset when
native release is bumped.
Solution: Reset it. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -511,7 +511,7 @@ class TezosBakingServicesPackage(AbstractPackage):\n# native releases, so we append an extra letter to the version of\n# the package.\n# This should be reset to \"\" ... | Python | MIT License | serokell/tezos-packaging | [Chore] Reset `tezos-baking` letter version
Problem: Letter version should be reset when
native release is bumped.
Solution: Reset it. |
603,660 | 13.10.2022 13:11:27 | -10,800 | 4da0e27fe1c9752261a6b742b2ca74a30d522a2f | [Chore] Add formulae for lima protocol
Problem: New lima protocol was introduced.
Solution: Provide `lima`-specific binaries and
`limanet`-node. | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build-bottles.yml",
"new_path": ".github/workflows/build-bottles.yml",
"diff": "@@ -17,8 +17,7 @@ jobs:\nmatrix:\nos: [ { id: macos-12, name: \"monterey\" } ]\n# we don't bottle meta-formulas that contain only services\n- formula: [tezos-accu... | Python | MIT License | serokell/tezos-packaging | [Chore] Add formulae for lima protocol
Problem: New lima protocol was introduced.
Solution: Provide `lima`-specific binaries and
`limanet`-node. |
603,660 | 13.10.2022 13:37:11 | -10,800 | 527dd2b061c01871bc88122f187525cb362aebd7 | [Chore] Rename env variable
Problem: To be consistent, we should
rename `TEZOS_VERSION`.
Solution: Rename it and update codebase. Also remove
useless inputs to devShell. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-for-tags.yml",
"new_path": ".buildkite/pipeline-for-tags.yml",
"diff": "env:\nUSE_NEWER_NIX: 1\n- SET_VERSION: \"export TEZOS_VERSION=\\\"$(cat meta.json | jq -r '.tezos_ref' | cut -d'/' -f3)\\\"\"\n+ SET_VERSION: \"export OCTEZ_VERSION=\\\... | Python | MIT License | serokell/tezos-packaging | [Chore] Rename env variable
Problem: To be consistent, we should
rename `TEZOS_VERSION`.
Solution: Rename it and update codebase. Also remove
useless inputs to devShell. |
603,660 | 14.10.2022 17:15:09 | -10,800 | 0818157b1d39584998abc041345ba1237634d1f4 | [Chore] Move rust install to another layer
Problem: Step with installing rust doesn't
seem to change with time and shared between all build.
Solution: Move it to another `RUN` call so that it would be
taken from cache. | [
{
"change_type": "MODIFY",
"old_path": "docker/build/Dockerfile",
"new_path": "docker/build/Dockerfile",
"diff": "@@ -8,6 +8,8 @@ RUN apk --no-cache --virtual add rsync git m4 build-base patch unzip \\\nautoconf automake libtool linux-headers cargo libffi-dev zlib-static coreutils\nCOPY ./build/buil... | Python | MIT License | serokell/tezos-packaging | [Chore] Move rust install to another layer
Problem: Step with installing rust doesn't
seem to change with time and shared between all build.
Solution: Move it to another `RUN` call so that it would be
taken from cache. |
603,660 | 17.10.2022 11:54:54 | -10,800 | 790bcac938b25848ff41688b4a35820896e738ff | [Chore] Update documentation
Problem: Since `v15.0-rc1`, `jakarta` was deprecated and
binaries were renamed.
Solution: Update the docs accordingly. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "[](https://buildkite.com/serokell/tezos-packaging)\n-This repo provides various forms of distribution... | Python | MIT License | serokell/tezos-packaging | [Chore] Update documentation
Problem: Since `v15.0-rc1`, `jakarta` was deprecated and
binaries were renamed.
Solution: Update the docs accordingly. |
603,650 | 18.10.2022 22:30:09 | -7,200 | f8d0cbcd8b6c0937c755faab0ff8d77824938fe2 | [Chore] Remove jakarta baker from test build and docs
Problem: test builds in CI try to build the jakarta baker
for a quick binary package building test, but that baker no
longer exist.
Additionally, some instructions in docs mention it too.
Solution: Remove jakarta baker from binary package tests builds
and from documentation. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -117,7 +117,7 @@ steps:\n- eval \"$SET_VERSION\"\n# Building all binary packages will take significant amount of time, so we build only one\n# in order to ensure package gener... | Python | MIT License | serokell/tezos-packaging | [Chore] Remove jakarta baker from test build and docs
Problem: test builds in CI try to build the jakarta baker
for a quick binary package building test, but that baker no
longer exist.
Additionally, some instructions in docs mention it too.
Solution: Remove jakarta baker from binary package tests builds
and from documentation. |
603,650 | 19.10.2022 01:07:06 | -7,200 | 73a60982e94518ccfcc88af6d5a1d4bb8d97fe8e | [Chore] Fixup fedora binary packaging
Problem: docker packaging of binary in fedora is broken
because of outdated uses of the package name instead of
the (new) binaries name.
Solution: fixup fedora binary packaging by using the
binaries name where needed in the process. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -286,6 +286,7 @@ Description: {self.desc}\nf.write(file_contents)\ndef gen_spec_file(self, build_deps, run_deps, out):\n+ binary_name = self.name.replace(\"tezos\", \"octez\")\nbuild_... | Python | MIT License | serokell/tezos-packaging | [Chore] Fixup fedora binary packaging
Problem: docker packaging of binary in fedora is broken
because of outdated uses of the package name instead of
the (new) binaries name.
Solution: fixup fedora binary packaging by using the
binaries name where needed in the process. |
603,660 | 19.10.2022 17:11:01 | -10,800 | 073215ab0842e2cc32ed4eecbb72119bd51359e4 | [Chore] Symlink new and legacy names on fedora
Problem: Fedora packages lack `tezos`-based executables.
Solution: Symlink `octez`-based binaries with `tezos` ones. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -323,10 +323,12 @@ Maintainer: {self.meta.maintainer}\nmake {binary_name}\nmkdir -p %{{buildroot}}/%{{_bindir}}\ninstall -m 0755 {binary_name} %{{buildroot}}/%{{_bindir}}\n+ln -s %{{_... | Python | MIT License | serokell/tezos-packaging | [Chore] Symlink new and legacy names on fedora
Problem: Fedora packages lack `tezos`-based executables.
Solution: Symlink `octez`-based binaries with `tezos` ones. |
603,660 | 20.10.2022 10:41:56 | -10,800 | 1780bd852eba5cc833f9d281e15461d018de6cab | [Chore] Tweak symlinking during installation
Problem: Packages may fail to upgrade, since
`ln` refuses to work in presence of file in place of symlink.
Solution: Add `--force` option to `ln`. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -323,7 +323,7 @@ Maintainer: {self.meta.maintainer}\nmake {binary_name}\nmkdir -p %{{buildroot}}/%{{_bindir}}\ninstall -m 0755 {binary_name} %{{buildroot}}/%{{_bindir}}\n-ln -s %{{_bi... | Python | MIT License | serokell/tezos-packaging | [Chore] Tweak symlinking during installation
Problem: Packages may fail to upgrade, since
`ln` refuses to work in presence of file in place of symlink.
Solution: Add `--force` option to `ln`. |
603,660 | 24.10.2022 12:23:55 | -10,800 | f58e6de7c0f2a150bd8d83643d12f94039e71245 | Provide tezos packages for nix
Problem: After rename, tezos-based packages are
no longer available. However, they still heavily
used in nix infrastructure, as well as legacy binary
names.
Solution: Provide tezos packages as well as octez packages and
provide symlinks with legacy names for the former one. | [
{
"change_type": "MODIFY",
"old_path": "flake.nix",
"new_path": "flake.nix",
"diff": "callPackage = pkg: input:\nimport pkg (inputs // { inherit sources protocols meta pkgs; } // input);\n- binaries = callPackage ./nix {};\n+ inherit (callPackage ./nix {}) octez-binaries tezos-binaries;\nrelease = c... | Python | MIT License | serokell/tezos-packaging | [#544] Provide tezos packages for nix
Problem: After rename, tezos-based packages are
no longer available. However, they still heavily
used in nix infrastructure, as well as legacy binary
names.
Solution: Provide tezos packages as well as octez packages and
provide symlinks with legacy names for the former one. |
603,660 | 24.10.2022 12:25:50 | -10,800 | b1915d8a755ec505f34e82ea0c018ddc9c513e56 | [Chore] Minor fixes for nix files
Problem:
* There is better solution for providing attibutes for impure
evaluation.
* Devshell lacks `gh` utility.
Solution: Provide it. | [
{
"change_type": "MODIFY",
"old_path": "default.nix",
"new_path": "default.nix",
"diff": "@@ -11,7 +11,5 @@ let\n}\n) { src = ./.; })\ndefaultNix;\n-in defaultNix // defaultNix.devShells.${__currentSystem}\n- // { binaries-test = defaultNix.binaries-test.${__currentSystem};\n- release = defaultNix.r... | Python | MIT License | serokell/tezos-packaging | [Chore] Minor fixes for nix files
Problem:
* There is better solution for providing attibutes for impure
evaluation.
* Devshell lacks `gh` utility.
Solution: Provide it. |
603,660 | 27.10.2022 10:28:40 | -10,800 | d471402e2b2aa5532258e7cd942f2a338a265138 | Update documentation
Problem: Fedora 34 has reached its EOL so,
per our support policy we no longer need to support it.
OTOH Fedora 36 is now a stable release so, following the same policy,
we should instead support it.
Solution: Support Fedora 36 and deprecate Fedora 34. | [
{
"change_type": "MODIFY",
"old_path": "docs/support-policy.md",
"new_path": "docs/support-policy.md",
"diff": "@@ -38,8 +38,8 @@ There are packages for `arm64` and `amd64` architectures.\nWe aim to provide packages for all [currently supported Fedora releases](https://docs.fedoraproject.org/en-US/r... | Python | MIT License | serokell/tezos-packaging | [#534] Update documentation
Problem: Fedora 34 has reached its EOL so,
per our support policy we no longer need to support it.
OTOH Fedora 36 is now a stable release so, following the same policy,
we should instead support it.
Solution: Support Fedora 36 and deprecate Fedora 34. |
603,660 | 27.10.2022 15:52:03 | -10,800 | fcf1cb80de40228c21e4e8da530a0d95831e32b8 | Add gcc compilation flag
Problem: Compilation of `bls12-381` fails
on Fedora 36 due to missing `-fPIC` flag.
Solution: Add it. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/scripts/build-binary.sh",
"new_path": "docker/package/scripts/build-binary.sh",
"diff": "@@ -19,6 +19,7 @@ opams=()\nwhile IFS= read -r -d $'\\0'; do\nopams+=(\"$REPLY\")\ndone < <(find ./vendors ./src ./tezt ./opam -name \\*.opam -print0)\n+exp... | Python | MIT License | serokell/tezos-packaging | [#534] Add gcc compilation flag
Problem: Compilation of `bls12-381` fails
on Fedora 36 due to missing `-fPIC` flag.
Solution: Add it. |
603,660 | 27.10.2022 17:34:35 | -10,800 | ee538b598faf8044537e7e8a0e6dea7849ac9ef7 | [Chore] Use relevant fedora image for build
Problem: Lowest supported fedora version is 35, however
we use 32 image.
Solution: Use 35 image and add some build deps. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/Dockerfile-fedora",
"new_path": "docker/package/Dockerfile-fedora",
"diff": "# SPDX-FileCopyrightText: 2021 Oxhead Alpha\n# SPDX-License-Identifier: LicenseRef-MIT-OA\n-FROM fedora:32\n+FROM fedora:35\nRUN dnf update -y\nRUN dnf install -y libev... | Python | MIT License | serokell/tezos-packaging | [Chore] Use relevant fedora image for build
Problem: Lowest supported fedora version is 35, however
we use 32 image.
Solution: Use 35 image and add some build deps. |
603,660 | 27.10.2022 18:56:00 | -10,800 | 8234a6243310a24968bd933bc66ed86c9dce23fc | [Chore] Hotfix dev shells use
Problem: It was decided to substitube current system
attribute for impure builds generically, rather than pick
specific ones. But shebangs were not updated.
Solution: To be consistent, remove shebangs and
run script in `niv develop` environment. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-for-tags.yml",
"new_path": ".buildkite/pipeline-for-tags.yml",
"diff": "@@ -31,7 +31,7 @@ steps:\ncommands:\n- eval \"$SET_VERSION\"\n- buildkite-agent artifact download \"out/*\" . --step build-source-packages\n- - ./scripts/publish-native... | Python | MIT License | serokell/tezos-packaging | [Chore] Hotfix dev shells use
Problem: It was decided to substitube current system
attribute for impure builds generically, rather than pick
specific ones. But shebangs were not updated.
Solution: To be consistent, remove shebangs and
run script in `niv develop` environment. |
603,660 | 28.10.2022 15:41:40 | -10,800 | f8cfab822a3a0df4cc7be646d97f22ed382713bf | Fix baking services names
Problem: `Requires` field in systemd services
configuration files were awaited lowercased
services names. However, on fedora, they were
installed with original casing, which
cause an error in the end of the baking setup
procedure.
Solution: Lowercase systemd services names for both fedora and ubuntu. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/fedora.py",
"new_path": "docker/package/fedora.py",
"diff": "@@ -24,10 +24,16 @@ def build_fedora_package(\npkg.gen_buildfile(\"/\".join([dir, pkg.buildfile]), binaries_dir)\npkg.gen_license(f\"{dir}/LICENSE\")\nfor systemd_unit in pkg.systemd_u... | Python | MIT License | serokell/tezos-packaging | [#550] Fix baking services names
Problem: `Requires` field in systemd services
configuration files were awaited lowercased
services names. However, on fedora, they were
installed with original casing, which
cause an error in the end of the baking setup
procedure.
Solution: Lowercase systemd services names for both fedora and ubuntu. |
603,660 | 02.11.2022 16:12:07 | -10,800 | 65ea4b146d80fb319ca536e1225a132d9e35f312 | Add `tezos-node` as dep for `tezos-baking`
Problem: `tezos-baking` does not depends on `tezos-node`,
thus does not install it, resulting in error during setup.
Solution: Add `tezos-node` as native dep for `tezos-baking`. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -557,10 +557,12 @@ class TezosBakingServicesPackage(AbstractPackage):\ntarget_networks: List[str],\nnetwork_protos: Dict[str, List[str]],\nmeta: PackagesMeta,\n+ additional_native_dep... | Python | MIT License | serokell/tezos-packaging | [#557] Add `tezos-node` as dep for `tezos-baking`
Problem: `tezos-baking` does not depends on `tezos-node`,
thus does not install it, resulting in error during setup.
Solution: Add `tezos-node` as native dep for `tezos-baking`. |
603,660 | 02.11.2022 19:52:01 | -10,800 | 75fb1239ff5e04b06319077cc709ca5f043aaac6 | Bump release version
Problem: `tezos-baking` was updated and there is
need for new release.
Solution: Increment release version and add letter version. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -514,7 +514,7 @@ class TezosBakingServicesPackage(AbstractPackage):\n# native releases, so we append an extra letter to the version of\n# the package.\n# This should be reset to \"\" ... | Python | MIT License | serokell/tezos-packaging | [#557] Bump release version
Problem: `tezos-baking` was updated and there is
need for new release.
Solution: Increment release version and add letter version. |
603,650 | 28.10.2022 00:31:06 | -7,200 | dd3b93ea3b66867c806116e0e420a99fd7c9e803 | Support multiple environment files in systemd unit
Problem: in our docker python scripts we only support defining
one environment file per systemd unit, however the latter allow
for multiple definitions which would be a useful feature to have.
Solution: modify the python scripts to support multiple environment
files definitions in systemd units. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/fedora.py",
"new_path": "docker/package/fedora.py",
"diff": "@@ -26,10 +26,10 @@ def build_fedora_package(\nfor systemd_unit in pkg.systemd_units:\n# lowercase package name for consistency between different os\nname_lower = pkg.name.lower()\n- i... | Python | MIT License | serokell/tezos-packaging | [#517] Support multiple environment files in systemd unit
Problem: in our docker python scripts we only support defining
one environment file per systemd unit, however the latter allow
for multiple definitions which would be a useful feature to have.
Solution: modify the python scripts to support multiple environment
files definitions in systemd units. |
603,650 | 04.11.2022 12:15:19 | -3,600 | b958e53045f4434847c5b988eeb518c8f027fd85 | Support config appends to default files
Problem: it would be useful to append entries to
default configuration files for systemd services, in
order to avoid repetition for small differences.
Solution: Support config append definitions to add
some entries to the file with defaults. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/fedora.py",
"new_path": "docker/package/fedora.py",
"diff": "@@ -44,10 +44,12 @@ def build_fedora_package(\ndefault_name = (\nunit_name if systemd_unit.instances is None else f\"{unit_name}@\"\n)\n- shutil.copy(\n- f\"{cwd}/defaults/{systemd_uni... | Python | MIT License | serokell/tezos-packaging | [#517] Support config appends to default files
Problem: it would be useful to append entries to
default configuration files for systemd services, in
order to avoid repetition for small differences.
Solution: Support config append definitions to add
some entries to the file with defaults. |
603,650 | 03.11.2022 23:30:18 | -3,600 | 9f678d711950fa0d1ad621c8aa7bd11efdda03c7 | [Chore] Fix mk_full_url when path is None | [
{
"change_type": "MODIFY",
"old_path": "docker/package/wizard_structure.py",
"new_path": "docker/package/wizard_structure.py",
"diff": "@@ -276,6 +276,9 @@ def yes_or_no(prompt, default=None):\ndef mk_full_url(host_name, path):\n+ if path is None:\n+ return host_name.rstrip(\"/\")\n+ else:\nreturn \... | Python | MIT License | serokell/tezos-packaging | [Chore] Fix mk_full_url when path is None |
603,650 | 04.11.2022 15:15:42 | -3,600 | 47e0f66ca816b0c0aef24a19892d427b7ce4331e | Use node_rpc_endpoint in wizard's code
Problem: there is now some confusion in the wizard's
code about node's RPC address vs its endpoint.
This is unnecessary as we only need the endpoint (so
with the scheme in it too).
Solution: Use node_rpc_endpoint in wizard's code
and remove node_rpc_addr from its config. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/tezos_setup_wizard.py",
"new_path": "docker/package/tezos_setup_wizard.py",
"diff": "@@ -362,9 +362,9 @@ class Setup(Setup):\nprint(\"Waiting for the node service to start...\")\nwhile True:\n- rpc_address = \"http://\" + self.config[\"node_rpc_... | Python | MIT License | serokell/tezos-packaging | [#517] Use node_rpc_endpoint in wizard's code
Problem: there is now some confusion in the wizard's
code about node's RPC address vs its endpoint.
This is unnecessary as we only need the endpoint (so
with the scheme in it too).
Solution: Use node_rpc_endpoint in wizard's code
and remove node_rpc_addr from its config. |
603,650 | 06.11.2022 22:03:04 | -3,600 | d3d5aaf69b7e6eeaa7a60fcdade99b536ddcc152 | [Chore] Add custom node as a dependency to custom baking
Problem: the custom baking service should have the node as
a dependency, but it doesn't.
This seems an oversight that should be corrected.
Solution: add the custom node systemd service as a dependency
to the custom baking service definition. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -591,7 +591,7 @@ class TezosBakingServicesPackage(AbstractPackage):\nnetwork,\n)\n)\n- custom_requires = []\n+ custom_requires = [\"tezos-node-custom@%i.service\"]\nfor network in tar... | Python | MIT License | serokell/tezos-packaging | [Chore] Add custom node as a dependency to custom baking
Problem: the custom baking service should have the node as
a dependency, but it doesn't.
This seems an oversight that should be corrected.
Solution: add the custom node systemd service as a dependency
to the custom baking service definition. |
603,650 | 07.11.2022 01:30:20 | -3,600 | 41a6ed4cd5541409e1b61e3e91d66be8cd6e2279 | Update service options documentation
Problem: finding and changing options of our
services is now easier and more stable, but
the documentation hasn't been updated.
Solution: update existing documentation and
add a dedicated document on systemd service
options. | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -126,9 +126,7 @@ the smallest and the fastest mode that is sufficient for baking (you can read mo\nAll commands within the service are run under the `tezos` user.\nThe `tezos-node` package provides `te... | Python | MIT License | serokell/tezos-packaging | [#517] Update service options documentation
Problem: finding and changing options of our
services is now easier and more stable, but
the documentation hasn't been updated.
Solution: update existing documentation and
add a dedicated document on systemd service
options. |
603,660 | 03.11.2022 16:03:31 | -10,800 | d4d92c493d01bfe9b637a7cb23b3e7f4f51efb4c | [Chore] Reset letter version
Problem: New upstream release came and
letter version shoud be reset.
Solution: Reset it. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -519,7 +519,7 @@ class TezosBakingServicesPackage(AbstractPackage):\n# native releases, so we append an extra letter to the version of\n# the package.\n# This should be reset to \"\" ... | Python | MIT License | serokell/tezos-packaging | [Chore] Reset letter version
Problem: New upstream release came and
letter version shoud be reset.
Solution: Reset it. |
603,660 | 03.11.2022 16:07:31 | -10,800 | 22c8b8e8edecb6b44c08fd182d7ec88b84a93deb | [Chore] Remove `ledgerwallet-tezos` installation
Problem: Regression caused abcense of `ledgerwallet-tezos`
package fixed.
Solution: Remove its separate installation. | [
{
"change_type": "MODIFY",
"old_path": "docker/build/build-tezos.sh",
"new_path": "docker/build/build-tezos.sh",
"diff": "@@ -19,10 +19,5 @@ export BLST_PORTABLE=\"yes\"\nopam init --bare --disable-sandboxing\nmake build-deps\n-# TODO remove on next upstream release\n-# see https://gitlab.com/tezos/... | Python | MIT License | serokell/tezos-packaging | [Chore] Remove `ledgerwallet-tezos` installation
Problem: Regression caused abcense of `ledgerwallet-tezos`
package fixed.
Solution: Remove its separate installation. |
603,660 | 03.11.2022 16:09:25 | -10,800 | 4efe167414af10ad6dda26c3281f41bad6ebab80 | [Chore] Replace url with `limanet` option
Problem: Since new release, `--network limanet` option
is available.
Solution: Replace url with `limanet`. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-node-limanet.rb",
"new_path": "Formula/tezos-node-limanet.rb",
"diff": "@@ -25,13 +25,13 @@ class TezosNodeLimanet < Formula\necho \"Configuring the node...\"\n\"$node\" config init \\\n--rpc-addr \"$NODE_RPC_ADDR\" \\\n- --network=https://teztne... | Python | MIT License | serokell/tezos-packaging | [Chore] Replace url with `limanet` option
Problem: Since new release, `--network limanet` option
is available.
Solution: Replace url with `limanet`. |
603,660 | 08.11.2022 19:01:09 | -10,800 | 6b7f1c56d3bb710260ba229fe9943c385a98c77a | [Chore] Add timeout for bottle build
Problem: Something bottle build takes too long
and not finishes successfully that case. Thus,
we shouldn't wait that much.
Solution: Set timeout after 2 hours. | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build-bottles.yml",
"new_path": ".github/workflows/build-bottles.yml",
"diff": "@@ -48,6 +48,7 @@ jobs:\n- name: Build the bottle\nif: steps.check-built.outcome == 'failure'\nrun: ./scripts/build-one-bottle.sh \"${{ matrix.formula }}\"\n+ tim... | Python | MIT License | serokell/tezos-packaging | [Chore] Add timeout for bottle build
Problem: Something bottle build takes too long
and not finishes successfully that case. Thus,
we shouldn't wait that much.
Solution: Set timeout after 2 hours. |
603,660 | 26.10.2022 11:09:01 | -10,800 | 7665befecc5385050409d76b4e7e59519b8b711d | [Chore] Use dict instead of list for packages
Problem: It would be better if we could have
random access of package by package name.
Solution: Wrap packages in dict with package name
as keys. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/packages.py",
"new_path": "docker/package/packages.py",
"diff": "@@ -11,6 +11,7 @@ from .model import (\n)\nfrom .systemd import Service, ServiceFile, SystemdUnit, Unit, Install\n+from collections import ChainMap\n# Testnets are either supported... | Python | MIT License | serokell/tezos-packaging | [Chore] Use dict instead of list for packages
Problem: It would be better if we could have
random access of package by package name.
Solution: Wrap packages in dict with package name
as keys. |
603,660 | 26.10.2022 11:07:39 | -10,800 | 11c66f0e09c854b93c7568a9560faaea9be510b9 | Add missing dependencies for fedora image
Problem: We use `mock` now to build against
different fedora versions.
Solution: Install `mock` during bootstrapping. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/Dockerfile-fedora",
"new_path": "docker/package/Dockerfile-fedora",
"diff": "FROM fedora:35\nRUN dnf update -y\nRUN dnf install -y libev-devel gmp-devel hidapi-devel libffi-devel zlib-devel libpq-devel m4 perl git pkg-config \\\n- rpmdevtools py... | Python | MIT License | serokell/tezos-packaging | [#545] Add missing dependencies for fedora image
Problem: We use `mock` now to build against
different fedora versions.
Solution: Install `mock` during bootstrapping. |
603,660 | 25.10.2022 12:12:10 | -10,800 | a4de8cd11699ec9d7802f3f39879d8d267ef5df6 | Rewrite `docker-tezos-packages` in python
Problem: Since `tezos-baking` package needs
to build against every supported version of fedora,
we have to gain finer control of the build script.
Solution:
* Use parser shared by `package_generator.py`.
* Validate and pass args to `package_generator`.
* Rename resulting `tezos-baking` package according to Fedora version. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docker/docker-tezos-packages.py",
"diff": "+#!/usr/bin/env python3\n+# SPDX-FileCopyrightText: 2022 Oxhead Alpha\n+# SPDX-License-Identifier: LicenseRef-MIT-OA\n+\n+import os\n+import sys\n+import shlex\n+import subprocess\n+from package.package... | Python | MIT License | serokell/tezos-packaging | [#545] Rewrite `docker-tezos-packages` in python
Problem: Since `tezos-baking` package needs
to build against every supported version of fedora,
we have to gain finer control of the build script.
Solution:
* Use parser shared by `package_generator.py`.
* Validate and pass args to `package_generator`.
* Rename resulting `tezos-baking` package according to Fedora version. |
603,660 | 26.10.2022 11:08:48 | -10,800 | 85201754f9679a18aa3ef02c766b06bbb50471a5 | Refactor package generation
Problem: `docker-tezos-packages.py` and `package_generator.py`
seems to have very similar functionality, but only former is
user-facing. Thus args parser should be shared.
Solution: Create shared argument parser, wrap package generation
in `main` function. Add opportunity to choose distribution to build,
refactor build functions accordingly. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/fedora.py",
"new_path": "docker/package/fedora.py",
"diff": "@@ -13,9 +13,11 @@ def build_fedora_package(\nbuild_deps: List[str],\nrun_deps: List[str],\nis_source: bool,\n+ fedora_versions: List[str],\nbinaries_dir: str = None,\n):\nversion = pk... | Python | MIT License | serokell/tezos-packaging | [#545] Refactor package generation
Problem: `docker-tezos-packages.py` and `package_generator.py`
seems to have very similar functionality, but only former is
user-facing. Thus args parser should be shared.
Solution: Create shared argument parser, wrap package generation
in `main` function. Add opportunity to choose distribution to build,
refactor build functions accordingly. |
603,660 | 29.10.2022 10:03:47 | -10,800 | a7d911f34c4bdb7ecc8a858b531f9bab582a3259 | [Chore] Update CI
Problem: CI steps still using deprecated shell script.
Solution: Use python script instead. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-for-tags.yml",
"new_path": ".buildkite/pipeline-for-tags.yml",
"diff": "@@ -19,8 +19,8 @@ steps:\nqueue: \"docker\"\ncommands:\n- eval \"$SET_VERSION\"\n- - ./docker/docker-tezos-packages.sh --os ubuntu --type source\n- - ./docker/docker-te... | Python | MIT License | serokell/tezos-packaging | [Chore] Update CI
Problem: CI steps still using deprecated shell script.
Solution: Use python script instead. |
603,660 | 29.10.2022 10:21:54 | -10,800 | 9242c2ce0e8c7b11aed4156d6922ae59687ab9e4 | [Chore] Update documentation
Problem: We use new script for building native
packages now. Thus, documentation doc should be updated.
Solution: Update it. | [
{
"change_type": "MODIFY",
"old_path": "docker/README.md",
"new_path": "docker/README.md",
"diff": "@@ -51,12 +51,12 @@ to copying the binaries instead of building again from scratch.\nUsing Ubuntu/Debian and assuming all Tezos binaries are located in the `binaries` directory:\n```sh\n-cd .. && ./do... | Python | MIT License | serokell/tezos-packaging | [Chore] Update documentation
Problem: We use new script for building native
packages now. Thus, documentation doc should be updated.
Solution: Update it. |
603,660 | 29.10.2022 11:06:53 | -10,800 | c6e68f81500a84324a539cef4fddae4dcb063613 | [Chore] Add `tezos-sapling-params` to package dict
Problem: There is no good reason for this package
to be separate from others, since it breaks the consistency
and it's not long time to build it.
Solution: Add it to package dict. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/packages.py",
"new_path": "docker/package/packages.py",
"diff": "@@ -457,8 +457,13 @@ for proto in active_protocols:\n}\n)\n-sapling_package = TezosSaplingParamsPackage(\n- meta=packages_meta, params_revision=\"95911b0639ff01807b8fd7b9e36d508e65... | Python | MIT License | serokell/tezos-packaging | [Chore] Add `tezos-sapling-params` to package dict
Problem: There is no good reason for this package
to be separate from others, since it breaks the consistency
and it's not long time to build it.
Solution: Add it to package dict. |
603,660 | 15.11.2022 10:49:01 | -10,800 | 6f05d974c1932cfaf51da5fde1e60e2c18d27d65 | Amend validation for `generate-fresh-key`
Problem: It's impossible to dry-run delegate registration
on lima due to bug.
Solution: Remove `--dry-run` and succeed when registration
successful. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/wizard_structure.py",
"new_path": "docker/package/wizard_structure.py",
"diff": "@@ -715,13 +715,13 @@ class Setup:\nf\"Waiting for funds to arrive... (Ctrl + C to choose another option).\"\n)\ntry:\n- # dry-run delegate registration until it su... | Python | MIT License | serokell/tezos-packaging | [#564] Amend validation for `generate-fresh-key`
Problem: It's impossible to dry-run delegate registration
on lima due to bug.
Solution: Remove `--dry-run` and succeed when registration
successful. |
603,660 | 19.11.2022 10:06:34 | -10,800 | a580b7d2bb51e041e94a8c81a00715c8367553ca | Simplify wizards' names
Problem: The names are unnecessarily long and word "wizard" at
the end is not all that useful, especially if/when these tools
get non-interactive mode implemented.
Solution: Rename to tezos-setup and tezos-vote. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -674,7 +674,7 @@ echo \"**************************************************************************\necho \"** Note: this version adds context pruning, which will prevent the disk\"\ne... | Python | MIT License | serokell/tezos-packaging | [#569] Simplify wizards' names
Problem: The names are unnecessarily long and word "wizard" at
the end is not all that useful, especially if/when these tools
get non-interactive mode implemented.
Solution: Rename to tezos-setup and tezos-vote. |
603,660 | 19.11.2022 10:14:22 | -10,800 | 475b3608ab17a6f723df68e6d6821ce495d6a012 | Update documentation
Problem: CLI utilities were renamed.
Solution: Update documentation accordingly. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -25,8 +25,10 @@ setup wizard:\n```\nsudo add-apt-repository -yu ppa:serokell/tezos\nsudo apt-get install -y tezos-baking\n-tezos-setup-wizard\n+tezos-setup\n```\n+> :warning: Since [#570](https://github.com/sero... | Python | MIT License | serokell/tezos-packaging | [#569] Update documentation
Problem: CLI utilities were renamed.
Solution: Update documentation accordingly. |
603,660 | 05.12.2022 18:45:01 | -10,800 | 1b2060c1a0ce5d54b1ea73407e6847c6c4bb7792 | [Chore] Add fallback `opam-repository`
Problem: As with v15.1 octez release, `opam-nix` failed
to resolve all required dependencies with `opam-repository`
pinned by `tezos` team.
Solution: Add fresh fallback `opam-repository` from `ocaml` repo. | [
{
"change_type": "MODIFY",
"old_path": "flake.lock",
"new_path": "flake.lock",
"diff": "\"nix-unstable\": {\n\"inputs\": {\n\"lowdown-src\": \"lowdown-src_2\",\n- \"nixpkgs\": \"nixpkgs_5\",\n+ \"nixpkgs\": \"nixpkgs_4\",\n\"nixpkgs-regression\": \"nixpkgs-regression_2\"\n},\n\"locked\": {\n}\n},\n\... | Python | MIT License | serokell/tezos-packaging | [Chore] Add fallback `opam-repository`
Problem: As with v15.1 octez release, `opam-nix` failed
to resolve all required dependencies with `opam-repository`
pinned by `tezos` team.
Solution: Add fresh fallback `opam-repository` from `ocaml` repo. |
603,660 | 05.12.2022 22:08:00 | -10,800 | e27416f7f5f6552e6126f008c13c9285c7cb7244 | [Chore] Exclude dev deps for native packaging
Problem: v15.1 octez release come with the dev deps opam file
which is redundant and breaks installation process.
Solution: Doesn't provide `octez-dev-deps.opam` as dependency to install. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/scripts/build-binary.sh",
"new_path": "docker/package/scripts/build-binary.sh",
"diff": "@@ -17,7 +17,10 @@ opam switch create . --repositories=local --no-install\neval \"$(opam env)\"\nopams=()\nwhile IFS= read -r -d $'\\0'; do\n+ # we exclude ... | Python | MIT License | serokell/tezos-packaging | [Chore] Exclude dev deps for native packaging
Problem: v15.1 octez release come with the dev deps opam file
which is redundant and breaks installation process.
Solution: Doesn't provide `octez-dev-deps.opam` as dependency to install. |
603,660 | 05.12.2022 22:27:59 | -10,800 | eca2cd380d83a24e2b86f7aff6c4474dd5f04a60 | [Chore] Filter out redundant opam file for nix
Problem: v15.1 octez release come with the dev deps opam file
which is redundant and breaks installation process.
Solution: Filter out `octez-dev-deps.opam` from source repo. | [
{
"change_type": "MODIFY",
"old_path": "flake.nix",
"new_path": "flake.nix",
"diff": "outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, flake-utils, serokell-nix, nix, ... }:\nlet\npkgs-darwin = nixpkgs-unstable.legacyPackages.\"aarch64-darwin\";\n-\nprotocols = nixpkgs.lib.importJSON ./protocols.... | Python | MIT License | serokell/tezos-packaging | [Chore] Filter out redundant opam file for nix
Problem: v15.1 octez release come with the dev deps opam file
which is redundant and breaks installation process.
Solution: Filter out `octez-dev-deps.opam` from source repo. |
603,652 | 16.12.2022 11:40:27 | -28,800 | 9a769ae9ba95f010a47b0c445c4c49e0e15afcb5 | [Chore] Bump nixpkgs
Problem: We recently updated our nixpkgs fork. However,
this repo still uses the old revision.
Solution: Bump nixpkgs. | [
{
"change_type": "MODIFY",
"old_path": "flake.lock",
"new_path": "flake.lock",
"diff": "},\n\"nixpkgs_2\": {\n\"locked\": {\n- \"lastModified\": 1632495107,\n- \"narHash\": \"sha256-4NGE56r+FJGBaCYu3CTH4O83Ys4TrtnEPXrvdwg1TDs=\",\n+ \"lastModified\": 1667318090,\n+ \"narHash\": \"sha256-AvxgT+t1BWZs... | Python | MIT License | serokell/tezos-packaging | [Chore] Bump nixpkgs
Problem: We recently updated our nixpkgs fork. However,
this repo still uses the old revision.
Solution: Bump nixpkgs. |
603,659 | 21.12.2022 14:01:05 | -10,800 | 7f18f700a117a70e1c9373428f85a589c7e3135b | [Chore] Fix ubuntu rules file for systemd
Problem: Supplied systemd service should be disabled by default.
However, for some reason, they are enabled automatically after
installation for baker, accuser and tx-node packages.
Solution: Be very explicit about systemd installation in debhelper rules. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -195,8 +195,8 @@ def mk_dh_flags(package):\ndef gen_systemd_rules_contents(package, binaries_dir=None):\n- override_dh_install_init = \"override_dh_installinit:\\n\"\npackage_name = p... | Python | MIT License | serokell/tezos-packaging | [Chore] Fix ubuntu rules file for systemd
Problem: Supplied systemd service should be disabled by default.
However, for some reason, they are enabled automatically after
installation for baker, accuser and tx-node packages.
Solution: Be very explicit about systemd installation in debhelper rules. |
603,650 | 03.01.2023 17:18:24 | -3,600 | a1cafc9f38953e0ce6b92bbf5f37f3e5be4fbc48 | [Chore] Bump release number
Problem: we want release a new set of packages soon with recent
changes, so we need to increase the version number.
Solution: bump the release number and tezos-baking's letter version. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -598,7 +598,7 @@ class TezosBakingServicesPackage(AbstractPackage):\n# native releases, so we append an extra letter to the version of\n# the package.\n# This should be reset to \"\" ... | Python | MIT License | serokell/tezos-packaging | [Chore] Bump release number
Problem: we want release a new set of packages soon with recent
changes, so we need to increase the version number.
Solution: bump the release number and tezos-baking's letter version. |
603,659 | 25.12.2022 13:30:28 | -10,800 | bd2ecfbf38b22ffd1f744b403e93317889c0ce0c | Set minimum python version to 3.8
Problem: Ubuntu bionic has default 3.6.5 python version,
which is too old and already created incompatility problem for us.
Solution: Make wizards use python >=3.8. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -61,7 +61,7 @@ class AbstractPackage:\nf.write(changelog_contents)\n@abstractmethod\n- def gen_rules(self, out, binaries_dir=None):\n+ def gen_rules(self, out, ubuntu_version, binarie... | Python | MIT License | serokell/tezos-packaging | [#585] Set minimum python version to 3.8
Problem: Ubuntu bionic has default 3.6.5 python version,
which is too old and already created incompatility problem for us.
Solution: Make wizards use python >=3.8. |
603,659 | 29.12.2022 15:11:49 | -10,800 | cfa7a7515d7bd974f01c55062a9cf4caacd155e9 | Change ubuntu packages build logic
Problem: Ubuntu packages seem to be very dependent on build
environment. Package built on focal doesn't promise
to install without problems on bionic.
Solution: Parametize dockerfile and build packages for specific
distribution on that exact distribution container. | [
{
"change_type": "MODIFY",
"old_path": "docker/docker-tezos-packages.py",
"new_path": "docker/docker-tezos-packages.py",
"diff": "@@ -103,19 +103,25 @@ octez_version = os.getenv(\"OCTEZ_VERSION\", None)\nif not octez_version:\nraise Exception(\"Environment variable OCTEZ_VERSION is not set.\")\n+# c... | Python | MIT License | serokell/tezos-packaging | [#585] Change ubuntu packages build logic
Problem: Ubuntu packages seem to be very dependent on build
environment. Package built on focal doesn't promise
to install without problems on bionic.
Solution: Parametize dockerfile and build packages for specific
distribution on that exact distribution container. |
603,659 | 28.12.2022 12:41:21 | -10,800 | 9d3064dbdea0d305ef0c5e04961c84fb6b2dd774 | Fix environment files regex
Problem: For some reason, systemd services
packaging on bionic results in `EnvironmentFile`
clause in unit file, while other distros has `EnvironmentFiles`.
Solution: Make 's' optional. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/wizard_structure.py",
"new_path": "docker/package/wizard_structure.py",
"diff": "@@ -196,7 +196,7 @@ def show_systemd_service(service_name):\ndef find_systemd_env_files(show_systemd_output):\n- return re.findall(b\"EnvironmentFiles=(.*) \", show... | Python | MIT License | serokell/tezos-packaging | [#585] Fix environment files regex
Problem: For some reason, systemd services
packaging on bionic results in `EnvironmentFile`
clause in unit file, while other distros has `EnvironmentFiles`.
Solution: Make 's' optional. |
603,659 | 29.12.2022 14:09:33 | -10,800 | b16ff1cfaa2cf4f795dc75e1c1ab1a00ca6eece6 | Supply tezos client dir explicitly
Problem: On ubuntu bionic, `octez-client` tries to
access host user even using `sudo -u tezos`.
Solution: Provide `--base-dir` flag on every invocation. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/tezos_setup_wizard.py",
"new_path": "docker/package/tezos_setup_wizard.py",
"diff": "@@ -420,9 +420,9 @@ class Setup(Setup):\nprint(\"Waiting for the node to bootstrap...\")\n+ tezos_client_options = self.get_tezos_client_options()\nproc_call(\n... | Python | MIT License | serokell/tezos-packaging | [#585] Supply tezos client dir explicitly
Problem: On ubuntu bionic, `octez-client` tries to
access host user even using `sudo -u tezos`.
Solution: Provide `--base-dir` flag on every invocation. |
603,650 | 10.01.2023 13:19:18 | -3,600 | a21ebca5b76f729c5f8f7e98419698aa8cc6d8be | [Chore] Increase timeout for binary packages built with docker
Problem: we have two test builds on the 'master' branch for binary
packages, but after recent changes they no longer fit into the
timeout that's currently set (or 90 minutes).
Solution: increase the timeout for these builds to 3 hours. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -121,7 +121,7 @@ steps:\n- rm -rf out\n# It takes much time to build binary package, so we do it only on master\nbranches: \"master\"\n- timeout_in_minutes: 90\n+ timeout_in_m... | Python | MIT License | serokell/tezos-packaging | [Chore] Increase timeout for binary packages built with docker
Problem: we have two test builds on the 'master' branch for binary
packages, but after recent changes they no longer fit into the
timeout that's currently set (or 90 minutes).
Solution: increase the timeout for these builds to 3 hours. |
603,659 | 12.01.2023 13:17:46 | -10,800 | c13caf81f7a72b58a3877f767f14d49d4403262a | [Chore] Add correct shebang to baking scripts
Problem: Console scripts used regular `/usr/bin/python3`
shebang which results in error on `bionic`.
Solution: Specify right shebang. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -240,6 +240,9 @@ export DEB_CFLAGS_APPEND=-fPIC\noverride_dh_systemd_enable:\ndh_systemd_enable {pybuild_splice(\"-O--buildsystem=pybuild\")} --no-enable\n+override_dh_python3:\n+ dh_... | Python | MIT License | serokell/tezos-packaging | [Chore] Add correct shebang to baking scripts
Problem: Console scripts used regular `/usr/bin/python3`
shebang which results in error on `bionic`.
Solution: Specify right shebang. |
603,659 | 12.01.2023 13:20:57 | -10,800 | 64aed49f59e40fdc38f58a7b50fb457c75ab3d74 | [Chore] Fix and reimplement `sources` option
Problem: `sources` option left unimplemented after
switching to new build script. Previous implementation
also was rather suboptimal.
Solution: Implement `sources-dir` option similarly to `binaries-dir`. | [
{
"change_type": "MODIFY",
"old_path": "docker/README.md",
"new_path": "docker/README.md",
"diff": "@@ -180,9 +180,9 @@ Otherwise, Launchpad will prohibit the build of the new release.\nIn order to build new proper source package using existing source archive run the following:\n```\n-cd .. && ./doc... | Python | MIT License | serokell/tezos-packaging | [Chore] Fix and reimplement `sources` option
Problem: `sources` option left unimplemented after
switching to new build script. Previous implementation
also was rather suboptimal.
Solution: Implement `sources-dir` option similarly to `binaries-dir`. |
603,659 | 21.12.2022 14:09:31 | -10,800 | 80d1f309b5a936afe9d70143c2a9c5f93f697367 | [Chore] Fix output dir handling
Problem: `docker-tezos-packages.py` ignores the supplied
`output-dir` option and always outputs the artifacts to the
`$(pwd)/out` dir.
Solution: Make it output the artifacts to the supplied dir. | [
{
"change_type": "MODIFY",
"old_path": "docker/docker-tezos-packages.py",
"new_path": "docker/docker-tezos-packages.py",
"diff": "@@ -163,7 +163,7 @@ def build_packages(pkgs, image, distros):\ncall(\nf\"\"\"\n{virtualisation_engine} cp\n- {container_id}:/tezos-packaging/docker/{container_output_dir}... | Python | MIT License | serokell/tezos-packaging | [Chore] Fix output dir handling
Problem: `docker-tezos-packages.py` ignores the supplied
`output-dir` option and always outputs the artifacts to the
`$(pwd)/out` dir.
Solution: Make it output the artifacts to the supplied dir. |
603,659 | 21.12.2022 14:22:01 | -10,800 | e34d8d2b029462b2ab4c1e52dafef11b375a0f04 | [Chore] Fix postinst step
Problem: Common postinst script created dir and user, resulting in
massive error output if they already exist.
Solution: Execute them only when necessary. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/packages.py",
"new_path": "docker/package/packages.py",
"diff": "@@ -124,6 +124,13 @@ signer_units = [\n),\n]\n+postinst_steps_common = \"\"\"\n+if [ -z $(getent passwd tezos) ]; then\n+ useradd -r -s /bin/false -m -d /var/lib/tezos tezos\n+ chm... | Python | MIT License | serokell/tezos-packaging | [Chore] Fix postinst step
Problem: Common postinst script created dir and user, resulting in
massive error output if they already exist.
Solution: Execute them only when necessary. |
603,659 | 21.12.2022 14:05:59 | -10,800 | 0d03e82f392b46b07134b8290a8ef8ec34130573 | [Chore] Add option to sign packages
Problem: User have to sign packages manually after build.
Solution: Add option to sign packages by provided identity. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-for-tags.yml",
"new_path": ".buildkite/pipeline-for-tags.yml",
"diff": "@@ -19,8 +19,8 @@ steps:\nqueue: \"docker\"\ncommands:\n- eval \"$SET_VERSION\"\n- - nix develop .#docker-tezos-packages -c ./docker/docker-tezos-packages.py --os ubunt... | Python | MIT License | serokell/tezos-packaging | [Chore] Add option to sign packages
Problem: User have to sign packages manually after build.
Solution: Add option to sign packages by provided identity. |
603,659 | 18.01.2023 20:24:31 | -10,800 | 7f7526d3c1d7b88a318e3b0e6a3867fdf11966e1 | [Chore] Add missing dependency to build images
Problem: `octez` build script switched to use `shasum`
instead of `sha256sum` for better compatibility across systems.
But it's not installed by default.
Solution: Add it to the image. | [
{
"change_type": "MODIFY",
"old_path": "docker/build/Dockerfile",
"new_path": "docker/build/Dockerfile",
"diff": "@@ -5,7 +5,7 @@ FROM alpine:3.12\nRUN apk update\nRUN apk --no-cache --virtual add rsync git m4 build-base patch unzip \\\nbubblewrap wget pkgconfig gmp-dev libev-dev hidapi-dev eudev-de... | Python | MIT License | serokell/tezos-packaging | [Chore] Add missing dependency to build images
Problem: `octez` build script switched to use `shasum`
instead of `sha256sum` for better compatibility across systems.
But it's not installed by default.
Solution: Add it to the image. |
603,659 | 19.01.2023 11:18:53 | -10,800 | 3e27f8aa7ad60cc8a4333cea15c7628c1e2f085a | [Chore] Support smart contract rollup binaries
Problem: Smart contract rollup binaries were introduced.
Solution: Support them in native packaging, static binaries and brew formulae. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Formula/tezos-smart-rollup-client-PtMumbai.rb",
"diff": "+#!/usr/bin/env ruby\n+# SPDX-FileCopyrightText: 2023 Oxhead Alpha\n+# SPDX-License-Identifier: LicenseRef-MIT-OA\n+\n+class TezosSmartRollupClientPtmumbai < Formula\n+ @all_bins = []\n+\n... | Python | MIT License | serokell/tezos-packaging | [Chore] Support smart contract rollup binaries
Problem: Smart contract rollup binaries were introduced.
Solution: Support them in native packaging, static binaries and brew formulae. |
603,659 | 19.01.2023 20:10:33 | -10,800 | c8220548ef1c8b1c0cdfd060cf190fb0f20b6038 | [Chore] Remove note raised during postinst step
Problem: Note is not relevant anymore.
Solution: Remove it. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -696,19 +696,7 @@ class TezosBakingServicesPackage(AbstractPackage):\n)\ncustom_unit.instances = []\nself.systemd_units.append(custom_unit)\n- # TODO: remove this on the next stable o... | Python | MIT License | serokell/tezos-packaging | [Chore] Remove note raised during postinst step
Problem: Note is not relevant anymore.
Solution: Remove it. |
603,650 | 20.01.2023 19:02:05 | -3,600 | 8ef956a40f6d310bcf94d1f590e9991655434982 | [Chore] Disable building of static binaries on ARM
Problem: there are some issues with building ARM static
binaries on CI. For more info see issue
Solution: temporarily disable the related steps in CI
pipelines in order to proceed with a new release. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -64,24 +64,25 @@ steps:\n- docker/docker-static-build.sh\n- meta.json\n- protocols.json\n- # arm builer is an ubuntu machine without nix\n- - label: build-arm-via-docker\n+ # ... | Python | MIT License | serokell/tezos-packaging | [Chore] Disable building of static binaries on ARM
Problem: there are some issues with building ARM static
binaries on CI. For more info see issue #593.
Solution: temporarily disable the related steps in CI
pipelines in order to proceed with a new release. |
603,650 | 23.01.2023 13:43:45 | -3,600 | ac2fceefd2c6794afc7c4b99f8687fcc0441c93b | [Chore] Add Mumbai in the list of active protocol
Problem: with the latest Octez release the Mumbai
protocol was added, but we haven't listed it as an
active one. As such, some of our building steps don't
produce all the binaries.
Solution: Add Mumbai in the list of active protocols. | [
{
"change_type": "MODIFY",
"old_path": "docker/docker-static-build.sh",
"new_path": "docker/docker-static-build.sh",
"diff": "@@ -11,9 +11,10 @@ set -euo pipefail\nbinaries=(\"octez-admin-client\" \"octez-client\" \"octez-node\" \"octez-signer\" \"octez-codec\")\nfor proto in $(jq -r \".active | .[]... | Python | MIT License | serokell/tezos-packaging | [Chore] Add Mumbai in the list of active protocol
Problem: with the latest Octez release the Mumbai
protocol was added, but we haven't listed it as an
active one. As such, some of our building steps don't
produce all the binaries.
Solution: Add Mumbai in the list of active protocols. |
603,650 | 23.01.2023 13:48:25 | -3,600 | 713d419afe2bb106f89545e08bc2b16a1edda095 | [Chore] Add release description of smart contract rollup binaries
Problem: Smart contract rollup binaries were added, but we have
not added descriptions for them that are to be included in the
automated release steps.
Solution: Add the descriptions for the new binaries, so that they
will be included in the new releases. | [
{
"change_type": "MODIFY",
"old_path": "nix/build/release-binaries.nix",
"new_path": "nix/build/release-binaries.nix",
"diff": "@@ -42,6 +42,16 @@ in [\ndescription = \"Client for interacting with transaction rollup node\";\nsupports = \"PtLimaPt\";\n}\n+ {\n+ name = \"octez-smart-rollup-client-PtMu... | Python | MIT License | serokell/tezos-packaging | [Chore] Add release description of smart contract rollup binaries
Problem: Smart contract rollup binaries were added, but we have
not added descriptions for them that are to be included in the
automated release steps.
Solution: Add the descriptions for the new binaries, so that they
will be included in the new releases. |
603,650 | 23.01.2023 14:00:51 | -3,600 | 18d8d621ebd29b922552057c2ab5cfffd8faa58c | [Chore] Fixup disabled arm binaries building step
Problem: in a previous commit arm binaries building has been
disabled (see but the steps weren't updated properly,
which causes a failure in the autoreleasing process.
Solution: add the creation of an empty directory for arm binaries
to fix the autoreleasing step. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -170,6 +170,7 @@ steps:\n- mkdir arm-binaries\n- buildkite-agent artifact download \"docker/*\" binaries --step \"build-via-docker\"\n# - buildkite-agent artifact download \"d... | Python | MIT License | serokell/tezos-packaging | [Chore] Fixup disabled arm binaries building step
Problem: in a previous commit arm binaries building has been
disabled (see #593), but the steps weren't updated properly,
which causes a failure in the autoreleasing process.
Solution: add the creation of an empty directory for arm binaries
to fix the autoreleasing step. |
603,652 | 24.01.2023 16:06:11 | -28,800 | 5788ed87a08b06cad23052b282854f34270f129c | [Chore] Support 'PtMumbai' in NixOS modules
Problem: 'PtMumbai' was supported everywhere except for NixOS modules.
Solution: Support 'PtMumbai' in NixOS modules as well. | [
{
"change_type": "MODIFY",
"old_path": "nix/modules/common.nix",
"new_path": "nix/modules/common.nix",
"diff": "@@ -21,7 +21,7 @@ rec {\ndaemonOptions = sharedOptions // {\nbaseProtocols = mkOption {\n- type = types.listOf (types.enum [ \"PtLimaPt\" ]);\n+ type = types.listOf (types.enum [ \"PtLimaP... | Python | MIT License | serokell/tezos-packaging | [Chore] Support 'PtMumbai' in NixOS modules
Problem: 'PtMumbai' was supported everywhere except for NixOS modules.
Solution: Support 'PtMumbai' in NixOS modules as well. |
603,652 | 25.01.2023 12:45:15 | -28,800 | 599718ddb7fe2243e02a3110122a539657d68bb8 | [Chore] Bump nixpkgs
Problem: openssl-3.0.7 build fails on macOS for currently used nixpkgs
revision.
Solution: Used nixpkgs revision that has fixes build of openssl on
macOS. | [
{
"change_type": "MODIFY",
"old_path": "flake.lock",
"new_path": "flake.lock",
"diff": "},\n\"nixpkgs_2\": {\n\"locked\": {\n- \"lastModified\": 1667318090,\n- \"narHash\": \"sha256-AvxgT+t1BWZs8IfdseHl8+7wvWWm9pvysupMT9wXdH0=\",\n+ \"lastModified\": 1674621699,\n+ \"narHash\": \"sha256-kOrPJmbrmoxu... | Python | MIT License | serokell/tezos-packaging | [Chore] Bump nixpkgs
Problem: openssl-3.0.7 build fails on macOS for currently used nixpkgs
revision.
Solution: Used nixpkgs revision that has fixes build of openssl on
macOS. |
603,652 | 27.01.2023 16:08:59 | -28,800 | a5b5310cb7581018c1e6927fe818a3b23685d4f1 | [Chore] Add 'cmake' to brew build dependencies
Problem: Octez now has 'conf-cmake' opam dependency that requires
'cmake' to be present.
Solution: Add 'cmake' to list of build dependencies for brew formulae. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-PtLimaPt.rb",
"new_path": "Formula/tezos-accuser-PtLimaPt.rb",
"diff": "@@ -13,7 +13,7 @@ class TezosAccuserPtlimapt < Formula\nversion \"v16.0-rc1-1\"\n- build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init]\n+ bu... | Python | MIT License | serokell/tezos-packaging | [Chore] Add 'cmake' to brew build dependencies
Problem: Octez now has 'conf-cmake' opam dependency that requires
'cmake' to be present.
Solution: Add 'cmake' to list of build dependencies for brew formulae. |
603,652 | 27.01.2023 16:11:08 | -28,800 | 9b20e2bbc7c94566302aface6ee7d1c9d2ad2d4c | [Chore] Bump nixpkgs
Problem: Currently our nixpkgs fork is in a bit weird state which leads
to the fact that it rarely hits public caches.
Solution: Bump nixpkgs to a new repin revision that is based on a fresh
'nixos-unstable' branch. | [
{
"change_type": "MODIFY",
"old_path": "flake.lock",
"new_path": "flake.lock",
"diff": "},\n\"nixpkgs_2\": {\n\"locked\": {\n- \"lastModified\": 1674621699,\n- \"narHash\": \"sha256-kOrPJmbrmoxuggREz1AfWYagh0MXbp1qi4pRxfTaduU=\",\n+ \"lastModified\": 1674736538,\n+ \"narHash\": \"sha256-/DszFMkAgYyB... | Python | MIT License | serokell/tezos-packaging | [Chore] Bump nixpkgs
Problem: Currently our nixpkgs fork is in a bit weird state which leads
to the fact that it rarely hits public caches.
Solution: Bump nixpkgs to a new repin revision that is based on a fresh
'nixos-unstable' branch. |
603,659 | 19.01.2023 15:27:27 | -10,800 | dff9524c4a3ce156f1ef6b0d42c20b8a6516a36e | [Chore] Optimize native packages build
Problem: Dependencies and sources were not reused
and rebuilt every time, despite they are about the
same for all packages.
Solution: Refactor Dockerfile, split stages in different scripts and
place them in separate layers to reuse results using docker cache system. | [
{
"change_type": "MODIFY",
"old_path": "docker/docker-tezos-packages.py",
"new_path": "docker/docker-tezos-packages.py",
"diff": "@@ -131,7 +131,7 @@ for dist in images:\nf\"\"\"\n{virtualisation_engine}\nbuild -t tezos-{target_os}-{dist}\n- -f docker/package/Dockerfile-{target_os} --build-arg dist=... | Python | MIT License | serokell/tezos-packaging | [Chore] Optimize native packages build
Problem: Dependencies and sources were not reused
and rebuilt every time, despite they are about the
same for all packages.
Solution: Refactor Dockerfile, split stages in different scripts and
place them in separate layers to reuse results using docker cache system. |
603,659 | 19.01.2023 16:06:29 | -10,800 | a46a563c96cb6ee7e37dacd3c9626b5cabe61d96 | [Chore] Use buildkit as docker backend
Problem: Seems like much more effective docker backend
is available.
Solution: Turn it on. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-for-tags.yml",
"new_path": ".buildkite/pipeline-for-tags.yml",
"diff": "env:\nUSE_NEWER_NIX: 1\n+ DOCKER_BUILDKIT: 1\nSET_VERSION: \"export OCTEZ_VERSION=\\\"$(cat meta.json | jq -r '.tezos_ref' | cut -d'/' -f3)\\\"\"\n"
},
{
"chang... | Python | MIT License | serokell/tezos-packaging | [Chore] Use buildkit as docker backend
Problem: Seems like much more effective docker backend
is available.
Solution: Turn it on. |
603,659 | 20.01.2023 15:40:22 | -10,800 | 3d6182f5c0afe082aa4d757fc87dc635e422a9a5 | [Chore] Optimize static binaries build
Problem: Separate steps are contained in `build-tezos.sh`,
so if at some point script fails, everything will be started from
scratch.
Solution: Put fetching sources, building deps and building binaries
steps on different layers to cache intermediary results. | [
{
"change_type": "MODIFY",
"old_path": "docker/build/Dockerfile",
"new_path": "docker/build/Dockerfile",
"diff": "@@ -11,5 +11,10 @@ RUN /build-libusb-and-hidapi.sh\nCOPY ./build/build-rust.sh /build-rust.sh\nRUN /build-rust.sh\nARG OCTEZ_VERSION\n+RUN git clone --single-branch --depth 1 --branch \"... | Python | MIT License | serokell/tezos-packaging | [Chore] Optimize static binaries build
Problem: Separate steps are contained in `build-tezos.sh`,
so if at some point script fails, everything will be started from
scratch.
Solution: Put fetching sources, building deps and building binaries
steps on different layers to cache intermediary results. |
603,659 | 27.01.2023 18:21:43 | -10,800 | f937d9850f8eee156d26b3acd004ad24a90a5e8d | [Chore] Put upx stage inside container
Problem: upx stage happens after docker build,
resulting in repeating it every time step run.
Solution: Put it inside docker layer to cache results. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -55,7 +55,6 @@ steps:\n- eval \"$SET_VERSION\"\n- cd docker\n- ./docker-static-build.sh\n- - nix shell .#upx -c upx octez-*\nartifact_paths:\n- ./docker/octez-*\nagents:\n@@ -... | Python | MIT License | serokell/tezos-packaging | [Chore] Put upx stage inside container
Problem: upx stage happens after docker build,
resulting in repeating it every time step run.
Solution: Put it inside docker layer to cache results. |
603,659 | 24.01.2023 19:50:02 | -10,800 | cb9d4386dcd7b3841fb2d819ac01af4929b22de2 | [Chore] Add missing dependencies to nix shell
Problem: Shells package building was executed in lacks some
dependencies to sign packages correctly.
Solution: Supply them. | [
{
"change_type": "MODIFY",
"old_path": "shell.nix",
"new_path": "shell.nix",
"diff": "{ pkgs, meta, ... }:\nwith pkgs; mkShell {\nbuildInputs = [\n- python3Packages.black\n- python3\n- shellcheck\n- jq\n- copr-cli\ngh\n- dput\n- debian-devscripts\n+ jq\n+ git\nrpm\n+ perl\n+ dput\n+ which\n+ gnupg\n... | Python | MIT License | serokell/tezos-packaging | [Chore] Add missing dependencies to nix shell
Problem: Shells package building was executed in lacks some
dependencies to sign packages correctly.
Solution: Supply them. |
603,659 | 26.01.2023 10:16:53 | -10,800 | 23a3bc5845bc59cb62c027feb8b3e1ed37b7080f | [Chore] Fix sources archive presence recognition
Problem: Deb packages' names are lowercased, and so the
name of source archive reflects that. But now build script
awaits source archives to contain package name with initial casing.
Solution: Construct source archive name with package name lowercased. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/package_generator.py",
"new_path": "docker/package/package_generator.py",
"diff": "@@ -136,7 +136,9 @@ def main():\nerrors = []\nfor package in packages:\nif getattr(package, \"letter_version\", None) is None:\n- source_archive = f\"{package.nam... | Python | MIT License | serokell/tezos-packaging | [Chore] Fix sources archive presence recognition
Problem: Deb packages' names are lowercased, and so the
name of source archive reflects that. But now build script
awaits source archives to contain package name with initial casing.
Solution: Construct source archive name with package name lowercased. |
603,659 | 26.01.2023 10:26:07 | -10,800 | 892043648f6b00e089b9fdce3ae24df2a1e7e996 | [Chore] Move package signing to the latest stage
Problem: Package signing happened inside loop on distributions,
resulting in resigning of already built packages for previous
distribution.
Solution: Sign packages when everything is already built. | [
{
"change_type": "MODIFY",
"old_path": "docker/docker-tezos-packages.py",
"new_path": "docker/docker-tezos-packages.py",
"diff": "@@ -181,14 +181,22 @@ def build_packages(pkgs, image, distros):\nprint(\"Unrecoverable error occured.\")\nsys.exit(exit_code)\n+\n+packages_to_build = get_packages_to_bui... | Python | MIT License | serokell/tezos-packaging | [Chore] Move package signing to the latest stage
Problem: Package signing happened inside loop on distributions,
resulting in resigning of already built packages for previous
distribution.
Solution: Sign packages when everything is already built. |
603,659 | 26.01.2023 10:55:58 | -10,800 | 89127abf64002f45cae89f5dcca2026a3decdf3c | [Chore] Ensure using same source for ubuntu
Problem: Launchpad rejects to upload packages
with same version but different original source
archive. Since packages are built in dedicated
per-distro containers, different `gzip` version
could result in different archives in terms of
checksum.
Solution: Reuse source archives after they formed
once. | [
{
"change_type": "MODIFY",
"old_path": "docker/docker-tezos-packages.py",
"new_path": "docker/docker-tezos-packages.py",
"diff": "@@ -135,9 +135,13 @@ for dist in images:\n\"\"\"\n)\n+packages_to_build = get_packages_to_build(args.packages)\n+\n+if not args.build_sapling_package:\n+ packages_to_buil... | Python | MIT License | serokell/tezos-packaging | [Chore] Ensure using same source for ubuntu
Problem: Launchpad rejects to upload packages
with same version but different original source
archive. Since packages are built in dedicated
per-distro containers, different `gzip` version
could result in different archives in terms of
checksum.
Solution: Reuse source archives after they formed
once. |
603,650 | 27.01.2023 18:47:13 | -3,600 | 6f888af00620ed514b9756d9d08116008d68e137 | [Chore] Add formulae for mumbai's baker and accuser
Problem: Mumbai support was added in the latest release,
but we didn't add formulae for its baker and accuser.
Solution: Add these two new formulae. | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build-bottles.yml",
"new_path": ".github/workflows/build-bottles.yml",
"diff": "@@ -17,7 +17,7 @@ jobs:\nmatrix:\nos: [ { id: macos-12, name: \"monterey\" } ]\n# we don't bottle meta-formulas that contain only services\n- formula: [tezos-accu... | Python | MIT License | serokell/tezos-packaging | [Chore] Add formulae for mumbai's baker and accuser
Problem: Mumbai support was added in the latest release,
but we didn't add formulae for its baker and accuser.
Solution: Add these two new formulae. |
603,659 | 31.01.2023 11:27:41 | -10,800 | b2c037f038d9a96b2454d5126c2bd78b73fad215 | [Chore] Reset `letter_version`
Problem: For some reason, `letter_version` wasn't
reset on new upsteam release.
Solution: Reset it manually. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -585,7 +585,7 @@ class TezosBakingServicesPackage(AbstractPackage):\n# native releases, so we append an extra letter to the version of\n# the package.\n# This should be reset to \"\" ... | Python | MIT License | serokell/tezos-packaging | [Chore] Reset `letter_version`
Problem: For some reason, `letter_version` wasn't
reset on new upsteam release.
Solution: Reset it manually. |
603,652 | 02.02.2023 14:32:44 | -28,800 | 04f48a735da7f412ae54ffff236fe7e5545d904e | [Chore] Fix baker and accuser mumbai formulae
Problem: Wrong source paths were specified.
Solution: Specify correct ones. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-PtMumbai.rb",
"new_path": "Formula/tezos-accuser-PtMumbai.rb",
"diff": "@@ -77,8 +77,8 @@ class TezosAccuserPtmumbai < Formula\nFile.write(\"tezos-accuser-PtMumbai-start\", startup_contents)\nbin.install \"tezos-accuser-PtMumbai-start\"\n... | Python | MIT License | serokell/tezos-packaging | [Chore] Fix baker and accuser mumbai formulae
Problem: Wrong source paths were specified.
Solution: Specify correct ones. |
603,650 | 02.02.2023 16:48:26 | -3,600 | 7a25f338042c566546adbcc344582bcecc73bea3 | [Chore] Add v16.0-rc1-1 hashes to brew formulae for Big Sur | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-PtLimaPt.rb",
"new_path": "Formula/tezos-accuser-PtLimaPt.rb",
"diff": "@@ -26,6 +26,8 @@ class TezosAccuserPtlimapt < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuserPtlimapt.ver... | Python | MIT License | serokell/tezos-packaging | [Chore] Add v16.0-rc1-1 hashes to brew formulae for Big Sur |
603,650 | 02.02.2023 16:48:43 | -3,600 | 7b72c7f34df588374c9aa8e3fbd06e159166864f | [Chore] Add v16.0-rc1-1 hashes to brew formulae for Monterey | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-PtLimaPt.rb",
"new_path": "Formula/tezos-accuser-PtLimaPt.rb",
"diff": "@@ -26,6 +26,7 @@ class TezosAccuserPtlimapt < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuserPtlimapt.ver... | Python | MIT License | serokell/tezos-packaging | [Chore] Add v16.0-rc1-1 hashes to brew formulae for Monterey |
603,659 | 27.01.2023 16:18:58 | -10,800 | 8fd6506c4c7f22ef3322fe20e1360b3a05b061b7 | Exchange fedoras
Problem: Fedora 35 got deprecated. Meanwhile, Fedora 37
is new stable version.
Solution: Deprecate fedora 35. Support fedora 37. | [
{
"change_type": "MODIFY",
"old_path": "docker/docker-tezos-packages.py",
"new_path": "docker/docker-tezos-packages.py",
"diff": "@@ -18,8 +18,8 @@ ubuntu_versions = [\n]\nfedora_versions = [\n- \"35\",\n\"36\",\n+ \"37\",\n]\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/support-pol... | Python | MIT License | serokell/tezos-packaging | [#600] Exchange fedoras
Problem: Fedora 35 got deprecated. Meanwhile, Fedora 37
is new stable version.
Solution: Deprecate fedora 35. Support fedora 37. |
603,659 | 31.01.2023 13:19:16 | -10,800 | a742d63e5e815dfcc67a698fc05770abaead7307 | Reset letter_version automatically
Problem: On every new octez upsteam release we reset
`letter_version` manually.
Solution: Reset it automatically with script. | [
{
"change_type": "MODIFY",
"old_path": "scripts/update-tezos.sh",
"new_path": "scripts/update-tezos.sh",
"diff": "@@ -49,6 +49,11 @@ if [[ \"$latest_upstream_tag\" != \"$our_tezos_tag\" ]]; then\ngit commit -a -m \"[Chore] Reset release number for $latest_upstream_tag\" --gpg-sign=\"tezos-packaging@... | Python | MIT License | serokell/tezos-packaging | [#601] Reset letter_version automatically
Problem: On every new octez upsteam release we reset
`letter_version` manually.
Solution: Reset it automatically with script. |
260,335 | 17.11.2018 22:58:30 | 28,800 | 1d902436ce39b8caf1e8e5e3dc2f27990b9fda0b | change xla_data_pb2 import | [
{
"change_type": "MODIFY",
"old_path": "jax/lib/xla_bridge.py",
"new_path": "jax/lib/xla_bridge.py",
"diff": "@@ -29,7 +29,7 @@ import warnings\nfrom absl import flags\nimport numpy as onp # 'onp' rather than 'np' to distinguish from autograd.numpy\n-from tensorflow.compiler.xla import xla_data_pb2\... | Python | Apache License 2.0 | google/jax | change xla_data_pb2 import |
260,335 | 18.11.2018 15:28:22 | 28,800 | 0dfa736ece742445721d3e031964ffb6695b933a | make setup.py copy over .so files | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "from setuptools import setup\n+from glob import glob\nsetup(\nname='jax',\n@@ -11,4 +12,5 @@ setup(\ninstall_requires=['numpy>=1.12', 'six', 'protobuf'],\nurl='https://github.com/google/jax',\nlicense='Apache-2.0',\n... | Python | Apache License 2.0 | google/jax | make setup.py copy over .so files |
260,335 | 18.11.2018 15:43:09 | 28,800 | 9ae0f3a610c08ad1355ca92cda4906b4474b6fa3 | split BUILD file, move up license files | [
{
"change_type": "RENAME",
"old_path": "jax/LICENSE",
"new_path": "LICENSE",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "jax/LICENSE_SHORT",
"new_path": "LICENSE_SHORT",
"diff": ""
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/BUILD"... | Python | Apache License 2.0 | google/jax | split BUILD file, move up license files |
260,335 | 18.11.2018 15:54:13 | 28,800 | d347d65c5c6c6a97f1a8544dcdfe905a3e40fcc2 | add dummy binary build target, move WORKSPACE up | [
{
"change_type": "RENAME",
"old_path": "build/WORKSPACE",
"new_path": "WORKSPACE",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "build/build_jax.sh",
"new_path": "build/build_jax.sh",
"diff": "@@ -8,8 +8,6 @@ then\nexit 1\nfi\n-cp build/WORKSPACE .\n-\ntmp=/tmp/jax-build ... | Python | Apache License 2.0 | google/jax | add dummy binary build target, move WORKSPACE up |
260,335 | 19.11.2018 08:30:37 | 28,800 | 77731679954a4ae24d5c3b8250b5cf536e9bb604 | add CPU-only build option | [
{
"change_type": "MODIFY",
"old_path": "build/build_jax.sh",
"new_path": "build/build_jax.sh",
"diff": "#!/bin/bash\nset -exv\n+# For a build with CUDA, from the repo root run:\n+# bash build/build_jax.sh\n+# For building without CUDA (CPU-only), instead run:\n+# JAX_BUILD_WITH_CUDA=0 bash build/bui... | Python | Apache License 2.0 | google/jax | add CPU-only build option |
260,335 | 19.11.2018 08:46:25 | 28,800 | af62fdc17dd49279e3bfb26ff066785954716099 | update build script: bazel-0.19.2 and darwin | [
{
"change_type": "MODIFY",
"old_path": "build/build_jax.sh",
"new_path": "build/build_jax.sh",
"diff": "@@ -27,14 +27,17 @@ bazel_dir=${tmp}/jax-bazel\nif [ ! -d ${bazel_dir}/bin ]\nthen\nmkdir -p ${bazel_dir}\n- curl -OL https://github.com/bazelbuild/bazel/releases/download/0.19.1/bazel-0.19.1-inst... | Python | Apache License 2.0 | google/jax | update build script: bazel-0.19.2 and darwin |
260,335 | 19.11.2018 20:18:15 | 28,800 | 50038c07c815b82d412af43996a122e33eecd385 | fix build file issues | [
{
"change_type": "MODIFY",
"old_path": "build/build_jax.sh",
"new_path": "build/build_jax.sh",
"diff": "@@ -55,6 +55,7 @@ then\nexport TF_CUDA_VERSION=$(readlink -f ${CUDA_TOOLKIT_PATH}/lib64/libcudart.so | cut -d '.' -f4-5)\nexport TF_CUDNN_VERSION=$(readlink -f ${CUDNN_INSTALL_PATH}/lib64/libcudnn... | Python | Apache License 2.0 | google/jax | fix build file issues |
260,335 | 21.11.2018 12:10:31 | 28,800 | 51fc713089f8e456d95f79e4ed58687eb72edbfb | remove absl from examples, fix import statements | [
{
"change_type": "DELETE",
"old_path": "examples/interactive.py",
"new_path": null,
"diff": "-# Copyright 2018 Google LLC\n-#\n-# Licensed under the Apache License, Version 2.0 (the \"License\");\n-# you may not use this file except in compliance with the License.\n-# You may obtain a copy of the Li... | Python | Apache License 2.0 | google/jax | remove absl from examples, fix import statements |
260,335 | 26.11.2018 09:58:05 | 28,800 | c293f7c875932eb53bc4f20fd1cbaf08d50d9c78 | minor: add to threefry hash function in random.py | [
{
"change_type": "MODIFY",
"old_path": "jax/random.py",
"new_path": "jax/random.py",
"diff": "@@ -29,9 +29,6 @@ from .lib import xla_bridge\nfrom .api import jit\n-# TODO(mattjj): add api.jit decorators to the user-facing functions\n-\n-\nclass PRNGKey(object):\n\"\"\"A pseudo-random number generato... | Python | Apache License 2.0 | google/jax | minor: add @jit to threefry hash function in random.py
PiperOrigin-RevId: 222841601 |
260,335 | 28.11.2018 17:17:52 | 28,800 | 1d2aaad6fe30fef5e7e15a2898358f9120a3686d | fix handling of symbolic zeros for a few special primitives | [
{
"change_type": "MODIFY",
"old_path": "jax/lax.py",
"new_path": "jax/lax.py",
"diff": "@@ -1678,6 +1678,11 @@ def dynamic_update_slice_jvp(primals, tangents, update_shape):\ng_operand, g_update, g_start_indices = tangents\nassert g_start_indices is ad_util.zero\nval_out = dynamic_update_slice(opera... | Python | Apache License 2.0 | google/jax | fix handling of symbolic zeros for a few special primitives
PiperOrigin-RevId: 223264329 |
260,335 | 06.12.2018 07:03:28 | 28,800 | 90afb3a15503ccfb3655666a66f6466285fd7f2e | update tensorflow release | [
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "@@ -16,10 +16,10 @@ http_archive(\n# and update the sha256 with the result.\nhttp_archive(\nname = \"org_tensorflow\",\n- sha256 = \"1a685ee839eb52e5fd26c0c9fbb0cddbf39a49cc5edaa6506604a3ba0fecfa2e\",\n- strip_pref... | Python | Apache License 2.0 | google/jax | update tensorflow release |
260,474 | 06.12.2018 17:00:47 | 18,000 | 29113dd606ce77c74c0af785542abee0b1e6499d | Made tests runnable with bazel | [
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "-http_archive(\n- name = \"io_bazel_rules_closure\",\n- sha256 = \"a38539c5b5c358548e75b44141b4ab637bba7c4dc02b46b1f62a96d6433f56ae\",\n- strip_prefix = \"rules_closure-dbb96841cc0a5fb2664c37822803b06dab20c7d1\",\n... | Python | Apache License 2.0 | google/jax | Made tests runnable with bazel |
260,474 | 06.12.2018 17:04:00 | 18,000 | c3374a9d5fdae5b8a11c4f245eb765ca0de7bc2d | Added build rule for generated_fun_test (formerly quickish_check) | [
{
"change_type": "MODIFY",
"old_path": "tests/BUILD",
"new_path": "tests/BUILD",
"diff": "@@ -91,3 +91,8 @@ jax_test(\nname = \"lapax_test\",\nsrcs = [\"lapax_test.py\"],\n)\n+\n+jax_test(\n+ name = \"generated_fun_test\",\n+ srcs = [\"generated_fun_test.py\"],\n+)\n"
},
{
"change_type": "RE... | Python | Apache License 2.0 | google/jax | Added build rule for generated_fun_test (formerly quickish_check) |
260,474 | 06.12.2018 17:31:52 | 18,000 | 3dbf41f3e6f9a01b0d32b925d22e9bfabc524fad | Generated function tests working with bazel | [
{
"change_type": "MODIFY",
"old_path": "jax/test_util.py",
"new_path": "jax/test_util.py",
"diff": "@@ -18,6 +18,8 @@ from __future__ import print_function\nimport functools\nimport re\n+import itertools as it\n+import random\nfrom absl.testing import absltest\nfrom absl.testing import parameterized... | Python | Apache License 2.0 | google/jax | Generated function tests working with bazel |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.