Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fsrv-xyz/distroinfo
Debian/Ubuntu distro-info information usable inside golang projects
https://github.com/fsrv-xyz/distroinfo
debian golang linux ubuntu versioning
Last synced: about 5 hours ago
JSON representation
Debian/Ubuntu distro-info information usable inside golang projects
- Host: GitHub
- URL: https://github.com/fsrv-xyz/distroinfo
- Owner: fsrv-xyz
- License: bsd-3-clause
- Created: 2022-06-25T08:17:03.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T13:42:32.000Z (8 days ago)
- Last Synced: 2024-10-31T14:37:07.548Z (8 days ago)
- Topics: debian, golang, linux, ubuntu, versioning
- Language: Go
- Homepage: https://ref.ci/fsrvcorp/libraries/distroinfo
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# distroinfo
The `distro-info` and `distro-info-data` debian/ubuntu package provides centralized lists of code-names and release
history for the supported distributions (Currently: Debian and Ubuntu).This package makes these information usable inside golang projects.
---
### installation
```shell
$ go get github.com/fsrv-xyz/distro-info
```### usage
See the contents of the [example directory](https://github.com/fsrv-xyz/distroinfo/tree/master/example) for basic usage.---
### internals
#### updates
The `distroinfo` package is updated regularly. If you need to update the information on your own, you can use the generate script inside the `data` directory.Requirements:
* bash
* curl
* jq
* python3
* an internet connection ;)The current version of the latest debian package is pinned in [generate.go](https://github.com/fsrv-xyz/distroinfo/blob/master/generate.go).
Run `go generate` to update the information.