[#276] Merge repo with frostfs-api-go #281
Labels
No labels
P0
P1
P2
P3
good first issue
pool
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#281
Loading…
Reference in a new issue
No description provided.
Delete branch "pogpp/frostfs-sdk-go:feature/276_merge_repos"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: Pavel Pogodaev p.pogodaev@yadro.com
[#276] Merge repo with frostfs-api-goto WIP: [#276] Merge repo with frostfs-api-goAs i understand - we are not supporting in SDK UsedSpaceAnnouncement ?
git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container
container/size.go:18:14: undefined: container.UsedSpaceAnnouncement
container/size.go:25:49: undefined: container.UsedSpaceAnnouncement
container/size.go:47:48: undefined: container.UsedSpaceAnnouncement
Are you sure you've used the latest versions of
sdk-go
andapi-go
?@ -1,10 +1,10 @@
package accounting
import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting"
import "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/apiv2/accounting"
apiv2
->api
v2 is just go.mod suffix, no need to add it to
sdk-go
7ef502e2c0
to397123a810
397123a810
to712b50522b
712b50522b
to349d6b6140
349d6b6140
tod404a1026e
d404a1026e
to6693b47366
Last thing to fix.
Error Trace: /home/paul/GolandProjects/frostfs-sdk-go/object/raw_test.go:306 Error: Not equal: expected: &object.Object{objectID:(*refs.ObjectID)(0xc00011e858), idSig:(*refs.Signature)(nil), header:(*object.Header)(0xc0001e2540), payload:[]uint8(nil), marshalData:[]uint8(nil)} actual : &object.Object{objectID:(*refs.ObjectID)(0xc00011e930), idSig:(*refs.Signature)(nil), header:(*object.Header)(0xc0001e2bd0), payload:[]uint8{}, marshalData:[]uint8(nil)}
Old test - simple as it can be.
But I can't find the root cause of diff
payload:[]uint8{}
andpayload:[]uint8(nil)
So, test failed after this commit here
6693b47366
to2156a6bf73
2156a6bf73
to12ef42f496
12ef42f496
to7d6ce3928b
WIP: [#276] Merge repo with frostfs-api-goto [#276] Merge repo with frostfs-api-go@pogpp please check this. I don't see
container.UsedSpaceAnnouncement
in the latest versions of SDK and API-GoYep, my fault. Updated to actual versions
Please update
.gitattributes
accordingly.Can you also please exclude
go.sum
via/go.sum -diff
?7d6ce3928b
to410dcf5fae
New commits pushed, approval review dismissed automatically according to repository settings
410dcf5fae
toe6f438bce4
@ -15,0 +47,4 @@
# Regenerate code for proto files
protoc:
Seems like this target depends on
bin/protogen
, maybe it will be nice to put it into part ofprotoc-install
or make a dependency for this target.@ -5,3 +5,3 @@
"fmt"
apeV2 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/ape"
apeV2 "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/ape"
Could you explain, where do we plan to land version here?
Will the import path change after we transition to v3?
according to this comment i decided that we don't need it
e6f438bce4
to6ce73790ea
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings