-
Notifications
You must be signed in to change notification settings - Fork 483
feat(copyright): Use package based dependency for json #1226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1193be1
to
007608d
Compare
appreciate this commit, but I did some testing on 3.4.0 rc1 already to make sure it is working. I am not so sure about adding this on short final. maybe tests fail because of timing issues of course. |
007608d
to
44174aa
Compare
44174aa
to
ac4b31a
Compare
The tests are now fixed. Can you please check again? |
(from discussion) let#s compare output of copyright with open ssl for external dependency and package dependency. |
(from discussion:) better to use the c++ lib instead of the c one |
Found And can be enabled in CentOS 7 using EPEL. |
9d88168
to
bdf28f9
Compare
Tested on Ubuntu 18.04 and CentOS 7 |
5ac724c
to
3639e51
Compare
Compilation failed on Fedora 27 and fixed accordingly. |
Remove dependency from external file for json-hpp and shift to packaged based dependency (libjsoncpp from Debian based and jsoncpp from RedHat based systems). (Since library is changed, no need to check GCC version) Signed-off-by: Gaurav Mishra <[email protected]>
Since json library is not independent of C++ version, the macro DISABLE_JSON is no longer required. Signed-off-by: Gaurav Mishra <[email protected]>
3639e51
to
0ce85bd
Compare
tested again with u1604: works |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works also for debian8 based package installaton
Description
Remove dependency from external file download for json-hpp and shift to packaged based dependency (
libjsoncpp
from Debian based andjsoncpp
from RedHat based systems).Changes
jsoncpp
package dependency.How to test
Compile the
copyright
package in Debian and RedHat based systems and check the JSON output.$ sudo ./utils/fo-installdeps -ye $ make copyright $ cd src/copyright/agent $ ./copyright -J ./copyright.cc
Closes #1084