Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

v0.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Apr 18:06
· 12 commits to master since this release
f9bc889

Changelog

  • 73ee680 Add "frame" into fact_units
  • f040da0 Add Client.CompanyFacts(),
  • 26a8b2b Add Client.CompanyTickers,
  • 4960178 Add FactUnit.ParseTimes
  • c9fb763 Add GetArchiveFile into Client
  • 883ab0e Add Long for upload and update cmds.
  • ae4503c Add Repo.FiledCounts
  • 15e9606 Add Repo.LastFiled,
  • ad5de09 Add Repo.Units()
  • 6c2cb2b Add TestKnownFact_AddLabel
  • 9294740 Add WIP db upload, because just added test
  • ce99ef2 Add couple of EDGAR links to docstring
  • 25a414a Add make build|clean
  • 9365719 Add mock for Repo interface
  • 2a6b861 Add more details into logging
  • 6b42d0a Add more into README.md
  • 01c0317 Add more tests for Download
  • 6bd7778 Add newKnownFact
  • 3f10df7 Add repo.AddFactUnit
  • d089839 Add repo.CopyFactUnits
  • 990f3fd Add some real testdata,
  • f9bc889 Add version string
  • 6080955 Bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0
  • 710d13e Bump github.com/jackc/pgx/v5 from 5.5.1 to 5.5.2
  • 54fbc3d Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.3
  • 1d79b50 Bump github.com/jackc/pgx/v5 from 5.5.3 to 5.5.4
  • 9a7c7ef Bump github.com/jackc/pgx/v5 from 5.5.4 to 5.5.5
  • 24720fc Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
  • cb8b108 Bump go from 1.21.5 to 1.22
  • 5c115de Bump golang.org/x/sync from 0.5.0 to 0.6.0
  • 8f6cbcb Bump golang.org/x/sync from 0.6.0 to 0.7.0
  • 00e9aac Bump golangci/golangci-lint-action from 3 to 4
  • 40399f8 CREATE INDEX ON fact_units (company_cik, filed)
  • 91579e8 Compactify list of company tickers
  • 6c8c18c Configure github action for using postgresql
  • 1cf9a29 Don't lint test files with wrapcheck linter
  • f527de2 Don't log ticker
  • f1cffcb Extract iterateCompanyFacts from processCompanyFacts
  • 8eda152 Faster db update
  • 94aaa33 GetJSON will return UnexpectedStatusError
  • dd1d5e6 Hardcode "edgar" path component for download command
  • 3dcbda2 Implement "edgar db init" command
  • 14fb0f8 Implement AddCompany and AddFact
  • 91f02f0 Implement AddLabel()
  • 10b0688 Implement Repo.ReplaceFactUnits
  • 4ede3e5 Implement edgar db update
  • 0e8c02c Implement edgar download
  • 7c1cd02 Implement knownUnits and move knowFact and createFact into knownFacts
  • d65671e Implement repo.AddUnit
  • 2af8951 Implement storage type for download cmd
  • 06d978e Improve db upload cmd
  • 30d15e9 Increase httpTimeout: 5 -> 30 seconds
  • 8295d8e Initial commit
  • ddf8345 Introduce db update cmd
  • 4ac531e Make 5 seconds timeout as a const
  • a61ebb7 Make db update faster and reliable
  • 35e961c Make golangci-lint happy
  • 84c2ec0 Make golangci-lint happy
  • eedcd07 Make mockery happy
  • 90b62d2 Make nolintlint happy
  • ef74ae5 Make nolintlint happy,
  • df56b3c Merge pull request #1 from dsh2dsh/dependabot/go_modules/golang.org/x/sync-0.6.0
  • bf98fe0 Merge pull request #2 from dsh2dsh/dependabot/github_actions/golangci/golangci-lint-action-4
  • e71cfd7 Merge pull request #3 from dsh2dsh/dependabot/go_modules/github.com/stretchr/testify-1.9.0
  • b66bd52 Merge pull request #4 from dsh2dsh/dependabot/go_modules/github.com/jackc/pgx/v5-5.5.5
  • bfcf95a Merge pull request #5 from dsh2dsh/dependabot/go_modules/golang.org/x/sync-0.7.0
  • 3769d8c Merge pull request #6 from dsh2dsh/dependabot/go_modules/github.com/cespare/xxhash/v2-2.3.0
  • 6963e54 Move --datadir under download cmd
  • 06e6640 Move NeedFile() into Download
  • 027e1f1 Move Storage mock to internal/mocks/download
  • 6a56611 Move cmd/testdata into cmd/download/testdata
  • 80d3e31 Move db subcommand from cmd into cmd/db
  • 6e45a71 Move download into internal/download
  • c9b4570 Move mocks into top level internal
  • 1912e67 Move preload last filed companies into preloadArtifacts
  • 21f2fe4 Move preloadFacts and preloadUnits into preloadArtifacts
  • 969dd6b Move rootCmd.AddCommand() into root.go
  • f2ac7cb Move storage init into contructor
  • 78fb302 Move testdata into cmd
  • dfe84d3 Move type FactUnit into facts.go
  • 79b2345 Oops, "cik" can be a string
  • 999e569 Preload units
  • a533396 Refactor UnexpectedStatusError
  • 2c186e4 Refresh .golangci.yaml
  • 1d1e39c Remove PRIMARY KEY from fact_units
  • 6b92323 Remove extra logging from db upload
  • a7ea7bb Remove gosec from linters
  • dbf8eac Remove limit from db upload
  • f009aea Rename Uint32String -> CIK
  • 1a2e934 Rename db.go -> cmd.go
  • 8b4e37d Rename len -> length, because we use len()
  • d7ea2f6 Set Timeout = 5 seconds for Client
  • b2caec7 Split db.go into different files
  • 78e3c8b Strip "edgar" subpath
  • 3b6298d Test we got correct URL
  • abb4744 Use our logger instead of slog
  • 8861ff1 Use pgtype instead of pointers for null columns
  • 78cd6bc Use slog instead of log for logging
  • b400c7e db update now handles new companies
  • de59f1d edgar db upload is functional now
  • 61cc3bf edgar download -> edgar archive download
  • 10aac91 go.sum: remove github.com/dsh2dsh/expx-dotenv v1.3.1
  • 9bbdf5f preload facts and labels from the db
  • cb15042 unit_name is UNIQUE