Giter Club home page Giter Club logo

lintpkg's People

Contributors

idlemoor avatar pprkut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lintpkg's Issues

Run testsuite with GitHub Actions

It would be nice if we could run the testsuite with GitHub Actions. The challenge here is that (by default) GitHub Actions run on ubuntu. Running on Slackware would require a custom runner being hosted somewhere.
We can investigate, however, if we can get all the required dependencies available on a ubuntu system (pkgtools, primarily).
Another alternative would be trying to run the testsuite inside a Slackware docker container.

lintpkg does not take relative paths as argument

but I inserted one line and now it does:

--- lintpkg.orig 2017-01-20 12:15:41.699471760 +0000
+++ lintpkg 2017-01-20 13:19:24.493022010 +0000
@@ -437,6 +437,7 @@
PKG_LISTING=$(cat $PACKAGE | $packagecompression -dc | $TAR ts)
PKG_DETAILED_LISTING=$(cat $PACKAGE | $packagecompression -dc | $TAR tvs)

  • PACKAGE=$( realpath $PACKAGE )
    cd $WORKING_DIR

    ( umask 000 ; cat $PACKAGE | $packagecompression -dc | $TAR xf - 2> /dev/null )

Sync with latest pkgtools

Incorporate the changes to pkgtools from pkgtools 15.0 (and newer). Most importantly:

  • Change meaning of .tlz to tar.lz (lzip)
  • If possible, use multiple decompression threads.
  • Use recent tar, and support restoring POSIX ACLs and extended attributes.

Support package specific overrides

Not every rule is going to be universally applicable. There will always be room for exceptions. However, coding these exceptions directly into the lint checks isn't going to scale very well and may very well impact performance.
Instead, a way to let lintpkg know that a certain warning/error is not applicable is preferable. Still, they shouldn't be hidden completely. There should still be a way to see those warnings/errors, if one wants.

The override functionality from lintian is a pretty close match to that behavior. The idea would be to introduce a /usr/share/lintpkg/overrides directory holding override information per package. The content of such a file would look like this:

# Binary needs to retain debugging info to be useful:
foo: unstripped-binary /usr/bin/foo 

As a start, every file affected should be listed. We can introduce support for wildcards later.

typo

Should be 'Existence' in README.md at 'Existance of an /install directory ...'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.