DB's should accept a partial hash
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- git, javascript
- Domain
- database
Research direction
No files, tests, or entry points are named. Start by locating the database implementations and their read and write request paths, then inspect how hashes are currently handled. Done means reads accept either partial or full hashes while writes provide only full hashes, with behavior verified across the affected database implementations.
Written by the indexing model from the issue text.
Description
Since git allows you to use short hash's, being the first 6 characters of the hash, it'd be good if db implementations could also accept a partial hash.
I think it should be that:
- Any read request should be able to provide the partial hash or the full hash, the db should be able to search on eithre
- Write operations should only ever give the full hash, it's up to the db to decide if it wants to store the partial hash or it can work it out on-the-fly, or how to handle it
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 262
- 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
- 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.
More from creationix/js-git
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
creationix/js-git#144 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
creationix/js-git#145 · 25 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
creationix/js-git#142 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
creationix/js-git#133 · 10 comments ·
-
es-git: js-git 2.0Open
Difficulty 5/5 Over a week Newbie friendliness 18/100
creationix/js-git#132 · 18 comments · 8 reactions ·
All issues in creationix/js-git
Similar issues
-
dev experience
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cuttle-cards/cuttle#1413 ·
Maintainers usually reply within 1 day
-
macOS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
beyondcode/herd-community#1761 ·
-
More wallpapersOpenenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
content good first issue hacktoberfest
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
vieanderes/understory#19 ·
-
automated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
lirantal/discoprint#37 ·
Maintainers usually reply within 1 day