Open wbqpk3 opened 1 month ago
Hi This is a great achievement. Is there an installation description somewhere? gsd
Yes, it's documented here: https://github.com/wbqpk3/CodeCompass/blob/packaging/doc/packaging.md
Related to #478, but the conclusion there was to implement either a Snapcraft or an AppImage approach as a solution. I will keep this PR open for now, but #774 seems to supersede it, so we will might not need this in the future.
The goal of this patch is to allow users to easily install CodeCompass without compiling from source.
See
doc/packaging.md
for documentation.The resulting
.deb
package is about150MB
in size. Runtime dependencies are always included in the package (such asODB
), but in total these only take up about20MB
in space uncompressed.The package has been tested on a fresh
Ubuntu 22.04 server
image. First, the required dependencies were installed (fromdoc/deps.md
guide), and a builtcodecompass.deb
package. Then, it successfully parsed a C++ project and ran the webserver. It was not needed to compileODB
since it's included in the.deb
package.It's also possible to create a Linux distribution specific package such as for
Ubuntu 22.04
which also pulls all the required dependencies specific to the distribution. The dependencies can be specified usingPACKAGE_DEPENDS
(seedoc/packaging.md
).