nspcc-dev / nspcc-dev/neofs-api
Move "objects" to `object` dir
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 11
- Forks
- 15
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 9
Description
Is your feature request related to a problem? Please describe.
I'm always frustrated when I see a separate package per every non-regular object. E.g. tombstone, storagegroup, lock.
Describe the solution you'd like
All of them are the subparts of object pkg. So move it here.
Describe alternatives you've considered
Keep it as is. The number of packages is uncontrollable then.
Additional context
https://github.com/nspcc-dev/neofs-api/pull/283#discussion_r1464460441
Also, I am not sure if it is good to make such changes, cause it may affect code generation (that also generates a package per object type).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the proto files and the code-generation setup, then review the discussion linked from PR #283. Determine how tombstone, storagegroup, and lock are currently represented and generated. Done means the non-regular object types are under the object package without breaking generated output or package references.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, build-system
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100