Mattermost-server: 4.10.0: fork of spf13/viper imported from original library path

Created on 31 May 2018  路  8Comments  路  Source: mattermost/mattermost-server

I run into another dependency problem in 4.10 - fork of github.com/spf13/viper that is imported from original library path. Downstream it creates practical problem of building Mattermost with reusable _spf13/viper_ library let alone abomination of library name space...

Therefore, please:

Import the library from its own path without faking the original library.

Counterfeiting original library is ugly and wrong. Please don't do that.

Make sure that fork is _really_ necessary and first try to work with developer of the library to avoid needless forking.

On this instance, forking _spf13/viper_ seems unnecessary because it is actively maintained.

Most helpful comment

All 8 comments

FYI @hmhealey.

Hi @onlyjob,

I didn't realize that I forgot to change those references. We still need our fork since we added some functionality that hasn't been accepted back into the main repository yet.

I've filed a Jira ticket to track this better which I'll hopefully get to later this week.
https://mattermost.atlassian.net/browse/MM-10769

Closing this issue for now as it can be tracked with the Jira ticket linked above.

I would prefer you to close this ticket when issue is actually fixed.

Here is upstream merge request which seems to be a reason for forking: https://github.com/spf13/viper/pull/479

Thanks. :)

Thanks. :)

Was this page helpful?
0 / 5 - 0 ratings