Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvp: first pre-release #6

Merged
merged 15 commits into from
Sep 17, 2024
Merged

mvp: first pre-release #6

merged 15 commits into from
Sep 17, 2024

Conversation

shanilhirani
Copy link
Owner

No description provided.

shanilhirani and others added 12 commits July 12, 2024 20:09
…to exclude

modified the filterdata func to filter out expird certs and uses a helper function for date comparison
trying to optimise by reducing allocations
users can passing filename via cli, default behaviour still sends data to stdout unless flags are provided
…of updating content of files(new and existing
* test: Validate dat parser works as expected

* chore: Update go mod

* refactor: Added some standard errors for uniformity inerror handling

* test: Add a few variations of different dateformats

* docs: Add comments to exported Errors

* refactor: Improved the parameter validation slightly to accept returning multiple params

* fix: Scrap this test as it breaks CI and doesn't do anything
* refactor: Refactored the file writer to implement the io.Writer interface for testing

* test: Added some tests for the file writer

* fix: Added a helper/decorator closer to return the error in a defer

* fix: Fix unsafe path return error reported in CI

* refactor: Renamed the parameter name to avoid collision with the filepath package
@shanilhirani shanilhirani changed the title Feat/intial build mvp: first pre-release Jul 12, 2024
Copy link

codecov bot commented Jul 12, 2024

Codecov Report

Attention: Patch coverage is 22.03390% with 184 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/fetch/fetch.go 22.61% 64 Missing and 1 partial ⚠️
cmd/fetch.go 0.00% 60 Missing ⚠️
internal/tofile/tofile.go 53.22% 28 Missing and 1 partial ⚠️
cmd/version.go 0.00% 15 Missing ⚠️
cmd/root.go 0.00% 14 Missing ⚠️
main.go 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
main.go 0.00% <0.00%> (-50.00%) ⬇️
cmd/root.go 0.00% <0.00%> (ø)
cmd/version.go 0.00% <0.00%> (ø)
internal/tofile/tofile.go 53.22% <53.22%> (ø)
cmd/fetch.go 0.00% <0.00%> (ø)
internal/fetch/fetch.go 22.61% <22.61%> (ø)

@shanilhirani shanilhirani self-assigned this Jul 29, 2024
@shanilhirani shanilhirani marked this pull request as ready for review August 9, 2024 17:01
some badges do not have expiry dates therefore API response contains a null value, nested if should handle by adding a zero value for the expected data type
@shanilhirani shanilhirani merged commit ef894d5 into main Sep 17, 2024
8 of 9 checks passed
@shanilhirani shanilhirani deleted the feat/intial-build branch September 17, 2024 13:50
@shanilhirani
Copy link
Owner Author

merging despite of codecov failing - this will be addressed later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants