daald / dpkg-licenses Goto Github PK
View Code? Open in Web Editor NEWA command line tool which lists the licenses of all installed packages in a Debian-based system (like Ubuntu)
License: GNU General Public License v3.0
A command line tool which lists the licenses of all installed packages in a Debian-based system (like Ubuntu)
License: GNU General Public License v3.0
:)
thanks, this is awesome. if i'd like the output to say GPL, GPL-2, GPL-3
instead of GPL GPL-2 GPL-3
, how can I do that?
Is there any way to gather license information for this package, or if not, how can we continue listing package licenses past this point?
stderr output from dpkg-licenses
:
WARNING: Unknown format of /usr/share/doc/csh/copyright: Format: http://www.debian.org/doc/copyright-format/1.0
If there is a github "release" in this repository, then CI/CD systems can be configured to pull a (largely immutable) tarball of these scripts directly from Github.
Currently the list of licenses is space-separated. The problem with this is that some licenses have spaces in their names.
It would be easier for further processing, if the separator was some character that does not occur in license names. Maybe it would be best, if the user could specify the chraracter as an optional command-line option. This would make the feature backwards compatible and also make it possible to change the character if there are clashes with some (future) license names.
The dependency to bash seems to be unnecessary. Also gnu grep (with its option -P) is not required, if the regex is slightly modified. Please see my wipu@890fe90 which I tested with several busybox-based images that only have a busybox sh and grep.
You may want to do the same to make the tool usable in a wider set of environments.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.