Hi,

I was trying to generate Java APIs based on VPP DEB and RPM packages. With 
Debian everything works. With RPM packages I have some difficulties. In Debian 
packages I am able to distinguish between Core API files and plugin API files 
because VPP debian package contains only core api.json and vpp-plugins  DEB 
package contains plugin api.json files. However this is not the case for RPM 
where both vpp and vpp-plugin packages contain both core and plugin api.json 
files. I think that RPMs should follow the same file scheme as DEB packages. 
Now I need to have an internal list of api files for plugins and I need to 
remove them from core files. This is needed because Java Api first generates 
core APIs and afterwards plugin APIs. This list can now only be maintained 
manually. Other option is to use VPP source which seems like overhead to me 
because the same can be done with installed vpp vpp-dev and vpp-plugin packages.

Can anyone take a look and verify if this can be fixed?

Either way I think it is not necessary for both RPM packages to contain 
duplicate files

You can verify this on packages uploaded to package cloud (I checked master and 
18.10 stable but probably this is the same for all versions):
https://packagecloud.io/fdio/1810/packages/el/7/vpp-18.10-16~ge351f35~b63.x86_64.rpm?
https://packagecloud.io/fdio/1810/packages/el/7/vpp-plugins-18.10-16~ge351f35~b63.x86_64.rpm?

https://packagecloud.io/fdio/1810/packages/ubuntu/xenial/vpp_18.10-16~ge351f35~b72_amd64.deb
https://packagecloud.io/fdio/1810/packages/ubuntu/xenial/vpp-plugins_18.10-16~ge351f35~b72_amd64.deb

thanks
Michal

[https://www.cisco.com/c/dam/m/en_us/signaturetool/images/banners/standard/06_standard_graphic.png]




Michal Cmarada
Engineer - Software
mcmar...@cisco.com<mailto:mcmar...@cisco.com>
Tel:










Cisco Systems, Inc.



Slovakia
cisco.com



[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]

Think before you print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here<http://www.cisco.com/c/en/us/about/legal/terms-sale-software-license-agreement/company-registration-information.html>
 for Company Registration Information.







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11552): https://lists.fd.io/g/vpp-dev/message/11552
Mute This Topic: https://lists.fd.io/mt/28717819/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to