nspcc-dev / nspcc-dev/neofs-api

Move "objects" to `object` dir

Open
#284 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

blocked discussion I4 S3 U4
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.