148 Commits

Author SHA1 Message Date
5e566ba8ae feat: generate default configs for docs without compiled binaries 2025-01-08 09:57:27 +11:00
942094cbf3 feat: separate docsgen-config Makefile target
still requires compiled binaries to produce the config, separate from
docsgen-cli which does not require them
2025-01-08 09:57:27 +11:00
ed4ea55cc6 feat: generate CLI docs without needing compiled binaries 2025-01-08 09:57:27 +11:00
leo
ac85fd87c6 fix(doc): "lotus" spelling error (#12802)
Signed-off-by: RiceChuan <lc582041246@gmail.com>
2024-12-30 03:01:21 +00:00
2158d88eb1 chore: reimplement docsgen-cli in go for faster more maintainable generation (#12510)
* Reimplement docsgen-cli in go for faster more maintainable generation

Replace the python script used to generate markdown documentation from
CLI usage output with a go script. The new implementation runs
approximately 2X faster than the python version.

Ideally, we should use urfav HelpPrinter directly to get the usage in
order to avoid having to build the CLIs first. Based on a quick try it
looks like the usage is not exactly the same as the built version, and
there are env vars ossified deep into the code that changes the usage
printing. Hence the path of least resistance, i.e. re-implementation
in go.
2024-09-24 18:08:26 +01:00
a6fd2eb86b feat: ci: automate the new release process (#12096)
Co-authored-by: Phi-rjan <orjan.roren@gmail.com>
2024-07-25 16:59:05 +10:00
610c984dc2 chore: types: remove more items forgotten after markets (#12095)
* chore: cleanup: remove more items forgotten after markets

* .gz somehow reappeared after https://github.com/filecoin-project/lotus/pull/11625
2024-06-17 10:01:20 +04:00
110da93f8f Remove curio from Dockerfile 2024-05-28 13:28:00 +02:00
bcdca4d09f Drop curio-related sources 2024-05-28 13:28:00 +02:00
cfbe59d182 fix: ci: keep lotus checkout clean in the release workflow (#12028)
* ci: keep lotus checkout clean in the release workflow

* ci: allow providing custom ref to the release workflow

* ci: fix version check performed during the release

* ci: fix install go step of the release workflow

* ci: fix the working directory for the install go step in release workflow

* ci: provide github ref to lotus scripts explicitly

* ci: use actions from the chosen ref in release workflow

* ci: fix install go in release workflow

* ci: fix artifact upload in release workflow

* ci: set INPUTS_REF variable in release workflow

* ci: fix publish checksums script

* ci: allow releasing docker from an arbitrary ref

* ci: fix docker channel discovery
2024-05-22 14:47:29 +02:00
3ee09115e6 ci: deprecate circle ci in favour of github actions (#11786) 2024-05-16 13:31:08 +02:00
f5dd7665f6 Produce DEB files for amd64 for openCL and cuda (#11885)
* service changes

* better postinst

* better postinst

* fix: curio: Update pgx imports, fix db_storage alloc

* feat: curioweb: Improve task_history indexes (#11911)

* ready to test deb making

* deb files build

* it works

* fullname

* last bit of cleanup

* doc update

* future plans

* lint

* code comments

---------

Co-authored-by: Łukasz Magiera <magik6k@gmail.com>
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2024-05-13 14:18:50 -05:00
06761db7bf Fixing dead links (#11907) 2024-04-20 09:58:17 +02:00
fd7f1a95e2 feat: curio: web based config edit (#11822)
* cfg edit 1

* jsonschema deps

* feat: lp mig - first few steps

* lp mig: default tasks

* code comments

* docs

* lp-mig-progress

* shared

* comments and todos

* fix: curio: rename lotus-provider to curio (#11645)

* rename provider to curio

* install gotext

* fix lint errors, mod tidy

* fix typo

* fix API_INFO and add gotext to circleCI

* add back gotext

* add gotext after remerge

* lp: channels doc

* finish easy-migration TODOs

* out generate

* merging and more renames

* avoid make-all

* minor doc stuff

* cu: make gen

* make gen fix

* make gen

* tryfix

* go mod tidy

* minor ez migration fixes

* ez setup - ui cleanups

* better error message

* guided setup colors

* better path to saveconfigtolayer

* loadconfigwithupgrades fix

* readMiner oops

* guided - homedir

* err if miner is running

* prompt error should exit

* process already running, miner_id sectors in migration

* dont prompt for language a second time

* check miner stopped

* unlock repo

* render and sql oops

* curio easyMig - some fixes

* easyMigration runs successfully

* lint

* part 2 of last

* message

* merge addtl

* fixing guided setup for myself

* warn-on-no-post

* EditorLoads

* cleanups and styles

* create info

* fix tests

* make gen

* change layout, add help button

* Duration custom json

* mjs naming

---------

Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: LexLuthr <lexluthr@protocol.ai>
Co-authored-by: LexLuthr <lexluthr@curiostorage.org>
2024-04-16 09:30:27 -05:00
b95e95f4d6 feat: SPTool (#11788)
* sptool: Initial structure

* sptool: Port lotus-miner actor withdraw

* sptool: Make cli docsgen happy

* actors are done

* info

* proving

* sptool the rest

* fixed gitignore

* lints

* oops

* 2

* terminate

* fixes

* sptool: improve sectors list

---------

Co-authored-by: Łukasz Magiera <magik6k@gmail.com>
2024-04-01 10:30:35 -05:00
81ba6ab6f0 feat: Curio - Easy Migration (#11617)
* feat: lp mig - first few steps

* lp mig: default tasks

* code comments

* docs

* lp-mig-progress

* shared

* comments and todos

* fix: curio: rename lotus-provider to curio (#11645)

* rename provider to curio

* install gotext

* fix lint errors, mod tidy

* fix typo

* fix API_INFO and add gotext to circleCI

* add back gotext

* add gotext after remerge

* lp: channels doc

* finish easy-migration TODOs

* out generate

* merging and more renames

* avoid make-all

* minor doc stuff

* cu: make gen

* make gen fix

* make gen

* tryfix

* go mod tidy

* minor ez migration fixes

* ez setup - ui cleanups

* better error message

* guided setup colors

* better path to saveconfigtolayer

* loadconfigwithupgrades fix

* readMiner oops

* guided - homedir

* err if miner is running

* prompt error should exit

* process already running, miner_id sectors in migration

* dont prompt for language a second time

* check miner stopped

* unlock repo

* render and sql oops

* curio easyMig - some fixes

* easyMigration runs successfully

* lint

* review fixes

* fix backup path

* fixes1

* fixes2

* fixes 3

---------

Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: LexLuthr <lexluthr@protocol.ai>
2024-03-15 16:38:13 -05:00
b56af9b8b0 Fix go imports at least 2x faster (#11695)
Use native go implementation to sort and adjust imports. Compared to the
previous bash version, this is at least 2X faster.
2024-03-14 14:03:42 -07:00
3a87b3e9e5 Add systemd memory note on install and in config (#11641)
* Add systemd memory note on install

* Add memory usage note to system config for daemon

* Remove limits by default
2024-02-22 10:33:06 -08:00
91fd0ec101 No sed backup file 2024-02-21 14:00:17 +11:00
e430d336b2 fix: Dockerfile non-interactive snapshot import (#11579) 2024-01-19 07:56:12 -08:00
Phi
6373701412 Modify generate-lotus-cli.py to ignoring aliases.
Modify generate-lotus-cli.py to ignoring aliases.
2023-12-18 15:43:58 +01:00
16cc24443f Merge remote-tracking branch 'origin/master' into chore/master-into-sturdy 2023-11-22 17:26:37 +01:00
Phi
44e0435f1a Add SupraSeal-PC2 scritpt
Add SupraSeal-PC2 scritpt
2023-11-20 15:02:24 +01:00
a520ee85d6 master-to-sturdy 2023-09-21 10:37:02 -05:00
ca4282d149 lotus-provider: review comments 2023-08-25 18:17:31 -05:00
535423a1f4 lotus-provider before harmonytask 2023-08-23 18:57:34 -05:00
3f0ddcc553 Cleanup plotting script 2023-06-29 13:22:16 -06:00
3897bf14d1 Cleanup 2023-06-28 09:15:38 -06:00
4aa977f119 Touch up pathing 2023-06-27 11:00:20 -06:00
8f3123d75b Churn json output is working 2023-06-27 00:54:02 -06:00
0f6003fd68 Check git state in Dockerfile to catch .dockerignore bugs 2023-01-26 15:18:12 +00:00
b60aeccfdc Remove AppImage and Snapcraft build automation 2023-01-16 16:03:35 +00:00
7a509cf0d8 Merge pull request #9711 from filecoin-project/feat/gomod-diff-script
feat: scripts: go.mod dep diff script
2023-01-12 18:07:14 +01:00
65a91f38e0 change supported version of python to 3 2022-12-02 10:46:09 -07:00
db6532c9d7 moddiff: Nicer diff 2022-11-23 21:24:00 +01:00
985a4bd730 feat: scripts: go.mod dep diff script 2022-11-23 17:41:39 +01:00
a0320d0101 Use new workspace name in build script 2022-11-18 16:33:55 +00:00
7f1b4dc438 Use goreleaser to build universal darwin binaries
This is a small refactor of our workflow to test out goreleaser, a yaml
based tool for building, packaging, and releasing go binaries on
multiple platforms. It supports building binaries for to most of the platforms we
care about, including linux and  macos, and also supports publishing
those binaries automatically as releases in Github, homebrew, snap, and
even apt / deb.

If this trial goes well, I think we should eventually replace the entire
release workflow with goreleaser. For now, this test is more tightly
scoped to only automated the MacOS release process, since that is the
one we have the most issues with. This PRi / commit:
- Builds darwin-amd64 and darwin-arm64 binaries of lotus, lotus-miner,
  and lotus-worker
- Packages them into a universal darwin binary
- Publishes those to a release in Github based on the current tag
- Uses the binaries in the release to auto-publish and updated homebrew
  configuration to filecoin-project/homebrew-lotus
- Does a `dry-run` build to produce a snapshot on release branches with
  no tag
- Manually generate and upload checksums after goreleaser
2022-07-28 20:37:42 -07:00
9762da5af5 Forgot a .sh on the end of the script 2022-07-27 08:39:11 -07:00
04f7067034 Removed unused array 2022-07-24 22:20:35 -07:00
8a41a6bb5b Fix snap publishing flow, publish assets independently 2022-07-24 22:16:16 -07:00
a7b695eac3 fiximports: Don't leave backup files on osx 2022-06-14 18:31:33 +02:00
d929d7104f fiximports script 2022-06-14 17:00:18 +02:00
c715254d54 Revert "stop publishing appimagine since its disabled by #7707"
This reverts commit 6b0868089bf43fa5d2dc22784ad36e48b6fe6ec8.
2022-04-05 17:26:44 -07:00
d1f3ab5dec Revert "remove from the bundlde"
This reverts commit 7d65a2664d795aee6eb0d811eddd4bd6b30cc26b.
2022-04-05 17:26:39 -07:00
a3458213f4 Merge branch 'master' into digitalocean-use-snap 2022-01-18 17:02:41 -08:00
7d65a2664d remove from the bundlde 2022-01-05 19:27:00 -05:00
6b0868089b stop publishing appimagine since its disabled by #7707 2022-01-04 17:57:57 -05:00
d42f7e4a1c packer snap 2021-12-17 17:06:32 -08:00
01215b7d2c Merge pull request #7709 from filecoin-project/logic-error-miner-entrypoint
fix logic error
2021-11-29 18:16:58 -05:00