kurusugawa-computer / kurusugawa-computer/annofab-cli

`annofabcli annotation_specs` : 過去のバージョンの日付で絞り込めるようんする

Open
#1,340 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8
Forks
0
Avg merge
51m
Merged PRs (30d)
12

Description

過去のアノテーション仕様を取得する場合は、--history_id--beforeを指定する。

$ annofabcli annotation_specs export --history_id foo

$ annofabcli annotation_specs export --before 1

アノテーション仕様画面にはhistory_idが表示されていない。
また、バージョンの数が多い場合は、何個前の履歴かを数えるのが面倒である。

したがって、バージョンの日時で絞り込めるようにしたい。

検討すべきこと

  • タイムゾーン
  • 複数見つかった場合の動き

Contributor guide

No contributing guide indexed for this repository

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 with the annofabcli annotation_specs export entry point and trace the existing --history_id and --before handling. Decide how a date-based filter should handle time zones and multiple matching histories, then verify that export selects the intended past annotation specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.