`Command Summary`: Pull doesn't exists

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start by reading the “Modifying annotations in existing datasets” section of documentation/Getting-started-with-LDB.md and compare the documented index, pull, add, and commit commands. Done means the use case and value of a separate pull command are decided and the command summary or implementation plan reflects that decision.

Written by the indexing model from the issue text.

Description

I also don't fully understand the use case (the name is kind of confusing), given the explained usage in Modifying annotations in existing datasets:

Step Command
List all objects matching annotation field in the index $ ldb index gs://iterative/handwritten-reannotated/

However, as we mentioned, this change would not affect the existing datasets that are referencing the older annotations. To upgrade all annotations in a dataset to the latest revision found in index, one can use PULL command:

Step Command
Bump annotations to the latest version $ ldb pull

Would, in this case, the result be equivalent to:

$ ldb add gs://iterative/handwritten-reannotated/
$ ldb commit

If so, I think I would need to see another use case to consider having a separate command valuable enough.

Dominant language
Python
Stars
27
Forks
7
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from iterative/ldb-resources

All issues in iterative/ldb-resources

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.