Commit Graph

226 Commits

Author SHA1 Message Date
dependabot[bot]
9c33f8c141
build(deps-dev): bump pyinstaller from 5.13.0 to 6.3.0 (#17051)
* build(deps-dev): bump pyinstaller from 5.13.0 to 6.3.0

Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 5.13.0 to 6.3.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.13.0...v6.3.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* uses module paths instead of filesystem paths for pyinstaller data targets

* Revert "uses module paths instead of filesystem paths for pyinstaller data targets"

This reverts commit 279f81193a.

* remove hack

* tidy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-01-04 10:18:25 -08:00
Kyle Altendorf
2ed94c31c9
move electron build config to build_scripts/electron-builder.json (#17007) 2023-12-18 11:12:04 -06:00
Kyle Altendorf
e38fa4d878
artifact fpm generated rpm .spec files (#16984) 2023-12-14 10:03:52 -06:00
Amine Khaldi
92f5c8aa30
Merge commit '949ed00e47896708051874d0725968e04b86198b' into checkpoint/main_from_release_2.1.2_949ed00e47896708051874d0725968e04b86198b 2023-12-07 15:57:56 +01:00
Amine Khaldi
2043077c18
Merge commit '196459382a7946747e1934b6b8932ccfe689624d' into checkpoint/main_from_release_2.1.2_196459382a7946747e1934b6b8932ccfe689624d 2023-12-06 11:28:11 +01:00
Kyle Altendorf
949ed00e47
clean out /opt/chia before install and after removal of rpm (#16991) 2023-12-05 16:33:43 -06:00
Kyle Altendorf
196459382a
claim ownership of /opt/chia in the RPM (#16980) 2023-12-04 13:45:42 -06:00
dependabot[bot]
2bf015737e
build(deps): bump semver from 5.7.1 to 5.7.2 in /build_scripts/npm_windows (#16963)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 17:21:45 -06:00
Zachary Brown
dcea5363c6
Add systemd init files to CLI-only Linux packages (#16866) 2023-11-27 17:03:38 -06:00
dependabot[bot]
d07a238bc0
build(deps): bump axios from 1.4.0 to 1.6.1 in /build_scripts/npm_linux (#16811)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 11:41:17 -06:00
dependabot[bot]
1be6c6a26a
build(deps): bump axios from 1.4.0 to 1.6.1 in /build_scripts/npm_macos (#16810)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 11:41:06 -06:00
dependabot[bot]
1a2e1628f3
build(deps): bump axios from 1.4.0 to 1.6.1 in /build_scripts/npm_windows (#16809)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 11:40:54 -06:00
Kyle Altendorf
302e7e7f81
use importlib.metadata to get package versions (#14753)
* use importlib_metadata to get package versions

* ignore untyped call

* stop ignoring the deprecation warning

* Revert "stop ignoring the deprecation warning"

This reverts commit 931fe8c794.

* include chiapos version data

* tweak
2023-09-27 15:01:08 -05:00
Kyle Altendorf
d8accf16ac
stop using pkg_resources.get_distribution() in pyinstaller.spec (#16420) 2023-09-26 14:49:25 -05:00
Amine Khaldi
8253956762
Merge commit '959dc2ac5281a72f20044b488cd330d1e7c85745' into checkpoint/main_from_release_2.1.0_959dc2ac5281a72f20044b488cd330d1e7c85745 2023-09-19 18:50:18 +01:00
Chris Marslender
959dc2ac52
RPM: Change the --depends to a Recommends: tag on the specific compat package (#16358) 2023-09-18 21:08:31 -05:00
Kyle Altendorf
dbf114a524
move pyinstaller.spec out of the package into build_scripts/ (#16342) 2023-09-18 11:29:06 -05:00
Chris Marslender
830134045c
Update build images, python versions, sqlite versions, node versions (#16203)
* Consolidate amd64/arm64 .deb installer workflow to one matrix

* Python + node version update on mac

* Update rpm to latest image + python version

* Update windows python + node version

* Quote all the python versions

* Fix node for .debs

* update to npx for rpm

* Mark workspace safe for rpm

* Use npx for node tools on mac

* npx on windows for node tools

* Set skip package install for rpm

* Revert "Set skip package install for rpm"

This reverts commit f8c5211f8b793fa7e4921a60f5eef5c28ee28868.

* skip-system-installs
2023-09-05 10:10:38 -05:00
Chris Marslender
78792a7230
Update to new notarytool (#16189)
* Remove notary-cli dependency

* Update to the new notarization method

* Add apple team id to the notarize command
2023-08-30 11:29:22 -05:00
Amine Khaldi
10cc56f7c9
Merge commit '9c1d28509179bac89fb6831803d939897acd47da' into checkpoint/main_from_release_2.0.0_9c1d28509179bac89fb6831803d939897acd47da 2023-08-24 18:21:01 +01:00
Earle Lowe
9c1d285091
Make sure to sign all EXEs (#16141)
* Make sure to sign all EXEs

* type dev->dir

* Adjust code to sign all EXEs
2023-08-23 17:50:36 -05:00
Amine Khaldi
df9973646a
Merge commit 'a91e8d226c6c07c68a9b60074a7db3669b233f51' into checkpoint/main_from_release_2.0.0_a91e8d226c6c07c68a9b60074a7db3669b233f51 2023-08-17 11:07:09 +01:00
Chris Marslender
a91e8d226c
New windows signing cert (#16032)
* Updates for new windows signing

* Add to PATH
2023-08-14 14:59:30 -05:00
Earle Lowe
23058e6878
Set minimum macOS version to macOS 11 for Chia.app (#15880)
* Attempt to fix minimum OS version for DMG

* Update build_macos-2-installer.sh
2023-07-27 15:15:02 -05:00
ChiaAutomation
37336638c9
[Snyk] Security upgrade electron-builder from 24.4.0 to 24.6.3 and Lerna to 7.1.3 (#15851)
* fix: build_scripts/npm_linux/package.json & build_scripts/npm_linux/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-SEMVER-3247795

* Update to electron-builder 24.6.3 and lerna 7.1.3

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Jeff Cruikshank <jeff@chia.net>
2023-07-24 22:33:02 -05:00
Earle Lowe
4c004f4d91
Update macos build scripts lerna to 7.1.3 and nx to 16.3.2 (#15821)
* Update macos build scripts lerna to 7.1.3 and nx to 16.3.2 for macos 10.14 build support

* Switch back to 10.14 runners for installer
2023-07-20 14:59:49 -05:00
xchdata.io
344a7bbb80
Fix variable name typo (#15680) 2023-07-14 02:09:46 -05:00
Jeff
e5ea486f82
update build script for lerna 7 (#15672) 2023-07-05 18:25:37 -05:00
Patrick Maslana
3a2dc484b5
Generate a license directory that contains licenses missing from the installers (#15146)
* Add scripts to build a tree of licenses that are missing from the installers

* Add a line that was accidentally removed

* add steps in the build_license_directory script to install pip-licenses and license-checker

* Pip install pip-license

* Added commands to check the working dir in the build_license_direcotory.sh

* Fix the path for the npm commands

* Copy the library dir over

* Add a line to cd back to the previous dir in the build_licenses_directory.sh file

* Fix path to go back to "build_scripts"

* Fixing a typo with a path in the build_license_directory.sh file

* Troubleshoot path

* Change word from library to licenses

* Add a command to list contents of "dist/$CLI_DEB_BASE/opt/chia/" for troubleshooting

* Copy the license file to the "GUI" directory

* Fix the last for loop

* Move the step to change directory back to build scripts in the build_license_directory.sh file

* Add some more steps to troubleshoot the path and license-checker usage

* Fix a typo

* Add an "npm install ." before running the license-checker

* Fix a typo

* Change back to the build_scripts dir before the first loop in build_license_directory.sh file

* Revert "Change back to the build_scripts dir before the first loop in build_license_directory.sh file"

This reverts commit a3e88a2583.

* Fix the path for moving the license file

* Change the first loop for printing licenses from npm license-checker

* Add steps to copy the license file over to the builds and comment out the "npm install ." step out of the build_license_firectory script

* Add npm ci to the build_license_directory file

* Adding a dir for troubleshooting

* Fix errors in the scripts

* Fix a path to the licenses file

* Remove a dir from the windows installer script

* Remove a copy command

* Remove a few more copy commands

* Adding a ps1 script for usage in the windows installer build script

* Replace the powershell script

* Made a couple changes to the ps1 script for building the license directory

* Remove the ps1 script for building the license dir

* Add a new script for the windows installer to build the license dir

* Fix issues with the code for windows

* Remove the -1 from NF

* Changing the script for windows to test

* Remove filename=$(basename "$i")

* Remove some ls command lines

* Add "cp -r dist/daemon ../chia-blockchain-gui/packages/gui" to the RPM installer script

* Remove "|| 'exit" or "cd' || return" from when CD'ing in the license creation scripts

* Remove extra set of ||
2023-06-21 16:51:05 -05:00
Chris Marslender
7aed9ddc0b
Enable signing for PRs that have secret access (#15331)
* Enable signing for PRs that have secret access

* Add CSC_FOR_PULL_REQUEST var as well
2023-05-18 13:18:45 -05:00
dependabot[bot]
eb7376a8c1
Bump json5 from 1.0.1 to 1.0.2 in /build_scripts/npm_windows (#14747)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 16:10:40 -05:00
dependabot[bot]
f0525d341c
build(deps): bump minimatch and electron-builder in /build_scripts/npm_linux (#15321)
build(deps): bump minimatch and electron-builder

Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.1.2
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `electron-builder` from 23.5.1 to 24.4.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/v24.4.0/packages/electron-builder)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: electron-builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 14:43:21 -05:00
dependabot[bot]
61a2571161
build(deps): bump minimatch and electron-builder in /build_scripts/npm_macos (#15322)
build(deps): bump minimatch and electron-builder

Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.1.2
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `electron-builder` from 23.5.1 to 24.4.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/v24.4.0/packages/electron-builder)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: electron-builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 14:43:02 -05:00
dependabot[bot]
f8afbca090
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /build_scripts/npm_macos (#14485)
Bump http-cache-semantics in /build_scripts/npm_macos

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:05:01 -05:00
dependabot[bot]
417e16473e
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /build_scripts/npm_windows (#14486)
Bump http-cache-semantics in /build_scripts/npm_windows

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:04:23 -05:00
dependabot[bot]
fe09efcc02
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /build_scripts/npm_linux (#14489)
Bump http-cache-semantics in /build_scripts/npm_linux

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:04:07 -05:00
dependabot[bot]
c64a3c8b52
Bump json5 from 1.0.1 to 1.0.2 in /build_scripts/npm_macos (#14761)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:01:03 -05:00
dependabot[bot]
f636dbe486
Bump json5 from 1.0.1 to 1.0.2 in /build_scripts/npm_linux (#14762)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:00:51 -05:00
dependabot[bot]
8eefd1fe19
Bump minimatch and electron-builder in /build_scripts/npm_windows (#14763)
Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.1.2
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `electron-builder` from 23.5.1 to 24.0.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/v24.0.0/packages/electron-builder)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: electron-builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 12:59:37 -05:00
Kyle Altendorf
d208359a88
hint build_scripts (#14739) 2023-03-06 11:55:02 -06:00
Kyle Altendorf
ff5ef6e073
remove leading newlines from indented code blocks (#14653)
* remove leading newlines from indented code blocks

* catch another one
2023-02-23 21:53:48 -06:00
William Allen
e3ec9484b0
Setting actions version to latest (#14361)
* Setting actions version to latest

* Fix decode-base64-into-file-action version

Cannot use normal versioning as https://github.com/kitek/decode-base64-into-file-action does not use semver and GHA cannot interpret the version without the exact version specified.

* Satisfying new version shellcheck linting test

Co-authored-by: Zachary Brown <z.brown@chia.net>
2023-01-19 17:00:41 -06:00
Jeff
18b2f27813
Renamed chia packages to use the @Chia-Network scope Updates build scripts to account for the scope rename (#14050)
Bump chia-blockchain-gui to 83bbca6ff2c425792eb738279ab3876a00322474
2022-12-05 11:44:43 -06:00
Snyk bot
3fe23f7c95
[Snyk] Upgrade lerna from 5.6.1 to 5.6.2 (#13979) 2022-11-22 15:32:31 -06:00
dustinface
2e2c297a80
util: Remove legacy keyring support (#13398) 2022-11-18 10:33:18 -06:00
Chris Marslender
a69146284c
Ensure chia-blockchain still opens UI on Linux (#13826) 2022-11-17 13:53:38 -06:00
Earle Lowe
0f0fbd8eca
Set GUI binary name to chia-blockchain in the Ubuntu DEB (#13910)
set gui binary name to chia-blockchain
2022-11-15 18:39:18 -06:00
Izumi Hoshino
7cff4532df
Set GUI binary name to chia-blockchain in the Fedora rpm (#13915)
set gui binary name to chia-blockchain (rpm)
2022-11-15 18:38:51 -06:00
Snyk bot
f93829ff40
[Snyk] Upgrade lerna from 5.5.2 to 5.6.1 (#13699)
fix: upgrade lerna from 5.5.2 to 5.6.1

Snyk has created this PR to upgrade lerna from 5.5.2 to 5.6.1.

See this package in npm:
https://www.npmjs.com/package/lerna

See this project in Snyk:
https://app.snyk.io/org/chia-network/project/84426c68-2dee-4989-8542-ee04aad80b7b?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-11-15 00:18:17 -06:00
Snyk bot
caa62696cb
fix: upgrade electron-builder from 23.5.0 to 23.5.1 (#13625)
Snyk has created this PR to upgrade electron-builder from 23.5.0 to 23.5.1.

See this package in npm:
https://www.npmjs.com/package/electron-builder

See this project in Snyk:
https://app.snyk.io/org/chia-network/project/b369df98-024f-490b-a247-98288adf7081?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-10-26 19:20:43 -05:00