Add installation and packaging targets #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitLab username
grafml
Completed tasks
I completed all mandatory and all optional tasks.
The runtime Debian package (see remark below) does indeed contain
libyaml-cppas a dependency in the unpacked.debfile under<unpacked_debian>/DEBIAN/control.There is a significant difference in memory consumption between stripped and unstripped files, see table below.
The development Debian package is fully
lintiancompliant, that is, neither errors nor warnings occur.I use an entry point shell file such that the Docker container automatically creates the packages once started.
I was only able to satisfy everything
lintiandemanded by embracing a split into a development package (libcpackexample-dev_0.1.0_amd64.deb) and a runtime package (libcpackexample1_0.1.0_amd64.deb).Reproducing the results
Since the Docker container contains the entry point shell script, the following instructions suffice to reproduce the results. Inside the root folder of my fork, please execute:
If you want to install the packages and run
cpackexamplein the subsequent bash session, please entercd out apt install ./libcpackexample-dev_0.1.0_amd64.deb ./libcpackexample1_0.1.0_amd64.deb cpackexampleUse of AI
Especially for figuring out how to achieve
lintiancompliance, I used ChatGPT. This includedlintianis fine with it