Incorrect jq example in README.md
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- markdown
- Domain
- documentation
Research direction
Open README.md and inspect the certificate-expiration jq example. Verify the date comparison behavior and update the example so the date values are comparable with jq's now value, then confirm the README shows the intended expired-certificate results.
Written by the indexing model from the issue text.
Description
The top level README.md contains the following example:
# List all Common Names of certificates that are expired
certigo dump --json $INPUT | jq -r '.certificates[] | select(.not_after < now) | .subject.common_name'
This is incorrect because afaik jq cannot compare the JSON string dates with the Unix epoch seconds returned by now. Would have to use fromdate or fromdateiso8601 to make the values comparable.
The use of the incorrect example would likely cause a silent failure since the comparison will be false for pretty much any date string input.
- Dominant language
- Go
- Stars
- 1k
- Forks
- 75
- Avg merge
- 2d 34m
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 square/certigo
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
square/certigo#354 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
square/certigo#287 · 4 comments ·
Maintainers usually reply within 2 days
-
Add support for SQL ServerPossibly taken @rgl claimed this 2245 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 2 days
Similar issues
-
Say in the changelog that the text-index update cannot be rolled backPossibly taken @praetorianer777 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
praetorianer777/GoTome#275 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
SAP/crossplane-provider-btp#1118 ·
Maintainers usually reply within 1 day
-
benchmark: `make setup` fails because audit-exporter builds with Go 1.25.0 while go.mod requires 1.26.0Possibly taken @xsvm claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 84/100
volcano-sh/volcano#6097 · 1 comment ·
Maintainers usually reply within 1 day
-
area/infra backlog bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
praetorianer777/Stator#417 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day