-
Notifications
You must be signed in to change notification settings - Fork 170
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
chore: price feeder imports umee/v2.0.0 #766
Conversation
…app/params: import lookup disabled by -mod=readonly
All tests passing - but let's hold up on merging this until v2 PR is in main or perhaps further |
price-feeder/go.mod
Outdated
module github.com/umee-network/umee/price-feeder | ||
module github.com/umee-network/umee/v2/price-feeder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change - is it correct?
edit: to test this, try importing price feeder into a fresh go.mod based project. If it errors "why does 0.2 have a v2 url?" then I will revert this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The v2 is for the umee part, the price-feeder is in its own version like 0.20
Maybe it wouldn't be better for the price-feeder to have its own repository?
@toteki @adamewozniak
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Long term, separate repo could simplify things.
As for the price-feeder/go.mod
import path, this PR might work without (since only the umee go.mod, not the whole umee repository, has changed import paths).
Codecov Report
@@ Coverage Diff @@
## main #766 +/- ##
==========================================
- Coverage 48.03% 47.60% -0.43%
==========================================
Files 64 64
Lines 9329 9413 +84
==========================================
Hits 4481 4481
- Misses 4581 4665 +84
Partials 267 267
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, working without v2 on price-feeder/go.mod
line 1, which also reduces files changed to 5.
Can merge in this form, and we can fix it later if any import errors emerge.
Finished a local test of importing price feeder at this commit on an empty / "hello world" type of project, and confirmed no errors appear with the non-v2 import path. Merging now. |
* all replaces EXCEPT in price feeder - not complete * go mod replace price feeder 0.2 * fix make proto-gen output folder to allow major versions * revert some price feeder path changes * cannot find module providing package github.com/umee-network/umee/v2/app/params: import lookup disabled by -mod=readonly * chore: pf importing umee/v2 * Update price-feeder/go.mod * go mod tidy --compat=1.17 * try undo price feeder v2 import path Co-authored-by: toteki <63419657+toteki@users.noreply.github.com> (cherry picked from commit 11c0f76) # Conflicts: # price-feeder/go.sum
* all replaces EXCEPT in price feeder - not complete * go mod replace price feeder 0.2 * fix make proto-gen output folder to allow major versions * revert some price feeder path changes * cannot find module providing package github.com/umee-network/umee/v2/app/params: import lookup disabled by -mod=readonly * chore: pf importing umee/v2 * Update price-feeder/go.mod * go mod tidy --compat=1.17 * try undo price feeder v2 import path Co-authored-by: toteki <63419657+toteki@users.noreply.github.com> (cherry picked from commit 11c0f76)
* all replaces EXCEPT in price feeder - not complete * go mod replace price feeder 0.2 * fix make proto-gen output folder to allow major versions * revert some price feeder path changes * cannot find module providing package github.com/umee-network/umee/v2/app/params: import lookup disabled by -mod=readonly * chore: pf importing umee/v2 * Update price-feeder/go.mod * go mod tidy --compat=1.17 * try undo price feeder v2 import path Co-authored-by: toteki <63419657+toteki@users.noreply.github.com> (cherry picked from commit 11c0f76) Co-authored-by: Rafael Tenfen <rafaeltenfen.rt@gmail.com>
Description
umee/v2
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change