dependabot[bot] and Márk Sági-Kazár
d539b7a246
build(deps): bump actions/checkout from 4.1.2 to 4.1.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...1d96c772d19495a3b5c517cd2bc0cb401ea0529f )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-19 17:37:57 -03:00
dependabot[bot] and Márk Sági-Kazár
33920bee87
build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-19 15:06:28 -03:00
dependabot[bot] and Márk Sági-Kazár
ec459a1935
build(deps): bump github/codeql-action from 3.24.9 to 3.25.1
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.9 to 3.25.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/1b1aada464948af03b950897e5eb522f92603cc2...c7f9125735019aa87cfc361530512d50ea439c71 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-19 15:06:00 -03:00
dependabot[bot] and Márk Sági-Kazár
bd3d203553
build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.0...v2.2.1 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-19 15:05:24 -03:00
dependabot[bot] and Márk Sági-Kazár
ad27eabd6a
build(deps): bump actions/dependency-review-action from 4.2.4 to 4.2.5
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 4.2.4 to 4.2.5.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/733dd5d4a5203f238c33806593ec0f5fc5343d8c...5bbc3ba658137598168acb2ab73b21c432dd411b )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-19 15:04:59 -03:00
sandeep and GitHub
2e9148610a
fix #1700 : update tests to use local viper instance ( #1791 )
...
* fix:test to use local viper instance
* fix linting
* fix typo
* remove unsed function
2024-04-07 13:09:02 +02:00
dependabot[bot] and Márk Sági-Kazár
947eb59667
build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.1.1...v2.2.0 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-25 13:47:24 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
06c8eab75b
feat: drop Go 1.19 support
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2024-03-25 13:39:13 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
8b5a9ae620
chore: upgrade crypt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2024-03-25 13:39:13 +01:00
dependabot[bot] and Márk Sági-Kazár
e7b623d3fa
build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.4
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 4.1.3 to 4.2.4.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/9129d7d40b8c12c1ed0f60400d00c92d437adcce...733dd5d4a5203f238c33806593ec0f5fc5343d8c )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-25 13:18:21 +01:00
dependabot[bot] and Márk Sági-Kazár
6cf94c6469
build(deps): bump actions/checkout from 4.1.1 to 4.1.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/b4ffde65f46336ab88eb53be808477a3936bae11...9bb56186c3b09b4f86b1c65136769dd318469633 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-25 13:15:07 +01:00
dependabot[bot] and Márk Sági-Kazár
2fdb281f15
build(deps): bump mheap/github-action-required-labels
...
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels ) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases )
- [Commits](https://github.com/mheap/github-action-required-labels/compare/80a96a4863886addcbc9f681b5b295ba7f5424e1...132879b972cb7f2ac593006455875098e73cc7f2 )
---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-25 13:14:41 +01:00
dependabot[bot] and Márk Sági-Kazár
d2d8cb1844
build(deps): bump github/codeql-action from 3.24.6 to 3.24.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.6 to 3.24.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/8a470fddafa5cbb6266ee11b37ef4d8aae19c571...1b1aada464948af03b950897e5eb522f92603cc2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-25 13:14:32 +01:00
dependabot[bot] and Márk Sági-Kazár
8ac644165c
build(deps): bump actions/dependency-review-action from 4.1.0 to 4.1.3
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 4.1.0 to 4.1.3.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/80f10bf419f34980065523f5efca7ebed17576aa...9129d7d40b8c12c1ed0f60400d00c92d437adcce )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-11 18:43:24 +01:00
dependabot[bot] and Márk Sági-Kazár
dac344c3b7
build(deps): bump cachix/install-nix-action from 25 to 26
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/6004951b182f8860210c8d6f0d808ec5b1a33d28...8887e596b4ee1134dae06b98d573bd674693f47c )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-11 18:42:56 +01:00
dependabot[bot] and Márk Sági-Kazár
e2eefdafab
build(deps): bump github/codeql-action from 3.24.5 to 3.24.6
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.5 to 3.24.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/47b3d888fe66b639e431abf22ebca059152f1eea...8a470fddafa5cbb6266ee11b37ef4d8aae19c571 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-04 13:16:42 +01:00
dependabot[bot] and Márk Sági-Kazár
f1d14ce9d7
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-04 13:16:28 +01:00
dependabot[bot] and Márk Sági-Kazár
5870123c5f
build(deps): bump github/codeql-action from 3.24.3 to 3.24.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.3 to 3.24.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/379614612a29c9e28f31f39a59013eb8012a51f0...47b3d888fe66b639e431abf22ebca059152f1eea )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-28 01:09:58 +01:00
dependabot[bot] and Márk Sági-Kazár
1f0aed7935
build(deps): bump github.com/sagikazarmark/crypt from 0.17.0 to 0.18.0
...
Bumps [github.com/sagikazarmark/crypt](https://github.com/sagikazarmark/crypt ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/sagikazarmark/crypt/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: github.com/sagikazarmark/crypt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-28 01:09:33 +01:00
dependabot[bot] and Márk Sági-Kazár
24d6fd3379
build(deps): bump github/codeql-action from 3.24.1 to 3.24.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.1 to 3.24.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/e675ced7a7522a761fc9c8eb26682c8b27c42b2b...379614612a29c9e28f31f39a59013eb8012a51f0 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-16 00:45:05 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
030b77a720
fix: lint violations
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2024-02-15 14:19:50 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
6c6bd7c0b5
chore: add Go 1.22 support
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2024-02-15 14:19:50 +01:00
dependabot[bot] and Márk Sági-Kazár
a38f9750dc
build(deps): bump mheap/github-action-required-labels
...
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases )
- [Commits](https://github.com/mheap/github-action-required-labels/compare/cc7a79fadbba6ed1d6f0efd70707e7b8bf7e6910...80a96a4863886addcbc9f681b5b295ba7f5424e1 )
---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-15 12:00:29 +01:00
dependabot[bot] and Márk Sági-Kazár
233bae8183
build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/3a919529898de77ec3da873e3063ca4b10e7f5cc...3cfe3a4abbb849e10058ce4af15d205b6da42804 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-15 12:00:11 +01:00
dependabot[bot] and Márk Sági-Kazár
b28713100e
build(deps): bump actions/dependency-review-action from 4.0.0 to 4.1.0
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/4901385134134e04cec5fbe5ddfe3b2c5bd5d976...80f10bf419f34980065523f5efca7ebed17576aa )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-15 11:59:51 +01:00
tobb10001 and Márk Sági-Kazár
c4c81fd795
readme: update link to go modules documentation
2024-02-15 11:55:56 +01:00
dependabot[bot] and Márk Sági-Kazár
c9d7f6517c
build(deps): bump github/codeql-action from 3.24.0 to 3.24.1
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.0 to 3.24.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/e8893c57a1f3a2b659b6b55564fdfdbbd2982911...e675ced7a7522a761fc9c8eb26682c8b27c42b2b )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-15 11:55:00 +01:00
dependabot[bot] and Márk Sági-Kazár
8f34134e70
build(deps): bump github/codeql-action from 3.23.2 to 3.24.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.23.2 to 3.24.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/b7bf0a3ed3ecfa44160715d7c442788f65f0f923...e8893c57a1f3a2b659b6b55564fdfdbbd2982911 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-05 19:37:23 +01:00
dependabot[bot] and Márk Sági-Kazár
0e82215118
build(deps): bump cachix/install-nix-action from 24 to 25
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/7ac1ec25491415c381d9b62f0657c7a028df52a7...6004951b182f8860210c8d6f0d808ec5b1a33d28 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-30 10:35:49 +01:00
dependabot[bot] and Márk Sági-Kazár
bc0e4e85f4
build(deps): bump actions/dependency-review-action from 3.1.5 to 4.0.0
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 3.1.5 to 4.0.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/c74b580d73376b7750d3d2a50bfb8adc2c937507...4901385134134e04cec5fbe5ddfe3b2c5bd5d976 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-30 10:35:36 +01:00
dependabot[bot] and Márk Sági-Kazár
b633fc0aa1
build(deps): bump github/codeql-action from 3.23.0 to 3.23.2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.23.0 to 3.23.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/e5f05b81d5b6ff8cfa111c80c22c5fd02a384118...b7bf0a3ed3ecfa44160715d7c442788f65f0f923 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-30 10:35:20 +01:00
dependabot[bot] and Márk Sági-Kazár
eda842880e
build(deps): bump mheap/github-action-required-labels
...
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases )
- [Commits](https://github.com/mheap/github-action-required-labels/compare/4e9ef4ce8c697cf55716ecbf7f13a3d9e0b6ac6a...cc7a79fadbba6ed1d6f0efd70707e7b8bf7e6910 )
---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-30 10:35:06 +01:00
dependabot[bot] and Márk Sági-Kazár
c44f929787
build(deps): bump actions/dependency-review-action from 3.1.4 to 3.1.5
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/01bc87099ba56df1e897b6874784491ea6309bc4...c74b580d73376b7750d3d2a50bfb8adc2c937507 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-09 12:16:53 +01:00
dependabot[bot] and Márk Sági-Kazár
d9cf5cffdc
build(deps): bump github/codeql-action from 3.22.11 to 3.23.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.22.11 to 3.23.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/b374143c1149a9115d881581d29b8390bbcbb59c...e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-09 12:16:38 +01:00
dependabot[bot] and Márk Sági-Kazár
e36638d878
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-19 22:08:07 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
473a3dfc7f
fix!: hide struct binding behind a feature flag
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-12-18 19:36:22 +01:00
dependabot[bot] and Márk Sági-Kazár
0b0a1104ba
build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.1.0...v2.1.1 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-15 14:09:38 +01:00
dependabot[bot] and Márk Sági-Kazár
fcda1149d6
build(deps): bump github/codeql-action from 2.22.9 to 3.22.11
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.22.9 to 3.22.11.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/c0d1daa7f7e14667747d73a7dbbe8c074bc8bfe2...b374143c1149a9115d881581d29b8390bbcbb59c )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-15 13:41:45 +01:00
dependabot[bot] and Márk Sági-Kazár
9154b900c3
build(deps): bump actions/setup-go from 4.1.0 to 5.0.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/93397bea11091df50f3d7e59dc26a7711a8bcfbe...0c52d547c9bc32b1aa3301fd7a9cb496313a4491 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-08 14:48:22 +01:00
dependabot[bot] and Márk Sági-Kazár
08e4a00949
build(deps): bump github/codeql-action from 2.22.8 to 2.22.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.22.8 to 2.22.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/407ffafae6a767df3e0230c3df91b6443ae8df75...c0d1daa7f7e14667747d73a7dbbe8c074bc8bfe2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-08 14:48:15 +01:00
Filip Krakowski and Márk Sági-Kazár
fb6eb1e8e9
fix: merge missing struct keys inside UnmarshalExact
2023-12-08 14:44:05 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
f5fcb4a104
chore: update crypt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-12-06 21:48:41 +07:00
f7363633d1
fix isPathShadowedInFlatMap type cast bug ( #1585 )
...
* fix isPathShadowedInFlatMap type cast bug
* Add "IsPathShadowedInFlatMap" method unit test
* fix: typo
* add an unit test for flag shadow
---------
Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com >
2023-12-06 14:41:36 +01:00
Oleksandr Redko and Márk Sági-Kazár
36a38682ba
Review changes
2023-12-06 19:07:50 +07:00
Oleksandr Redko and Márk Sági-Kazár
f0c4ccd6cd
fix: gocritic lint issues
2023-12-06 19:07:50 +07:00
Oleksandr Redko and Márk Sági-Kazár
3a23b80b11
ci: enable test shuffle; fix tests
2023-12-06 19:03:14 +07:00
73dfb94c57
feat: make Unmarshal work with AutomaticEnv
...
Co-authored-by: Filip Krakowski <krakowski@hhu.de >
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-12-06 18:44:04 +07:00
Mark Sagi-Kazar and Márk Sági-Kazár
6ea31ae4ca
refactor: move all settings code to a getter
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-12-06 18:44:04 +07:00
Oleksandr Redko and Márk Sági-Kazár
c4dcd31f68
fix: godot lint issues
2023-11-30 21:20:53 +07:00
Ville Skyttä and Márk Sági-Kazár
4c9b2a26ae
Note Get* behavior on parse failure
...
Even though it's kind of evident as these functions don't return an
error, it can still come as a surprise.
2023-11-30 15:21:42 +07:00
Mark Sagi-Kazar and Márk Sági-Kazár
a4a551fd2a
chore: update dependencies
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-11-30 00:37:44 +07:00
Mark Sagi-Kazar and Márk Sági-Kazár
464cdab72a
refactor: drop fsonitfy wrapper
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-11-30 00:24:02 +07:00
dependabot[bot] and Márk Sági-Kazár
6db0ab274d
build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 23:52:50 +07:00
maxim-konovalov and Márk Sági-Kazár
1c764910bb
add info about multiple hosts for remote config
2023-11-29 23:47:27 +07:00
dependabot[bot] and Márk Sági-Kazár
7a9716be0b
build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0
...
Bumps [github.com/spf13/cast](https://github.com/spf13/cast ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/spf13/cast/releases )
- [Commits](https://github.com/spf13/cast/compare/v1.5.1...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 23:38:31 +07:00
dependabot[bot] and Márk Sági-Kazár
cd3d41c170
build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6
...
Bumps [github.com/nats-io/nkeys](https://github.com/nats-io/nkeys ) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/nats-io/nkeys/releases )
- [Changelog](https://github.com/nats-io/nkeys/blob/main/.goreleaser.yml )
- [Commits](https://github.com/nats-io/nkeys/compare/v0.4.5...v0.4.6 )
---
updated-dependencies:
- dependency-name: github.com/nats-io/nkeys
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 21:43:32 +07:00
dependabot[bot] and Márk Sági-Kazár
ece813c99a
build(deps): bump cachix/install-nix-action from 23 to 24
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011...7ac1ec25491415c381d9b62f0657c7a028df52a7 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 21:43:00 +07:00
dependabot[bot] and Márk Sági-Kazár
a831a3736f
build(deps): bump actions/dependency-review-action from 3.1.0 to 3.1.4
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 3.1.0 to 3.1.4.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/6c5ccdad469c9f8a2996bfecaec55a631a347034...01bc87099ba56df1e897b6874784491ea6309bc4 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 21:42:34 +07:00
dependabot[bot] and Márk Sági-Kazár
291a41f167
build(deps): bump github.com/spf13/afero from 1.10.0 to 1.11.0
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 21:42:03 +07:00
dependabot[bot] and Márk Sági-Kazár
1a4fa6c906
build(deps): bump github/codeql-action from 2.22.3 to 2.22.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.22.3 to 2.22.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/0116bc2df50751f9724a2e35ef1f24d22f90e4e1...407ffafae6a767df3e0230c3df91b6443ae8df75 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 21:34:01 +07:00
dependabot[bot] and Márk Sági-Kazár
be8a2e81aa
build(deps): bump actions/github-script from 6.4.1 to 7.0.1
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6.4.1 to 7.0.1.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/d7906e4ad0b1822421a7e6a35d5ca353c962f410...60a0d83039c74a4aee543508d2ffcb1c3799cdea )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 21:33:31 +07:00
dependabot[bot] and Márk Sági-Kazár
e9f2018b22
build(deps): bump actions/checkout from 4.1.0 to 4.1.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/8ade135a41bc03ea155e62e844d188df1ea18608...b4ffde65f46336ab88eb53be808477a3936bae11 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 21:32:32 +07:00
Oleksandr Redko and Márk Sági-Kazár
b5daec6e7b
test: Replace ifs with asserts to simplify tests
2023-10-14 02:12:35 +02:00
dependabot[bot] and Márk Sági-Kazár
b6610e7702
build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-14 02:11:19 +02:00
dependabot[bot] and Márk Sági-Kazár
4b59dd6386
build(deps): bump github/codeql-action from 2.21.9 to 2.22.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.9 to 2.22.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/ddccb873888234080b77e9bc2d4764d5ccaaccf9...0116bc2df50751f9724a2e35ef1f24d22f90e4e1 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-14 02:10:56 +02:00
Oleksandr Redko and Márk Sági-Kazár
dd9a341aec
Rename
2023-10-06 15:06:37 +02:00
Oleksandr Redko and Márk Sági-Kazár
1d75c512ef
chore: rename files according enabled build tags
2023-10-06 15:06:37 +02:00
Ville Skyttä and Márk Sági-Kazár
f62f86a84b
refactor: make use of strings.Cut
2023-10-06 14:22:22 +02:00
Étienne BERSAC and Márk Sági-Kazár
94632fa21e
chore: Use pip3 explicitly to install yamllint
...
Distribution stends to skip unversionned pip for compatibility issues.
Also, yamllint requires Python 3.8+.
Signed-off-by: Étienne BERSAC <etienne.bersac@dalibo.com >
2023-10-06 14:12:00 +02:00
Étienne BERSAC and Márk Sági-Kazár
3f6cadcbeb
chore: Fix copy-paste error for yamllint target
...
Signed-off-by: Étienne BERSAC <etienne.bersac@dalibo.com >
2023-10-06 14:12:00 +02:00
yhliyr and Márk Sági-Kazár
287507c0b5
docs: add set subset KV example
2023-10-06 14:09:32 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
f1cb2262bb
chore(deps): update crypt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-10-05 22:52:58 +02:00
Oleksandr Redko and Márk Sági-Kazár
c292b55050
test: refactor asserts
2023-10-05 00:58:18 +02:00
Oleksandr Redko and Márk Sági-Kazár
3d006fe361
refactor: replace interface{} with any
2023-10-01 17:04:26 +02:00
dependabot[bot] and Márk Sági-Kazár
8a6dc5d43c
build(deps): bump github/codeql-action from 2.21.8 to 2.21.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.8 to 2.21.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/6a28655e3dcb49cb0840ea372fd6d17733edd8a4...ddccb873888234080b77e9bc2d4764d5ccaaccf9 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-01 15:39:02 +02:00
Oleksandr Redko and Márk Sági-Kazár
96c5c0083f
chore: remove deprecated build tags
2023-09-25 13:19:04 +02:00
dependabot[bot] and Márk Sági-Kazár
44911d2cac
build(deps): bump github/codeql-action from 2.21.7 to 2.21.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.7 to 2.21.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/04daf014b50eaf774287bf3f0f1869d4b4c4b913...6a28655e3dcb49cb0840ea372fd6d17733edd8a4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-25 12:34:26 +02:00
dependabot[bot] and Márk Sági-Kazár
a6f8e227bb
build(deps): bump github.com/spf13/afero from 1.9.5 to 1.10.0
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.9.5 to 1.10.0.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.9.5...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-25 12:34:09 +02:00
dependabot[bot] and Márk Sági-Kazár
a9437f2500
build(deps): bump actions/checkout from 4.0.0 to 4.1.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/3df4ab11eba7bda6032a0b82a6bb43b11571feac...8ade135a41bc03ea155e62e844d188df1ea18608 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-25 12:33:39 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
cae55fefc9
fix: result order by upgrading locafero
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-16 14:01:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
f2e0e48e6b
fix: compile error
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-16 14:01:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
db5aafac4d
feat: enable finder tag builds
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-16 14:01:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
abbfd91119
feat: replace io fs finder with afero finder
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-16 14:01:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
cfa8fd9b4f
feat: use new finder library
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-16 14:01:33 +02:00
Oleksandr Redko and Márk Sági-Kazár
6fdfebc843
Fix tests on Windows
2023-09-16 13:48:38 +02:00
Oleksandr Redko and Márk Sági-Kazár
4aeec5882c
Remove usages of deprecated io/ioutil; simplify tests
2023-09-16 13:48:38 +02:00
dependabot[bot] and Márk Sági-Kazár
f683416bfb
build(deps): bump github/codeql-action from 2.21.6 to 2.21.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.6 to 2.21.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/701f152f28d4350ad289a5e31435e9ab6169a7ca...04daf014b50eaf774287bf3f0f1869d4b4c4b913 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-16 13:47:30 +02:00
dependabot[bot] and Márk Sági-Kazár
336e9f0a93
build(deps): bump github/codeql-action from 2.21.5 to 2.21.6
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.5 to 2.21.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/00e563ead9f72a8461b24876bee2d0c2e8bd2ee8...701f152f28d4350ad289a5e31435e9ab6169a7ca )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-13 23:05:26 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
58b177a8c0
fix: lint violations
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-13 16:24:59 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
2672f3e4d3
refactor: drop unused jww code
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-13 16:24:59 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
0c5594ae7a
feat: deprecate logger interface
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-13 16:24:59 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
d16deb4b93
feat: add slog support
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-13 16:24:59 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
d4c2f2ef40
feat!: bump minimum Go version to 1.19
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-12 00:17:53 +02:00
dependabot[bot] and Márk Sági-Kazár
c78218cb99
build(deps): bump actions/dependency-review-action from 3.0.8 to 3.1.0
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 3.0.8 to 3.1.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/f6fff72a3217f580d5afd49a46826795305b63c7...6c5ccdad469c9f8a2996bfecaec55a631a347034 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-09 07:55:48 +02:00
John Hooks and Márk Sági-Kazár
1e811d1f02
Add NATS support
2023-09-08 15:32:50 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
d5c5c83bfc
ci: add Go 1.21 to the test matrix
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-08 15:30:13 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
b425370376
chore(deps): update crypt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-09-08 15:29:58 +02:00
dependabot[bot] and Márk Sági-Kazár
27914f862f
build(deps): bump cachix/install-nix-action from 22 to 23
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac...6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-08 14:23:57 +02:00
dependabot[bot] and Márk Sági-Kazár
3718c2ec5a
build(deps): bump github.com/subosito/gotenv from 1.4.2 to 1.6.0
...
Bumps [github.com/subosito/gotenv](https://github.com/subosito/gotenv ) from 1.4.2 to 1.6.0.
- [Changelog](https://github.com/subosito/gotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/subosito/gotenv/compare/v1.4.2...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/subosito/gotenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-08 14:23:33 +02:00
Oleksandr Redko and Márk Sági-Kazár
13dbfcafff
test: remove testutil.Setenv as not needed from Go 1.17
2023-09-07 13:33:21 +02:00
Oleksandr Redko and Márk Sági-Kazár
a0696bbc97
docs: fix typos in comments
2023-09-07 13:32:51 +02:00
dependabot[bot] and Márk Sági-Kazár
c63105849f
build(deps): bump actions/setup-go from 4.0.1 to 4.1.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/fac708d6674e30b6ba41289acaab6d4b75aa0753...93397bea11091df50f3d7e59dc26a7711a8bcfbe )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 12:53:14 +02:00
dependabot[bot] and Márk Sági-Kazár
2bd8c8e48d
build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/639cd343e1d3b897ff35927a75193d57cfcba299...3a919529898de77ec3da873e3063ca4b10e7f5cc )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 12:27:58 +02:00
dependabot[bot] and Márk Sági-Kazár
0195f11e50
build(deps): bump actions/dependency-review-action from 3.0.6 to 3.0.8
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 3.0.6 to 3.0.8.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/1360a344ccb0ab6e9475edef90ad2f46bf8003b1...f6fff72a3217f580d5afd49a46826795305b63c7 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 12:27:42 +02:00
dependabot[bot] and Márk Sági-Kazár
64661d4342
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.9 to 2.1.0.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.9...v2.1.0 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 12:27:28 +02:00
dependabot[bot] and Márk Sági-Kazár
59cd02f67b
build(deps): bump github/codeql-action from 2.21.2 to 2.21.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.2 to 2.21.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/0ba4244466797eb048eb91a6cd43d5c03ca8bd05...00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 12:27:14 +02:00
dependabot[bot] and Márk Sági-Kazár
7b2db61200
build(deps): bump actions/checkout from 3.5.3 to 4.0.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/c85c95e3d7251135ab7dc9ce3241c5835cc595a9...3df4ab11eba7bda6032a0b82a6bb43b11571feac )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 12:27:00 +02:00
Andres Taylor and Márk Sági-Kazár
24cfadcf0f
Add Vitess to list of projects using Viper
...
Signed-off-by: Andres Taylor <andres@planetscale.com >
2023-09-07 12:26:29 +02:00
StepSecurity Bot and Márk Sági-Kazár
b77f4c1928
[StepSecurity] ci: Harden GitHub Actions
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
2023-08-04 11:38:34 +02:00
guangwu and GitHub
cb9b2bffc2
fix: code optimization ( #1557 )
...
* fix: code optimization
* fix: golangci-lint
2023-07-27 20:56:32 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
c5102bdba0
chore: upgrade crypt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-07-21 16:13:01 +02:00
dependabot[bot] and Márk Sági-Kazár
706ccb68a4
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.8...v2.0.9 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-15 12:35:25 +02:00
dependabot[bot] and Márk Sági-Kazár
097e0d888f
build(deps): bump cachix/install-nix-action from 21 to 22
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/4b933aa7ebcc94a6174cf1364864e957b4910265...6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-29 06:50:12 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
961c39613b
ci: add misc release note label
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-06-29 06:26:02 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
bb60a768c5
chore: improve dev env
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-06-29 06:26:02 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
bec1fce61d
ci: update golangci-lint
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-06-29 06:26:02 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
76acbbdbb2
feat: drop support for Go 1.17
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-06-29 05:58:30 +02:00
Baruch Odem and Márk Sági-Kazár
731a91be43
feat: add func GetEnvPrefix
2023-06-29 05:37:45 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
31af6d09c2
ci: rename yml to yaml
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-06-29 05:37:25 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
74c53b7580
chore: update pr checks
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-06-29 05:37:25 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
351365dbe1
chore: add local development environment using nix
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-06-29 05:37:25 +02:00
dependabot[bot] and Márk Sági-Kazár
a362607d5f
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-28 18:59:50 +02:00
dependabot[bot] and Márk Sági-Kazár
5f51413ed2
build(deps): bump mheap/github-action-required-labels from 4 to 5
...
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels ) from 4 to 5.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases )
- [Commits](https://github.com/mheap/github-action-required-labels/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-28 18:59:38 +02:00
goldeneggg and Márk Sági-Kazár
0520e750b5
swap the order of actions/checkout@v3 and actions/setup-go@v4
2023-06-04 02:35:38 +02:00
andig and GitHub
21a7fd828e
Allow ConfigParseError to unwrap ( #1433 )
...
* Allow ConfigParseError to unwrap
* wip
* Avoid pointer type
2023-05-30 12:07:27 +02:00
Márk Sági-Kazár
53cdb5253a
chore: improve log messages
2023-05-29 15:43:38 +02:00
Quentin Burgess and Márk Sági-Kazár
24ece16a9a
drop std' logger in favor of jww one
2023-05-29 15:43:38 +02:00
Quentin Burgess and Márk Sági-Kazár
98b1b9fd42
add:viper: allow to disable internal log messages
2023-05-29 15:43:38 +02:00
VOrishirne and Márk Sági-Kazár
2ee16310d0
extend viper's pflag binding to stringToInt pflag
2023-05-29 15:34:52 +02:00
Ben Potter and Márk Sági-Kazár
86520578dc
docs: Coder uses Viper
2023-05-29 15:32:18 +02:00
dependabot[bot] and Márk Sági-Kazár
b850f3448f
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.7 to 2.0.8
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.7...v2.0.8 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-29 15:16:39 +02:00
Cédric Fabianski and Márk Sági-Kazár
23b123aba9
doc: add bearer/bearer as projects using Viper
2023-05-29 15:16:28 +02:00
Deleplace and Márk Sági-Kazár
a0fed9f570
Update main image to better handle dark background
2023-05-29 14:52:14 +02:00
dependabot[bot] and Márk Sági-Kazár
143e3bc9d9
build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-29 14:50:48 +02:00
dependabot[bot] and Márk Sági-Kazár
9bfa0ccd19
build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1
...
Bumps [github.com/spf13/cast](https://github.com/spf13/cast ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/spf13/cast/releases )
- [Commits](https://github.com/spf13/cast/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-29 14:50:32 +02:00
dependabot[bot] and Márk Sági-Kazár
9aa0336962
build(deps): bump github.com/sagikazarmark/crypt from 0.9.0 to 0.10.0
...
Bumps [github.com/sagikazarmark/crypt](https://github.com/sagikazarmark/crypt ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/sagikazarmark/crypt/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/sagikazarmark/crypt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-27 00:13:40 +02:00
Azanul Haque and Márk Sági-Kazár
f74916adfa
ADD Meshery to projects
2023-04-19 10:29:14 +02:00
dependabot[bot]
adc3a873f0
build(deps): bump github.com/spf13/afero from 1.9.3 to 1.9.5
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.9.3 to 1.9.5.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.9.3...v1.9.5 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-07 19:39:06 +00:00
Mark Sagi-Kazar and Márk Sági-Kazár
995db99714
test: fix test to actually assert something
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-04-06 11:12:29 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
8d1fb59230
chore: update linter
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-04-06 11:12:29 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
59fe4dbc92
ci: add Go 1.20 to build matrix
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-04-06 11:12:29 +02:00
dependabot[bot]
e2cc9031b5
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-06 08:52:37 +00:00
dependabot[bot]
ff77ba015e
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.7
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.6...v2.0.7 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-06 08:52:08 +00:00
dependabot[bot]
6393b67401
build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-06 08:51:38 +00:00
dependabot[bot]
28997ba8e9
build(deps): bump actions/setup-go from 3 to 4
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-06 08:51:00 +00:00
dependabot[bot]
1663811850
build(deps): bump mheap/github-action-required-labels from 3 to 4
...
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels ) from 3 to 4.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases )
- [Commits](https://github.com/mheap/github-action-required-labels/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-06 08:50:42 +00:00
Márk Sági-Kazár
34d6318c0b
chore: fix typo
2023-03-31 13:08:16 +02:00
Yoofi Quansah and Márk Sági-Kazár
c6ba8f4702
fix: fix typo
2023-03-31 13:08:16 +02:00
TaylorOno and Márk Sági-Kazár
3970ad177e
Preserve envPrefix in Sub
2023-02-25 22:17:36 +01:00
TaylorOno and Márk Sági-Kazár
3f4449054d
Sub inerits from automaticEnvApplied and envKeyReplacer
...
parents are tracked so sub(x).sub(y).GetString(z) looks up x.y.z
2023-02-25 22:17:36 +01:00
c898f59d33
fix: time.Duration slice type conversion ( #1498 )
...
* fix DurationSlice
* Fix typo
---------
Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com >
2023-02-05 18:30:05 +01:00
5182412574
Add DocBlock to WatchConfig ( #1467 )
...
* Add DocBlock to WatchConfig
Added a small description of the WatchConfig().
So that you can understand in the ide why you could use it.
* Update viper.go
* update viper.go
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com >
Co-authored-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-01-19 16:38:18 +01:00
Astone and Márk Sági-Kazár
0755477020
feat: add multiple endpoints support for remote
2023-01-19 16:34:22 +01:00
dependabot[bot]
a7ad8cfcc4
build(deps): bump github.com/sagikazarmark/crypt from 0.8.0 to 0.9.0
...
Bumps [github.com/sagikazarmark/crypt](https://github.com/sagikazarmark/crypt ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/sagikazarmark/crypt/releases )
- [Commits](https://github.com/sagikazarmark/crypt/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: github.com/sagikazarmark/crypt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-19 15:27:42 +00:00
dependabot[bot]
63630c2fcd
build(deps): bump github.com/subosito/gotenv from 1.4.1 to 1.4.2
...
Bumps [github.com/subosito/gotenv](https://github.com/subosito/gotenv ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/subosito/gotenv/releases )
- [Changelog](https://github.com/subosito/gotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/subosito/gotenv/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: github.com/subosito/gotenv
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-19 15:20:14 +00:00
Mark Sagi-Kazar and Márk Sági-Kazár
996ab10214
ci: update golangci-lint
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-01-19 16:18:37 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
982460e8e1
feat!: drop Go 1.16 support
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-01-19 16:18:37 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
2f5cb62e1f
ci: cleanup tags
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-01-19 16:02:48 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
77fc1c3084
feat!: drop toml v1 support
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-01-19 16:02:48 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
e42b933dbe
feat!: drop yaml v2 support
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2023-01-19 16:02:48 +01:00
dependabot[bot]
9e46b7652f
build(deps): bump mheap/github-action-required-labels from 2 to 3
...
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels ) from 2 to 3.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases )
- [Commits](https://github.com/mheap/github-action-required-labels/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-18 23:27:40 +00:00
Adam Williams and Márk Sági-Kazár
ce73936440
Provide a link to explain what a 12-factor app is
2023-01-08 23:39:46 +01:00
Ahra Cho and Márk Sági-Kazár
9da88d94fa
Update badge route
2022-12-26 21:01:12 +01:00
dependabot[bot]
ab1367a4d9
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.5 to 2.0.6
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.5...v2.0.6 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-14 12:41:13 +00:00
dependabot[bot]
41d75b2770
build(deps): bump github.com/magiconair/properties from 1.8.6 to 1.8.7
...
Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties ) from 1.8.6 to 1.8.7.
- [Release notes](https://github.com/magiconair/properties/releases )
- [Changelog](https://github.com/magiconair/properties/blob/main/CHANGELOG.md )
- [Commits](https://github.com/magiconair/properties/compare/v1.8.6...v1.8.7 )
---
updated-dependencies:
- dependency-name: github.com/magiconair/properties
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-08 19:12:13 +00:00
dependabot[bot]
38b5494903
build(deps): bump github.com/spf13/afero from 1.9.2 to 1.9.3
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.9.2...v1.9.3 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-08 19:11:54 +00:00
Mark Sagi-Kazar and Márk Sági-Kazár
b89e554a96
chore: update crypt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-11-06 14:19:33 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
db9f89ac41
chore: disable watch on appengine
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-11-06 03:22:10 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
4b8d14881e
refactor: use new Has fsnotify method for event matching
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-11-04 05:39:26 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
2e99a57324
refactor: rename watch file to unsupported
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-11-04 03:17:49 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
dcb7f30f39
feat: fix compilation for all platforms unsupported by fsnotify
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-11-04 03:17:49 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
2e04739b68
ci: drop dedicated wasm build
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-11-04 03:17:49 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
b2234f214f
ci: add build for aix
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-11-04 03:17:49 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
52009d3493
feat: disable watcher on aix
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-11-04 03:17:49 +01:00
dependabot[bot] and Márk Sági-Kazár
b274f639e0
build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.4...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-03 17:20:38 +01:00
dependabot[bot] and Márk Sági-Kazár
7c62cfdbac
build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-03 17:19:37 +01:00
dependabot[bot]
f1d2c470bf
build(deps): bump github.com/sagikazarmark/crypt from 0.6.0 to 0.7.0
...
Bumps [github.com/sagikazarmark/crypt](https://github.com/sagikazarmark/crypt ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/sagikazarmark/crypt/releases )
- [Commits](https://github.com/sagikazarmark/crypt/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/sagikazarmark/crypt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-27 21:07:24 +00:00
dependabot[bot] and Márk Sági-Kazár
419fd86e49
build(deps): bump github.com/spf13/afero from 1.8.2 to 1.9.2
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.8.2 to 1.9.2.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.8.2...v1.9.2 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-06 14:46:54 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
91aa484d1d
chore: drop support for Go 1.15
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-09-06 14:28:48 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
57cc9a000f
test: fix ini tests
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-09-06 11:57:54 +02:00
dependabot[bot] and Márk Sági-Kazár
8030d5b976
build(deps): bump gopkg.in/ini.v1 from 1.66.4 to 1.67.0
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.66.4 to 1.67.0.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.66.4...v1.67.0 )
---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-06 11:57:54 +02:00
Brad P. Crochet and Márk Sági-Kazár
312417a0c5
Add a DebugTo convenience funtion
...
One might want to write the debug information somewhere other than
Stdout. This patch adss a DebugTo function and method, that accepts
an io.Writer. It changes the original Debug implementation to call
this new function with a default of os.Stdout, which maintains
backward compatibility.
Signed-off-by: Brad P. Crochet <brad@redhat.com >
2022-09-06 11:14:22 +02:00
Christian Banse and Márk Sági-Kazár
202060b3a2
Adds support for uint16 with GetUint16
...
We have encountered numerous places where it is convenient to have viper return a `uint16` value, especially in combination with the new `netip` package that represents a port correctly as `uint16` rather than just an `int`. cobra already supports this, but we need a conversion from the existing `GetUint` method in viper.
2022-09-04 03:07:23 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
97591f0083
build: fix lint violations
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-09-03 19:07:15 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
9af8daeeab
ci: upgrade golangci-lint
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-09-03 19:07:15 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
7b4f2b27cd
ci: add Go 1.19 to CI
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-09-03 19:07:15 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
601ec815ba
test: fix toml tests
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-09-03 17:33:50 +02:00
dependabot[bot] and Márk Sági-Kazár
d7f4832bd3
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.2 to 2.0.5
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.2 to 2.0.5.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.2...v2.0.5 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-03 17:33:50 +02:00
dependabot[bot] and Márk Sági-Kazár
c2f42f3060
build(deps): bump github.com/subosito/gotenv from 1.4.0 to 1.4.1
...
Bumps [github.com/subosito/gotenv](https://github.com/subosito/gotenv ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/subosito/gotenv/releases )
- [Changelog](https://github.com/subosito/gotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/subosito/gotenv/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: github.com/subosito/gotenv
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-03 13:54:00 +02:00
Andrew Richardson and Márk Sági-Kazár
5247643f02
Recurse into arrays when converting keys to lowercase
...
Fixes #1386
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io >
2022-07-12 18:10:05 +02:00
Kevin Franklin Kim and Márk Sági-Kazár
98c63ede11
feat: check providers and log error
2022-07-10 13:48:18 +02:00
Kevin Franklin Kim and Márk Sági-Kazár
1bc0a5ac7a
add etcd3 to supported providers
2022-07-10 13:48:18 +02:00
Sungyun Hur and Márk Sági-Kazár
a4e4f65a0c
Update README.md
2022-07-10 12:51:24 +02:00
dependabot[bot] and Márk Sági-Kazár
d55cd57115
build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-10 12:35:00 +02:00
dependabot[bot] and Márk Sági-Kazár
0add84cdf2
build(deps): bump mheap/github-action-required-labels from 1 to 2
...
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels ) from 1 to 2.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases )
- [Commits](https://github.com/mheap/github-action-required-labels/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-21 20:15:53 +02:00
dependabot[bot] and Márk Sági-Kazár
501b966b5d
build(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.4
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.3...v1.7.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-21 20:15:04 +02:00
dependabot[bot] and Márk Sági-Kazár
bd03e926b9
build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.3 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-20 20:02:32 +02:00
mjmaisey and Márk Sági-Kazár
b1b8b3d4d4
Fix go-staticcheck failures (ST1005)
...
Fix to example code, which fails static checks related to acceptable formats of error strings if used.
2022-06-16 21:19:37 +02:00
dependabot[bot] and Márk Sági-Kazár
2b83d46130
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.1 to 2.0.2
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.1...v2.0.2 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-09 19:50:27 +02:00
dependabot[bot] and Márk Sági-Kazár
22b9573a99
build(deps): bump github.com/subosito/gotenv from 1.3.0 to 1.4.0
...
Bumps [github.com/subosito/gotenv](https://github.com/subosito/gotenv ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/subosito/gotenv/releases )
- [Changelog](https://github.com/subosito/gotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/subosito/gotenv/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/subosito/gotenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-07 20:44:09 +02:00
dependabot[bot] and Márk Sági-Kazár
32d4cbb62f
build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-07 13:01:18 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
4322cf20e9
feat: make toml2 the default
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-05-26 17:48:00 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
8d0299919d
feat: make yaml3 the default
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-05-26 17:27:50 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
7c35aa91d2
chore(deps): update yaml3
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-05-26 17:27:50 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
433821fa47
feat: add etcd3 support to remote
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-05-26 17:01:59 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
2080d43fa5
chore: update crypt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-05-26 17:01:59 +02:00
Wade Carpenter and Márk Sági-Kazár
da55858fff
chore: fix Error log calls in mergeMaps
...
The logger interface uses k,v pairs, but it was being called with a
format string, here.
Changed to use k,v pairs.
I didn't find any other instances of this problem.
2022-05-26 16:01:47 +02:00
Michael Wilson and Márk Sági-Kazár
f50ce904a9
Add in MustBindEnv.
...
Adds in a MustBindEnv function which will panic if BindEnv fails.
2022-05-26 15:53:50 +02:00
dependabot[bot] and Márk Sági-Kazár
3b836e5088
build(deps): bump github.com/subosito/gotenv from 1.2.0 to 1.3.0
...
Bumps [github.com/subosito/gotenv](https://github.com/subosito/gotenv ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/subosito/gotenv/releases )
- [Changelog](https://github.com/subosito/gotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/subosito/gotenv/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/subosito/gotenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-26 15:47:59 +02:00
dependabot[bot] and Márk Sági-Kazár
5d65186f1e
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.0 to 2.0.1
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-12 15:36:00 +02:00
dependabot[bot] and Márk Sági-Kazár
9f85518c5d
build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0
...
Bumps [github.com/spf13/cast](https://github.com/spf13/cast ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/spf13/cast/releases )
- [Commits](https://github.com/spf13/cast/compare/v1.4.1...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-12 11:46:19 +02:00
dependabot[bot] and Márk Sági-Kazár
ffad330c91
build(deps): bump github.com/fsnotify/fsnotify from 1.5.1 to 1.5.4
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.5.1 to 1.5.4.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.1...v1.5.4 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-02 19:31:41 +02:00
dependabot[bot] and Márk Sági-Kazár
5f023c7e56
build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5
...
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml ) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v1.9.4...v1.9.5 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-02 19:29:38 +02:00
dependabot[bot] and Márk Sági-Kazár
55a46638f2
build(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-02 16:55:51 +02:00
dependabot[bot] and Márk Sági-Kazár
4eb3e0bc2f
build(deps): bump github.com/pelletier/go-toml/v2
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.0-beta.8 to 2.0.0.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.0-beta.8...v2.0.0 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-02 12:13:36 +02:00
dependabot[bot] and Márk Sági-Kazár
81089eeca9
build(deps): bump github/codeql-action from 1 to 2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-27 03:35:43 +02:00
Mark Sagi-Kazar
5243f253fc
chore: rename files to yaml
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-04-14 01:05:39 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
6986c0ab48
chore: update crypt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-04-13 14:14:11 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
65293ecec2
add release note configuration
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-04-13 13:37:59 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
6804da723f
chore!: drop Go 1.14 support
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-04-13 13:37:21 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
5b21ca137d
fix: deprecated config
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-04-13 13:22:15 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
55fac1047e
chore: fix lint
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-04-13 13:22:15 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
e0bf4ac05d
chore: add go 1.18 builds
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-04-13 13:22:15 +02:00
dependabot[bot] and Márk Sági-Kazár
973c265115
build(deps): bump github.com/pelletier/go-toml/v2
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.0-beta.7 to 2.0.0-beta.8.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.0-beta.7...v2.0.0-beta.8 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-11 20:43:57 +02:00
dependabot[bot] and Márk Sági-Kazár
129e4f973c
build(deps): bump github.com/pelletier/go-toml/v2
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.0-beta.6 to 2.0.0-beta.7.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.0-beta.6...v2.0.0-beta.7 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-10 14:25:58 +02:00
dependabot[bot] and Márk Sági-Kazár
9a8603d8f8
build(deps): bump actions/setup-go from 2 to 3
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-09 21:49:16 +02:00
dependabot[bot] and Márk Sági-Kazár
dc76f3c0a9
build(deps): bump github.com/spf13/afero from 1.8.1 to 1.8.2
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-12 11:16:20 +01:00
dependabot[bot] and Márk Sági-Kazár
343434eb50
build(deps): bump gopkg.in/ini.v1 from 1.66.3 to 1.66.4
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.66.3 to 1.66.4.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.66.3...v1.66.4 )
---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-05 17:53:31 +01:00
dependabot[bot] and Márk Sági-Kazár
860326d9e7
build(deps): bump github.com/magiconair/properties from 1.8.5 to 1.8.6
...
Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties ) from 1.8.5 to 1.8.6.
- [Release notes](https://github.com/magiconair/properties/releases )
- [Changelog](https://github.com/magiconair/properties/blob/main/CHANGELOG.md )
- [Commits](https://github.com/magiconair/properties/compare/v1.8.5...v1.8.6 )
---
updated-dependencies:
- dependency-name: github.com/magiconair/properties
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-04 10:42:28 +01:00
dependabot[bot] and Márk Sági-Kazár
bba19c61d6
build(deps): bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-04 10:36:48 +01:00
dependabot[bot] and Márk Sági-Kazár
5986bd9c0c
build(deps): bump actions/github-script from 5 to 6
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-12 11:15:50 +01:00
dependabot[bot] and Márk Sági-Kazár
9f6bc5da85
build(deps): bump github.com/spf13/afero from 1.8.0 to 1.8.1
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-07 21:23:03 +01:00
dependabot[bot] and Márk Sági-Kazár
9fbab61cfd
build(deps): bump gopkg.in/ini.v1 from 1.66.2 to 1.66.3
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.66.2 to 1.66.3.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.66.2...v1.66.3 )
---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-25 23:37:22 +01:00
Mark Sagi-Kazar
daf9560784
add the troubleshooting guide to the bug report template
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-01-19 11:14:26 +01:00
Mark Sagi-Kazar
5f0a660bb4
add yaml y-n issue to the troubleshooting guide
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-01-19 11:11:16 +01:00
Illarion Kovalchuk and Márk Sági-Kazár
97664ba020
Added test case for merging configs, where target is null, and source is not null
2022-01-11 22:36:46 +01:00
illarion Kovalchuk and Márk Sági-Kazár
0353c6ea50
Allow merging configs with different types of leaf values
2022-01-11 22:36:46 +01:00
dependabot[bot] and Márk Sági-Kazár
788403a47c
build(deps): bump github.com/spf13/afero from 1.7.1 to 1.8.0
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.7.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-11 18:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
5924acc506
feat: experimental logger
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-01-01 19:02:51 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
b13f0963f6
feat(encoding): experimental toml v2 support
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-01-01 18:45:36 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
98c10c3c31
test(encoding): fix failing tests due to the yaml library update
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2022-01-01 18:16:38 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
f8a13cf704
feat(encoding): experimental yaml v3 library support
2022-01-01 18:16:38 +01:00
dependabot[bot] and Márk Sági-Kazár
9934fe79e7
build(deps): bump github.com/spf13/afero from 1.7.0 to 1.7.1
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-29 18:40:32 +01:00
dependabot[bot] and Márk Sági-Kazár
a0bc8ee4c3
build(deps): bump github.com/spf13/afero from 1.6.0 to 1.7.0
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-28 11:35:40 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
7b68d33505
ci: disable race detector on windows
2021-12-28 09:43:14 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
04d3a0cb02
feat(encoding): integrate dotenv codec into Viper
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
1d11247e33
feat(encoding): add dotenv codec
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
72453f720e
feat(encoding): integrate Java properties codec into Viper
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
858ffb6bd0
feat(encoding): add Java properties codec
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
430936044e
feat(encoding): integrate ini codec into Viper
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
dd62da434f
refactor(encoding): initialize codecs per Viper
...
Some codecs might have options that rely on Viper in the future
(eg. key delimiter) which requires initializing codecs
for each Viper instance.
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
38a4fbd769
feat(encoding): add ini codec
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
e1924e3858
test(encoding): add tests for existing encoding implementations
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
4b307cc0f3
feat(encoding)!: accept a map in the encoder interface
...
This interface is specific to encoding data from Viper's internal,
so it's okay to make it Viper specific.
BREAKING CHANGE: the encoder interface now accepts a map instead of an interface
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
e54e7a53a5
feat(encoding)!: accept a map in the decoder interface
...
This interface is specific to decoding data into Viper's internal,
so it's okay to make it Viper specific.
BREAKING CHANGE: the decoder interface now accepts a map instead of an
interface
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 22:31:11 +01:00
Stephen Wodecki and Márk Sági-Kazár
6c1745665b
unnecessary operand
2021-12-15 22:26:56 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
f646c50b18
chore(deps): update dependencies
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-12-15 14:10:06 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
a4bfcd9ea0
chore(deps): update crypt
2021-12-12 04:00:30 +01:00
dependabot[bot] and Márk Sági-Kazár
1cb6606f6e
build(deps): bump gopkg.in/ini.v1 from 1.65.0 to 1.66.2
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.65.0 to 1.66.2.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.65.0...v1.66.2 )
---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-12 02:56:38 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
a785a79f22
refactor: replace jww with the new logger interface
2021-12-09 18:58:22 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
f1f6b2122c
feat: add logger interface and default implementation
2021-12-09 18:58:22 +01:00
dependabot[bot] and Márk Sági-Kazár
c43197d858
build(deps): bump github.com/mitchellh/mapstructure from 1.4.2 to 1.4.3
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.2...v1.4.3 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-02 22:22:27 +01:00
dependabot[bot] and Márk Sági-Kazár
2abe0ddbd4
build(deps): bump gopkg.in/ini.v1 from 1.64.0 to 1.65.0
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.64.0...v1.65.0 )
---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-29 22:19:52 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
8ec82f8998
chore(deps): update crypt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-11-21 15:17:20 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
35877c8f77
chore: fix lint
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-11-21 15:05:44 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
655a0aa730
chore(deps): update golangci-lint
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-11-21 15:05:44 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
946ae75247
ci: fix github script
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-11-21 15:04:54 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
d40d641ca7
chore: Go 1.17 update
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-11-21 14:51:34 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
41ec2aaf27
chore: run lint fixer
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-11-21 14:51:34 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
ba606cd9f1
chore: update build tools
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-11-21 14:51:34 +01:00
dependabot[bot] and Márk Sági-Kazár
91b237fdbf
build(deps): bump actions/github-script from 4 to 5
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 4 to 5.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-21 14:42:33 +01:00
dependabot[bot] and Márk Sági-Kazár
793ee22246
build(deps): bump gopkg.in/ini.v1 from 1.63.2 to 1.64.0
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.63.2 to 1.64.0.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.63.2...v1.64.0 )
---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-12 18:27:17 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
0594522560
test: fix failing tests on windows
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 20:41:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
14c9dc6a57
test: fix file find tests on windows
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 20:41:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
eae2327cb5
feat: disable finder for now
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 20:41:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
237f373936
test: fix finder tests on windows
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 20:41:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
78228f56c5
build: disable goconst linter for now
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 11:17:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
8b7777d3c6
test(windows): skip failing tests on windows
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 11:17:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
15c88da25c
test(windows): fix watch file test
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 11:17:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
552e3bd0ca
ci: separate lint and test
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 11:17:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
1a7008fa32
ci: make build pass on windows
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 11:17:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
077ee305c4
ci: run tests on windows
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-22 11:17:33 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
5a4e555471
test: add tests for reading config files
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-21 18:01:05 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
08ba8ca7fc
ci: disable fail fast
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-21 18:01:05 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
4e595cec77
feat: use io/fs for searching files on Go 1.16+
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-21 18:01:05 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
557c5d64e0
test: improve tests for searching files
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-21 18:01:05 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
8e71595a4a
feat: implement new finder using io/fs
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-21 18:01:05 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
ce82267a11
refactor: drop unused Unsetenv from testutil
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-21 11:27:27 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
558a299a01
feat: use TB.Setenv on Go 1.17
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-21 11:27:27 +02:00
Jim Razmus II and Márk Sági-Kazár
b1fdc47b0d
Recognize tfvars files as hcl by default.
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-19 23:25:03 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
65f16c1738
docs: fix indentation in code samples
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-19 22:10:43 +02:00
dependabot[bot] and Márk Sági-Kazár
0d7e8034ee
build(deps): bump github.com/mitchellh/mapstructure from 1.4.1 to 1.4.2
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-19 09:30:36 +02:00
dependabot[bot] and Márk Sági-Kazár
6a29539e59
build(deps): bump gopkg.in/ini.v1 from 1.63.1 to 1.63.2
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.63.1 to 1.63.2.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.63.1...v1.63.2 )
---
updated-dependencies:
- dependency-name: gopkg.in/ini.v1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-19 09:30:24 +02:00
Séra Zoltán and Márk Sági-Kazár
fa3412d7ea
fix cannot write hidden file without extension ( #1017 )
2021-09-19 09:28:14 +02:00
Séra Zoltán and Márk Sági-Kazár
a1f26b11bd
Add test for cannot write hidden file without extension
2021-09-19 09:28:14 +02:00
Séra Zoltán and Márk Sági-Kazár
46a61e6fbd
Fixes #1062
2021-09-19 09:08:21 +02:00
Vasily Ovchinnikov and Márk Sági-Kazár
e606f7496e
fix: made InConfig process paths correctly
2021-09-16 10:32:19 +02:00
Márk Sági-Kazár and GitHub
2062cd6ee6
Fix codeql workflow
2021-09-15 21:19:19 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
c4687f7766
Add CodeQL analysis workflow
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-15 21:08:35 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
5a4d2a0519
chore(deps): update crypt library fork
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-15 21:08:07 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
6937864bf6
chore(deps): update go-ini dependency
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-09-15 18:49:09 +02:00
dependabot[bot] and Márk Sági-Kazár
e897cbf546
build(deps): bump github.com/pelletier/go-toml from 1.9.3 to 1.9.4
...
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml ) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v1.9.3...v1.9.4 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-15 18:09:44 +02:00
连修明 and Márk Sági-Kazár
eb876e1a15
update readme.md
...
```go
viper.WatchConfig()
viper.OnConfigChange(func(e fsnotify.Event) {
fmt.Println("Config file changed:", e.Name)
})
```
this code will cause data race, please check this question:
https://stackoverflow.com/questions/68915944/viper-dynamically-loading-config-file-has-data-race/68919971#68919971
2021-09-04 19:33:59 +02:00
dependabot[bot] and Márk Sági-Kazár
38e00eefc4
Bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.1
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.4.9 to 1.5.1.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.4.9...v1.5.1 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-04 19:28:57 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
5c0d079c4e
ci: run builds on Go 1.17
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-08-24 23:23:02 +02:00
dependabot[bot] and Márk Sági-Kazár
cf6565fd72
Bump github.com/spf13/cast from 1.4.0 to 1.4.1
...
Bumps [github.com/spf13/cast](https://github.com/spf13/cast ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/spf13/cast/releases )
- [Commits](https://github.com/spf13/cast/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-17 01:41:55 +02:00
Márk Sági-Kazár and GitHub
a7cfd8b8e0
Fix bug report template
2021-07-30 03:38:09 +02:00
Márk Sági-Kazár and GitHub
294bb31a4b
Add Go version to bug report tempplate
2021-07-30 03:37:33 +02:00
dependabot[bot] and Márk Sági-Kazár
f2053fabba
Bump github.com/spf13/cast from 1.3.1 to 1.4.0
...
Bumps [github.com/spf13/cast](https://github.com/spf13/cast ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/spf13/cast/releases )
- [Commits](https://github.com/spf13/cast/compare/v1.3.1...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-28 03:20:43 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
ab4b05adc6
chore: add GitHub issue forms
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-07-14 04:02:54 +02:00
Márk Sági-Kazár
e866eaa591
Update feedback_pull_request.yml
2021-07-12 19:53:25 +02:00
Márk Sági-Kazár
bc5df54485
Update feedback_issue.yml
2021-07-12 19:53:25 +02:00
dependabot[bot] and Márk Sági-Kazár
409a7ba1d6
Bump actions/github-script from 3 to 4.0.2
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 3 to 4.0.2.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v3...v4.0.2 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-12 19:53:25 +02:00
Márk Sági-Kazár
489df740ac
Update dependabot.yml
2021-07-12 19:44:20 +02:00
Matthieu MOREL and Márk Sági-Kazár
899b682f8c
Create dependabot.yml
2021-07-12 19:44:20 +02:00
Mark Sagi-Kazar
030b739e60
docs: add section about decoding formats
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-25 14:49:58 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
a02f9864fa
feat(encoding): Integrate the new encoding package into Viper
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-25 14:26:08 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
699d749768
feat(encoding): Add toml codec
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-25 14:26:08 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
6f15444771
feat(encoding): Add hcl codec
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-25 14:26:08 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
186266359b
feat(encoding): Add json codec
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-25 14:26:08 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
0e854bf27b
feat(encoding): Add yaml codec
2021-06-25 14:26:08 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
a00caae79f
feat(encoding): Encoder/Decoder registry implementations
2021-06-25 14:26:08 +02:00
Mikhail f. Shiryaev and Márk Sági-Kazár
bd03865899
Add a proper processing for pflag.StringArray
2021-06-25 13:55:36 +02:00
lmx-Hexagram and Márk Sági-Kazár
3fcad43618
update %s to %w
...
I apologize for my rude pr on modify readme
I think it is better to use %w in fmt.Errorf instead of %s
(see go doc)[https://golang.org/pkg/errors/ ]
2021-06-17 19:17:07 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
faa8ba0c53
chore: update gotestsum
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-16 03:06:32 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
65ee98690c
chore(lint): fix gofumpt
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-16 03:06:32 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
04ef5fa07d
chore: update golangci-lint
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-16 03:06:32 +02:00
Carlos Henrique Guardão Gandarez and Márk Sági-Kazár
acd965b54e
Add ini load options argument
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-16 01:55:16 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
5f4d053c3e
chore(deps): update dependencies
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-16 01:47:15 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
dd57ae6279
chore(deps): update etcd
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-06-16 01:47:15 +02:00
Carolyn Van Slyck and Márk Sági-Kazár
cdb5e5976f
Fix merging a key into a nil target
...
When merging a key where the target value is nil, the type of the target
and source do not match. What currently happens is an error is logged
and the key is skipped.
I have changed it so that it does the same thing as when the target key
is missing: copy the source value to the target.
Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com >
2021-05-17 08:55:31 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
36be6bf91f
feat: make sure Viper compiles on WASM
...
fsnotify is not available on WASM,
so config watching is not going to work.
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-04-24 10:24:23 +02:00
Chris Waldon and Márk Sági-Kazár
727a41c38a
doc: add a note about concurent Get/Set to godoc
2021-04-15 18:20:20 +02:00
Chris Waldon and Márk Sági-Kazár
cb41ae0ab8
doc: discuss concurrency in README
2021-04-15 18:20:20 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
7fdb267c73
chore: update dependencies
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-04-15 18:12:07 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
52536944d5
ci: add Go 1.16 to build matrix
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-03-15 09:30:15 +01:00
r-stepanenko and GitHub
fb4eafdd97
fix INI saving panics ( #1075 )
2021-03-10 14:46:19 +01:00
bridgetbarnes and GitHub
3c7b44f0bc
Update afero version (CVE-2020-14040) ( #1090 )
...
* Update afero version
* Ran go mod tidy
2021-03-10 14:45:23 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
4613c4a95f
docs: move troubleshooting to a new document
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-02-15 07:47:45 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
a86148e76e
docs: add note about go modules to the readme
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-02-15 07:47:45 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
e66f940bcc
docs: add troubleshooting guide about package not being found
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-02-15 07:47:45 +01:00
Mark Sagi-Kazar
d10c856f6c
Add discussions to issue links
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2021-01-11 03:55:13 +01:00
Márk Sági-Kazár and GitHub
da70fee083
Add troubleshooting about unmarshaling
2020-12-17 22:13:27 +01:00
Mark Sagi-Kazar
99da8b22a1
Add labels to issue templates
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-12-11 17:36:00 +01:00
Mark Sagi-Kazar
811f0e6937
Add issue and PR templates
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-12-11 17:33:03 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
bba82cfc61
docs: add run on repl.it badge with example
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-12-03 01:43:52 +01:00
Benjamin Lee and Márk Sági-Kazár
6ddd35486b
Always quote $@
2020-12-02 14:59:11 +01:00
Márk Sági-Kazár and GitHub
493643fd5e
Update README.md
2020-11-03 14:29:48 +01:00
Pablo Santiago Blum de Aguiar and Márk Sági-Kazár
f415025b98
Fix a minor typo in README.md
2020-10-30 23:19:06 +01:00
Meysam GanJi and Márk Sági-Kazár
4938331709
fix typo
2020-10-12 09:45:20 +02:00
Mark Sagi-Kazar
8c89438499
docs: improve AutomaticEnv documentation
...
Fixes #1000
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-10-08 02:46:11 +02:00
dylandreimerink and GitHub
33bcdc91ea
Added support for accessing slices ( #861 )
...
* Added support for accessing slices
* Processed PR feedback
- renamed searchMapWithPathPrefixes to searchIndexableWithPathPrefixes
- moved source type specific search logic to speparate functions
- Inverted if statments to avoid the arrow pattern
* Quickly return from searchSliceWithPathPrefixes and searchMapWithPathPrefixes functions without intermediate variables
2020-10-04 20:07:34 +02:00
Mark Sagi-Kazar
44e6ee8945
Use pull_request_target event in PR feedback
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-10-03 17:48:38 +02:00
Mark Sagi-Kazar
656b8771b8
Revert "Remove pull request feedback"
...
This reverts commit 0a45372c6c .
2020-10-03 17:48:08 +02:00
Mark Sagi-Kazar
0a45372c6c
Remove pull request feedback
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-10-01 22:37:29 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
82c2ddf493
Fix tests broken by mapstructure update
...
Mapstructure so far returned nil for empty string slices.
In a recent version this bug has been fixed:
https://github.com/mitchellh/mapstructure/pull/155
Incidentally, this was a bug in Viper too:
GetStringSlice and Unmarshal returned with different values.
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-30 15:03:37 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
16dc0f72ce
chore(deps): update mapstructure dependency
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-30 15:03:37 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
f67a901790
docs: add go version badge and update pkg.go.dev badge
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-30 13:15:51 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
d2df377935
ci: drop tests for Go 1.11-1.13
...
The Cleanup function used in this PR is only available from Go 1.14
While it would be nice to support more Go versions,
Go itself does not support other than the last two,
so that should be fine for Viper as well.
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-30 13:15:51 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
cfcfed504d
refactor: add setenv helper for tests
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-30 13:15:51 +02:00
Gabriel Aszalos and Márk Sági-Kazár
ea890285a5
Update docs
2020-09-30 12:44:21 +02:00
Gabriel Aszalos and Márk Sági-Kazár
b655224c01
Allow BindEnv to register multiple environment variables.
...
This change modifies BindEnv to permit a list of environment variable
names in order to support multiple env. vars. for the same config key.
When this form is used, env. keys take precedence in the written order.
Closes #971
2020-09-30 12:44:21 +02:00
Mark Sagi-Kazar
b534983313
Add some emojis to feedback bot
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-30 09:25:53 +02:00
Mark Sagi-Kazar
f3c095442f
Add some emojis to feedback bot
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-30 09:23:52 +02:00
Mark Sagi-Kazar
dd2e0fa15f
Add feedback bot to pull request
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-30 09:16:23 +02:00
Mark Sagi-Kazar
bed424f7c0
Add feedback bot to issue
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-30 09:13:00 +02:00
Mark Sagi-Kazar
29c3027c49
docs: rewrite sub documentation
...
Fixes #988
Fixes #987
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-27 22:59:46 +02:00
Mark Sagi-Kazar
6d4eb764b6
Add feedback form to the readme
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-27 01:06:10 +02:00
Mark Sagi-Kazar
406ea27dc0
Add feedback form to the readme
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-27 01:04:34 +02:00
Dan Rollo and Márk Sági-Kazár
a0285163e1
ensure BindPFlag() detects a nil flag parameter before wrapping in pflagValue.
2020-09-23 19:29:16 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
d9d7dcdc63
Increase lint timeout
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-11 17:53:37 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
a5152092c6
Improve lint rules
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-11 17:53:37 +02:00
Mark Sagi-Kazar
ae12c841bc
Upgrade linter
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-11 17:43:32 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
387404d518
Add log for remote config errors
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-09 22:37:34 +02:00
Mark Sagi-Kazar
f26928cd87
Add Go 1.15 to the build matrix
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-09 22:32:07 +02:00
Mark Sagi-Kazar
9c7144ec1e
Build on both linux and macos
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com >
2020-09-05 23:53:06 +02:00
John Gosset and Márk Sági-Kazár
3826be3135
Simplify $HOME prefix check
2020-07-31 23:39:06 +02:00
João Abecasis and Márk Sági-Kazár
ce534045f9
Fix environment variable expansion in absPathify
...
- Don't expand user home directory for variable names that simply have a
HOME prefix;
- Support expansion of variables not followed by the path separator.
2020-07-31 23:39:06 +02:00
Oleg Butuzov and Márk Sági-Kazár
13494e8047
Skipping error != nil checks in favor of the fast return.
2020-07-16 06:22:21 +02:00
Mark Sagi-Kazar
13df721090
Add Go 1.14 to build targets
2020-05-09 11:42:39 +02:00
Trevor Foster and GitHub
3856c05f99
Fix: Getting the value of a StringToString pflag ( #874 )
...
* add parsing for stringToString flags
* add logic to return flags default if not val set, add a test
* extract parsing into single func
* add a few more cases
* return nil if unable to parse instead of panicing
* return map[string]interface in order to work with cast.ToStringMap
* mostly copy pflags implementation of the conversion to a stringtostring
2020-05-09 11:38:39 +02:00
flow00 and Márk Sági-Kazár
c6ee9808ab
fix_ini_save_error
2020-05-05 12:50:28 +02:00
John McBride and GitHub
c42a305a4b
Update gorilla dependency ( #899 )
...
* Update gorilla dependency
* Run go mod tidy
2020-04-21 17:18:44 +02:00
Mark Sagi-Kazar
e34fb51dd7
Add mentioned in awesome badge
2020-04-09 23:56:02 +02:00
Mark Sagi-Kazar
7eea3718bf
Remove go version badge
2020-04-09 22:21:21 +02:00
Mark Sagi-Kazar
aa8e4d4983
Update badges and logo
2020-04-09 22:20:35 +02:00
Mark Sagi-Kazar
9b03d15591
Ignore idea
2020-04-09 20:15:13 +02:00
Gustavo Bazan and GitHub
97ee7adfef
Add support to save file with no extension ( #813 )
...
* Add support to save file with no extension
The support introduced for files with no file extension is only partial as trying to save the config file would fail with `<file name> requires valid extension`
This adds support to saving such files
2020-02-20 00:41:04 +01:00
Alexey Maslov and Márk Sági-Kazár
b31a49291e
updated docs in README.
2020-02-20 00:36:32 +01:00
Alexey Maslov and Márk Sági-Kazár
9c81997cb1
added firestore support.
2020-02-20 00:36:32 +01:00
Alexey Maslov and Márk Sági-Kazár
502400c0d9
changed github.com/xordataexchange/crypt to github.com/bketelsen/crypt.
2020-02-20 00:36:32 +01:00
aeneasr and Márk Sági-Kazár
7ddaa61d67
Remove .idea directory
2020-02-20 00:27:03 +01:00
Mark Sagi-Kazar
f2cbaea4c2
Fix copy-paste error in documentation
...
Fixes #825
2020-01-16 19:54:31 +01:00
Mark Sagi-Kazar
df9f4af211
Remove travis config
2020-01-16 19:38:02 +01:00
Mark Sagi-Kazar
1b7d3e05fd
Improve golangci config
2020-01-16 19:37:50 +01:00
Mark Sagi-Kazar
16fb4b9d29
Add editorconfig
2020-01-16 19:37:42 +01:00
Mark Sagi-Kazar
4525543ce4
Improve CI
2020-01-16 19:27:10 +01:00
Pedro Silva and Márk Sági-Kazár
9cd571279d
Extensionless files only allowed when config type is set ( #827 )
...
* Only consider files without extension if the config type is explicitly specified
* Hides unused variable in test
* First check for config type then for file without extension
2020-01-16 19:23:50 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
06ab5a4b62
Add documentation about unmarshaling into embedded structs
2020-01-08 10:58:26 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
eabbc68a3e
Fix file path lookup
2019-12-06 17:29:42 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
5ad4bc05cf
Add decoder opts to unmarshal exact
2019-12-06 14:27:22 +01:00
Gregory Haynes and Márk Sági-Kazár
bcb420b705
Add global UnmarshalExact method
...
There is no helper method for UnmarshalExact which calls the
corresponding method on the global viper instance.
2019-12-06 14:15:02 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
4ad4c8df70
Add string replacer interface and env key replacer option
2019-12-06 14:13:46 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
6fcf985c5a
Fix readme
2019-12-06 14:01:42 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
bdf2db0ff8
Fix goimports
2019-12-06 14:01:42 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
a842b8f618
Replace SetKeyDelimiter with functional options
2019-12-06 14:01:42 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
9a405be5c0
Add SetKeyDelimiter to the README
2019-12-06 14:01:42 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
a73303ee89
Add key delimiter setter
2019-12-06 14:01:42 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
b6ced70067
Generic improvements
2019-12-06 14:01:30 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
52836e66ad
Improve badges
2019-12-06 14:01:30 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
6895c083d6
INI is supported
2019-12-06 14:01:30 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
c4fedd192b
Fix check target
2019-12-06 13:00:52 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
2fd264d3d1
Fix misspell
2019-12-06 13:00:52 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
8b7fbcaa4b
Fix golint
2019-12-06 13:00:52 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
29bb3ee94f
Fix deadcode
2019-12-06 13:00:52 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
7b5adba788
Fix whitespace
2019-12-06 13:00:52 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
cea8b9dfcd
Fix goimports
2019-12-06 13:00:52 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
e316012b4d
Fix gofmt
2019-12-06 13:00:52 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
78a0e37a24
Add github actions workflow
2019-12-06 12:35:47 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
fae3a81867
Add ide integration
2019-12-06 12:10:03 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
d52c544291
Add Makefile
2019-12-06 12:10:03 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
abdeaff171
Add golangci config
2019-12-06 12:10:03 +01:00
Mark Sagi-Kazar and Márk Sági-Kazár
8feab54f0e
Tidy dependencies
2019-12-06 11:22:37 +01:00
Matti R and Márk Sági-Kazár
351bfe9719
loop through ini sections
...
pass tests
write out ini file & tests
go fmt
Update viper_test.go
fix test
gofmt
2019-12-06 09:02:54 +01:00
javaducky and Márk Sági-Kazár
3a19b6e0d9
Review updates to utilize afero for file checks and updated checks on unit tests
2019-12-06 08:36:52 +01:00
javaducky and Márk Sági-Kazár
a708479794
Updating SafeWriteConfig and SafeWriteConfigAs to match documented behavior.
...
Methods should throw an error if the config file already exists or if no configpath is configured when not explicitly requesting a write path.
2019-12-06 08:36:52 +01:00
Benoit Masson and Márk Sági-Kazár
9e353e395e
find() looks for flag's default values only when requested.
...
Default value should be looked for by Get(), but not by IsSet().
This logic should remain inside find(), to make sure that shadowing
of keys is handled properly.
Fixes Issue #276 .
2019-11-29 21:16:13 +01:00
Benoit Masson and Márk Sági-Kazár
4e1ebbdaba
Added tests to TestIsSet()
...
Added tests for:
- nested elements
- environment values
- flags (currently fails => IsSet() always returns true,
due to the default value of the flag)
2019-11-29 21:16:13 +01:00
Kévin Dunglas and Márk Sági-Kazár
01d7d76eb0
Add Mercure in the list of projects using Viper
2019-11-08 13:18:39 +01:00
Pedro Silva and Márk Sági-Kazár
d1c60d9e69
Support config files with no extensions ( #722 )
...
* Support config files with no extensions
* Update README informing config files without extension are supported
2019-11-06 14:54:13 +01:00
Vivek V and Márk Sági-Kazár
72b022eb35
Added capacity to slice creation
2019-11-01 11:15:09 +01:00
Navid Shaikh and Márk Sági-Kazár
40e41dd224
Updates YAML to v2.2.4
...
Make sure we're not vulnerable to CVE-2019-11253.
See https://github.com/kubernetes/kubernetes/issues/83253
2019-10-16 10:29:20 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
71509d2887
Revert the effective changes of #673
2019-09-28 12:02:57 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
398adc5a7d
Add breaking test that requires reverting #673
2019-09-28 12:02:57 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
371f39c3ab
Add Go 1.13 to travis
2019-09-27 23:35:02 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
c171232d3a
Add go version to the mod file
2019-09-27 23:35:02 +02:00
Lars Lehtonen and Márk Sági-Kazár
583f79b3ea
remote: fix two dropped errors
2019-09-27 21:42:20 +02:00
inkychris and Márk Sági-Kazár
99520c81d8
Implemented ability to unmarshal keys containing dots to structs.
...
Changed formatting of test objects for better git diffing and readibility.
Fixed failing tests on Windows.
2019-09-11 16:03:08 +02:00
Mark Sagi-Kazar and Márk Sági-Kazár
bd1db6bb8c
Run go mod tidy
2019-08-29 15:42:25 +02:00
TwiN and Márk Sági-Kazár
e697d557b7
Fix small typo
2019-08-17 00:18:41 +02:00
Christian Muehlhaeuser and Márk Sági-Kazár
33bf76add3
Simplify code
...
Removed unnecessary conversions.
2019-07-29 18:37:00 +02:00
Christian Muehlhaeuser and Márk Sági-Kazár
1b33e8258e
Add error handling
...
Added error handling around ineffectual err assignments. Please review
thoroughly.
2019-07-28 14:50:13 +02:00
Christian Muehlhaeuser and Márk Sági-Kazár
d65fa7608b
Fixed typo
...
Just a nitpicky typo fix.
2019-07-28 14:47:04 +02:00
Rodrigo Chiossi and Bjørn Erik Pedersen
cdccc8152c
Fix SafeWriteConfig
...
If the config file does not exist and the force flag is not set,
OpenFile would not use O_CREATE flag, causing viper to fail with
error "File not exist" and to not create the config file.
This patch changes the behavior of writeConfig() so that if force is set
to false, OpenFile will use O_EXCL flag, thus failing if the file
already exists or creating a new file otherwise.
Signed-off-by: Rodrigo Chiossi <rodrigo.chiossi@intel.com >
2019-07-28 12:33:29 +02:00
bpizzi and Márk Sági-Kazár
e02bc9eca5
Fixed missing f.Close() in writeConfig()
...
Defering can cause trouble because we're writing to the file outside the function
where the defering is registered, calling f.Sync() ensures that bytes are flushed
to disk even is Close() is called too soon.
2019-07-13 12:28:02 +02:00
Nicolas Martin and Márk Sági-Kazár
e325492b82
Add missing call to initWF.Done()
2019-07-13 12:13:30 +02:00
Márk Sági-Kazár
e6d1c6bc9a
Improve godoc
2019-07-13 12:11:16 +02:00
CodeLingo Bot and Márk Sági-Kazár
275a36d0a0
Fix function comments based on best practices from Effective Go
...
Signed-off-by: CodeLingo Bot <bot@codelingo.io >
2019-07-13 12:11:16 +02:00
Márk Sági-Kazár
7fdad0204e
Fix typo
2019-07-13 12:04:36 +02:00
AGirard and Márk Sági-Kazár
b8221cf4ee
Add GetIntSlice helper method
2019-07-13 12:04:36 +02:00
Márk Sági-Kazár
72cbe340cb
Improve travis
2019-07-13 11:53:30 +02:00
lucperkins and Márk Sági-Kazár
5ae3a072d1
Add documentation for no config file found
...
Signed-off-by: lucperkins <lucperkins@gmail.com >
2019-07-13 11:37:02 +02:00
Márk Sági-Kazár
d34be8d9ee
Improve BindEnv details
2019-07-13 11:35:03 +02:00
Bruce Wang and Márk Sági-Kazár
96441b4b74
BindEnv details specified. Now less confusion.
2019-07-13 11:35:03 +02:00
victor23d and Márk Sági-Kazár
2b4f7d3cde
Add dotenv documentation in README.md
2019-07-13 11:28:35 +02:00
Márk Sági-Kazár and Steve Francia
3349bd9cc2
Improve Unmarshal docs ( #713 )
...
Closes #589
Closes #588
2019-06-14 11:17:12 -04:00
okazu-dm and Márk Sági-Kazár
3b4aca7571
Fix example code
...
Unmarshal -> viper.Unmarshal
2019-06-13 10:51:37 +02:00
liubog2008 and Márk Sági-Kazár
b235f72abb
fix(leak): fix leak in dependency magiconair/properities
2019-06-11 23:33:57 +02:00
Alpha and Steve Francia
fde59dd3e4
ADD: installation method ( #604 )
...
* ADD: installation method
* Update README.md
2019-06-11 16:58:53 -04:00
Pawan Rawal and Steve Francia
0c777cfac1
Fix indentation for yamlStringSettings ( #651 )
...
The indentation seemed messed up and didn't read well. This change fixes it.
2019-06-11 16:53:59 -04:00
Márk Sági-Kazár and Steve Francia
ad5ed02fa4
Add support for int slice flags ( #637 )
...
* Add support for int slice flags
* Add int slice test to unmarshal
2019-06-11 16:51:57 -04:00
EmilLuta and Steve Francia
0da4d41b2d
Add WriteConfig documentation ( #649 )
2019-06-11 16:51:04 -04:00
0xflotus and Steve Francia
a52795991d
fixed marshal ( #647 )
2019-06-11 16:50:29 -04:00
Leonardo Fedalto and Steve Francia
33688bf23c
Fix typo on README.md ( #710 )
2019-06-11 16:48:19 -04:00
mexisme and Steve Francia
3620d3d9e1
Support .env format files ( #528 )
...
* Support `.env` format files
* Missing "dotenv" from SupportedExtns
2019-06-11 16:47:43 -04:00
Jean de Klerk and Bjørn Erik Pedersen
b5bf975e58
Clean up dependencies
...
This commit was created by manually removing github.com/ugorji/go/codec from
the go.mod (which now does not exist - see https://github.com/ugorji/go/issues/299 )
and running `go mod tidy`.
Closes #658
2019-05-24 21:57:43 +02:00
Anthony Fok
2bd2732789
Use GetInt64 for largenum in viper_test.go
...
to prevent overflow error on 32-bit platforms.
Fixes #704
2019-05-24 11:53:49 -06:00
Anthony Fok
93066f92c6
Fix typo in viper_test.go: lagrenum → largenum
2019-05-24 07:40:12 -06:00
Mitch Connors and Steve Francia
7a605a50e6
Uint Support ( #681 )
...
* add GetUint/GetUint32/GetUint64
* Add Get(string) support for uint.
2019-04-08 10:06:45 -04:00
Kris and Steve Francia
fccfc2c271
Add API for setting file permissions
2019-04-04 14:02:01 +02:00
Bjørn Erik Pedersen
9e56dacc08
Remove superflous insensitiviseMaps in Unmarshal methods
...
Fixes #482
2019-03-13 10:29:51 +01:00
Mark Sagi-Kazar and Bjørn Erik Pedersen
d104d259b3
Update go.sum with go1.11.4
...
In Go 1.11.4 a bug was fixed related to checksum calculation.
As a result, some packages might end up with a different checksum
from this version. The solution is upgrading, cleaning the mod cache
and recalculating the go.sum file.
See https://github.com/golang/go/issues/27093
2019-01-27 10:44:59 +01:00
Bjørn Erik Pedersen
6d33b5a963
Make the map in MergeConfigMap case insensitive
2018-12-07 11:03:36 +01:00
Bjørn Erik Pedersen
41cd1c3aa3
Restrict Travis to >= Go 1.11, use Go Modules, and get the test to pass
2018-12-05 17:13:47 +01:00
Bjørn Erik Pedersen
3535c75fa8
Add MergeConfigMap
...
Fixes #605
2018-12-05 17:13:47 +01:00
Bjørn Erik Pedersen
06c7c0d9b3
Use assert.EqualValues for slice checking
2018-11-19 10:38:40 +01:00
Benoit Masson and Bjørn Erik Pedersen
ae103d7e59
Moved shared resources out of the loops in TestBindPFlagsStringSlice()
...
Common code and resources put out of the loops, to improve
efficiency and readability.
2018-11-07 12:08:59 +01:00
Benoit Masson and Bjørn Erik Pedersen
69647fb422
Fixed TestBindPFlagsStringSlice()
...
Replaced Visit() by VisitAll(), so that the Changed attribute of
the updated flag is correctly set.
2018-11-07 12:08:59 +01:00
Benoit Masson and Bjørn Erik Pedersen
cc7e906d88
Updated TestBindPFlagsStringSlice() to highlight a failure
...
When pflag marked as changed, the value is not detected
(and lower priority value used)
2018-11-07 12:08:59 +01:00
Márk Sági-Kazár and Bjørn Erik Pedersen
b7a3b95476
Lookup environment variables instead of checking if the value is empty
...
This commit adds an `AllowEmptyEnv` option that, default off, that when set will allow set, but empty, environment variables
Fixes #317
2018-11-06 22:53:21 +01:00
Andrew Stuart
62edee3196
Revert "Cater for case-sensitive dependencies ( #463 )"
...
This reverts commit b56071875a .
2018-09-29 21:41:27 -07:00
Panagiotis Moustafellos and Andrew Stuart
b56071875a
Cater for case-sensitive dependencies ( #463 )
...
Switching jww from jwalterweatherman to jWalterWeatherman for cases when vgo is broken
2018-09-29 20:32:38 -07:00
Andrew Stuart
8e194e8ad2
Merge branch 'master' into mergefix/Issue284_Kubernetes_config
2018-09-28 01:05:04 -07:00
Andrew Stuart
0d783e7344
Use test log
2018-09-28 01:04:19 -07:00
Andrew Stuart and GitHub
2c12c60302
Fix nil pointer on watch function ( #568 )
2018-09-28 00:53:21 -07:00
Bjørn Erik Pedersen
3171ef9a22
Revert "Add go.sum to .gitignore"
...
This reverts commit 841bd4ebcd .
2018-09-07 15:06:02 +02:00
Bjørn Erik Pedersen
841bd4ebcd
Add go.sum to .gitignore
...
Seems that it's better practice to keep that in Git for "main modules".
2018-09-07 11:52:15 +02:00
Bjørn Erik Pedersen
8fb6420065
Add go.mod
2018-09-07 11:30:55 +02:00
Dr. Tobias Quathamer and aarti
0ac2068de9
Fix overflow error on 32 bit architectures ( #340 )
...
* Handle int64 separately for 32 bit architectures
* Remove tests which result in an overflow error on 32 bit architectures
2018-09-01 14:59:01 -06:00
Adhatama and aarti
8addaed22d
Add README.md for Consul remote provider ( #489 )
2018-08-28 16:05:06 -06:00
Aarti Parikh
05116ad639
Revert "fix dep wrong case ( #484 )"
...
This reverts commit b7a62b2c00 .
2018-08-28 02:34:36 -06:00
kun and aarti
b7a62b2c00
fix dep wrong case ( #484 )
2018-08-28 01:37:55 -06:00
Robin Brämer and aarti
e436d04e6d
correct a comment on viper.Set() ( #553 )
...
correct regiser with register
2018-08-28 01:29:26 -06:00
Michael and aarti
40b1bbb9a8
travis: update go versions ( #558 )
2018-08-28 01:08:14 -06:00
Xavier Coulon
41f829b2c9
refactor test to avoid negative counter on WG
...
Signed-off-by: Xavier Coulon <xcoulon@redhat.com >
2018-08-06 09:29:13 +02:00
Xavier Coulon
e12d3d32d1
Merge branch 'master' into Issue284_Kubernetes_config
2018-08-06 08:18:53 +02:00
Chris Reeves and Bjørn Erik Pedersen
907c19d40d
Support customising mapstructure.DecoderConfig for Unmarshal
...
* Added a new `DecoderConfigOption` type allowing the user to write custom
functions that can override the default mapstructure.DecoderConfig
settings
* Added a new `DecodeHook` function which returns
a `DecoderConfigOption`. This allows the user to easily set their own
Decode hooks when Unmarshaling
* Updated Unmarshal, UnmarshalKey and defaultDecoderConfig to support variadic
trailing `DecoderConfigOption` functions to allow for customisation of
the default mapstructure.DecoderConfig
* Added a test case with example usage
2018-08-03 14:57:45 +02:00
Xavier Coulon
c1250e5dd7
apply review comments
...
use masks for checking the events.
Signed-off-by: Xavier Coulon <xcoulon@redhat.com >
2018-07-13 10:30:23 +02:00
Adriano and Brice Fernandes
d493c32b69
Update README.md ( #470 )
...
Fix typo in the environment variable usage documentation.
2018-07-10 13:30:20 +01:00
Brice Fernandes and GitHub
fb7a06477f
Add example of marshalling to string ( #531 )
2018-07-10 12:30:24 +01:00
Xavier Coulon
242f4890f5
Refactor with WaitGroup and check channel is open
...
Signed-off-by: Xavier Coulon <xcoulon@redhat.com >
2018-05-24 10:09:29 +02:00
Travis Jeffery and Bjørn Erik Pedersen
15738813a0
Add GetInt32
2018-05-07 09:10:07 +02:00
Michael Käufl and Bjørn Erik Pedersen
8dc2790b02
travis: update go versions
2018-04-04 20:33:25 +02:00
Xavier Coulon
e0f7631cf3
WatchConfig and Kubernetes ( #284 )
...
Support override of symlink to config file
Include tests for WatchConfig of regular files, as well
as config file which links to a folder which is itself a
link to another folder in the same "watch dir" (the way
Kubernetes exposes config files from ConfigMaps mounted
on a volume in a Pod)
Also:
- Add synchronization with WaitGroup to ensure that the WatchConfig
is properly started before returning
- Remove the watcher when the Config file is removed.
Fixes #284
Signed-off-by: Xavier Coulon <xcoulon@redhat.com >
2018-01-03 10:37:18 +01:00