Rod Vagg
730c96ecaf
src: lint: bump golangci-lint to 1.59, address unchecked fmt.Fprint*
2024-06-06 19:51:39 +10:00
LexLuthr
9f9dc979fb
feat: curio: add miner init ( #11775 )
...
* 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
* curio new-miner setup
* reword doc section
* fix curio flags
* fix gen
* change repetitive prompt
* add miner to base
* add config test
* fix config compare, add tests
* go mod tidy
* fix itest in GA
* fix comparer function
* fix compare value match
---------
Co-authored-by: Łukasz Magiera <magik6k@gmail.com>
Co-authored-by: Andrew Jackson (Ajax) <snadrus@gmail.com>
2024-04-03 15:00:14 -05:00
Steven Allen
78d9d9baa0
Merge branch 'releases'
2024-03-27 08:55:17 -07:00
Rod Vagg
d35ebe5bc0
feat(config): move Fevm.Events->Events, implement soft deprecation
...
Closes: https://github.com/filecoin-project/lotus/issues/11679
* Introduce a `moved:"To.New.Config"` tag which prints a stderr warning when
you use one of these, but will move any set value to the new location if the
new location isn't already set itself.
* Look for `X is DEPRECATED` to hold certain fields back from documentation.
* Use `toml:"omitempty"` to prevent the default config output from having these
deprecated values.
2024-03-22 07:00:28 +01:00
Andrew Jackson (Ajax)
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
Andrew Jackson (Ajax)
403c6e23e1
lotusprovider docsgen2
2023-09-20 16:17:51 -05:00
Aayush
66fc6dc3e5
refactor: stop using deprecated io/ioutil
2023-03-29 15:40:49 -04:00
ZenGround0
43da108466
feat:config:force existing users to opt into new defaults ( #10488 )
...
* Config default does not comment out EnableSplitstore
* Loadability check
* Remove test used for debugging
* regexp for properly safe check that config is set
* regexp for safely matching the EnableSpitstore field in the config
* Add instructions for undeleting config and remind users to set splitstore false for full archive
* UpdateConfig small docs and functional opts
* make gen
* Lint
* Fix
* nil pointer check on validate
* Unit testing of EnableSplitstore cases
* Address Review
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-03-20 12:19:14 -04:00
Masih H. Derkani
39a710e1d6
Address lint issues as a result of libp2p deprecations and tidy go mod
...
Address staticcheck issues caused by deprecated APIs and `go mod tidy`.
2022-06-29 14:55:35 -04:00
Łukasz Magiera
4421bf2fa1
feat: config: Persistent subsystem log level config
2022-03-10 14:44:56 +01:00
Łukasz Magiera
7c84e22c3e
Add envconfig docs to the config
2021-09-30 18:23:05 +02:00
Łukasz Magiera
91c6aca7e7
config: Add newlines consistently
2021-07-23 16:59:55 +02:00
Łukasz Magiera
3f4973cb41
config: Fix doc finding logic
2021-07-23 15:17:22 +02:00
Łukasz Magiera
8b1f19e94c
Move doc-comment logic to the config pkg
2021-07-23 14:55:19 +02:00
Łukasz Magiera
78eaac6534
config: Test deafult toml roundtrip
2020-08-12 19:55:43 +02:00
laser
2d6b2e3811
fix a spelling error
2020-06-11 08:49:19 -07:00
Ignacio Hagopian
de3edc2ec7
remote ipfs support & automatic env
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-05-28 22:11:49 +02:00
Łukasz Magiera
5154f525d3
config: don't comment sections be default
2019-12-16 12:46:52 +01:00
Jakub Sztandera
3ea0997c93
Add support for different configs
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 17:38:39 +01:00
Jakub Sztandera
808a1e9deb
Add skeleton of a config
...
Took way longer than it should had because I was researching exisiting
options.
As it turns out, nothing nice exists that would handle:
- Multiple overridiable config files
- Defaults provided in a struct
- Output in a struct
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-04 11:25:28 +02:00