Merge per-backend annex key vectors into the shared central file

Open
#2,658 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
git, typescript
Domain
cli, testing

Research direction

Read backend/test/fixtures/annex-backend-vectors.json and the shared backend/test/fixtures/annex-key-vectors.json; compare their entries with scripts/fixtures/annex_key_vectors.json in nemarDatasets/.github. Check the vector generation and coverage tests, including test_the_vectors_cover_every_backend_length, and confirm keys with git-annex 10.20251029. Done means all 23 backend entries are in both shared copies, the separate file is removed, byte equality passes, and the pin covers every backend.

Written by the indexing model from the issue text.

Description

Follow-up from #2657 (issue #2125, box 3). The 23 per-backend annex key vectors generated there live in backend/test/fixtures/annex-backend-vectors.json for now, because the shared vector file must stay byte-identical to the central copy in nemarDatasets/.github.

  • Append the 23 entries to scripts/fixtures/annex_key_vectors.json in nemarDatasets/.github (PR there).
  • In the same step, append them to backend/test/fixtures/annex-key-vectors.json here, remove the separate file, and keep the byte-equality pin green.
  • Make the central test_the_vectors_cover_every_backend_length pin all 23 backends, not only the set of lengths.
  • Regenerate or confirm the keys with the git-annex version CI uses (10.20251029); they were produced with 10.20261113.

Refs #2125

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
4h 48m
Merged PRs (30d)
468

Getting set up

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 nemarOrg/nemar-cli

All issues in nemarOrg/nemar-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.