如果打包完成后,需要在本地进行测试ok后再上传ftp,那么,需要做哪些check呢?
testing package
Copy:
-
Run lintian over the package. You can run lintian as follows: lintian -v package-version.changes. This will check the source package as well as the binary package. If you don’t understand the output that lintian generates, try adding the -i switch, which will cause lintian to output a very verbose description of the problem.Normally, a package should not be uploaded if it causes lintian to emit errors (they will start with E).For more information on lintian, see lintian.
-
Optionally run debdiff (see debdiff) to analyze changes from an older version, if one exists.
-
Install the package and make sure the software works in an up-to-date unstable system.
-
Upgrade the package from an older version to your new version.
-
Remove the package, then reinstall it.
-
Installing, upgrading and removal of packages can either be tested manually or by using the piuparts tool.
-
Copy the source package in a different directory and try unpacking it and rebuilding it. This tests if the package relies on existing files outside of it, or if it relies on permissions being preserved on the files shipped inside the .diff.gz file.
lintian
最大的得到lintian的输出:
Try lintian -I -E -v --pedantic
or set up .lintianrc file with these option enabled
消除 lintian error
Two kinds of lintian:
1.
iirc the format was d/
2.
source
d/source/xx.lintian-overrides
Correctly format:
bisect-ppx source: source-contains-prebuilt-javascript-object [src/vendor/highlight.js/highlight.pack.js]