Commit Graph

179 Commits

Author SHA1 Message Date
b130f22318 client: completion: add update command 2025-10-08 13:37:45 -07:00
9eca664dc8 client: docker/lib_docker: add update feature
Simply rebuilds image without cache because modules are built locally
(meaning, there's no "newer version" image of modules to pull against).
2025-10-07 11:46:27 -07:00
5e02aa4825 client: migrate from xsv to xan
`xsv` is no longer maintained and the author recommends `xan` instead.

Fortunately, `xan` is very suitable for our use-case; is very efficient,
and produces no differences in our expected output.
2025-10-03 14:09:34 -07:00
1dafa487ad client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50.2 2025-09-29 11:45:02 -07:00
c7b438aa1b client: dev-tools: lib_linter: fix finding .clang-format
Trailing slash is needed for when client bind-mount is a symlink.
2025-09-19 13:05:45 -07:00
f28a148f5c client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50.1
Also update build process for a successful build and better caching.
2025-09-18 20:52:45 -07:00
6c1b7a0fb1 client: Dockerfiles: remote: hledger-suite: bump hledger-iadd to v1.3.22
Also update build process for a successful build and better caching.

Despite recent releases, hledger-iadd's stack configuration is not
regularly maintained (very out of date). The install documentation is
also very out of date. The maintainer appears to be using cabal for
building.
2025-09-18 20:50:43 -07:00
4c0474ea9f client: Dockerfiles: remote: hledger-suite: bump hledger-flow to v0.16.0
Also update build process for a successful build and better caching.
2025-09-18 20:50:00 -07:00
cc0ec7a112 client: Dockerfiles: remote: hledger-suite: use hledger-flow master tip
As discussed in #216, hledger-flow breaks with the latest hledger
release (1.50).

Until hledger-flow has another release, current master tip appears to be
as stable as v0.15.0 and includes fixes that work with hledger 1.50.
2025-09-05 16:36:50 -07:00
a7289bde16 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50 2025-09-04 15:14:54 -07:00
5e7453d468 client: lib_linter: specify .clang-format location
This commit allows *custom* C++ plugins to be linted/formatted in the
same way as their repo counterparts (using the same repo rulesets).

Previously, when runing the linter, only *repo* C++ plugins would be
formatted. Since custom plugin formatting for both Bash and PHP are
already in place, this simply extends the feature to C++.
2025-08-19 14:17:42 -07:00
21bb54588c client: manifest: bump version to v1.0.0-rc.3 2025-08-12 12:05:56 -07:00
8fed7f8c54 client: lib_docker: make fatal if user not given 2025-08-12 11:03:40 -07:00
c2789f54db client: docker: don't make fatal for empty/invalid command 2025-08-12 11:02:10 -07:00
38391e03c7 client: lib_env: fix handling of global command 2025-08-12 11:02:07 -07:00
fd338b60f6 client: docker/lib_docker: make fatal for unsupported platform 2025-08-12 11:02:04 -07:00
5a0608751a client: docker-finance.d: fetch: price: allow non-alpha character
Now supported in impl.
2025-08-08 14:29:59 -07:00
d270d56366 client/container: ethereum-based: support Etherscan V2, add more L2 chains
- Implements support for unified API via Etherscan V2 (ethereum-based)
  * All ethereum-based L2s are now accessed via single API endpoint
    - Chains are now available via chain ID
  * Updates API key requirement for `fetch` ethereum-based subaccounts
    - The API key's value must now be prepended with "etherscan"
      * Previously was prepended per-chain ("ethereum" or "polygon")
    - The API key is now *required* (can be generated at etherscan.io)
      * Resolves fatal error in Etherscan::parse_response()
      * Impl will now handle if:
        - Config's API key/value is malformed
        - Etherscan API key was not given
        - Etherscan response is fatal

- Adds support for more L2s
  * Arbitrum (One)
  * Optimism
  * Base

- Adds more L2s to existing accounts
  * Coinbase Wallet
  * Ledger Live
  * MetaMask

- Updates documentation
  * Update default generated `fetch` config
  * Update `fetch` usage help
  * Update README
2025-08-04 15:07:10 -07:00
5baf3359e6 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.43.2 2025-06-16 16:10:07 -07:00
8a969c9877 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.43.1 2025-06-05 18:35:16 -07:00
0cb63afe60 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.43 2025-06-03 19:12:36 -07:00
ed76b516c4 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.42.2 2025-05-27 13:10:50 -07:00
051f8fc4f7 client: src: completion: fix for when Docker is not found
Per current default install instructions; as this is appended to either
the per-interactive-shell startup file or aliases file, if Docker is not
installed or is not found, without this fix, the end-user will either be
effectively locked out of their session (after logging out) or they will
not be able to start a new shell within their current session...
2025-05-14 12:49:48 -07:00
5925738d5e client: manifest: bump version to v1.0.0-rc.2 2025-04-08 13:04:44 -07:00
050d95b60b client: src: lib_docker: run: only allocate TTY when needed
Fixes running with client (host) cron.
2025-03-21 10:47:20 -07:00
202601b2cf client: Dockerfiles: remote: hledger-suite: bump hledger to 1.42.1 2025-03-14 18:43:45 -07:00
5fbf811bda client: Dockerfiles: remote: hledger-suite: bump hledger to 1.42
Also update resolver for a successful build.
2025-03-07 20:04:35 -08:00
32cc9215d7 client: docker-finance.d: fetch: remove unused CDP YAML key
Fixup to a52f7e2218
2025-01-30 18:57:11 -08:00
a52f7e2218 client: docker-finance.d: fetch: remove unused YAML keys 2025-01-23 20:10:07 -08:00
ca31fef052 client: docker-finance.d: fetch: update Coinbase CDP key
Support for Legacy Keys will be removed on 2025-02-05.
2025-01-23 20:09:53 -08:00
22f9e972ad client: manifest: bump version to v1.0.0-rc.1 2025-01-10 20:12:23 -08:00
11a154b87e client: docker-finance.d: fetch: add coinomi example
NOTE: exported CSV still required for all other networks.
2025-01-06 17:41:20 -08:00
0e0ae15adb client: docker-finance.d: fetch: remove coinbase-pro 2025-01-04 01:16:05 -08:00
6704b3ec21 client: Dockerfiles: local: finance: remove coinbase-pro 2025-01-04 01:16:05 -08:00
301ad39c1a client/container: refactor w/ updated global basename 2024-12-24 01:46:20 -08:00
ed57dc0749 client/container: use 'dfi' as global basename
Aligned with installation, will make usage help clearer.
2024-12-24 01:46:20 -08:00
7517488943 client: src: docker.bash: fix typo in usage help 2024-12-18 21:44:36 -08:00
83f5355dc3 client: Dockerfiles: remote: hledger-suite: update hledger-iadd resolver
Uses older resolver (should be appropriate to v1.3.21).

Fixes build breakage.
2024-12-12 19:58:40 -08:00
d0a9384648 client: Dockerfiles: remote: hledger-suite: bump hledger to 1.41 2024-12-12 00:23:53 -08:00
c8611edacb client/container: src: completion: plugins enhancements
- Re-enables space after completion for plugin arguments
- Ignores internal/implementation files when completing
  * Files must be within an 'internal'/'impl' directory
2024-10-09 21:13:36 -07:00
d965a11b3e client: src: lib_gen: refactor profile variables
Makes clearer their respective roles.
2024-10-09 21:09:46 -07:00
750265d4b6 client: docker-finance.d: subscript: remove base cmd
The recently added base command variable would break on multi-profile
systems because, when superscript first sources, this global variable
would be set.

Unsetting/resetting the variable will not be a fix so, revert to the
noisy but dynamic per-alias-generated solution instead.
2024-09-30 16:24:01 -07:00
01197a2818 client/container: implement debug log-levels
DOCKER_FINANCE_DEBUG will now support the following:

0 = no debug output
1 = `print_debug` (bash/PHP)
2 = level 1 + `set -xv` (bash)
2024-09-26 18:38:36 -07:00
7077e06d3d client: docker-finance.d: subscript: rewrite
- Refactors and sorts
- Consolidates commands
  * Shortens hledger-{ui,vui,web}
  * Comment out most aliases by default
- Updates to latest impl
- Adds notes and examples
2024-09-26 18:31:55 -07:00
bfdc2452da client: src: lib_gen: filter custom Dockerfile's .in files
Adds filter to remove noisy license clutter in custom Dockerfile output.

This is needed because of the amount of `edit` used on the file.

The license still applies, regardless.
2024-09-25 21:15:03 -07:00
a1cea1fd1e client: docker-finance.d: Dockerfiles: add docker-finance version tag 2024-09-25 20:54:00 -07:00
4a836a77c4 client: src: lib_gen: filter container config .in files
Adds filters to remove noisy license clutter in configuration output.

This is needed because of the amount of `edit` used on configurations.

The license still applies, regardless.
2024-09-24 19:58:21 -07:00
f18bd9aabb client: docker-finance.d: fetch: re-add docker-finance version tag
This was originally removed because it lacked functional usage, as there
already exists a 'version' key.

However, for consistency across all .in files, adding a version *tag*
(non-YAML) serves to quickly indentify what program this configuration
file actually belongs to.
2024-09-24 19:57:48 -07:00
ae2c08d5df client: src: lib_docker: filter docker related .in files
Creates a clutter-free finalized Dockerfile and docker-compose.yml by
removing all comments and blank lines.
2024-09-24 19:57:44 -07:00
dae2572467 client: docker-finance.d: hledger: add docker-finance version tag 2024-09-24 18:12:47 -07:00