apt-dists-merge 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +6 -0
- data/lib/apt-dists-merge/merger.rb +7 -0
- data/lib/apt-dists-merge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef31495cb9b09b7fc8b25c6dbc9f19b120688df0601e0509347853cb34f719d9
|
4
|
+
data.tar.gz: 5079ac9e753fa4632d0a66c47613c2e1d21c0c5a4cdc507de0e0bd87ba654b42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc984eec77ddc7e141437e26a258f2974793016c4a7f5910cc079bcb79126454025e2d18308ec6a77b33df401d5c8094d7be11f12b6db71c5e97fb7067acbd02
|
7
|
+
data.tar.gz: b39f2528af747b17d5aaeb781fe413c562d256a65907c915287a9decb1d5a7bb6cba646b03e4643e7e91fb214813508e8c5f46edc130c6894c8d031ff83583d0
|
data/NEWS.md
CHANGED
@@ -9,6 +9,13 @@ module APTDistsMerge
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def merge
|
12
|
+
unless File.exist?(@base_dir)
|
13
|
+
FileUtils.rm_rf(@merged_dir)
|
14
|
+
FileUtils.mkdir_p(@merged_dir)
|
15
|
+
FileUtils.cp_r(Dir.glob("#{@incoming_dir}/*"), @merged_dir)
|
16
|
+
return true
|
17
|
+
end
|
18
|
+
|
12
19
|
components = (detect_components(@base_dir) |
|
13
20
|
detect_components(@incoming_dir))
|
14
21
|
components.each do |component|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apt-dists-merge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sutou Kouhei
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Generally, you should use more general APT repository management tool
|
14
14
|
such as [aptly](https://www.aptly.info/) and [reprepro](https://salsa.debian.org/brlink/reprepro).
|