Commit Graph

168 Commits

Author SHA1 Message Date
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
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
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
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
b5b61705c2 client: fetch.yaml.in: price: fetch from all APIs
Demonstrates a more realistic scenario.
2024-06-18 18:59:54 -07:00
b2f59764fc client: fetch.yaml.in: update to latest price impl 2024-06-17 23:15:23 -07:00
55c893e010 Dockerfiles: remove PHP codenixsv/coingecko-api
Replaced by custom implementation.
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
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
59011109b3 Merge pull request #42 into master
7e2e422 client: Dockerfiles: remove obsolete 'version' element (Aaron Fiore)
2024-03-27 23:23:05 -07:00
7e2e4227b1 client: Dockerfiles: remove obsolete 'version' element
Resolves warning when internally running docker compose.
2024-03-26 22:53:23 -07:00
d2b40ec4c3 client: fetch.yaml.in: add cardano/ADA 2024-03-19 21:57:00 -07:00
b621e87df2 docker-finance | modern accounting for the power-user
Dedicated to Michael Morgan: a beautiful, beautiful soul.

---

Internal signing keys:

  Aaron Fiore (sole author)

    - 518A22F85BEFD32BCC99C48603F90C4F35E0213E
    - 31ECA5C347A0CC0815EDE730A3EACCFCDA7E685E
    - C8187C585CB07A4DA81CC0F37318B50EBE9C0DA8

Internal repositories (rebased from):

  Staging:

    $ git log -n1 --pretty=format:"%H"
    c8e0cd66f6c89fa7b3c62f72fb524a4cc454b7b6

    $ git rev-list --max-parents=0 HEAD
    ac3863b8c234755855f1aea3a07a853122decdf2

  Private:

    $ git log -n1 --pretty=format:"%H"
    69bb3591eaa2990a9637832bb484690e00c4f926

    $ git rev-list --max-parents=0 HEAD
    a5c1cc9fb593c4cf09bc0adfef6cb6d2964511ae
2024-03-08 23:42:21 -08:00