Commit Graph

303 Commits

Author SHA1 Message Date
Gene Hoffman f9900fbd14 Move to super-linter @master, enable powershell lint, add dependabot (#305)
* Try Super Linter 3.3.0
* Add dependabot - build SL v 3.3.0
* Try master
* Remove elsint, powershell rcs and test powershell
2020-07-16 13:05:43 -07:00
Gene Hoffman b5e10cb3a2 Ignore import-error 2020-07-16 13:05:43 -07:00
Gene Hoffman edf39c1640 Move to super-linter 3.1.1 2020-07-16 13:05:43 -07:00
Gene Hoffman 074fed031f flake8 and mypy only pypi upload flow - also when linters collide... 2020-07-16 13:05:43 -07:00
Gene Hoffman b157afd03b Disable pylint in test_proof_of_space - Specify PYTHONPATH 2020-07-16 13:05:43 -07:00
Gene Hoffman 732f56bbbc Update pylint ignore template - re-disable powershell 2020-07-16 13:05:43 -07:00
Gene Hoffman 63eac561e6 Move super-linter to v3.1.0 and re-enable powershell lint 2020-07-16 13:05:43 -07:00
Gene Hoffman c1041f75d3 Correctly install dev requirements in upload src workflow 2020-07-16 13:05:43 -07:00
Gene Hoffman 2e25ca131c Fix flake8 - clean up tests and add to flake8 - lint src upload to pypi 2020-07-16 13:05:43 -07:00
Gene Hoffman c61fc75ae9 actions/checkout@v2 2020-07-16 13:05:43 -07:00
Gene Hoffman b3ff1c1c51 Lower dev dependencies and sync setup.py to dev-reqs.txt (#298)
* Match requirements-dev to setup.py
* new flake8 create_plots.py, keys.py
* setup-python@v2 - build_macos.sh needs setuptools_scm
* Update setuptools_scm, remove isort, autoflake deps
* Switch upload-pypi-source to ubuntu from macos
2020-07-16 13:05:43 -07:00
Gene Hoffman c3a3fdba1f Integrate GH super linter - fix shell, markdown, python issues (#296)
* Try super-linter
* Fix lint issues, move to separate gh action
* Fix md, shell
* Ignore import-error for python - fix MDs
* Disable standard-js, initial eslint config
* Fix raises, remove prettier for now
* skip pylint no-member check in src/util/byte_types.py line 40
* pyinstaller windows back to INFO
* Disable powershell lint for now.
* Disable css validation temporarily
2020-07-16 13:05:43 -07:00
Mariano Sorgente 8ae737e74a Change logging level to WARNING in tests 2020-07-16 13:05:43 -07:00
Gene Hoffman 5e208a45cb Fix uPnP on windows (#292)
* Test windows miniupnpc wheel
* Note the version of miniupnpc in the windows build
2020-07-16 13:05:43 -07:00
Gene Hoffman 5d582d58ab fix yaml indention 2020-07-16 13:05:43 -07:00
Gene Hoffman d04aedd802 Fix node cache on win - remove mac build debug info 2020-07-16 13:05:43 -07:00
Gene Hoffman 2c00603441 Adding node/pip caching to ci - fix passing HAS_SECRET to build_windows (#291)
* spell HAVE_SECRET right - remove extra Azure Pipelines env var
* Remove debug - cache pip
* Add caching to macos and ubuntu
* Key cache on setup.py - use pip to get cache dir
* Remove macos, ubuntu "os" updates
2020-07-16 13:05:43 -07:00
Gene Hoffman dbde81f971 cache node modules on win, correctly pass HAS_SECRET 2020-07-16 13:05:43 -07:00
Gene Hoffman cc47e7ce43 Build_windows skips code sign verification when secrets not available (#290)
* Test windows codesign workaround
* Enable actions on repo
* pass env variable in build-windows.yml
2020-07-16 13:05:43 -07:00
Gene Hoffman a0eb152c96 MacOS and Ubuntu should build on PR 2020-07-16 13:05:43 -07:00
Gene Hoffman 749356332d Skip secret steps and cancel running ci builds (#286)
* Update changelog, Test for existence of secrets and skip GHA steps
* add HAS_SECRET
* Add 'cancel previous runs' and test for missing secret
* Check for secrets in all flows
* Make Test PyPI an and - update changelog
2020-07-16 13:05:43 -07:00
Gene Hoffman a5c0ab8d33 Add code signing and time stamping to Windows installer (#280)
* Update cert, update changelog
* Timestamp and verify windows installer
* Update package-lock.json
* It is Chia-Blockchain...
* Add path to signtool.exe
* Remove Start-Process
* use just /t for timestamp
2020-06-08 17:17:48 -07:00
Gene Hoffman b4aafd002b Implement code signing for Windows (temporarily use Apple cert) (#278) 2020-06-08 17:17:48 -07:00
Gene Hoffman faa8b12b1c Sign with Chia Apple cert on GHA and add Azure Mojave signing (#277)
* Sign with Chia.net signing key
* Codesign on Azure for Mojave
* correct provisionprofile
* Update changelog - rerun Azure signing
2020-06-08 17:17:48 -07:00
Gene Hoffman 31c1ce1e90 Dynamically create installer versions across all ci's (#274)
* Add installer-version.py and CHIA_INSTALLER_VERSION, move env var
* use setuptools_scm to find version
* Move dmg to final_installer dir
* skip npm in install.sh on ci, windows debug
* azure debug, remove hardcoded paths from winstaller.js
* a win (g) and a prayer
* Only Chia.exe
* SemVer means 0.1.6262...

Co-authored-by: Strahinja Markovic <straya@chia.net>
2020-06-08 17:17:48 -07:00
Gene Hoffman e47747fcaf Durable editbin.exe path on Windows, start to extract installer version global constant (#267)
* remove some debugging in install.sh
* Take 3 w/ Straya spec changes
* Set path to editbin and check - macos env variable?
* Move more version to env vars
* set version back to 0.1.6 in ci runners for now
2020-06-08 17:17:48 -07:00
Gene Hoffman 446ec9a3fd Update MacOS ci, fix wallet error message (#258)
* Build Mac on py 3.7 only, fix wallet error message
2020-06-01 08:56:59 -07:00
Yostra 5e81bac95e Code sign MacOS DMG, fix Mac icons, move to asar on mac install (#257)
* osx code signing in ci
* Install node
* asar and icon
2020-06-01 08:56:59 -07:00
Gene Hoffman 3f2f084cdc Increase chiapos stack size with editbin.exe (#250)
* use mdbuild to path for editbin
* full path to editbin.exe
* because of course it's Start-Process...
2020-06-01 08:56:59 -07:00
Yostra d1a0b54077 dmg name 2020-06-01 08:56:59 -07:00
Yostra 85800201fb artifact names 2020-06-01 08:56:59 -07:00
Gene Hoffman caa71e83ce Place azure actions in venv - rename Mojave DMG, add npm fix to all (#241)
* Build in venv on azure
* Add npm audit fix, add venv to most steps on all runners
* Clean azure action, add npm fix to install.sh
* Rename azure pipeline Mojave DMG, prettify
2020-06-01 08:56:59 -07:00
Gene Hoffman e55a9fa1e5 Clean up installers (#239)
* Clean up win, mac installers
* Build Catalina DMG on GitHub Actions
* gitignore dmg builds
* Manage mac artifacts
* Correct Mac artifact, temp disable azure pytest
* Re-enable pytest on azure pipeline
2020-06-01 08:56:59 -07:00
Gene Hoffman 5453ea046e install-timelord handles cmake, python3.8 - rename and clean build-ubuntu-mac.yml (#234)
* cleanup and rename build-ubuntu-mac.yml
* Remove vestiges of GH workaround for ubunutu/node and update Changelog
* timelord-install now handles cmake installation on Ubuntu b4 20.04LTS
* Bump chiavdf to fix timelord install, and bump chiapos for a fix
2020-06-01 08:56:59 -07:00
Yostra 6c2d93ba36 win insaller cleanup 2020-06-01 08:56:59 -07:00
Yostra 2f8c62e9d7 Revert "Windows installer (#232)"
This reverts commit 1cb8840538294d5f65f7e0953c1a36bc4547f67b.
2020-06-01 08:56:59 -07:00
Yostra 8dbaacb883 Windows installer (#232)
* installer

* action

* remove this temporarely

* add logging

* python

* ico

* typo

* config file

* node installer

* remove unused var

* asar flag

* move setup events

* no asar

* closer to root

* move everything closer to home

* Revert "move everything closer to home"

This reverts commit 528083427aa59ba99b1fe9f302aa3b305f148cd5.

* Revert "closer to root"

This reverts commit f579fde829ceeb2b7ba5988dcbbc9228164428d9.

* long paths

* asa,r but unpack

* build mac on Azure

* azure

* don't use extended public key
2020-06-01 08:56:59 -07:00
Yostra b964d86a5f Electron react (#226)
* clean react
* add material ui
* add word list
* mnemonic v0
* jeepney backup
* keychain usage
* wallet api
* mnemonic ui
* mnemonics redux state
* handle exceptions correctly
* dashboard
* wallets
* get puzzle hash
* tx history
* sidebar
* start stop wallet node
* use existing mnemonics
* status info
* create cc wallet
* theme should be outside of switch
* create offer
* dbus alternative for linux
* key migration
* don't autocomplete, don't reset simulator db
* reset mnemonics
* Refactor keychain, and key migration
* Implement UI for changing keys
* Removing keys and mnemonic button
* Start making farmer and harvester RPCs
* start rpx for simulator
* Harvester and farmer websocket, and basic UI
* Plot display and deletion
* launch daemon on start
* State changes from full node, harvester, farmer, and full node ui improvements
* split balances in react
* pending change balance
* plotter
* dev config
* maintain connection / retry
* Remove electron-ui, and style fixes
* Better farmer and full node control
* Remove electron ui references
* Uncomment out starting the dameon
* Remove timelord tab, and change full node style
* Clean up new wallet login
* Refactor RPCs
* Now that the GH runner uses python 3.7.7 - use for windows installer
* add balance split to coloured coin wallet
* spendable balance fix
* Import private key from UI fix
* mac build/installer

Co-authored-by: Mariano Sorgente <sorgente711@gmail.com>
Co-authored-by: Lipa Long <lipa@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2020-06-01 08:56:59 -07:00
Gene Hoffman c3eae20b87 Bump PyYAML, cyrptography, aiosqlite to current versions 2020-06-01 08:56:59 -07:00
Gene Hoffman 6de2c764d5 Adding Azure pipeline MacOS Mojave build runner (#222)
* Set up CI with Azure Pipelines
* Upgrade node w/ npm - break out deps, build, test
* Actually install the wheels for py.test to test
* Install timelord - requires boost - and upload wheels. Run all branches
* Skip p38 to punt on artifact conflict - add back dev reqs
* Add commentary
2020-06-01 08:56:59 -07:00
Gene Hoffman a72f12c005
Move Windows installer to 0.1.12 2020-05-04 17:04:08 -07:00
Gene Hoffman 9a408eb3b3
Move chiapos to 0.12.10 2020-04-30 15:58:59 -07:00
Gene Hoffman 4154e77c1c
Move to new dev branch paradigm. Increment win installer version 2020-04-29 18:52:31 -07:00
Gene Hoffman f308e33298
Windows use instruction update. Move to 0.1.10 for win installer 2020-04-29 16:43:43 -07:00
Gene Hoffman f2e726359c
Update win installer readme, pip, grab repaired miniupnpc whl 2020-04-29 12:55:53 -07:00
Richard Kiss 2eb4fd7b8e Squashed commit of merge conflicts. 2020-04-21 23:31:20 -07:00
Gene Hoffman ef472de0d4 Better action names, spell upgrade correctly 2020-04-21 23:12:16 -07:00
Mariano Sorgente 5539083e21 remove install -f 2020-04-21 23:12:15 -07:00
Mariano Sorgente 4c46addcd5 Fix dependencies 2020-04-21 23:12:15 -07:00
Mariano Sorgente d336e70c64 libssldev 2020-04-21 23:12:15 -07:00
Mariano Sorgente c138d18b30 Another try to fix CI 2020-04-21 23:12:15 -07:00
Gene Hoffman ba8208e21c Update chiavdf to 12.6, Windows installer to 0.1.9 2020-04-21 22:55:21 -07:00
Gene Hoffman 40e255cd33 regex take 2 2020-04-21 22:55:20 -07:00
Gene Hoffman af9ec16191 No need to pip install miniupnpc and setproctitle on github runner 2020-04-21 22:55:20 -07:00
Gene Hoffman 68d9395eb8 Correctly upgrade pip and simplify pip install 2020-04-21 22:55:20 -07:00
Gene Hoffman 96556bf9cc Have miniupnpc and setproctitle install. Work around pip upgrade error 2020-04-21 22:55:20 -07:00
Gene Hoffman 7824e4b4aa Read version from env. Re-nable other ci. 2020-04-21 22:55:20 -07:00
Gene Hoffman 3f9ee24fb5 Use pip to find cbor2 from download.chia 2020-04-21 22:55:20 -07:00
Gene Hoffman 97c91e806d use --extra-index-url for pip wheel 2020-04-21 22:55:20 -07:00
Gene Hoffman 6b7534b592 add setuptools 2020-04-21 22:55:20 -07:00
Gene Hoffman 28b642a7a8 Find cbor2 on download.chia 2020-04-21 22:55:20 -07:00
Gene Hoffman 360ff9daae Try to find cbor2 in the current dir 2020-04-21 22:55:20 -07:00
Gene Hoffman 8de63fdb89 Try --only-binary for cbor2 2020-04-21 22:55:20 -07:00
Gene Hoffman 922a5eb211 correct cbor2 filename as well 2020-04-21 22:55:20 -07:00
Gene Hoffman 6879b17752 curl the right cbor2 2020-04-21 22:55:20 -07:00
Gene Hoffman a0894f4cf5 install cbor2 bin wheel 1st, test DK's post install script 2020-04-21 22:55:20 -07:00
Gene Hoffman befe42e1e1 curl standardize and drop -v, correct final dir 2020-04-21 22:55:20 -07:00
Gene Hoffman 4f5d0277f9 Have curl follow redirect for vc_redist 2020-04-21 22:55:20 -07:00
Gene Hoffman 5597ebfb2b Upload from final dir 2020-04-21 22:55:20 -07:00
Gene Hoffman f3ca9e6d17 try verbose curl for vc_redist 2020-04-21 22:55:20 -07:00
Gene Hoffman dc5a899c4f Decrement to Python 3.7.6 to match the runner 2020-04-21 22:55:20 -07:00
Gene Hoffman 4e36de6f70 Put wheels in blockchain\ Attempt installer build 2020-04-21 22:55:20 -07:00
Gene Hoffman 326a2e2a2b Get all wheels into electron-wix\build dir 2020-04-21 22:55:20 -07:00
Gene Hoffman 08eb8b64d1 grab dependencies from download.chia and spell install right 2020-04-21 22:55:20 -07:00
Gene Hoffman a3f4b75806 one line per cmd 2020-04-21 22:55:20 -07:00
Gene Hoffman 950f87eab9 List build dir after wheel 2020-04-21 22:55:20 -07:00
Gene Hoffman fccb8f8889 Let's try building a big wheel 2020-04-21 22:55:20 -07:00
Gene Hoffman 8fecdf92b1 Alternate version w --fullname 2020-04-21 22:55:20 -07:00
Gene Hoffman 31410faae0 check setup.py for version 2020-04-21 22:55:20 -07:00
Gene Hoffman 1e8c2f0bbc yaml error 2020-04-21 22:55:20 -07:00
Gene Hoffman 6fd1dae611 correct venv working directory 2020-04-21 22:55:20 -07:00
Gene Hoffman d6e43b6f9e install setuptools, add url, correct venv creation 2020-04-21 22:55:20 -07:00
Gene Hoffman 7e0f6c6b50 Python to 3.7 2020-04-21 22:55:20 -07:00
Gene Hoffman e61636ccd2 Try various items to get versioning 2020-04-21 22:55:20 -07:00
Gene Hoffman d671658e00 Trying pip install . 2020-04-21 22:55:20 -07:00
Gene Hoffman 8423af3680 Grab Python redistributable 2020-04-21 22:55:20 -07:00
Gene Hoffman 1f9d1a39b4 use curl to get Visual C++ 2019 redistributable 2020-04-21 22:55:20 -07:00
Gene Hoffman 590fc1e915 use ${{ github.workspace }} 2020-04-21 22:55:20 -07:00
Gene Hoffman 752eedeb1b try $GITHUB_WORKSPACE and use \ 2020-04-21 22:55:20 -07:00
Gene Hoffman 5792ea6295 dir, not ls 2020-04-21 22:55:20 -07:00
Gene Hoffman fab2d4c45d use ${{ github.workspace }} 2020-04-21 22:55:20 -07:00
Gene Hoffman f6315f1c02 Fix yaml 2020-04-21 22:55:20 -07:00
Gene Hoffman e6caadc2c0 GITHUB_WORKSPACE dir and capture .net action 2020-04-21 22:55:20 -07:00
Gene Hoffman 22cc56f23f use pull-request only 2020-04-21 22:55:20 -07:00
Gene Hoffman 6f818d01be Use delete on action 2020-04-21 22:55:20 -07:00
Gene Hoffman 25dc574caa use tag to disable other actions 2020-04-21 22:55:20 -07:00
Gene Hoffman 7e77017670 diable other actions and try working-directory 2020-04-21 22:55:20 -07:00
Gene Hoffman 3e02a4ac61 First attempt to build Windows installer 2020-04-21 22:55:20 -07:00
Gene Hoffman 5b16ae1185
Windows Installer documentation 2020-04-08 17:32:22 -07:00
Gene Hoffman a823b2d910
install-timelord installs boost on MacOS 2020-04-08 12:50:30 -07:00
Gene Hoffman e39f497fe6
Add boost to MacOS dev reqs 2020-04-08 12:42:12 -07:00
Gene Hoffman 66e277a3c3
Update INSTALL.md - remove ci install reqs 2020-04-08 12:12:06 -07:00
Gene Hoffman 2e5943c035
Fix ci while building other 3.8 wheels 2020-04-08 09:50:23 -07:00
Gene Hoffman f48f3c999c
Ubuntu deps mirror install, fix breaking builds? 2020-04-08 09:50:22 -07:00
Richard Kiss bca75b94d1 Tweak the workflow a bit. 2020-03-30 13:49:25 -07:00
Richard Kiss 70c8f4afde First crack at building pypi source dist. 2020-03-30 13:10:01 -07:00
Richard Kiss 2ccdd3860d Move electron-ui out of python src folder. 2020-03-29 16:37:26 -07:00
Richard Kiss 0b7499ba5c Enter the venv before we check for the timelord. 2020-03-29 12:39:03 -07:00
Richard Kiss ef59bb2823 Reduce stuff installed for non-developers. 2020-03-27 16:52:49 -07:00
Richard Kiss b319691916 Rename .venv to venv, and create "activate" soft link to venv activate. 2020-03-27 15:41:17 -07:00
Richard Kiss 5e3d9b1889 Install chiavdf from source on ubuntu/python 3.7. 2020-03-27 11:03:29 -07:00
Richard Kiss 986ad9531d Don't test vdf. 2020-03-27 11:03:29 -07:00
Richard Kiss 433b765aff
Use pypi chiapos (#130)
* Use pypi version of chiapos.
* Remove lib/chiapos since we're using from pypi now.
2020-03-27 16:21:29 +09:00
Richard Kiss 180a9817e8 Set fail-fast to false. 2020-03-26 19:48:37 -07:00
Mariano Sorgente f067284902
Update pythonpackage.yml 2020-03-24 22:56:29 +09:00
Yostra f497700c20
boost 2020-02-24 13:01:17 -08:00
Yostra c45f08eb70
openssl 2020-02-24 12:59:01 -08:00
Yostra 88311f851d
boost 2020-02-24 12:52:53 -08:00
Yostra 603778813f proper exclude now 2020-02-24 10:24:54 -08:00
Mariano Sorgente 6359ebf967
Merge normal and timelord installation 2020-02-07 00:14:54 -05:00
Mariano Sorgente f1869e1aa4
Try to reduce boost requirement 2020-02-06 20:53:08 -05:00
Mariano Sorgente a25f306665
Fix ci 2020-02-06 20:47:48 -05:00
Mariano Sorgente 4638408e3c
Install boost github 2020-02-06 20:06:08 -05:00
Mariano Sorgente 893e2198fd
Fix error in VDF server 2020-02-06 19:56:00 -05:00
Mariano Sorgente 70c93ebe66
Merge branch 'db_headers' into integration 2020-02-05 21:07:18 +09:00
Yostra 5755909c5f fix some mypy errors 2020-02-04 11:39:49 -08:00
Mariano Sorgente b17ce9e200
Update pythonpackage.yml 2020-01-30 11:14:15 +09:00
Mariano Sorgente 0160d87844
Update pythonpackage.yml 2020-01-29 17:42:04 +09:00
Mariano Sorgente 1bc15328ca
Update pythonpackage.yml 2020-01-29 16:56:28 +09:00
Mariano Sorgente 6da745d2c8
Update pythonpackage.yml 2020-01-29 16:55:39 +09:00
Mariano Sorgente ba47fda0d2
Update pythonpackage.yml 2020-01-29 16:42:34 +09:00
Mariano Sorgente 4992e066fc
syntax error 2020-01-29 14:43:09 +09:00
Mariano Sorgente 387915bb8b
Remove timelord installation 2020-01-29 14:39:11 +09:00
Mariano Sorgente cfffd9ab00
Install boost 2020-01-29 14:34:54 +09:00
Mariano Sorgente 557b4f282d
Add pospace and vdf tests to CI 2020-01-29 14:26:31 +09:00
Mariano Sorgente 5c49a2858c
Fix sqlite issue on Github CI machine (#87)
* Add a lock and update cbor2
* Support python3, and tests python3 in ci
2020-01-24 20:44:09 +09:00
Mariano Sorgente 3b72bf5eb7
Support python3, and tests python3 in ci 2020-01-23 16:00:08 +09:00
Mariano Sorgente cf93472d30
Temporary fix for CI issue (#81)
Updates cbor to 5.0.0, tweak github workflow.
2020-01-21 12:25:35 +09:00
Mariano Sorgente 49e4629935
Sqlite, RPC server, and other changes (#68)
* Switches to sqlite and remove all mongo stuff
* Starts RPC server on port 8555
* UI is in new process, communicates to node through rpc
* JSON serialization for streamables
* Harvester periodically prints its plot names and sizes
* Process names are set to chia_full node, chia_harvester, etc
* CONTRIBUTING.md, and remove docs from git (put in wiki)
* Adds the SmallHeaderBlock type, it's header block without the PoT and PoSpace
* Fix harvester bug (allows two harvesters in the same machine)
2020-01-13 22:19:53 +09:00
Mariano Sorgente d6af7cf11b Update pythonpackage.yml 2019-11-24 18:55:22 +09:00
Mariano Sorgente 290aae154f Update pythonpackage.yml 2019-11-24 18:28:49 +09:00
Mariano Sorgente b254eb8906 Update pythonpackage.yml
Try to fix CI with mongo install
2019-11-24 18:14:57 +09:00
Mariano Sorgente 3a6734cd46 Update pythonpackage.yml
Attempt to fix CI by installing docker/mongo
2019-11-24 17:52:12 +09:00
Mariano Sorgente 493cb4aab2 Fix tests 2019-11-24 17:26:47 +09:00
Mariano Sorgente d842bddc08 Update pythonpackage.yml 2019-11-20 18:54:55 +09:00
Mariano Sorgente e9401fdae1 Update pythonpackage.yml 2019-11-20 18:54:55 +09:00
Mariano Sorgente a149e181e4 Update pythonpackage.yml 2019-11-20 18:54:55 +09:00
Mariano Sorgente 7a3912b749 Update pythonpackage.yml 2019-11-20 18:54:55 +09:00
Mariano Sorgente 8a14b779ca Update pythonpackage.yml 2019-11-20 18:54:55 +09:00
Mariano Sorgente 72c37ac19d Update pythonpackage.yml 2019-11-20 18:54:55 +09:00
Mariano Sorgente 48cbab9c41 Update pythonpackage.yml 2019-11-20 18:54:55 +09:00
Mariano Sorgente 0a402cf9ad Update pythonpackage.yml 2019-11-20 18:54:55 +09:00
Mariano Sorgente f33853b0e3 Create pythonpackage.yml 2019-11-20 18:54:55 +09:00