https://github.com/red-data-tools/apt-dists-merge
A tool to merge APT's dists/
https://github.com/red-data-tools/apt-dists-merge
Last synced: about 1 year ago
JSON representation
A tool to merge APT's dists/
- Host: GitHub
- URL: https://github.com/red-data-tools/apt-dists-merge
- Owner: red-data-tools
- License: mit
- Created: 2021-09-24T22:27:44.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-02T05:37:30.000Z (over 4 years ago)
- Last Synced: 2025-03-17T02:17:50.422Z (over 1 year ago)
- Language: Ruby
- Size: 61.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# APT dists merge
## Description
APT dists merge provides a tool and a library to merge `dists/` contents for APT repository.
Generally, you should use more general APT repository management tool such as [aptly](https://www.aptly.info/) and [reprepro](https://salsa.debian.org/brlink/reprepro).
APT dists merge is useful when you want to manage `pool/` by yourself and add `.deb`s incrementally without keeping all `.deb`s for the target APT repository on local.
Use cases:
* [Apache Arrow](https://github.com/apache/arrow/blob/master/dev/release/binary-task.rb)
* [Groonga](https://github.com/groonga/packages.groonga.org)
* [Red Data Tools](https://github.com/red-data-tools/packages.red-data-tools.org)
## Install
```bash
gem install apt-dists-merge
```
## Usage
Tool:
```bash
apt-dists-merge --base base/dists/ --new new/dists/ --output merged/dists/
```
Library:
```ruby
require "apt-dists-merge"
merger = APTDistsMerge::Merger.new("base/dists/", "new/dists/")
merger.merge("merged/dists/")
```
## License
The MIT license. See `LICENSE.txt` for details.