Skip to content
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

Minor repository enhancements #378

Merged
merged 6 commits into from
Nov 30, 2023
Merged

Minor repository enhancements #378

merged 6 commits into from
Nov 30, 2023

Conversation

roman-khimov
Copy link
Member

Doc/build/cleanup.

@roman-khimov roman-khimov added this to the v0.20.0 milestone Nov 29, 2023
@roman-khimov roman-khimov force-pushed the minor-enh branch 2 times, most recently from f718018 to f53ecf0 Compare November 29, 2023 19:38
@tar --transform "s|^./|neofs-contract-$(VERSION)/|" \
-C contracts -czf neofs-contract-$(VERSION).tar.gz \
$(shell cd contracts && find . -name '*.nef' -o -name 'config.json')
rm -rf ./bin $(foreach sc,$(all_sc),contracts/$(sc)/contract.nef contracts/$(sc)/config.json contracts/$(sc)/bindings_config.yml)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw, why ./bin here? we do not have it anywhere

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do. See GOBIN.

Copy link
Member

@carpawell carpawell Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do.

I meant even if we have it somewhere under some var, we do not clean that var, we clean hardcoded ./bin

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it's a part of GOBIN and the way it's derived (and can be overriden) doesn't make me comfortable using GOBIN directly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, but i would use it

Signed-off-by: Roman Khimov <roman@nspcc.ru>
 * reuse wrapper
 * drop useless rpcNeo

Signed-off-by: Roman Khimov <roman@nspcc.ru>
It's not required.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
It's a bit hard to navigate here now. "common" stays as is to minimize import
changes.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
It was useful way back when we had multiple alphabet contracts, now it does
nothing.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This requires renaming source files, but we can still have compatible output
NEFs which is important for neofs-adm.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@roman-khimov roman-khimov merged commit d86a993 into master Nov 30, 2023
@roman-khimov roman-khimov deleted the minor-enh branch November 30, 2023 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants