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,652 | 23.03.2021 14:51:43 | -10,800 | 1e071fa22e116e005f00953088312a73a648a496 | Fix shebangs in startup scripts
Problem: Startup scripts currently use '#!/usr/bin/bash' shebangs.
However, some of the distros may have different bath to the bash
interpreter, thus startup script may fail on them.
Soluton: Use '#!/usr/bin/env bash' instead, so that the path to the bash
interpreter is fetched from the current environment. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/scripts/tezos-accuser-start",
"new_path": "docker/package/scripts/tezos-accuser-start",
"diff": "-#!/usr/bin/bash\n+#!/usr/bin/env bash\n# SPDX-FileCopyrightText: 2020 TQ Tezos <https://tqtezos.com/>\n#\n"
},
{
"change_type": "MODIFY",
... | Python | MIT License | serokell/tezos-packaging | [#162] Fix shebangs in startup scripts
Problem: Startup scripts currently use '#!/usr/bin/bash' shebangs.
However, some of the distros may have different bath to the bash
interpreter, thus startup script may fail on them.
Soluton: Use '#!/usr/bin/env bash' instead, so that the path to the bash
interpreter is fetched from the current environment. |
603,650 | 30.03.2021 23:30:04 | -7,200 | ad2d39738d11d0282a62f21d51e5ce97edf769af | Prepare v9.0-rc1 pre-release formulas
Problem: we added a v9.0-rc1 pre-release but did not update the
brew formulas for it.
Solution: update brew formulas to v9.0-rc1 pre-release version. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"new_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"diff": "@@ -10,9 +10,9 @@ class TezosAccuser008Ptedo2zk < Formula\nend\nhomepage \"https://gitlab.com/tezos/tezos\"\n- url \"https://gitlab.com/tezos/tezos.git\", :ta... | Python | MIT License | serokell/tezos-packaging | Prepare v9.0-rc1 pre-release formulas
Problem: we added a v9.0-rc1 pre-release but did not update the
brew formulas for it.
Solution: update brew formulas to v9.0-rc1 pre-release version. |
603,650 | 30.03.2021 23:36:34 | -7,200 | 4c624793b96f9b0c42f3cf3fb8ab87b6da4d3d59 | Remove brew bottles hashes
Problem: the updated brew formulas for the v9.0-rc1 pre-release still
contain the bottles hashes from the previous release.
Solution: Remove v8.2-3 bottles hashes. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"new_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"diff": "@@ -28,8 +28,6 @@ class TezosAccuser008Ptedo2zk < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Remove brew bottles hashes
Problem: the updated brew formulas for the v9.0-rc1 pre-release still
contain the bottles hashes from the previous release.
Solution: Remove v8.2-3 bottles hashes. |
603,650 | 31.03.2021 00:17:36 | -7,200 | 9e8787abb18c305af26cc97daf15f71b269cbea4 | Add formulas for florencenet services
Problem: v9.0-rc1 supports a new protocol, but we don't have the
brew formulas for services to use it.
Solution: add brew formulas for services to use florencenet. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"diff": "+# SPDX-FileCopyrightText: 2021 TQ Tezos <https://tqtezos.com/>\n+#\n+# SPDX-License-Identifier: LicenseRef-MIT-TQ\n+\n+class TezosAccuser009Psfloren < Formula\n+ @all_bins = []\n+\n+ class << sel... | Python | MIT License | serokell/tezos-packaging | Add formulas for florencenet services
Problem: v9.0-rc1 supports a new protocol, but we don't have the
brew formulas for services to use it.
Solution: add brew formulas for services to use florencenet. |
603,650 | 01.04.2021 13:15:51 | -7,200 | ac0712813e577eefe961294308264ff359e30533 | Skip rebuild check in formulae bottling
Problem: Newer brew versions fail when checking for a rebuild version
of non-core taps when building bottles.
Solution: skip the check with '--no-rebuild'.
Additionally, add the '--formula' option to brew 'install' to avoid
the cask warning message. | [
{
"change_type": "MODIFY",
"old_path": "scripts/build-bottles.sh",
"new_path": "scripts/build-bottles.sh",
"diff": "#\n# SPDX-License-Identifier: LicenseRef-MIT-TQ\n+# Newer brew versions fail when checking for a rebuild version of non-core taps.\n+# So for now we skip the check with '--no-rebuild'\... | Python | MIT License | serokell/tezos-packaging | Skip rebuild check in formulae bottling
Problem: Newer brew versions fail when checking for a rebuild version
of non-core taps when building bottles.
Solution: skip the check with '--no-rebuild'.
Additionally, add the '--formula' option to brew 'install' to avoid
the cask warning message. |
603,650 | 02.04.2021 22:38:42 | -7,200 | 53b2e77667d3d2a0cfda7dadba9be62edefce024 | Update formulae bottle hashes
Problem: Brew formulae have now been updated to the latest pre-release
We should provide an easy way to obtain updated packages without
building them from scratch.
Solution: Provide hashes for the new bottles. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"new_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"diff": "@@ -27,6 +27,8 @@ class TezosAccuser008Ptedo2zk < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Update formulae bottle hashes
Problem: Brew formulae have now been updated to the latest pre-release
We should provide an easy way to obtain updated packages without
building them from scratch.
Solution: Provide hashes for the new bottles. |
603,650 | 12.04.2021 13:11:30 | -7,200 | 6555e0f0125805763d782c7cc596727c65557d43 | revert bottles sha256 of tezos-sapling-params' formula
Problem: sha256 for tezos-sapling-params were updated, but the version
of the formula didn't, causing a brew failure in installing the
existing bottle (from the previous release).
Solution: revert the hashes in the formula for tezos-sapling-param
to match the bottles in the right release. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-sapling-params.rb",
"new_path": "Formula/tezos-sapling-params.rb",
"diff": "@@ -13,8 +13,8 @@ class TezosSaplingParams < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosSaplingParams.version}/\"... | Python | MIT License | serokell/tezos-packaging | [#166] revert bottles sha256 of tezos-sapling-params' formula
Problem: sha256 for tezos-sapling-params were updated, but the version
of the formula didn't, causing a brew failure in installing the
existing bottle (from the previous release).
Solution: revert the hashes in the formula for tezos-sapling-param
to match the bottles in the right release. |
603,652 | 13.04.2021 12:45:50 | -10,800 | 5097af99e6efba409b3d1dc6fc4a27d53fe407db | Bump tezos to v8.3
Problem: New stable Tezos version arrived, we should make a release for
it.
Solution: Bump Tezos version in the dependencies. | [
{
"change_type": "MODIFY",
"old_path": "nix/nix/sources.json",
"new_path": "nix/nix/sources.json",
"diff": "\"url_template\": \"https://github.com/<owner>/<repo>/archive/<rev>.tar.gz\"\n},\n\"tezos\": {\n- \"ref\": \"refs/tags/v9.0-rc1\",\n+ \"ref\": \"refs/tags/v8.3\",\n\"repo\": \"https://gitlab.c... | Python | MIT License | serokell/tezos-packaging | Bump tezos to v8.3
Problem: New stable Tezos version arrived, we should make a release for
it.
Solution: Bump Tezos version in the dependencies. |
603,652 | 13.04.2021 12:47:42 | -10,800 | d4cc2a5921e712b007809d0703969d98effbc4b3 | Suspend 009 protocol support
Problem: v8.3 doesn't support new 009 protocol.
Solution: Comment out code that provides 009 support. | [
{
"change_type": "MODIFY",
"old_path": "docker/build/static_libs.patch",
"new_path": "docker/build/static_libs.patch",
"diff": "@@ -186,48 +186,3 @@ index 81ebe6075..43e57a2d0 100644\n(rule\n(alias runtest_lint)\n-diff --git a/src/proto_009_PsFLoren/bin_accuser/dune b/src/proto_009_PsFLoren/bin_accu... | Python | MIT License | serokell/tezos-packaging | Suspend 009 protocol support
Problem: v8.3 doesn't support new 009 protocol.
Solution: Comment out code that provides 009 support. |
603,652 | 13.04.2021 12:49:52 | -10,800 | f971cca999917fe855fd29381dcabfbb89e3fa4c | Update brew formulas
Problem: We should provide brew formulas for the new Tezos version.
Solution: Update versions in the brew formulas, remove outdated hashes. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"new_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"diff": "@@ -10,9 +10,9 @@ class TezosAccuser008Ptedo2zk < Formula\nend\nhomepage \"https://gitlab.com/tezos/tezos\"\n- url \"https://gitlab.com/tezos/tezos.git\", :ta... | Python | MIT License | serokell/tezos-packaging | Update brew formulas
Problem: We should provide brew formulas for the new Tezos version.
Solution: Update versions in the brew formulas, remove outdated hashes. |
603,652 | 13.04.2021 19:03:20 | -10,800 | 171023e59df5e6d99beae9d97aafbbcaf72eca66 | Add v8.3-1 bottles hashes
Problem: Bottles for mojave and catalina were built and uploaded to the
v8.3-1 github release. This bottles now should be used in the formulas.
Solution: Update bottles hashes in the formulas. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"new_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"diff": "@@ -27,7 +27,8 @@ class TezosAccuser008Ptedo2zk < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Add v8.3-1 bottles hashes
Problem: Bottles for mojave and catalina were built and uploaded to the
v8.3-1 github release. This bottles now should be used in the formulas.
Solution: Update bottles hashes in the formulas. |
603,652 | 14.04.2021 14:14:28 | -10,800 | 2a121dfbc8b3fb4ed8e9806501d09dc613b5f36c | Enable native packaging in CI
Problem: Tezos v8.3 was added to the opam-repository, which means that
we can now update our native packages.
Solution: Enable package building in CI. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline.yml",
"new_path": ".buildkite/pipeline.yml",
"diff": "@@ -69,50 +69,50 @@ steps:\n- nix-build tests/tezos-binaries.nix --no-out-link --arg path-to-binaries ./docker\nbranches: \"!master\"\n-# - label: test deb source packages via docker\n-#... | Python | MIT License | serokell/tezos-packaging | Enable native packaging in CI
Problem: Tezos v8.3 was added to the opam-repository, which means that
we can now update our native packages.
Solution: Enable package building in CI. |
603,652 | 15.04.2021 17:06:13 | -10,800 | d1e46e55bdae3281ecd1d42df4b211ea8e998cd3 | Bump Tezos
Problem: New release candidate for v9.0 arrived.
Solution: Bump used Tezos version. | [
{
"change_type": "MODIFY",
"old_path": "nix/nix/sources.json",
"new_path": "nix/nix/sources.json",
"diff": "\"homepage\": \"https://opam.ocaml.org\",\n\"owner\": \"ocaml\",\n\"repo\": \"opam-repository\",\n- \"rev\": \"e565d865022b13bf63826b0a39f9276043c3ca6b\",\n- \"sha256\": \"1xfy4q47hq7lirk6pyir... | Python | MIT License | serokell/tezos-packaging | Bump Tezos
Problem: New release candidate for v9.0 arrived.
Solution: Bump used Tezos version. |
603,652 | 15.04.2021 17:10:49 | -10,800 | 93e3004c9f95cb8a322f0c8ce6c2c423f7d2418b | Activate 009 protocol back
Problem: v9.0-rc2 provides 009 protocol support.
Solution: Enable its support back. | [
{
"change_type": "MODIFY",
"old_path": "docker/build/static_libs.patch",
"new_path": "docker/build/static_libs.patch",
"diff": "@@ -186,3 +186,48 @@ index 81ebe6075..43e57a2d0 100644\n(rule\n(alias runtest_lint)\n+diff --git a/src/proto_009_PsFLoren/bin_accuser/dune b/src/proto_009_PsFLoren/bin_accu... | Python | MIT License | serokell/tezos-packaging | Activate 009 protocol back
Problem: v9.0-rc2 provides 009 protocol support.
Solution: Enable its support back. |
603,650 | 16.04.2021 12:05:22 | -7,200 | 81a2fc0df77c0bb7c0d606353e6f10fd6c7dd6f0 | Update brew formula bottle hashes to v9.0-rc2
Problem: brew formulas have been updated to v9.0-rc2 and new bottles
are available, but their hashes are not in the formulas yet.
Solution: update brew bottle hashes for updated formulas.
Additionally, fix tezos-sapling-param hashes format. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"new_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"diff": "@@ -27,6 +27,8 @@ class TezosAccuser008Ptedo2zk < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Update brew formula bottle hashes to v9.0-rc2
Problem: brew formulas have been updated to v9.0-rc2 and new bottles
are available, but their hashes are not in the formulas yet.
Solution: update brew bottle hashes for updated formulas.
Additionally, fix tezos-sapling-param hashes format. |
603,650 | 16.04.2021 12:13:29 | -7,200 | 33839ee39758cfc241e7a953eb0c04563a92f9a9 | Fix typo in node formula description | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-node-edo2net.rb",
"new_path": "Formula/tezos-node-edo2net.rb",
"diff": "@@ -9,7 +9,7 @@ class TezosNodeEdo2net < Formula\nbottle :unneeded\ndepends_on \"tezos-node\"\n- desc \"Meta formula that provides backround tezos-node service that runs on e... | Python | MIT License | serokell/tezos-packaging | Fix typo in node formula description |
603,652 | 22.04.2021 10:38:22 | -10,800 | 39b616e5b0dfd113b08dddbde0152ed31a16f226 | Bump Tezos to v9.0
Problem: New Tezos version was released.
Solution: Bump used Tezos version. | [
{
"change_type": "MODIFY",
"old_path": "nix/nix/sources.json",
"new_path": "nix/nix/sources.json",
"diff": "\"url_template\": \"https://github.com/<owner>/<repo>/archive/<rev>.tar.gz\"\n},\n\"tezos\": {\n- \"ref\": \"refs/tags/v9.0-rc2\",\n+ \"ref\": \"refs/tags/v9.0\",\n\"repo\": \"https://gitlab.c... | Python | MIT License | serokell/tezos-packaging | Bump Tezos to v9.0
Problem: New Tezos version was released.
Solution: Bump used Tezos version. |
603,652 | 22.04.2021 12:11:08 | -10,800 | a1dd5edda20492e37d9c3465635e738b46b7e3aa | Enable native packaging
New Tezos versions was published to the opam-repository, so we can
provide native packages for it. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline.yml",
"new_path": ".buildkite/pipeline.yml",
"diff": "@@ -69,50 +69,50 @@ steps:\n- nix-build tests/tezos-binaries.nix --no-out-link --arg path-to-binaries ./docker\nbranches: \"!master\"\n-# - label: test deb source packages via docker\n-#... | Python | MIT License | serokell/tezos-packaging | Enable native packaging
New Tezos versions was published to the opam-repository, so we can
provide native packages for it. |
603,652 | 22.04.2021 12:13:04 | -10,800 | 697ef947f8ef03c7d8872a0d47260bb2d52e5a79 | Remove edo2net workarounds
Problem: v9.0 tezos-node supports edo2net out of the box.
Our workarounds for its support are no longer needed.
Solution: Remove workarounds for edo2net and use it as a usual
predefined node network. As an addition, also support florencenet. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/packages.py",
"new_path": "docker/package/packages.py",
"diff": "@@ -5,7 +5,7 @@ import os, shutil, sys, subprocess, json\nfrom .model import Service, ServiceFile, SystemdUnit, Unit, OpamBasedPackage, TezosSaplingParamsPackage\n-networks = [\"ma... | Python | MIT License | serokell/tezos-packaging | Remove edo2net workarounds
Problem: v9.0 tezos-node supports edo2net out of the box.
Our workarounds for its support are no longer needed.
Solution: Remove workarounds for edo2net and use it as a usual
predefined node network. As an addition, also support florencenet. |
603,652 | 22.04.2021 18:34:37 | -10,800 | 3738e178a1c020efb00d61b3c3744953e5ddb216 | Bump ocaml to 4.10 everywhere
Problem: Tezos now uses new OCaml version.
Solution: Use 4.10 everywhere in our code. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/Dockerfile-fedora",
"new_path": "docker/package/Dockerfile-fedora",
"diff": "@@ -14,8 +14,8 @@ COPY protocols.json /tezos-packaging/protocols.json\nWORKDIR /tezos-packaging/docker\nENV OPAMROOT \"/tezos-packaging/docker/opamroot\"\nRUN opam init... | Python | MIT License | serokell/tezos-packaging | Bump ocaml to 4.10 everywhere
Problem: Tezos now uses new OCaml version.
Solution: Use 4.10 everywhere in our code. |
603,650 | 23.04.2021 12:36:34 | -7,200 | 8d5e36e74599ffd55b3d8f58cec1ad0fb5f1b4c6 | Update brew formula bottle hashes to v9.0
Problem: brew formulas have been updated to v9.0 and new bottles
are available, but their hashes are not in the formulas yet.
Solution: update brew bottle hashes for updated formulas. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"new_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"diff": "@@ -27,6 +27,8 @@ class TezosAccuser008Ptedo2zk < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Update brew formula bottle hashes to v9.0
Problem: brew formulas have been updated to v9.0 and new bottles
are available, but their hashes are not in the formulas yet.
Solution: update brew bottle hashes for updated formulas. |
603,650 | 14.04.2021 23:19:13 | -7,200 | de83d392774cfa7cc0e2c76cdb8226e445776d62 | Document baking on Raspberry Pi OS
Problem: we have Ubuntu packages for arm64 that could be installed and
used on 64bit Raspberry Pi OS, but no documentation on how to do so.
Solution: update README and baking tutorial with installation info for
Raspberry Pis. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -30,6 +30,7 @@ different networks, you can read more about this in [this article](https://tezos\n* [Static linux binaries](#static-linux)\n* [Native Ubuntu packages](#ubuntu)\n+ * [Ubuntu packages on Raspberry P... | Python | MIT License | serokell/tezos-packaging | [#76] Document baking on Raspberry Pi OS
Problem: we have Ubuntu packages for arm64 that could be installed and
used on 64bit Raspberry Pi OS, but no documentation on how to do so.
Solution: update README and baking tutorial with installation info for
Raspberry Pis. |
603,652 | 23.03.2021 17:54:43 | -10,800 | 7b6b4ec79d31d4f9a28b97cbeab2f03de206374d | Make WantedBy configurable for services
Problem: We'll need to use various WantedBy for various services, e.g.
tezos-node-<network> services will be wanted by the tezos-baking-<network>
services.
Solution: Add WantedBy to the existing systemd eDSL presented in our
python code. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -22,10 +22,15 @@ class Unit:\nself.requires = requires\nself.description = description\n+class Install:\n+ def __init__(self, wanted_by: List[str]=[]):\n+ self.wanted_by = wanted_by\n... | Python | MIT License | serokell/tezos-packaging | [#156] Make WantedBy configurable for services
Problem: We'll need to use various WantedBy for various services, e.g.
tezos-node-<network> services will be wanted by the tezos-baking-<network>
services.
Solution: Add WantedBy to the existing systemd eDSL presented in our
python code. |
603,652 | 23.03.2021 18:08:09 | -10,800 | bd335fa1fd6aeb586fc497f2e642fa4c787e1a06 | Make PartOf configurable for services
Problem: This property is required to propagate stop and restart signals
to the subservices. In our case we'll make node and daemons services
part of 'tezos-baking-<network>' service.
Solution: Make it configurable in our python "eDSL". | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -17,9 +17,11 @@ class Service:\nself.user = user\nclass Unit:\n- def __init__(self, after: List[str], description: str, requires: List[str]=[]):\n+ def __init__(self, after: List[str]... | Python | MIT License | serokell/tezos-packaging | [#156] Make PartOf configurable for services
Problem: This property is required to propagate stop and restart signals
to the subservices. In our case we'll make node and daemons services
part of 'tezos-baking-<network>' service.
Solution: Make it configurable in our python "eDSL". |
603,652 | 24.03.2021 16:50:58 | -10,800 | 419ab0517d231f9f7c3672266b9cc2c7690f11c3 | Add more properties to services eDSL
They're going to be used in new tezos-baking-<network> services. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -9,12 +9,15 @@ from typing import List\n# There are more possible fields, but only these are used by tezos services\nclass Service:\ndef __init__(self, exec_start: str, state_director... | Python | MIT License | serokell/tezos-packaging | [#156] Add more properties to services eDSL
They're going to be used in new tezos-baking-<network> services. |
603,652 | 24.03.2021 17:05:48 | -10,800 | 1b95ae01b8743044e22149887b56ad80dab81380 | Make startup script optional
Problem: Startup scripts won't be needed for new services.
Solution: Make this argument optional. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -38,7 +38,7 @@ class ServiceFile:\nself.install = install\nclass SystemdUnit:\n- def __init__(self, service_file:ServiceFile, startup_script:str, suffix:str=None,\n+ def __init__(self... | Python | MIT License | serokell/tezos-packaging | [#156] Make startup script optional
Problem: Startup scripts won't be needed for new services.
Solution: Make this argument optional. |
603,652 | 24.03.2021 17:06:17 | -10,800 | e70f6259d304eb890d8617744904b6f119b21a7e | Refactor spec and rules files generation
Problem: Opam based packages and new package for baking services will
have mostly common approach for generation of spec and rules files.
Solution: Refactor generation of these files to avoid code duplication
in future. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -91,6 +91,95 @@ ubuntu_epoch = 2\nfedora_epoch = 1\n+def gen_spec_systemd_part(package):\n+ systemd_units = package.systemd_units\n+ startup_scripts = list(set(map(lambda x: x.startup... | Python | MIT License | serokell/tezos-packaging | [#156] Refactor spec and rules files generation
Problem: Opam based packages and new package for baking services will
have mostly common approach for generation of spec and rules files.
Solution: Refactor generation of these files to avoid code duplication
in future. |
603,652 | 24.03.2021 16:56:22 | -10,800 | 78abf6b19a3de0f5c8bbdcd52ef5506d16d810de | Add package with baking services
Problem: It'll be convenient if user could run a single command to
start/stop/restart all services required for baking.
Solution: Provide tezos-baking package which currently consists only of
systemd services 'tezos-baking-<network>' that orchestrate tezos-node,
tezos-baker and tezos-endorser services, thus it's possible to run
'systemctl start/stop/restart tezos-baking-<network>.service'. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "import os, shutil, sys, subprocess, json\nfrom abc import ABCMeta, abstractmethod\n-from typing import List\n+from typing import List, Dict\n# There are more possible fields, but only th... | Python | MIT License | serokell/tezos-packaging | [#156] Add package with baking services
Problem: It'll be convenient if user could run a single command to
start/stop/restart all services required for baking.
Solution: Provide tezos-baking package which currently consists only of
systemd services 'tezos-baking-<network>' that orchestrate tezos-node,
tezos-baker and tezos-endorser services, thus it's possible to run
'systemctl start/stop/restart tezos-baking-<network>.service'. |
603,652 | 12.04.2021 18:03:39 | -10,800 | 15f3dca287c7ab738ecdc126e66630f9f453a172 | Define baker alias network-wise
Problem: Currently users have to define baker address in multiple places
when setting up the baking service, which is not very convenient.
Solution: Use configs provided by the tezos-baking package in the
daemons instantiated services, thus user will have to provide baker
alias in one network-specific config. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docker/package/defaults/tezos-baking.conf",
"diff": "+# vim: ft=sh\n+# SPDX-FileCopyrightText: 2021 TQ Tezos <https://tqtezos.com/>\n+#\n+# SPDX-License-Identifier: LicenseRef-MIT-TQ\n+\n+# shellcheck disable=SC2034\n+DATA_DIR=\"/var/lib/tezos/.... | Python | MIT License | serokell/tezos-packaging | [#156] Define baker alias network-wise
Problem: Currently users have to define baker address in multiple places
when setting up the baking service, which is not very convenient.
Solution: Use configs provided by the tezos-baking package in the
daemons instantiated services, thus user will have to provide baker
alias in one network-specific config. |
603,652 | 14.04.2021 17:06:54 | -10,800 | 33213164bde81aac3c7d3f880fcd032e1fc2ab6f | Increase node startup timeout
Problem: Node generates identity during ExecStartPre. This process can
take some relatively big amount of time and thus it can potentially fail
due to default 90s timeout.
Solution: Increase TimeoutStartSec to 450s. Now it should be enough even
for relatively slow hardware. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -9,13 +9,14 @@ from typing import List, Dict\n# There are more possible fields, but only these are used by tezos services\nclass Service:\ndef __init__(self, exec_start: str, state_di... | Python | MIT License | serokell/tezos-packaging | [#156] Increase node startup timeout
Problem: Node generates identity during ExecStartPre. This process can
take some relatively big amount of time and thus it can potentially fail
due to default 90s timeout.
Solution: Increase TimeoutStartSec to 450s. Now it should be enough even
for relatively slow hardware. |
603,652 | 20.04.2021 11:58:18 | -10,800 | 5e718b29cbea763ee6d746c0ebdff26474d3e70b | Gen client config during baking prestart
Problem: Both baker and endorser startup scripts try to generate
tezos-client config file in the data directory. However, this
responsibility should belong to the parent service that orchestrates
node and these daemons.
Solution: Move client config generation/update to the
tezos-baking-{network} prestart script. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -307,9 +307,9 @@ install: {self.name}\ndef gen_install(self, out):\nstartup_scripts = \\\n- list(set(filter(lambda x: x is not None, map(lambda x: x.startup_script, self.systemd_units... | Python | MIT License | serokell/tezos-packaging | [#156] Gen client config during baking prestart
Problem: Both baker and endorser startup scripts try to generate
tezos-client config file in the data directory. However, this
responsibility should belong to the parent service that orchestrates
node and these daemons.
Solution: Move client config generation/update to the
tezos-baking-{network} prestart script. |
603,652 | 17.03.2021 16:17:53 | -10,800 | 25a834457961b8e7a1d85feba26b1499cb03ca2d | Use new aliases in baking article
Problem: Providing data-dir manually to the `tezos-node` commands is a
bit inconvenient.
Solution: Suggest using tezos-node-<network> aliases instead of
providing data directory option manually. | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -96,31 +96,14 @@ 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.\n-In order to import the snapshot, run... | Python | MIT License | serokell/tezos-packaging | [#148] Use new aliases in baking article
Problem: Providing data-dir manually to the `tezos-node` commands is a
bit inconvenient.
Solution: Suggest using tezos-node-<network> aliases instead of
providing data directory option manually. |
603,652 | 17.03.2021 16:20:39 | -10,800 | e853b11731fc85199cb4962dd6d63657aacca595 | Remove tulip snapshots from the suggested list
Problem: seems to be dead:(
Solution: Remove its mention from the baking doc. | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -86,7 +86,6 @@ In order to run a baker locally, you'll need a fully-synced local `tezos-node`.\nThe fastest way to bootstrap the node is to import a snapshot.\nSnapshots can be downloaded from the foll... | Python | MIT License | serokell/tezos-packaging | Remove tulip snapshots from the suggested list
Problem: https://snapshots.tulip.tools/ seems to be dead:(
Solution: Remove its mention from the baking doc. |
603,650 | 29.04.2021 15:08:27 | -7,200 | a989a6f3b18105453c1c51141432b612f0482436 | [Chore] Fix grammar in auto-release template
Problem: there are some grammar mistakes in the auto-release template.
Solution: fix the grammar. | [
{
"change_type": "MODIFY",
"old_path": "release.nix",
"new_path": "release.nix",
"diff": "@@ -7,10 +7,10 @@ let\nrelease-binaries = import ./nix/build/release-binaries.nix;\nversion = replaceStrings [\"refs/tags/\"] [\"\"] commonMeta.branchName;\nrelease-notes = writeTextDir \"release-notes.md\" ''\... | Python | MIT License | serokell/tezos-packaging | [Chore] Fix grammar in auto-release template
Problem: there are some grammar mistakes in the auto-release template.
Solution: fix the grammar. |
603,652 | 03.05.2021 17:19:59 | -10,800 | d31cb69be945eac94a58269aa872feeff85646f5 | Bump Tezos to v9.1
Problem: New Tezos version was released.
Solution: Bump used Tezos version. | [
{
"change_type": "MODIFY",
"old_path": "nix/nix/sources.json",
"new_path": "nix/nix/sources.json",
"diff": "\"homepage\": \"https://opam.ocaml.org\",\n\"owner\": \"ocaml\",\n\"repo\": \"opam-repository\",\n- \"rev\": \"237e8e9eb5af7fdae743add41725e195b637c4b7\",\n- \"sha256\": \"0yx9n3sj90v6pl5qbg63... | Python | MIT License | serokell/tezos-packaging | Bump Tezos to v9.1
Problem: New Tezos version was released.
Solution: Bump used Tezos version. |
603,652 | 03.05.2021 17:22:26 | -10,800 | 99b90dee815c78673c1d9241d005e9a1bb3497d6 | Suspend v9.1 native packaging
Problem: There are no v9.1 opam packages
at the moment, they'll be release later.
Solution: Disable native packaging in CI for now. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline.yml",
"new_path": ".buildkite/pipeline.yml",
"diff": "@@ -69,50 +69,50 @@ steps:\n- nix-build tests/tezos-binaries.nix --no-out-link --arg path-to-binaries ./docker\nbranches: \"!master\"\n- - label: test deb source packages via docker\n- c... | Python | MIT License | serokell/tezos-packaging | Suspend v9.1 native packaging
Problem: There are no v9.1 opam packages
at the moment, they'll be release later.
Solution: Disable native packaging in CI for now. |
603,652 | 28.04.2021 14:45:39 | -10,800 | 2d0f674a504be978d49803f834714196af62481c | Update docs
Problem: Now we're providing more user-friendly way to set up and
start baking instace, we should use this way in the baking doc.
Solution: Rework baking.md to use `tezos-baking-<network>` service. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -161,6 +161,10 @@ formulas should be updated. Also, bottles should be uploaded to the release arti\n`tezos-endorser-<proto>`, and `tezos-signer` packages have systemd files included to the\nUbuntu and Fedora pac... | Python | MIT License | serokell/tezos-packaging | [#156] Update docs
Problem: Now we're providing more user-friendly way to set up and
start baking instace, we should use this way in the baking doc.
Solution: Rework baking.md to use `tezos-baking-<network>` service. |
603,652 | 28.04.2021 15:55:42 | -10,800 | c728ffed3ea85c2ba85c66a64af4bc74291b14c1 | Add TL;DR section
Add a section that lists command required for running edo2net baking
services. | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -39,6 +39,7 @@ networks.\nTo install them, run the following commands:\n+<a name=\"ubuntu\"></a>\n#### On Ubuntu\n```\n# Add PPA with Tezos binaries\n@@ -48,6 +49,7 @@ sudo apt-get update\nsudo apt-get... | Python | MIT License | serokell/tezos-packaging | [#156] Add TL;DR section
Add a section that lists command required for running edo2net baking
services. |
603,652 | 04.05.2021 10:41:09 | -10,800 | 7ffb16a3a58dd7c03858a522e08f287f533cbc2a | Update brew bottles hashes
Problem: Brew formulas have been updated to v9.1 and new bottles
are available, but their hashes are not in the formulas yet.
Solution: Update brew bottle hashes for updated formulas. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"new_path": "Formula/tezos-accuser-008-PtEdo2Zk.rb",
"diff": "@@ -27,6 +27,8 @@ class TezosAccuser008Ptedo2zk < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Update brew bottles hashes
Problem: Brew formulas have been updated to v9.1 and new bottles
are available, but their hashes are not in the formulas yet.
Solution: Update brew bottle hashes for updated formulas. |
603,652 | 04.05.2021 14:18:21 | -10,800 | e820174c051fb1954d1ca287f73fb755967fd8b5 | Build native packages in CI
Problem: v9.1 was released to the opam-repository, this means we can now
build native packages.
Solution: Enable native packages building in CI. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline.yml",
"new_path": ".buildkite/pipeline.yml",
"diff": "@@ -69,50 +69,50 @@ steps:\n- nix-build tests/tezos-binaries.nix --no-out-link --arg path-to-binaries ./docker\nbranches: \"!master\"\n-# - label: test deb source packages via docker\n-#... | Python | MIT License | serokell/tezos-packaging | Build native packages in CI
Problem: v9.1 was released to the opam-repository, this means we can now
build native packages.
Solution: Enable native packages building in CI. |
603,649 | 06.05.2021 11:32:36 | 14,400 | 5c3e001e24481f8f336ec0d45bdbc2f73895f2a3 | update docs: improve tldr (quick start) | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -37,16 +37,13 @@ The most convenient way to orchestrate all these binaries is to use the `tezos-b\npackage, which provides predefined services for running baking instances on different\nnetworks.\n-To ... | Python | MIT License | serokell/tezos-packaging | update docs: improve tldr (quick start) |
603,652 | 03.05.2021 15:30:58 | -10,800 | 9dff061f74c832866b6759f0a157811864603176 | Provide ledger udev rules with Tezos.
Problem: Users have to manually install udev rules in case they want to
use Tezos binaries along with the ledger device.
Solution: Install udev rules during postinstallation stage of the
packages with Tezos binaries that may use ledger. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "LICENSES/LicenseRef-Apache-Ledger.txt",
"diff": "+ Apache License\n+ Version 2.0, January 2004\n+ http://www.apache.org/licenses/\n+\n+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n+\n+ 1. Definitions.\n+\n+ \"License\" shall me... | Python | MIT License | serokell/tezos-packaging | [#180] Provide ledger udev rules with Tezos.
Problem: Users have to manually install udev rules in case they want to
use Tezos binaries along with the ledger device.
Solution: Install udev rules during postinstallation stage of the
packages with Tezos binaries that may use ledger. |
603,652 | 03.05.2021 15:55:51 | -10,800 | 011bd0dc4e2880e211c7faad1ea64df0ef7d3dbc | Fix postinst generation for Fedora
Problem: Post-installation are generated only for packages that have
some systemd units.
Solution: Generate post-installation steps for all packages disregarding
the existing of systemd units. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -235,14 +235,8 @@ Description: {self.desc}\nconfig_files = list(filter(lambda x: x is not None, map(lambda x: x.config_file,\nself.systemd_units)))\nrequires = \" \".join(run_deps)\n-... | Python | MIT License | serokell/tezos-packaging | [#180] Fix postinst generation for Fedora
Problem: Post-installation are generated only for packages that have
some systemd units.
Solution: Generate post-installation steps for all packages disregarding
the existing of systemd units. |
603,652 | 22.04.2021 10:01:02 | -10,800 | 2eb0057f6ab5dfc0ca55b4ba995dce601bd423b6 | Support password-protected keys
Problem: Existing systemd services doesn't work with password-protected
keys.
Solution: Support them using systemd-ask-password. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -9,19 +9,24 @@ from typing import List, Dict\n# There are more possible fields, but only these are used by tezos services\nclass Service:\ndef __init__(self, exec_start: str, state_di... | Python | MIT License | serokell/tezos-packaging | [#176] Support password-protected keys
Problem: Existing systemd services doesn't work with password-protected
keys.
Solution: Support them using systemd-ask-password. |
603,652 | 04.05.2021 11:00:04 | -10,800 | b0a7e4def265fb4ec865bba30b896c5d20c16366 | Add 'acl' to runtime dependencies
Problem: 'setfacl' and 'getfacl' aren't presented by default, they're
provided by the 'acl' packages.
Solution: Use this package as a runtime dependency for 'tezos-baking',
'tezos-baker-<proto>' and 'tezos-endorser-<proto>' packages. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -198,15 +198,16 @@ override_dh_systemd_start:\nclass OpamBasedPackage(AbstractPackage):\ndef __init__(self, name: str, desc: str, systemd_units: List[SystemdUnit]=[],\ntarget_proto: s... | Python | MIT License | serokell/tezos-packaging | [#176] Add 'acl' to runtime dependencies
Problem: 'setfacl' and 'getfacl' aren't presented by default, they're
provided by the 'acl' packages.
Solution: Use this package as a runtime dependency for 'tezos-baking',
'tezos-baker-<proto>' and 'tezos-endorser-<proto>' packages. |
603,652 | 04.05.2021 14:13:14 | -10,800 | d548c59f984ac2d9f4da440c2f5e4aad97dfea89 | Add tezos-client to baker and endorser deps
Problem: 'tezos-client' is used in the startup script for systemd
services in the baker and endorser packages. However, these packages
don't directly depend on 'tezos-client', thus scripts may unexpectedly
fail.
Solution: Add 'tezos-client' to runtime dependencies of the baker and
endorser packages. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/packages.py",
"new_path": "docker/package/packages.py",
"diff": "@@ -251,7 +251,7 @@ for proto in active_protocols:\ndaemon_postinst_common + gen_daemon_specific_postinst(f\"tezos-baker-{proto}\") \\\n+ ledger_udev_postinst,\npostrm_steps=gen_da... | Python | MIT License | serokell/tezos-packaging | [#175] Add tezos-client to baker and endorser deps
Problem: 'tezos-client' is used in the startup script for systemd
services in the baker and endorser packages. However, these packages
don't directly depend on 'tezos-client', thus scripts may unexpectedly
fail.
Solution: Add 'tezos-client' to runtime dependencies of the baker and
endorser packages. |
603,649 | 07.05.2021 12:07:55 | 14,400 | 81f6bbd20150de71e603acc11bd65dbe5d68b920 | Update docs/baking.md | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -267,8 +267,7 @@ sudo -u tezos tezos-node-$tznet snapshot import $snapshot_file\nsudo systemctl start tezos-node-$tznet\n```\n-If all you want is to run Tezos node, enable the service and stop\n-here.\... | Python | MIT License | serokell/tezos-packaging | Update docs/baking.md
Co-authored-by: Pinto Pasquale <pasqu4le@users.noreply.github.com> |
603,649 | 07.05.2021 12:35:30 | 14,400 | 11423ca0caa190a79f138a575cc72299ed086911 | tweak headers in installation section | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -37,26 +37,26 @@ The most convenient way to orchestrate all these binaries is to use the `tezos-b\npackage, which provides predefined services for running baking instances on different\nnetworks.\n-Fir... | Python | MIT License | serokell/tezos-packaging | tweak headers in installation section |
603,652 | 10.05.2021 12:51:33 | -10,800 | 3e79ff4316cc017e2ef2e86bd01e861410e3f948 | Don't use WantedBy
Problem: WantedBy rule requires services to be enable in order to take
effect. Enabling also makes services start on system start-up, which is
quite unpleasant.
Solution: Don't use WantedBy and don't enable services in the
post-installation stage. Use Requires rule in the baking services to list
dependencies instead. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -113,7 +113,6 @@ def gen_spec_systemd_part(package):\npackage.systemd_units)))\ninstall_unit_files = \"\"\nsystemd_unit_files = \"\"\n- enable_units = \"\"\nsystemd_units_post = \"\"\... | Python | MIT License | serokell/tezos-packaging | [#193] Don't use WantedBy
Problem: WantedBy rule requires services to be enable in order to take
effect. Enabling also makes services start on system start-up, which is
quite unpleasant.
Solution: Don't use WantedBy and don't enable services in the
post-installation stage. Use Requires rule in the baking services to list
dependencies instead. |
603,649 | 10.05.2021 09:58:45 | 14,400 | 34b52e89248b7d626e0359092c0dc85bedf0a933 | fix link from quick start to installation instructions section | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -22,7 +22,7 @@ You will also need to run the 64bit version of the [Raspberry Pi OS](https://www\nthat you can use by following the [installation instructions](https://www.raspberrypi.org/documentation/... | Python | MIT License | serokell/tezos-packaging | fix link from quick start to installation instructions section |
603,649 | 10.05.2021 10:01:46 | 14,400 | dd5bbfc6b49d6720036b5f9e4bed6a825d78bdd3 | tweak wording, fix punctuation | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -283,7 +283,7 @@ Update service configuration:\nsudo systemctl edit tezos-node-$tznet\n```\n-An editor will open with service override configuration,\n+An editor will open with service override configu... | Python | MIT License | serokell/tezos-packaging | tweak wording, fix punctuation |
603,649 | 10.05.2021 14:33:55 | 14,400 | ff4a28e690543e04711c292bce5f56423a08d78e | Shorten section heading | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -37,7 +37,7 @@ The most convenient way to orchestrate all these binaries is to use the `tezos-b\npackage, which provides predefined services for running baking instances on different\nnetworks.\n-#### ... | Python | MIT License | serokell/tezos-packaging | Shorten section heading |
603,649 | 10.05.2021 14:34:21 | 14,400 | 221caa92435d137c752967c45c4152864349d99d | update text to reflect that mainnet is now using florence protocol | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -27,8 +27,8 @@ with an image downloaded from the [official 64bit repository](https://downloads.\nIn order to run a baking instance, you'll need the following Tezos binaries:\n`tezos-client`, `tezos-nod... | Python | MIT License | serokell/tezos-packaging | update text to reflect that mainnet is now using florence protocol |
603,649 | 10.05.2021 14:35:44 | 14,400 | d9d0f2dacda5bc6d5bb2fd9a3d80c421c8b5987c | skip intro prose when jumping from quick start to installation isntructions | [
{
"change_type": "MODIFY",
"old_path": "docs/baking.md",
"new_path": "docs/baking.md",
"diff": "@@ -247,7 +247,7 @@ multipass shell tezos\n</details>\n-1) Install `tezos-baking` package following [these instructions](#installation).\n+1) Install `tezos-baking` package following [these instructions](... | Python | MIT License | serokell/tezos-packaging | skip intro prose when jumping from quick start to installation isntructions |
603,652 | 13.05.2021 11:16:53 | -10,800 | 1a4e567c1b325f4de2afacf8462f702a04fed5ae | Add udev to native runtime dependencies
Problem: udev may be absent in some minimal images of Ubuntu or Fedora,
thus post-installation script that installs udev rules may fails.
Solution: Explicitely add udev dependency to the tezos-client,
tezos-signer, tezos-{baker, endorser, accuser} packages. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/packages.py",
"new_path": "docker/package/packages.py",
"diff": "@@ -69,7 +69,7 @@ packages = [\nOpamBasedPackage(\"tezos-client\",\n\"CLI client for interacting with tezos blockchain\",\noptional_opam_deps=[\"tls\", \"ledgerwallet-tezos\"],\n- ... | Python | MIT License | serokell/tezos-packaging | [#198] Add udev to native runtime dependencies
Problem: udev may be absent in some minimal images of Ubuntu or Fedora,
thus post-installation script that installs udev rules may fails.
Solution: Explicitely add udev dependency to the tezos-client,
tezos-signer, tezos-{baker, endorser, accuser} packages. |
603,652 | 13.05.2021 11:21:18 | -10,800 | 7c17e48390d01f0a60d5b6b6747523240330508d | Don't add udev rules inside containers
Problem: udev doesn't fully work inside containers (either docker or
podman), so post-installation script that adds udev rules for ledger
devivce fails inside them.
Solution: Check whether the packages is being installed inside the
container and don't add udev rules in case we're inside it. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/scripts/udev-rules",
"new_path": "docker/package/scripts/udev-rules",
"diff": "# This snippet is based on https://github.com/LedgerHQ/udev-rules/blob/master/add_udev_rules.sh with the changes\n# that are fixing https://github.com/LedgerHQ/udev-r... | Python | MIT License | serokell/tezos-packaging | [#198] Don't add udev rules inside containers
Problem: udev doesn't fully work inside containers (either docker or
podman), so post-installation script that adds udev rules for ledger
devivce fails inside them.
Solution: Check whether the packages is being installed inside the
container and don't add udev rules in case we're inside it. |
603,652 | 13.05.2021 15:48:17 | -10,800 | 767d668a98f8bcd6318b73ba02af159548dbdc0f | Remove 008 protocol from mainnet baking
Problem: 009 protocol was activated mainnet, now there is no sense in
running 008 daemons on mainnet.
Solution: Remove 008 daemons from the contents of mainnet baking
service. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/packages.py",
"new_path": "docker/package/packages.py",
"diff": "@@ -7,7 +7,7 @@ from .model import Service, ServiceFile, SystemdUnit, Unit, Install, OpamBasedPa\nnetworks = [\"mainnet\", \"edo2net\", \"florencenet\"]\nnetworks_protos = {\n- \"m... | Python | MIT License | serokell/tezos-packaging | [#156] Remove 008 protocol from mainnet baking
Problem: 009 protocol was activated mainnet, now there is no sense in
running 008 daemons on mainnet.
Solution: Remove 008 daemons from the contents of mainnet baking
service. |
603,658 | 18.05.2021 07:07:21 | -7,200 | d83357f376c9dbc88eac6a222c4a7fdc71cebb95 | Deactivate protocol 008
Problem: edo2net is now obsolete, so we don't need to support it.
Solution: removed 008 support from tezos-packaging. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline.yml",
"new_path": ".buildkite/pipeline.yml",
"diff": "@@ -84,7 +84,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 generation sani... | Python | MIT License | serokell/tezos-packaging | Deactivate protocol 008
Problem: edo2net is now obsolete, so we don't need to support it.
Solution: removed 008 support from tezos-packaging. |
603,658 | 15.03.2021 17:58:30 | -3,600 | 79f3220376599d489d63f75b46798d9b3869222f | Add nixos modules for tezos binaries
Problem: we're providing systemd services for tezos-node and
tezos daemons in the native packages, but there are no nixos
modules for them.
Solution: add nixos modules for tezos-node, tezos-signer,
tezos-baker-<proto>, tezos-accuser-<proto>, and
tezos-endorser-<proto>. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "nix/modules/common.nix",
"diff": "+# SPDX-FileCopyrightText: 2021 TQ Tezos <https://tqtezos.com/>\n+#\n+# SPDX-License-Identifier: LicenseRef-MIT-TQ\n+\n+{ lib, pkgs, ... }:\n+\n+with lib;\n+rec {\n+ sharedOptions = {\n+\n+ logVerbosity = mkOpti... | Python | MIT License | serokell/tezos-packaging | [#107] Add nixos modules for tezos binaries
Problem: we're providing systemd services for tezos-node and
tezos daemons in the native packages, but there are no nixos
modules for them.
Solution: add nixos modules for tezos-node, tezos-signer,
tezos-baker-<proto>, tezos-accuser-<proto>, and
tezos-endorser-<proto>. |
603,658 | 22.03.2021 20:28:46 | -3,600 | 960c54371997246ddd99110562a7e463efd94b23 | Add nixos test for Tezos modules
Problem: there's no way to test if NixOS modules for Tezos binaries
build without NixOS tests.
Solution: added some basic tests. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "tests/tezos-modules.nix",
"diff": "+# SPDX-FileCopyrightText: 2021 TQ Tezos <https://tqtezos.com/>\n+#\n+# SPDX-License-Identifier: LicenseRef-MIT-TQ\n+let\n+ nixpkgs = (import ../nix/nix/sources.nix).nixpkgs;\n+ pkgs = import ../nix/build/pkgs.... | Python | MIT License | serokell/tezos-packaging | [#107] Add nixos test for Tezos modules
Problem: there's no way to test if NixOS modules for Tezos binaries
build without NixOS tests.
Solution: added some basic tests. |
603,658 | 18.05.2021 20:10:49 | -7,200 | 8fc3693d072f7677570009dc262b4e6c42fa21f4 | Add a CI step
Problem: now that we have NixOS tests for tezos modules, we should
run them in our pipeline.
Solution: added a buildkite step to run tests/tezos-modules.nix | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline.yml",
"new_path": ".buildkite/pipeline.yml",
"diff": "@@ -59,6 +59,10 @@ steps:\nagents:\nqueue: \"x86_64-darwin\"\n+ - label: test nixos modules\n+ commands:\n+ - nix-build tests/tezos-modules.nix --no-out-link\n+\n# binaries built by dock... | Python | MIT License | serokell/tezos-packaging | [#107] Add a CI step
Problem: now that we have NixOS tests for tezos modules, we should
run them in our pipeline.
Solution: added a buildkite step to run tests/tezos-modules.nix |
603,652 | 11.05.2021 15:30:35 | -10,800 | 611f9ca3d3ff48160c848f0e14692e97020b4dbd | DROP ME BEFORE MERGING | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline.yml",
"new_path": ".buildkite/pipeline.yml",
"diff": "@@ -73,50 +73,50 @@ steps:\n- nix-build tests/tezos-binaries.nix --no-out-link --arg path-to-binaries ./docker\nbranches: \"!master\"\n- - label: test deb source packages via docker\n- c... | Python | MIT License | serokell/tezos-packaging | DROP ME BEFORE MERGING |
603,652 | 18.05.2021 12:26:51 | -10,800 | 5b746d3f8ecf0f00a8ac85a3ae7d7347ce7f91a3 | Add pipeline-filtering tests
Problem: Now pipeline-filtering algorithm is rather complex and we
should have a way to test it.
Solution: Add a tests that check whether filtering works as expected for
an example dependency tree from the filter-pipeline.py description. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -13,6 +13,11 @@ steps:\n- label: crossref-verify\ncommand: \"nix run -f https://github.com/serokell/crossref-verifier/archive/68a1f9d25b6e7835fea8299b18a3e6c61dbb2a5c.tar.gz -... | Python | MIT License | serokell/tezos-packaging | [#195] Add pipeline-filtering tests
Problem: Now pipeline-filtering algorithm is rather complex and we
should have a way to test it.
Solution: Add a tests that check whether filtering works as expected for
an example dependency tree from the filter-pipeline.py description. |
603,652 | 20.05.2021 10:11:24 | -10,800 | eb6e73696e9fb8397f9385339e3049ede6d9f70c | Remove old pipeline.yml
Problem: We're going to use a new way to generate pipeline.yml, so its
old version is no longer needed.
Solution: Remove old pipeline.yml. | [
{
"change_type": "DELETE",
"old_path": ".buildkite/pipeline.yml",
"new_path": null,
"diff": "-# SPDX-FileCopyrightText: 2019-2020 TQ Tezos <https://tqtezos.com/>\n-#\n-# SPDX-License-Identifier: LicenseRef-MIT-TQ\n-\n-env:\n- SET_VERSION: \"export TEZOS_VERSION=\\\"$(cat nix/nix/sources.json | jq -r... | Python | MIT License | serokell/tezos-packaging | [#195] Remove old pipeline.yml
Problem: We're going to use a new way to generate pipeline.yml, so its
old version is no longer needed.
Solution: Remove old pipeline.yml. |
603,652 | 29.04.2021 14:09:21 | -10,800 | dbaaf20443f6e74c44afeaf473d89481b688123f | Add python formatter to CI
Problem: We now have quite a lot of python code which isn't in the best
shape.
Solution: Use 'black' in CI to be sure that our code is formatted
consistently and this formatting doesn't look ugly. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -13,6 +13,8 @@ steps:\n- label: crossref-verify\ncommand: \"nix run -f https://github.com/serokell/crossref-verifier/archive/68a1f9d25b6e7835fea8299b18a3e6c61dbb2a5c.tar.gz -c... | Python | MIT License | serokell/tezos-packaging | [#175] Add python formatter to CI
Problem: We now have quite a lot of python code which isn't in the best
shape.
Solution: Use 'black' in CI to be sure that our code is formatted
consistently and this formatting doesn't look ugly. |
603,652 | 29.04.2021 14:28:57 | -10,800 | 478f632a6d2d14b113865aa8f40d4f626d8904c7 | Move systemd-related code to a new module
Problem: model.py module is quite huge, also it contains a mix up of
classes required for both native packages and systemd services.
Solution: Move systemd-related classes and functions to a dedicated
module. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -6,85 +6,14 @@ import os, shutil, sys, subprocess, json\nfrom abc import ABCMeta, abstractmethod\nfrom typing import List, Dict\n-# There are more possible fields, but only these are ... | Python | MIT License | serokell/tezos-packaging | [#175] Move systemd-related code to a new module
Problem: model.py module is quite huge, also it contains a mix up of
classes required for both native packages and systemd services.
Solution: Move systemd-related classes and functions to a dedicated
module. |
603,652 | 04.05.2021 13:37:23 | -10,800 | 217ae607b33171f15d42bf3b936e35cdd0303516 | Extract ubuntu package building
Problem: package_generator module is quite big and it's hard to navigate
through it.
Solution: Move ubuntu package building to a dedicated module. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/Dockerfile-ubuntu",
"new_path": "docker/package/Dockerfile-ubuntu",
"diff": "@@ -21,4 +21,5 @@ RUN opam install opam-bundle=0.4 --yes\nCOPY docker/package/*.py /tezos-packaging/docker/package/\nCOPY docker/package/defaults /tezos-packaging/docke... | Python | MIT License | serokell/tezos-packaging | [#175] Extract ubuntu package building
Problem: package_generator module is quite big and it's hard to navigate
through it.
Solution: Move ubuntu package building to a dedicated module. |
603,652 | 04.05.2021 13:17:28 | -10,800 | 456c6b25c383a94d9a435de2c3d690a346562518 | Extract fedora package building
Problem: Ubuntu package building was moved to a dedicated module, it
makes sense to do the same for Fedora.
Solution: Move Fedora package building to a dedicated module. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/Dockerfile-fedora",
"new_path": "docker/package/Dockerfile-fedora",
"diff": "@@ -20,4 +20,5 @@ RUN opam install opam-bundle=0.4 --yes\nCOPY docker/package/*.py /tezos-packaging/docker/package/\nCOPY docker/package/defaults /tezos-packaging/docke... | Python | MIT License | serokell/tezos-packaging | [#175] Extract fedora package building
Problem: Ubuntu package building was moved to a dedicated module, it
makes sense to do the same for Fedora.
Solution: Move Fedora package building to a dedicated module. |
603,652 | 13.05.2021 14:43:49 | -10,800 | 48842d8bfcfc000acc1cd5c3b0d843510315d1a5 | Various deduplications and refactoring
Some changes that generally improve code quality. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -35,7 +35,6 @@ class AbstractPackage:\ndef gen_makefile(self, out):\npass\n- @abstractmethod\ndef gen_changelog(self, ubuntu_version, maintainer, date, out):\nchangelog_contents = f\"... | Python | MIT License | serokell/tezos-packaging | [#175] Various deduplications and refactoring
Some changes that generally improve code quality. |
603,652 | 20.05.2021 11:22:28 | -10,800 | f0e08364155d535f4df3683fc96be762b43dde56 | Use Ubuntu 20.04 image for package building
Problem: We want to use some Python features that aren't presented in
3.5 which is the latest version in the Ubuntu 18.04.
Solution: Use image based on 20.04 instead. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/Dockerfile-ubuntu",
"new_path": "docker/package/Dockerfile-ubuntu",
"diff": "#\n# SPDX-License-Identifier: LicenseRef-MIT-TQ\n-FROM ubuntu:18.04\n+FROM ubuntu:20.04\n+ENV DEBIAN_FRONTEND=\"noninteractive\"\nRUN apt-get update && apt-get install ... | Python | MIT License | serokell/tezos-packaging | [#175] Use Ubuntu 20.04 image for package building
Problem: We want to use some Python features that aren't presented in
3.5 which is the latest version in the Ubuntu 18.04.
Solution: Use image based on 20.04 instead. |
603,652 | 20.05.2021 12:02:06 | -10,800 | 7cffc6ed167e3447928d62f9bd7faa3683fd75d3 | Use dataclass for systemd-related classes
Problem: Constructors for classes in systemd.py module produce
substantial amount of boilerplate.
Solution: Use in order to generate these boilerplate
constructors. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/fedora.py",
"new_path": "docker/package/fedora.py",
"diff": "@@ -33,7 +33,7 @@ def build_fedora_package(\nunit_name = f\"{pkg.name}-{systemd_unit.suffix}\"\nout_path = (\nf\"{dir}/{unit_name}@.service\"\n- if len(systemd_unit.instances) > 0\n+ i... | Python | MIT License | serokell/tezos-packaging | [#175] Use dataclass for systemd-related classes
Problem: Constructors for classes in systemd.py module produce
substantial amount of boilerplate.
Solution: Use @dataclass in order to generate these boilerplate
constructors. |
603,652 | 20.05.2021 13:51:58 | -10,800 | 6cb39c51c9ff284dd3735b12af7b15c3d1469bcb | Hotfix binary packages steps
Problem: 008 protocol was disabled in However, CI still tries to
build native packages for 008 daemon binaries. The update from was
lost in #197:(
Solution: Build 009 daemons binary packages. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -115,7 +115,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 | [#195] Hotfix binary packages steps
Problem: 008 protocol was disabled in #200. However, CI still tries to
build native packages for 008 daemon binaries. The update from #200 was
lost in #197:(
Solution: Build 009 daemons binary packages. |
603,652 | 26.05.2021 13:25:51 | -10,800 | ec157de45b9b0cbb7ae55bee57749b9c1819bdc1 | Provide key attributes for dependency steps
Problem: Turned out buildkite uses 'key' attribute in order to determine
steps dependencies instead of using 'label'.
Solution: Explicitely add keys to steps that used as a dependency. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/filter-pipeline.py",
"new_path": ".buildkite/filter-pipeline.py",
"diff": "@@ -70,7 +70,19 @@ def dfs(name, depends_on_dict, visited):\ndfs(adjacent, depends_on_dict, visited)\n-def build_tree(steps):\n+# Buildkite uses 'key' attribute to determine ... | Python | MIT License | serokell/tezos-packaging | [#195] Provide key attributes for dependency steps
Problem: Turned out buildkite uses 'key' attribute in order to determine
steps dependencies instead of using 'label'.
Solution: Explicitely add keys to steps that used as a dependency. |
603,652 | 02.06.2021 16:46:13 | -10,800 | 7b03ad36883bb37d9b95bdcac0a87cab1c76c813 | Support Ubuntu 21.04
Problem: Currently we support 18.04, 20.04 and 20.10. However, 21.04 was
released in the April and community lacks Tezos packages for it.
Solution: Add 21.04 (aka hirsute) to the list of supported ubuntu
versions. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/package_generator.py",
"new_path": "docker/package/package_generator.py",
"diff": "@@ -60,7 +60,12 @@ build_deps = [\n]\ncommon_deps = run_deps + build_deps\n-ubuntu_versions = [\"bionic\", \"focal\", \"groovy\"] # 18.04 # 20.04 # 20.10\n+ubuntu... | Python | MIT License | serokell/tezos-packaging | [#212] Support Ubuntu 21.04
Problem: Currently we support 18.04, 20.04 and 20.10. However, 21.04 was
released in the April and community lacks Tezos packages for it.
Solution: Add 21.04 (aka hirsute) to the list of supported ubuntu
versions. |
603,652 | 02.06.2021 16:47:16 | -10,800 | d42984f4de418501ab31ac233bdd1f13e9ca1375 | Optionally depend on dh-systemd
Problem: Since 13.3 debhelper includes dh-systemd and as a consequence a
separete dh-systemd packages was removed, thus it's not presented in the
21.04 distro.
Solution: Depend on dh-systemd only in case we're not building ubuntu
package for 21.04. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -215,7 +215,7 @@ class OpamBasedPackage(AbstractPackage):\nsubprocess.run([\"tar\", \"-zxf\", f\"{opam_package}-bundle.tar.gz\"], check=True)\nos.rename(f\"{opam_package}-bundle\", ou... | Python | MIT License | serokell/tezos-packaging | [#212] Optionally depend on dh-systemd
Problem: Since 13.3 debhelper includes dh-systemd and as a consequence a
separete dh-systemd packages was removed, thus it's not presented in the
21.04 distro.
Solution: Depend on dh-systemd only in case we're not building ubuntu
package for 21.04. |
603,652 | 31.05.2021 18:37:31 | -10,800 | 57f14f8e89e262818bfb06ddda1a0b23d323136b | Bump Tezos sources and opam dependencies
Problem: The new Tezos version was released.
Solution: Bump used tezos sources and their opam dependencies. | [
{
"change_type": "MODIFY",
"old_path": "nix/nix/sources.json",
"new_path": "nix/nix/sources.json",
"diff": "\"homepage\": \"https://opam.ocaml.org\",\n\"owner\": \"ocaml\",\n\"repo\": \"opam-repository\",\n- \"rev\": \"d90747963ba246b00526d08d26241e5654f418bf\",\n- \"sha256\": \"0yd9y0wxzhm91j6wja19... | Python | MIT License | serokell/tezos-packaging | Bump Tezos sources and opam dependencies
Problem: The new Tezos version was released.
Solution: Bump used tezos sources and their opam dependencies. |
603,652 | 01.06.2021 09:55:49 | -10,800 | 0c109bf9a71c4ffdaba532872245a2bc099fef3e | Update brew formulas version and remove old hashes
Problem: The new Tezos version arrived.
Solution: Bump versions in brew formulas and remove v9.1-1 bottles
hashes since they're outdated now. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"new_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"diff": "@@ -10,9 +10,9 @@ class TezosAccuser009Psfloren < Formula\nend\nhomepage \"https://gitlab.com/tezos/tezos\"\n- url \"https://gitlab.com/tezos/tezos.git\", :ta... | Python | MIT License | serokell/tezos-packaging | Update brew formulas version and remove old hashes
Problem: The new Tezos version arrived.
Solution: Bump versions in brew formulas and remove v9.1-1 bottles
hashes since they're outdated now. |
603,652 | 01.06.2021 10:05:49 | -10,800 | f27a70b6e45eed5021e182b42e1834b7a1ab39a9 | Support new protocol and testnet
Problem: In v9.2 new protocol with the new testnet were added.
We should support them.
Solution: Provide 010 support along with the new granadanet. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Formula/tezos-accuser-010-PtGRANAD.rb",
"diff": "+# SPDX-FileCopyrightText: 2021 TQ Tezos <https://tqtezos.com/>\n+#\n+# SPDX-License-Identifier: LicenseRef-MIT-TQ\n+\n+class TezosAccuser010Ptgranad < Formula\n+ @all_bins = []\n+\n+ class << sel... | Python | MIT License | serokell/tezos-packaging | Support new protocol and testnet
Problem: In v9.2 new protocol with the new testnet were added.
We should support them.
Solution: Provide 010 support along with the new granadanet. |
603,652 | 07.06.2021 11:04:53 | -10,800 | 093afa7e4c4160732a7b7c153a4bd8f506a56df5 | Build v9.2 native packages
Problem: opam-repository was updated with 9.2 Tezos packages, which
means that we now can build native packages for Tezos.
Solution: Enable native packages building in CI again. | [
{
"change_type": "MODIFY",
"old_path": ".buildkite/pipeline-raw.yml",
"new_path": ".buildkite/pipeline-raw.yml",
"diff": "@@ -98,59 +98,59 @@ steps:\n# files from nix/ are massively used in tests ifrastructure\n- nix/.*\n-# - label: test deb source packages via docker\n-# commands:\n-# - eval \"$SET... | Python | MIT License | serokell/tezos-packaging | Build v9.2 native packages
Problem: opam-repository was updated with 9.2 Tezos packages, which
means that we now can build native packages for Tezos.
Solution: Enable native packages building in CI again. |
603,652 | 03.06.2021 16:15:26 | -10,800 | b49b06e2c4eae14b93a4e8a344b15815a3432b7b | Add v9.2 bottles hashes
Problem: v9.2-1 was released, brew formulas lack hashes for bottles with
precompiled binaries.
Solution: Add bottles hashes for mojave and catalina macOS versions. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"new_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"diff": "@@ -27,6 +27,8 @@ class TezosAccuser009Psfloren < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Add v9.2 bottles hashes
Problem: v9.2-1 was released, brew formulas lack hashes for bottles with
precompiled binaries.
Solution: Add bottles hashes for mojave and catalina macOS versions. |
603,658 | 25.05.2021 07:04:43 | -7,200 | c48c9327aab61da57d306c025bd6ce0be310eaf2 | Add first version of baking wizard
Problem: we want to have an interactive way to set up baking
infrastructure, or just tezos-node.
Solution: created a CLI wizard to collect configuration through
queries and execute the approppriate steps. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -502,6 +502,7 @@ class TezosBakingServicesPackage(AbstractPackage):\ndef fetch_sources(self, out_dir):\nos.makedirs(out_dir)\n+ shutil.copy(f\"{os.path.dirname(__file__)}/tezos_baking... | Python | MIT License | serokell/tezos-packaging | [#201] Add first version of baking wizard
Problem: we want to have an interactive way to set up baking
infrastructure, or just tezos-node.
Solution: created a CLI wizard to collect configuration through
queries and execute the approppriate steps. |
603,658 | 28.06.2021 16:51:34 | -10,800 | 988d8220117d29cadefd0ed1bbfa80dfcddc714d | Add the new v9.3 bottle hashes to brew formulas
Problem: v9.3-1 was released, but hashes of the new bottles have
not been added to the brew formulas yet.
Solution: added the bottle hashes for Mojave and Catalina macOS
versions. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"new_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"diff": "@@ -27,6 +27,8 @@ class TezosAccuser009Psfloren < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Add the new v9.3 bottle hashes to brew formulas
Problem: v9.3-1 was released, but hashes of the new bottles have
not been added to the brew formulas yet.
Solution: added the bottle hashes for Mojave and Catalina macOS
versions. |
603,658 | 28.06.2021 16:56:48 | -10,800 | 1d912001112d263a2dff8d429e409809077a0704 | Stop building tezos-sapling-params brew bottle
Problem: tezos-sapling-params doesn't change over time, and we
don't need its brew bottle, but we still build it.
Solution: removed building the tezos-sapling-params bottle from the
bottle building script. | [
{
"change_type": "MODIFY",
"old_path": "scripts/build-bottles.sh",
"new_path": "scripts/build-bottles.sh",
"diff": "@@ -12,9 +12,9 @@ build_bottle () {\n}\n# tezos-sapling-params is used as a dependency for some of the formulas\n-# so we handle it separately\n-brew install --formula --build-bottle .... | Python | MIT License | serokell/tezos-packaging | Stop building tezos-sapling-params brew bottle
Problem: tezos-sapling-params doesn't change over time, and we
don't need its brew bottle, but we still build it.
Solution: removed building the tezos-sapling-params bottle from the
bottle building script. |
603,652 | 23.06.2021 12:58:27 | -10,800 | 7d8dcf34f00679895fce898e3d9d5966cce8995d | Update address regex
Problem: Currently this regex matches only tz1 addresses. However there
are more supported curves and corresponding addresses.
Solution: Support tz1, tz2, tz3 addresses in the regex. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/tezos_baking_wizard.py",
"new_path": "docker/package/tezos_baking_wizard.py",
"diff": "@@ -54,7 +54,7 @@ systemd_enable = {\nledger_regex = b\"ledger:\\/\\/[\\w\\-]+\\/[\\w\\-]+\\/[\\w']+\\/[\\w']+\"\nsecret_key_regex = b\"(encrypted|unencrypted... | Python | MIT License | serokell/tezos-packaging | [#218] Update address regex
Problem: Currently this regex matches only tz1 addresses. However there
are more supported curves and corresponding addresses.
Solution: Support tz1, tz2, tz3 addresses in the regex. |
603,652 | 23.06.2021 12:59:31 | -10,800 | dbb38803fa2d14408258bcf7228b7ae1625006f6 | Show more info about addresses from ledger
Problem: Currently we show only ledger URLs for addresses that are store
on the ledgers, which is not very convenient when one has to choose the
desired key.
Solution: Also show address that corresponds to the given URL and the
balance of this address. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/tezos_baking_wizard.py",
"new_path": "docker/package/tezos_baking_wizard.py",
"diff": "@@ -258,6 +258,31 @@ def get_data_dir(network):\nreturn \"/var/lib/tezos/node-\" + network\n+def ledger_urls_info(ledger_urls):\n+ info = []\n+ max_url_len = ... | Python | MIT License | serokell/tezos-packaging | [#218] Show more info about addresses from ledger
Problem: Currently we show only ledger URLs for addresses that are store
on the ledgers, which is not very convenient when one has to choose the
desired key.
Solution: Also show address that corresponds to the given URL and the
balance of this address. |
603,652 | 30.06.2021 11:57:07 | -10,800 | 9408a0cf0d2a93ee87057c1a73ae45c64fd7ba6f | Publish Fedora packages via copr-cli
Problem: Currently publishing instructions for Fedora tells to upload
.src.rpm packages via Copr website. However, it's not very convenient.
Moreover, there is 'copr-cli' utility that can submit builds from the
terminal.
Solution: Update instructions to use 'copr-cli' for publishing Fedora
packages to Copr. | [
{
"change_type": "MODIFY",
"old_path": "docker/README.md",
"new_path": "docker/README.md",
"diff": "@@ -171,7 +171,7 @@ In order to install `.rpm` package run the following command:\nsudo yum localinstall <path to rpm file>\n```\n-### `.src.rpm` packages\n+### `.src.rpm` packages and publishing them... | Python | MIT License | serokell/tezos-packaging | [#231] Publish Fedora packages via copr-cli
Problem: Currently publishing instructions for Fedora tells to upload
.src.rpm packages via Copr website. However, it's not very convenient.
Moreover, there is 'copr-cli' utility that can submit builds from the
terminal.
Solution: Update instructions to use 'copr-cli' for publishing Fedora
packages to Copr. |
603,658 | 30.06.2021 12:20:19 | -10,800 | 97d67fbb840eaf174118eda5dbad60371e68e365 | Bump Tezos sources and opam revisions
Problem: Tezos announced a new release candidate. Revisions used
have to be bumped.
Solution: updated versions for Tezos sources and the opam repo. | [
{
"change_type": "MODIFY",
"old_path": "nix/nix/sources.json",
"new_path": "nix/nix/sources.json",
"diff": "\"homepage\": \"https://opam.ocaml.org\",\n\"owner\": \"ocaml\",\n\"repo\": \"opam-repository\",\n- \"rev\": \"71b47ea8e4435bed07e6beaee738cd49d5628acb\",\n- \"sha256\": \"0bvyw68mpgxaspqb8f2w... | Python | MIT License | serokell/tezos-packaging | Bump Tezos sources and opam revisions
Problem: Tezos announced a new release candidate. Revisions used
have to be bumped.
Solution: updated versions for Tezos sources and the opam repo. |
603,658 | 30.06.2021 19:23:07 | -10,800 | bb7bf05fdd08fbea81d669d679176a6ce21bffa6 | Add zlib to the list of docker dependencies
Problem: the docker CI step fails to build because ld cannot find -lz.
This is usually related to missing zlib.
Solution: added zlib-dev to the dependencies in both Dockerfiles. idek | [
{
"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 | Add zlib to the list of docker dependencies
Problem: the docker CI step fails to build because ld cannot find -lz.
This is usually related to missing zlib.
Solution: added zlib-dev to the dependencies in both Dockerfiles. idek |
603,658 | 05.07.2021 18:07:20 | -10,800 | 2a8f9cdff16c4efd7b37a62963a44b152d87315a | Add v10.0-rc1-1 brew bottle hashes
Problem: v10.0-rc1-1 was released, we need to add hashes of the new
bottles to the brew formulas.
Solution: added the bottle hashes for Mojave and Catalina. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"new_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"diff": "@@ -27,6 +27,8 @@ class TezosAccuser009Psfloren < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Add v10.0-rc1-1 brew bottle hashes
Problem: v10.0-rc1-1 was released, we need to add hashes of the new
bottles to the brew formulas.
Solution: added the bottle hashes for Mojave and Catalina. |
603,652 | 05.07.2021 15:56:59 | -10,800 | b65d156ec5f67b1e5e4efb6243030b9a8093acec | Bump Tezos sources
Problem: Tezos announced a new release candidate. Revisions used
have to be bumped.
Solution: updated versions for Tezos sources. | [
{
"change_type": "MODIFY",
"old_path": "nix/nix/sources.json",
"new_path": "nix/nix/sources.json",
"diff": "\"url_template\": \"https://github.com/<owner>/<repo>/archive/<rev>.tar.gz\"\n},\n\"tezos\": {\n- \"ref\": \"refs/tags/v10.0-rc1\",\n+ \"ref\": \"refs/tags/v9.4\",\n\"repo\": \"https://gitlab.... | Python | MIT License | serokell/tezos-packaging | Bump Tezos sources
Problem: Tezos announced a new release candidate. Revisions used
have to be bumped.
Solution: updated versions for Tezos sources. |
603,652 | 06.07.2021 15:54:06 | -10,800 | 11f968ebfec77c7bd69ca35443bd4a1266e6230a | Fix Copr project name
Problem: `Serokell/Tezos` project doesn't exist on Copr.
Solution: Use `@Serokell/Tezos` instead. | [
{
"change_type": "MODIFY",
"old_path": "docker/README.md",
"new_path": "docker/README.md",
"diff": "@@ -192,5 +192,5 @@ Read more about setting up `copr-cli` [here](https://developer.fedoraproject.org\nIn order to submit source package for building run the following command:\n```\n-copr-cli build Se... | Python | MIT License | serokell/tezos-packaging | [#231] Fix Copr project name
Problem: `Serokell/Tezos` project doesn't exist on Copr.
Solution: Use `@Serokell/Tezos` instead. |
603,652 | 07.07.2021 11:14:40 | -10,800 | 3bc1a9b8fad85e0d6760ed41777fe08209bf47ff | Add a note about dput config
Problem: If one is running dput not on Ubuntu, it has to provide config
to it manually.
Solution: Add a note about it to the packaging README along with the
suggestes default config. | [
{
"change_type": "MODIFY",
"old_path": "docker/README.md",
"new_path": "docker/README.md",
"diff": "@@ -115,10 +115,22 @@ Once these files are updated, they should be signed using `debsign`.\ndebsign ../out/*.changes\n```\n+If you're not running `dput` on Ubuntu, you'll need to provide a config for ... | Python | MIT License | serokell/tezos-packaging | [#231] Add a note about dput config
Problem: If one is running dput not on Ubuntu, it has to provide config
to it manually.
Solution: Add a note about it to the packaging README along with the
suggestes default config. |
603,652 | 07.07.2021 10:42:07 | -10,800 | 2e53294d1adb1ad7b881a18003fc08d85e4f5b0a | Add bottles hashes for v9.4 formulas
Problem: We've built and added v9.4 bottles to the corresponding
release.
Solution: Update hashes, so that it's possible to fetch bottles for
Mojave and Catalina. | [
{
"change_type": "MODIFY",
"old_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"new_path": "Formula/tezos-accuser-009-PsFLoren.rb",
"diff": "@@ -27,6 +27,8 @@ class TezosAccuser009Psfloren < Formula\nbottle do\nroot_url \"https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser0... | Python | MIT License | serokell/tezos-packaging | Add bottles hashes for v9.4 formulas
Problem: We've built and added v9.4 bottles to the corresponding
release.
Solution: Update hashes, so that it's possible to fetch bottles for
Mojave and Catalina. |
603,658 | 07.07.2021 13:14:29 | -10,800 | 25d279af7e3ef5765180d45ebada09b73e6798b5 | Improve progress reporting in baking wizard
Problem: currently in the baking wizard, there's a confusing pause
in the output after importing the snapshot.
Solution: added an extra output explaining what needs to be done and
what has already transpired. Removed the message repeating every second. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/tezos_baking_wizard.py",
"new_path": "docker/package/tezos_baking_wizard.py",
"diff": "@@ -622,17 +622,26 @@ class Setup:\nself.import_snapshot()\n+ print(\n+ \"Starting the node service. This is expected to take some \"\n+ \"time, as the node n... | Python | MIT License | serokell/tezos-packaging | [#243] Improve progress reporting in baking wizard
Problem: currently in the baking wizard, there's a confusing pause
in the output after importing the snapshot.
Solution: added an extra output explaining what needs to be done and
what has already transpired. Removed the message repeating every second. |
603,652 | 07.07.2021 14:54:00 | -10,800 | 25061d6598485fa773a0b558980ab08581d0d994 | Fix dput config reference
Problem: xrefcheck complains about invalid local reference.
Solution: Fix the reference. | [
{
"change_type": "MODIFY",
"old_path": "docker/README.md",
"new_path": "docker/README.md",
"diff": "@@ -116,7 +116,7 @@ debsign ../out/*.changes\n```\nIf you're not running `dput` on Ubuntu, you'll need to provide a config for it.\n-Sample config can be found [here](./.dput.cf). Put the contents of ... | Python | MIT License | serokell/tezos-packaging | Fix dput config reference
Problem: xrefcheck complains about invalid local reference.
Solution: Fix the reference. |
603,652 | 07.07.2021 18:07:11 | -10,800 | 00b00961f77ec1215feb262dd350117821b6975a | Set high watermark explicitly
Problem: 'tezos-client setup ledger to baker' doesn't update high
watermark by default and thus bakes and endorsments can be missed in
case we switch from network with higher number of blocks to the network
with lower number of blocks.
Solution: Provide current level as high watermark expicitly. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/tezos_baking_wizard.py",
"new_path": "docker/package/tezos_baking_wizard.py",
"diff": "@@ -13,6 +13,7 @@ import os, sys, subprocess, shlex\nimport readline\nimport re, textwrap\nimport urllib.request\n+import json\nfrom typing import List\n@@ -4... | Python | MIT License | serokell/tezos-packaging | [#244] Set high watermark explicitly
Problem: 'tezos-client setup ledger to baker' doesn't update high
watermark by default and thus bakes and endorsments can be missed in
case we switch from network with higher number of blocks to the network
with lower number of blocks.
Solution: Provide current level as high watermark expicitly. |
603,658 | 08.07.2021 17:34:03 | -10,800 | bc4dafdbb243688a33a5d491fefe53d05e1f83d9 | Rename the CLI wizard
Problem: the CLI wizard we provide can be used to set up a baking
instance or just the Tezos node, but we call it tezos-baking-wizard.
This name is a bit confusing.
Solution: renamed the wizard to tezos-setup-wizard. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "@@ -502,7 +502,7 @@ class TezosBakingServicesPackage(AbstractPackage):\ndef fetch_sources(self, out_dir):\nos.makedirs(out_dir)\n- shutil.copy(f\"{os.path.dirname(__file__)}/tezos_baking... | Python | MIT License | serokell/tezos-packaging | [#201] Rename the CLI wizard
Problem: the CLI wizard we provide can be used to set up a baking
instance or just the Tezos node, but we call it tezos-baking-wizard.
This name is a bit confusing.
Solution: renamed the wizard to tezos-setup-wizard. |
603,658 | 08.07.2021 18:58:19 | -10,800 | d44317a29b4f19dd7c55ebca3cacf1752685ea4d | Update version number
Problem: we decided to rename the CLI wizard, thus changing our packages.
We need to bump the tezos-baking version, but covertly :007:
Solution: appended a letter to the version in the native tezos-baking
package. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/model.py",
"new_path": "docker/package/model.py",
"diff": "import os, subprocess\nimport shutil\n+from copy import deepcopy\nfrom abc import abstractmethod\nfrom typing import List, Dict\n-\nfrom .meta import PackagesMeta\nfrom .systemd import (... | Python | MIT License | serokell/tezos-packaging | [#201] Update version number
Problem: we decided to rename the CLI wizard, thus changing our packages.
We need to bump the tezos-baking version, but covertly :007:
Solution: appended a letter to the version in the native tezos-baking
package. |
603,658 | 09.07.2021 11:49:01 | -10,800 | d4e95078b7161b834f2150e4cc79fcbf9bce681c | Update the release PR template
Problem: we introduce a new 'appending an extra letter' versioning technique
for tezos-baking, so it'd be nice to not forget to remove it when a new
native release comes out.
Solution: added a check about that to the release pull request template,
also fixed links. | [
{
"change_type": "MODIFY",
"old_path": ".github/PULL_REQUEST_TEMPLATE/release_pull_request_template.md",
"new_path": ".github/PULL_REQUEST_TEMPLATE/release_pull_request_template.md",
"diff": "This PR introduces a new <!-- insert new version here --> release in tezos-packaging.\n-<!-- Depending on th... | Python | MIT License | serokell/tezos-packaging | [#201] Update the release PR template
Problem: we introduce a new 'appending an extra letter' versioning technique
for tezos-baking, so it'd be nice to not forget to remove it when a new
native release comes out.
Solution: added a check about that to the release pull request template,
also fixed links. |
603,658 | 19.07.2021 17:11:08 | -10,800 | 0cdfd2298b1411493b0aa3eeb60ad1ea7a001ff2 | Suppress Tezos testnet warning
Problem: currently, if the Tezos setup wizard is used on a testnet,
the "This is NOT the Tezos Mainnet." warning is shown multiple
times, which disrupts the flow of the setup.
Solution: suppressed the warning by temporarily passing the
approppriate environment variable with every tezos-client call. | [
{
"change_type": "MODIFY",
"old_path": "docker/package/tezos_setup_wizard.py",
"new_path": "docker/package/tezos_setup_wizard.py",
"diff": "@@ -162,15 +162,22 @@ class Validator:\n# Wizard CLI utility\n+suppress_warning_env = dict(os.environ, TEZOS_CLIENT_UNSAFE_DISABLE_DISCLAIMER=\"YES\")\n+\n+\nde... | Python | MIT License | serokell/tezos-packaging | [#255] Suppress Tezos testnet warning
Problem: currently, if the Tezos setup wizard is used on a testnet,
the "This is NOT the Tezos Mainnet." warning is shown multiple
times, which disrupts the flow of the setup.
Solution: suppressed the warning by temporarily passing the
approppriate environment variable with every tezos-client call. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.