Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ory/viper

A maintained fork of spf13/viper with several bugfixes for races, panics, and other errors
https://github.com/ory/viper

ci: remove github actions

8cc0271ae7b63f6a696a9e586de4250dca19f33c authored over 4 years ago
chore: bump golang/x/crypto

bb69bf9758d0b3bd9bce1a0164b3a064f1cb31c5 authored over 4 years ago
Merge branch 'master' of github.com:ory/viper

763c1a205edbba9008cc261575573643617ea135 authored over 4 years ago
chore: bump fsnotify to 1.4.9

73f849df133c490378e7f04be778724f0b97a6ba authored over 4 years ago
fix: switch to csv for array parsing from flags and env vars (#18)

b94b25d01f5182b3c7497e018ca63474e3684840 authored almost 5 years ago
fix: SetRawConfig resets cache (#17)

2ae50bdf987c0e07eb60cdc5b5c25e8a1994f0fb authored almost 5 years ago
chore: bump crypto dependency

443a9dd89d5f714aadbd9748a342f317604eb812 authored almost 5 years ago
fix: declare proper module name

042754358f92d039fcb4098926208bca91de8115 authored almost 5 years ago
refactor: Remove consul support and fix deps

be872d5aae2619d06b503fe22689cac7833bd2b0 authored almost 5 years ago
u

266e6d421702a6fd733218dda1f4957d0b3a39d3 authored almost 5 years ago
u

19d875890270fe88ccd2dd44d7a71ace98363ecf authored almost 5 years ago
refactor: Remove consul config bridge

c90c5f4e91d0c1c3e2e55373dde6ffb2d0586491 authored almost 5 years ago
feat: add cast error passing functions and improve casting (#16)

f49f1415a86d4c7021238e3e25f4045fc7f1108d authored almost 5 years ago
fix: rename go module to reflect the correct import path (#15)

19dcfe7c9e75fc332c41d3ca3392c1f6548f7a77 authored almost 5 years ago
feat: add explicit typings for keys (#14)

1bdadcb69a8e14e7fc4b0f449ca75f5bc932343e authored almost 5 years ago
fix(test): Resolve cache issue with PFlag

37827a3f6a435ad81ba3428f9e46f389b8a40e25 authored almost 5 years ago
Merge pull request #12 from ory/get-cache-ory

a4d88b76ab05e91c510abd4ef4a107b5dce0d8e1 authored almost 5 years ago
Merge branch 'get-cache-ory' of github.com:ory/viper into get-cache-ory

c45bfa7e83213bd50cf193949da671fc66a5bbcf authored almost 5 years ago
Resolve race conditions caused by cache clearing

cd0a212b9676f4f924e479f7e852084a24a61faa authored almost 5 years ago
chore: Tidy go modules

3e63d15e8bb8259ce79d7a80c80f08b79a3744c9 authored almost 5 years ago
chore: Tidy go modules

a8d536b3daf2f363e2f8281e147f7a854259b73e authored almost 5 years ago
Merge remote-tracking branch 'origin/master' into get-cache-ory

# Conflicts:
# go.mod
# go.sum
# remote/remote.go
# viper.go

e4d3eee1fb520c816d119a40465a06dd5cf497ed authored almost 5 years ago
Use ristretto to improve find performance

This patch significantly improves `v.find` performance by using
ristretto cache.

Ristretto was ...

4e6b00728f1dff2793f8a832c3abebb3344ffe45 authored almost 5 years ago
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 ex...

97ee7adfef4882d78c0ef26e22a0c8a7a8bf6776 authored almost 5 years ago
updated docs in README.

b31a49291e7b00e5ba5db5d08c232755a458d1e1 authored almost 5 years ago
added firestore support.

9c81997cb1908f9597ae77f71d3eaf33d1e14483 authored almost 5 years ago
changed github.com/xordataexchange/crypt to github.com/bketelsen/crypt.

502400c0d97d71d9c21ad9171ac0a8b0a73126aa authored almost 5 years ago
Remove .idea directory

7ddaa61d67ad0ace0e25f1e90d2c034ee9e56d0a authored almost 5 years ago
Merge pull request #11 from ory/mergmerge

feat: Merge upstream changes

97bf1eafc92dca6d717e73ae558d01bc2ce3343c authored almost 5 years ago
feat: Merge upstream changes

Closes #9

135e8ce0b1aa6e0cd2d927cc3734953637c1a31e authored almost 5 years ago
Merge remote-tracking branch 'origin/remove-idea' into mergmerge

# Conflicts:
# .travis.yml
# Makefile
# README.md
# go.mod
# go.sum
# remote/remote.go
# viper.go

70512469221b0a992c477bcbffe78fbb89462199 authored almost 5 years ago
Remove .idea directory

aef201df378f4807c443d76ca594a9638f4e6832 authored almost 5 years ago
Add configChangedAt timestamp (#7)

91d6bf45e53ee6799c02e894a2db7df7e03ab88d authored about 5 years ago
Fix circleci badge in README

ca9274d3b02d06194b1b52ec5248980b510d0952 authored about 5 years ago
Fix copy-paste error in documentation

Fixes #825

f2cbaea4c2e08954512f2cd2619033bdb4f87969 authored about 5 years ago
Remove travis config

df9f4af2115f087cee156dd2ec1c60f1a47575b6 authored about 5 years ago
Improve golangci config

1b7d3e05fd0f5288ff0c562809b68d123464ec00 authored about 5 years ago
Add editorconfig

16fb4b9d29c9e2ee368a9261553fb8820b352349 authored about 5 years ago
Improve CI

4525543ce4fe90f7970f5e2cdc300b8ffc8c0582 authored about 5 years ago
Extensionless files only allowed when config type is set (#827)

* Only consider files without extension if the config type is explicitly specified

* Hides un...

9cd571279d195d6a02b5103f0301d8310dd4338d authored about 5 years ago
Add documentation about unmarshaling into embedded structs

06ab5a4b62072ad7af49cf178f79d83aaf3e9d92 authored about 5 years ago
Fix file path lookup

eabbc68a3ecd5cf8c11a2f84dbda5e7a38493b2f authored about 5 years ago
Add decoder opts to unmarshal exact

5ad4bc05cf581ee54efd78c7fd58202609d10857 authored about 5 years ago
Add global UnmarshalExact method

There is no helper method for UnmarshalExact which calls the
corresponding method on the global ...

bcb420b705de7762472dda0861823d053d7f4cbd authored about 5 years ago
Add string replacer interface and env key replacer option

4ad4c8df70ec1bed8329e5d986f09d34f66200b4 authored about 5 years ago
Fix readme

6fcf985c5ab78a80370c86454e9556b277c0212c authored about 5 years ago
Add key delimiter setter

a73303ee8947b4498218d22e361db6f448ce6654 authored about 5 years ago
Fix goimports

bdf2db0ff8cf8f8fdc1148cb3d8ef40f05209714 authored about 5 years ago
Add SetKeyDelimiter to the README

9a405be5c05f793c04480d3137cf4880d147ccbe authored about 5 years ago
Replace SetKeyDelimiter with functional options

a842b8f61840c754255435f3c7b131ca89080c78 authored about 5 years ago
Generic improvements

b6ced70067882412976750d782a0df83d6b59eea authored about 5 years ago
Improve badges

52836e66ad50d64d9927b74101262204a8685457 authored about 5 years ago
INI is supported

6895c083d6ac8d19385f406381a3f5638e13dfc2 authored about 5 years ago
Fix gofmt

e316012b4d8512bf8627dedd6f51dcb996f8128e authored about 5 years ago
Fix golint

8b7fbcaa4b23c999fbfe219fb4b5d9e54b81356a authored about 5 years ago
Fix misspell

2fd264d3d10f7e10b42605c8ca2054eddc5ae2ef authored about 5 years ago
Fix deadcode

29bb3ee94fd1c9e5148f546b70c8e8578bcbf75f authored about 5 years ago
Fix whitespace

7b5adba7887e2e9ad518267c39f860d683aded6f authored about 5 years ago
Fix goimports

cea8b9dfcd3639e2745275adb2d4c9bb8ff5d054 authored about 5 years ago
Fix check target

c4fedd192b21b2f4263af0934957a77af8cdbd7a authored about 5 years ago
Add github actions workflow

78a0e37a24d05866553b2038e3c780301c390deb authored about 5 years ago
Add golangci config

abdeaff171c284e967de4cf67341108cbce28804 authored about 5 years ago
Add ide integration

fae3a8186794f7e4ded729ca28a373286557d9a3 authored about 5 years ago
Add Makefile

d52c544291b7e11c17883f507b5ed2289f607b38 authored about 5 years ago
Tidy dependencies

8feab54f0ebb72554cdaf00ab1b958df1d4d855f authored about 5 years ago
loop through ini sections

pass tests

write out ini file & tests

go fmt

Update viper_test.go
fix test

gofmt

351bfe9719e59c39c308342edbf087a6cb65f30b authored about 5 years ago
Review updates to utilize afero for file checks and updated checks on unit tests

3a19b6e0d99b8272ed919058bfbba07730296dad authored about 5 years ago
Updating SafeWriteConfig and SafeWriteConfigAs to match documented behavior.

Methods should throw an error if the config file already exists or if no configpath is configur...

a7084797945bd6ddcca91e4981b82c7393e6dca1 authored about 5 years ago
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 insid...

9e353e395e9f619d63334d59bfacdd987e701431 authored about 5 years ago
Added tests to TestIsSet()

Added tests for:
- nested elements
- environment values
- flags (currently fails => IsSet() alwa...

4e1ebbdaba650cf4bb51d8a7e241b80b8d6d9553 authored about 5 years ago
Add Mercure in the list of projects using Viper

01d7d76eb0020ae2fd1275899065ddfdd9f6a528 authored about 5 years ago
Support config files with no extensions (#722)

* Support config files with no extensions

* Update README informing config files without exte...

d1c60d9e69e7499dc680a8552b4ea75c2fd2e91b authored about 5 years ago
Added capacity to slice creation

72b022eb357a56469725dcd03918449e2278d02e authored about 5 years ago
Updates YAML to v2.2.4

Make sure we're not vulnerable to CVE-2019-11253.
See https://github.com/kubernetes/kubernetes/i...

40e41dd2240a2ae3f6b0a908ad9ddc6cefd5e456 authored over 5 years ago
Revert the effective changes of #673

71509d28871fd3eeda5f56fb097e65d318c578d6 authored over 5 years ago
Add breaking test that requires reverting #673

398adc5a7da8f7fb1dda192beb2a9db63f797445 authored over 5 years ago
Add Go 1.13 to travis

371f39c3ab6ffb983f89c737291fe9ec8a5096c7 authored over 5 years ago
Add go version to the mod file

c171232d3abcdff8a584d1083fd5c11cfc5bf5c3 authored over 5 years ago
remote: fix two dropped errors

583f79b3ea0db3590b23667b3130094ca14c1dac authored over 5 years ago
Implemented ability to unmarshal keys containing dots to structs.

Changed formatting of test objects for better git diffing and readibility.
Fixed failing tests on...

99520c81d86ee7d0ee2ef143c8576be0c7533827 authored over 5 years ago
Run go mod tidy

bd1db6bb8c597678e6e65e9d8f364ed0ead2721b authored over 5 years ago
Fix small typo

e697d557b7f549ddf91098cef2ad6e92176dbcdf authored over 5 years ago
Simplify code

Removed unnecessary conversions.

33bf76add3b746c1d275f0a5451b4d5750b2f2ff authored over 5 years ago
Add error handling

Added error handling around ineffectual err assignments. Please review
thoroughly.

1b33e8258e07ea1da9064b06ee29a0d0831b693d authored over 5 years ago
Fixed typo

Just a nitpicky typo fix.

d65fa7608b54d861eae8524279cdc7e52f4dd432 authored over 5 years ago
Fix SafeWriteConfig

If the config file does not exist and the force flag is not set,
OpenFile would not use O_CREATE...

cdccc8152cf6202c7ce866570a7390d81bf02fbd authored over 5 years ago
Insensitivise map in SetRawConfig (#6)

b403c1bd9049428604c8dcfde8f2152eef2e6ea1 authored over 5 years ago
Add SetRawConfig method (#5)

8d638da559efe9b0c0f21abd21cb9186197058c9 authored over 5 years ago
Resolve potential deadlock in Get() (#4)

3c5a66b74c492f60432dde424ba01cdf591517a8 authored over 5 years ago
Improve HasChanged* logic (#3)

6cdb3ba03a0dd46513f157468008bca964667c25 authored over 5 years ago
Adds HasChanged and HasChangedSinceInit (#2)

These two methods return true if a value has changed.

abb7b71347e1bd3df1aec37ac9ec8da78e1421b6 authored over 5 years ago
Resolve race conditions, panics, and other errors (#1)

This patch provides fixes for:

- https://github.com/spf13/viper/issues/730
- https://github....

5bace2abf4eb835dc1f4432e8ff6a27700a419f7 authored over 5 years ago
Fixed missing f.Close() in writeConfig()

Defering can cause trouble because we're writing to the file outside the function
where the defe...

e02bc9eca55d5fc66221bc0aeeaaa77410603914 authored over 5 years ago
Add missing call to initWF.Done()

e325492b82e97dec8208f8a2362ee9efe9023261 authored over 5 years ago
Improve godoc

e6d1c6bc9a6debfae12cfd0285a24d1b2fc0b31a authored over 5 years ago
Fix function comments based on best practices from Effective Go

Signed-off-by: CodeLingo Bot <[email protected]>

275a36d0a03ab384fbf34cca7fbee094d95fc0b2 authored over 5 years ago
Fix typo

7fdad0204e0e1c63db2813b0882ebe61722e2e79 authored over 5 years ago
Add GetIntSlice helper method

b8221cf4ee9174f124f60bdcf24944da0b0b5643 authored over 5 years ago
Improve travis

72cbe340cb4939713d5f43c01ccd82fa6155bdd9 authored over 5 years ago
Add documentation for no config file found

Signed-off-by: lucperkins <[email protected]>

5ae3a072d1057b77d443b65ed0927998111ec766 authored over 5 years ago