https://github.com/ddanilov/debian-popcon-clj
Plot popularity contest statistics of Debian packages
https://github.com/ddanilov/debian-popcon-clj
clojure debian packages popcon
Last synced: 4 months ago
JSON representation
Plot popularity contest statistics of Debian packages
- Host: GitHub
- URL: https://github.com/ddanilov/debian-popcon-clj
- Owner: ddanilov
- License: mit
- Created: 2022-04-10T08:14:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-13T13:44:52.000Z (over 1 year ago)
- Last Synced: 2025-02-01T06:43:40.768Z (5 months ago)
- Topics: clojure, debian, packages, popcon
- Language: Clojure
- Homepage:
- Size: 179 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://coveralls.io/github/ddanilov/debian-popcon-clj)
# Intro
This is a `clojure` script to plot [Debian Popularity
Contest](https://popcon.debian.org/) data. The difference to graphs from
(e.g. for
[openjdk-17-jre](https://qa.debian.org/popcon-graph.php?packages=openjdk-17-jre))
is that the script will average number of installation over an interval (month,
quarter or year) and plot them normalized by a reference package.For example, running command
clojure -M:run/m -a q -r default-jre openjdk-8-jre openjdk-11-jre openjdk-17-jre
will produce the picture below where the installations of `openjdk-8-jre`,
`openjdk-11-jre` and `openjdk-17-jre` are normalized by installations of
`default-jre` package.
In the default configuration the numbers are averaged over month and the
reference package is `base-files`, but you can change it using command line
options.You can also run unit tests with coverage report:
clojure -M:test/kaocha
The same functionality implemented in `racket` can be found at
.