Skip to content

Conversation

luke-jr
Copy link
Member

@luke-jr luke-jr commented Jan 14, 2016

This is not consensus-critical code, so really had no excuse to be subtree'd in the first place.

@luke-jr luke-jr force-pushed the sys_univalue branch 2 times, most recently from b4f6034 to 1d13699 Compare January 14, 2016 01:01
@luke-jr
Copy link
Member Author

luke-jr commented Jan 14, 2016

Actually, this loses a bugfix, so @jgarzik needs to release UniValue 1.0.2 to make this sane...

@luke-jr
Copy link
Member Author

luke-jr commented Jan 14, 2016

Also, I believe the Travis failure crash is unrelated to this PR, and a bug in UniValue (or Core) that we need to fix independently of this - but I can't reproduce it... :/

@@ -0,0 +1,21 @@
package=univalue
$(package)_version=1.0.1
$(package)_download_path=https://codeload.github.com/jgarzik/$(package)/tar.gz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use the bitcoin/univalue.git repository to allow multiple people to maintain the repository (the subtree is also pointing to bitcoin/univalue.git).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK that's just a mirror of @jgarzik 's upstream? Note he could very well add additional maintainers to his upstream repo as well, if he wants.

@jonasschnelli
Copy link
Contributor

Hmm.. not sure about that.
If I'm right, this would mean, in order to compile bitcoin-core, users need to checkout the univalue git repository and compile univalue by themselves unless there is broad support over package managers (apt-get, etc.)?

IMO we should use subtrees for dependencies that are not available over common package managers (bdb4.8 might be an exception because a) not really necessary [--with-incompatible-bdb] and b) wallet only).

@laanwj
Copy link
Member

laanwj commented Jan 14, 2016

NACK. Univalue is a nice and small library, and it's useful to have it included.. This makes it much easier for people that want to build.

I'd be OK with the option to use an external univalue, but don't remove the internal one.

@luke-jr
Copy link
Member Author

luke-jr commented Jan 14, 2016

@laanwj Is it really so much harder to run:

make -C depends univalue

@maflcko
Copy link
Member

maflcko commented Jan 14, 2016

make -C depends univalue

You'd have to update doc/build*

@luke-jr
Copy link
Member Author

luke-jr commented Jan 15, 2016

Apparently the depends system can't actually be used in the way I expected.

While I still think this is the correct way to go, I'll start with making it an option for now... in #7349

@luke-jr luke-jr closed this Jan 15, 2016
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants