Skip to content

prioritize local configs over system-wide (and respect $XDG_CONFIG_HOME) - #607

Open
0xf0xx0 wants to merge 25 commits into
janoside:masterfrom
0xf0xx0:config-ordering
Open

prioritize local configs over system-wide (and respect $XDG_CONFIG_HOME)#607
0xf0xx0 wants to merge 25 commits into
janoside:masterfrom
0xf0xx0:config-ordering

Conversation

@0xf0xx0

@0xf0xx0 0xf0xx0 commented Dec 28, 2023

Copy link
Copy Markdown
Contributor

this pr:

  • changes the ordering of configPaths to list local paths before system,
  • respects XDG_CONFIG_HOME if set,
  • and stops loading configs upon successfully finding one, since dotenv doesnt overwrite
    early exit

with XDG_CONFIG_HOME=/var/tmp
image

pointbiz and others added 11 commits December 19, 2023 13:07
Include a tweak to PR janoside#606: TX block height values of both 0 and -1 seem to be possible for unconfirmed transactions, so the conditional is tweaked to address that. Also, the single transaction in the genesis block presents an edge case for this conditional and is addressed.
…nconditionally because this mixin is used for lists of transactions in blocks AND for lists of transactions associated with addresses. For now, just drop the text and let the number stand alone
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.

9 participants