tentacle 0.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +13 -2
- data/Rakefile +1 -1
- data/bin/tentacle +3 -0
- data/lib/tentacle.rb +1 -1
- metadata +4 -3
data/README.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
# tentacle
|
2
2
|
|
3
|
-
|
3
|
+
Command line YUM repository browser/agregattor.
|
4
|
+
|
5
|
+
# Features
|
6
|
+
|
7
|
+
* Digs YUM repositories to search for RPM packages
|
8
|
+
* Multiple repositories supported
|
9
|
+
* Most used Fedora/RHEL repositories included (Fedora, CentOS, EPEL, Fusion, Repoforge, PowerStack, RBEL, ...)
|
4
10
|
|
5
11
|
# Installation
|
6
12
|
|
@@ -44,7 +50,12 @@ Search for ruby packages in RHEL5 compatible repositories
|
|
44
50
|
|
45
51
|
Search for ruby packages in RBEL 5 repository. The list of available repo-ids is displayed with 'tentacle available-repos'
|
46
52
|
|
47
|
-
|
53
|
+
**Search only SRPMS**
|
54
|
+
|
55
|
+
tentacle search --source ruby-1.9
|
56
|
+
|
57
|
+
Search for Source RPMS matching ruby-1.9
|
58
|
+
|
48
59
|
# Copyright
|
49
60
|
|
50
61
|
Copyright (c) 2011 Sergio Rubio. See LICENSE.txt for
|
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ Jeweler::Tasks.new do |gem|
|
|
10
10
|
gem.homepage = "http://github.com/rubiojr/tentacle"
|
11
11
|
gem.license = "MIT"
|
12
12
|
gem.summary = %Q{Digs YUM repositories to search for RPM packages}
|
13
|
-
gem.description = %Q{Digs
|
13
|
+
gem.description = %Q{Digs YUM repositories to search for RPM packages}
|
14
14
|
gem.email = "rubiojr@frameos.org"
|
15
15
|
gem.authors = ["Sergio Rubio"]
|
16
16
|
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
data/bin/tentacle
CHANGED
@@ -43,12 +43,15 @@ class SearchCommand < Clamp::Command
|
|
43
43
|
|
44
44
|
option "--distro-class", "CLASS", "Filter by distro class"
|
45
45
|
option "--repo-id", "CLASS", "Filter by distro class"
|
46
|
+
option "--source", :flag, "Search only SRPMS"
|
46
47
|
parameter "PKG", "Search for packages matching PKG", :attribute_name => :pkg
|
47
48
|
|
48
49
|
def execute
|
49
50
|
$stdout.sync = true
|
50
51
|
puts "Searching packages matching #{pkg.dup.magenta}..."
|
51
52
|
FeedCollection.all.each do |fc|
|
53
|
+
next if source? and not fc.repo_id =~ /-src$/
|
54
|
+
|
52
55
|
if repo_id and fc.repo_id != repo_id
|
53
56
|
next
|
54
57
|
end
|
data/lib/tentacle.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tentacle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Sergio Rubio
|
@@ -103,7 +104,7 @@ dependencies:
|
|
103
104
|
version: "0.1"
|
104
105
|
type: :runtime
|
105
106
|
version_requirements: *id006
|
106
|
-
description: Digs
|
107
|
+
description: Digs YUM repositories to search for RPM packages
|
107
108
|
email: rubiojr@frameos.org
|
108
109
|
executables:
|
109
110
|
- tentacle
|