Commit Graph

92 Commits

Author SHA1 Message Date
185570b52f client: update version manifest to latest build 2024-06-28 17:30:36 -07:00
20ff0cf745 README: add note for docker-finance build options 2024-06-28 17:30:36 -07:00
d93d2dd17c container: lib_finance: call root with $ROOTSYS
Non-packaged pre-compiled ROOT.cern is not installed to /usr/bin
2024-06-28 17:30:36 -07:00
dffb3e5b14 client: Dockerfiles: ubuntu: add ROOT.cern support 2024-06-28 17:30:36 -07:00
19cbd05a5d client: Dockerfiles: refactor for build options 2024-06-28 17:30:36 -07:00
593d586e6c client: lib_docker: implement build options 2024-06-28 17:30:36 -07:00
fc75cbf50b Merge pull request #67 into master
8eab0eb client: lib_docker: add `edit` option for custom Dockerfile (Aaron Fiore)
494e0c5 client: lib_docker: append custom Dockerfile to final Dockerfile (Aaron Fiore)
aafe16c client: lib_gen: generate custom Dockerfile (Aaron Fiore)
decef35 client: create templated custom Dockerfiles (Aaron Fiore)
2024-06-27 19:11:09 -07:00
8eab0eb560 client: lib_docker: add edit option for custom Dockerfile 2024-06-26 14:58:22 -07:00
494e0c5402 client: lib_docker: append custom Dockerfile to final Dockerfile 2024-06-26 14:58:21 -07:00
aafe16c0c0 client: lib_gen: generate custom Dockerfile 2024-06-26 14:58:20 -07:00
decef35be4 client: create templated custom Dockerfiles 2024-06-26 14:58:19 -07:00
432a30c029 Merge pull request #65 into master
fd22dc6 repo: add Gitea issue templates (Aaron Fiore)
2024-06-25 18:14:00 -07:00
fd22dc6b92 repo: add Gitea issue templates 2024-06-25 18:11:51 -07:00
714f5ebfc7 Merge pull request #64 into master
5989fdc client: subprofile.bash.in: update hledger-web arg (Aaron Fiore)
369e234 client/container: bash: trivial impl for `ledger-vui` (Aaron Fiore)
a461cda container: bash: lib_edit: add iadd (Aaron Fiore)
3c6c931 client/container: bash: add hledger aliases (Aaron Fiore)
2024-06-25 18:09:28 -07:00
5989fdc4a3 client: subprofile.bash.in: update hledger-web arg
Upstream replaced --capabilities with --allow
2024-06-24 16:59:37 -07:00
369e2343ce client/container: bash: trivial impl for ledger-vui
Leverages journal to visidata for an alternative read-only terminal UI.
2024-06-24 16:59:37 -07:00
a461cda2ff container: bash: lib_edit: add iadd
Upstream will still need to add comment/metadata functionality to iadd.
2024-06-24 16:59:37 -07:00
3c6c9311da client/container: bash: add hledger aliases
The original intent of the `ledger` facade was to describe a general
purpose "ledger" command abstraction; not specifically the `ledger`
software (predecessor to hledger) nor the `ledger` hardware device.

As `hledger` is currently the exclusive internal "ledger" component,
adding `hledger` as an alias seems to be an appropriate-enough addition
that won't break existing abstraction/functionality.
2024-06-24 16:59:34 -07:00
1c31463c34 Merge pull request #63 into master
d5220d1 hledger-flow: coinbase: rules: catch Advanced Trade 0-value txs (Aaron Fiore)
e3d1fc4 hledger-flow: coinbase: preprocess: fix Advanced Trade divide by zero (Aaron Fiore)
2024-06-24 14:39:30 -07:00
d5220d151e hledger-flow: coinbase: rules: catch Advanced Trade 0-value txs
- Removes 0-values from first double entry while retaining metadata
- Catches less-than-a-penny commissions in those same transactions
2024-06-24 14:32:12 -07:00
e3d1fc4925 hledger-flow: coinbase: preprocess: fix Advanced Trade divide by zero 2024-06-24 14:32:12 -07:00
0d997eab5e Merge pull request #62 into master
c68c25d php: fetch: gemini: update to ccxt's latest request() signature (Aaron Fiore)
0014440 php: fetch: run linter (Aaron Fiore)
2024-06-24 14:29:10 -07:00
c68c25dba4 php: fetch: gemini: update to ccxt's latest request() signature
The context argument was removed from upstream's signature.
2024-06-21 21:12:04 -07:00
0014440e38 php: fetch: run linter 2024-06-21 21:11:48 -07:00
3634d97eb1 Merge pull request #61 into master
51ef36b client: Dockerfiles: dev-tools: add `version` dependency (Aaron Fiore)
dddd8a9 client: lib_docker: add CLI `version` for all platforms (Aaron Fiore)
2024-06-21 16:38:12 -07:00
51ef36b2bb client: Dockerfiles: dev-tools: add version dependency
Already present in the 'finance' images.
2024-06-21 16:34:50 -07:00
dddd8a90a2 client: lib_docker: add CLI version for all platforms
Prints meaningful output of all dependencies and their respective versions.
2024-06-21 16:34:50 -07:00
00d4a8fa77 Merge pull request #60 into master
b5b6170 client: fetch.yaml.in: price: fetch from all APIs (Aaron Fiore)
a9d4afd bash: lib_fetch: prices: CLI: allow multiple APIs (Aaron Fiore)
d5a1897 README: add CoinGecko and Mobula to Prices (Aaron Fiore)
cb7eb80 php: fetch: prices: crypto: use inherited doxygen (Aaron Fiore)
b2f5976 client: fetch.yaml.in: update to latest price impl (Aaron Fiore)
c8fde5a bash: lib_fetch: refactor 'symbol' as 'asset' or 'ticker' (Aaron Fiore)
fcf7e3d php: fetch: prices: refactor 'symbol' as 'asset' or 'ticker' (Aaron Fiore)
ae1dc71 php: fetch: prices: support asset's blockchain(s) (Aaron Fiore)
bf4c9bf php: fetch: prices: refactor parsing; common impl (Aaron Fiore)
9d1c0c9 php: fetch: prices: add Mobula support (Aaron Fiore)
55c893e Dockerfiles: remove PHP `codenixsv/coingecko-api` (Aaron Fiore)
1dce605 php: fetch: prices: generalize crypto APIs' filename, namespace refactor (Aaron Fiore)
103553c php: fetch: prices: base: print thrown message (Aaron Fiore)
e632c44 php: fetch: prices: coingecko: remove upstream client, add API key support (Aaron Fiore)
52026ca php: fetch: prices: new functionality / refactor (Aaron Fiore)
e9e8b84 bash: lib_fetch: add CLI (prices) aggregator-API support (Aaron Fiore)
2024-06-21 16:16:11 -07:00
b5b61705c2 client: fetch.yaml.in: price: fetch from all APIs
Demonstrates a more realistic scenario.
2024-06-18 18:59:54 -07:00
a9d4afd1df bash: lib_fetch: prices: CLI: allow multiple APIs
- Fetch from all available price APIs within a single command
  * allows passing multiple CLI APIs to `api` argument
  * will now fetch from all available APIs if `api` is not given
  * will warn if API config block is missing or die of no APIs are found
- Related refactoring
2024-06-18 18:59:42 -07:00
d5a1897e39 README: add CoinGecko and Mobula to Prices 2024-06-17 23:15:23 -07:00
cb7eb80cb5 php: fetch: prices: crypto: use inherited doxygen 2024-06-17 23:15:23 -07:00
b2f59764fc client: fetch.yaml.in: update to latest price impl 2024-06-17 23:15:23 -07:00
c8fde5ad64 bash: lib_fetch: refactor 'symbol' as 'asset' or 'ticker'
Clarity through specificity.
2024-06-17 23:15:23 -07:00
fcf7e3dd6b php: fetch: prices: refactor 'symbol' as 'asset' or 'ticker'
Clarity through specificity.
2024-06-17 23:15:23 -07:00
ae1dc71559 php: fetch: prices: support asset's blockchain(s)
- Related refactoring
- Update documentation
2024-06-17 23:15:23 -07:00
bf4c9bf61a php: fetch: prices: refactor parsing; common impl
- Move daily average into common impl
- Update parsing function signature
- Update documentation
2024-06-17 23:15:23 -07:00
9d1c0c9c57 php: fetch: prices: add Mobula support 2024-06-17 23:15:22 -07:00
55c893e010 Dockerfiles: remove PHP codenixsv/coingecko-api
Replaced by custom implementation.
2024-06-17 23:15:22 -07:00
1dce605854 php: fetch: prices: generalize crypto APIs' filename, namespace refactor 2024-06-17 23:15:22 -07:00
103553c696 php: fetch: prices: base: print thrown message 2024-06-17 23:15:22 -07:00
e632c44bc3 php: fetch: prices: coingecko: remove upstream client, add API key support
- Removes `codenixsv/coingecko-api`
- Adds Pro API support
- Related refactoring
2024-06-17 23:15:22 -07:00
52026cace1 php: fetch: prices: new functionality / refactor
- Add support for multiple aggregator APIs
- Refactor `prices` API implementation
- Update documentation
2024-06-17 23:15:22 -07:00
e9e8b84bd8 bash: lib_fetch: add CLI (prices) aggregator-API support 2024-06-17 21:34:36 -07:00
3dfb9f73fc Merge pull request #58 into master
5eaf261 Dockerfiles: finance/dev-tools: remove default 'ubuntu' user (Aaron Fiore)
958cf11 Dockerfiles: finance/dev-tools: remove timezone mount (Aaron Fiore)
2024-06-13 15:22:28 -07:00
5eaf261875 Dockerfiles: finance/dev-tools: remove default 'ubuntu' user
For Ubuntu-based images, remove upstream-added default 'ubuntu' user as
it may conflict with host's given UID/GID during docker-finance build.
2024-06-13 15:20:55 -07:00
958cf11be3 Dockerfiles: finance/dev-tools: remove timezone mount
When running `finance` image's `import` command (but only when
container's hledger-flow coinbase/coinbase-pro accounts are imported),
the following error is given:

  ```
  IsADirectoryError: [Errno 21] Is a directory: '/etc/timezone'
  Selector name 'id' does not exist as a named header in the given CSV data.
  ```

specifically, after enabling verbose printing of `csvjoin` (which is only
used within these accounts), the following error is given:

  ```
  File "/home/user/.local/share/pipx/venvs/csvkit/lib/python3.12/site-packages/babel/localtime/_unix.py", line 57, in _get_localzone
    with open(tzpath, 'rb') as tzfile:
         ^^^^^^^^^^^^^^^^^^
  ```

where all errors prevent the successful import of applicable accounts.

The python error appears to have been introduced in csvkit 2.0.0 and
appears to be the result of an upstream decision (or bug) to not test
whether /etc/timezone is a directory or a file (Arch Linux treats
/etc/timezone as a directory).

Fortunately, docker-finance's mounting of /etc/localtime appears to
satisfy use-case requirements; so, /etc/timezone is no longer needed.

Removing /etc/timezone resolves all errors.
2024-06-13 15:20:33 -07:00
bc1485b4ca Merge pull request #57 into master
80fbd64 README: update keyserver for repo verification (Aaron Fiore)
2024-06-12 22:39:29 -07:00
80fbd64fd1 README: update keyserver for repo verification
GnuPG's is proving to be regularly unavailable.
2024-06-11 19:42:46 -07:00
8f03cb0ef8 Merge pull request #56 into master
71960c1 hledger-flow: coinbase: allow 1INCH parsing (Aaron Fiore)
ce61e85 hledger-flow: gemini: allow 1INCH transfers (Aaron Fiore)
2024-06-11 16:14:33 -07:00