-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
feat(config): AutoConf with "auto" placeholders #10883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
4bf7f27
feat: prototype autoclient library
lidel a72b8e1
feat(config): prototype autoconfig profile
lidel 120bb82
feat: prototype embedded repo migrations
lidel 51a49f9
feat: prototype of `ipfs config` support for `auto`
lidel a860748
docs: MustGetConfigWithMainnetFallbacks
lidel 302dcdf
chore: lint + cleanup redundant tests
lidel d23374c
refactor: use const with profile names
lidel 355bc3d
refactor: cfg.BootstrapPeers returns raw Bootstrap
lidel 626a99f
fix: use resolved versions for making decisions
lidel 1d91f11
refactor: Β Bootstrap[Peers]WithAutoConfig
lidel f629d8b
fix(cli): bootstrap cmd with auto
lidel 0e75e4f
refactor: cleanup
lidel e711c3c
test: multiple consecutive --expand-auto calls
lidel d18a1fe
refactor: dry and useful logs
lidel 7088d88
refactor: autoconfig .last-refresh
lidel e1e4e23
fix: `ipfs bootstrap add auto`
lidel 53a642c
docs: AutoConfig in changelog
lidel 273e18e
chore: update func name
lidel 24d552d
refactor: schema v4
lidel e2476e9
test: DNSResolver validation
lidel e9f8ce9
docs: autoconfig changelog
lidel 3d34f41
test: basic ipns publishing work in ci (offline)
lidel e4eb581
chore: cleanup to use testdata
lidel 2a196dc
test(coreapi): ipns name
lidel a68d581
fix(docker): copy boxo/autoconfig
lidel 8fa6527
fix(autoconfig): real ipni fallback
lidel a57df38
fix: restore legacy defaultRepo
lidel 9480b93
test: restore coreiface from master
lidel 85e80d4
chore: restore previous namesys wiring
lidel 7585807
refactor: simplify constructDefaultHTTPRouters
lidel b3975a2
refactor: cleanup config/autoconfig.go
lidel 00c9d9c
fix: thread-safe cache
lidel 82f2b59
refactor: MustGetConfig fallback handling
lidel 2e22eba
test: ParseAndValidateRoutingURL
lidel 24e6aa4
fix: simpler cache dir
lidel cf8b596
refactor(config): remove need for passing repoPath
lidel 374ba05
chore: collapse diffs of generated data
lidel 1df21cd
chore: restore master code
lidel f7c2112
test: error cases for autoconfig.json fetch
lidel f5fe36f
chore: placeholder
lidel e52befe
refactor: clenup startAutoConfigUpdater
lidel 03a2a3c
test(autoconfig): ipfs swarm connect
lidel 146ef49
refactor: better names for Must* funcs
lidel 3e4a854
fix(fx): ClearCachedNode
lidel ef98774
test: TestHTTPCachingBehavior and cleanup
lidel 1a7230c
test: TestAutoConfigIPNS
lidel 814723e
test(autoconfig) Routing.Type=auto|delegated
lidel 36acffe
fix: go vet
lidel 332ab2f
test: migration and autoconfig sharness
lidel a5f6777
fix: sync.RWMutex
lidel 70dbdc8
test(cli): migration_legacy_15_to_17_test.go
lidel 44dec15
test: testCLIUsesCacheOnlyDaemonUpdatesBackground
lidel e77f434
fix: t0066-migration.sh
lidel a6efc94
refactor: autoconfig β autoconf
lidel 35e521d
fix: validate AutoConfSchema 1
lidel 1a73236
docs: highlights and deprecations
lidel 7f3bcea
test: testAutoConfWithHTTPS
lidel 5a6c5ab
docs: boxo/autoconf
lidel 491b1c3
docs: examples in boxo/autoconf/README.md
lidel c71e9d8
Merge branch 'master' into feat-mainnet-autoconfig
gammazero 6a32e60
remove unused import
gammazero ea6c3e4
Merge branch 'master' into feat-mainnet-autoconfig
gammazero 285be62
Merge branch 'master' into feat-mainnet-autoconfig
gammazero 13357e3
chore: config β conf
lidel 8fd1829
refactor: boxo/autoconf extraction prep
lidel ebb948f
refactor: boxo/autoconf cleanup, part 1
lidel 95065fd
Merge branch 'master' into feat-mainnet-autoconfig
lidel 564382f
tests: switch to testify
lidel d88c0d0
fix: log warn when no cache available
lidel c2129d7
refactor: improve lock scopes
lidel a4e0671
chore: move atomicfile
lidel cfa0bcc
refactor: simplify the path operations
lidel 70860e0
refactor: code simplifications
lidel 0a9a5b7
refactor: reuse buildEndpointURL
lidel a0bac20
fix: Errorf
lidel c890bfd
chore: remove FromCache
lidel c0269f4
fix: panic on nil client
lidel 3a6ec69
chore: preallocate slice
lidel 62f67d6
refactor: slices.Contains
lidel af51a49
refactor: review feedback cleanup
lidel 54df810
refactor: core/node/libp2p/host.go
lidel b0cdf44
refactor: move autoclient to boxo#997
lidel 1946d45
fix: restore dockerfile
lidel 5d4275e
chore: gofmt
lidel 66fe0a8
Merge branch 'master' into feat-mainnet-autoconfig
gammazero 2176ae4
merge: origin/master into feat-mainnet-autoconfig
lidel 7f027e4
docs: concise changelog
lidel 9321e46
chore: update to latest boxo#997
lidel 018b73b
chore: update to boxo@main
lidel e4e08a3
merge: origin/master into feat-mainnet-autoconfig
lidel f2ca7d9
fix: telemetry bootstrap check for autoconf
lidel f3b8ed3
feat: autoconf telemetry
lidel 2bb5276
test: telemetry schema regression guard
lidel f0314d0
test: use atomic.Int32 for cleaner counter handling
lidel 0eb4a02
test: remove emojis from test logs
lidel dc41fbb
test: clarify bootstrap peer round-trip test
lidel 9ffbf88
test: simplify IPNS error tests
lidel a7b0b21
refactor: rename --delegated-only to --allow-delegated
lidel 470d4db
refactor: make AutoConf.URL implicit like AutoTLS
lidel 0da54e0
fix: sort profile names in config help output
lidel 8ec830b
test: AutoConf in bootstrap add default test
lidel ccd2388
fix: allow ipfs repo migrate to run without daemon
lidel 6e75456
refactor: make Migration config optional
lidel d028a23
Merge branch 'master' into feat-mainnet-autoconfig
lidel 2b32db3
fix(migration): use implicit defaults for AutoConf fields
lidel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.