upm 0.0.0

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.
Files changed (7) hide show
  1. checksums.yaml +7 -0
  2. data/.gemspec +27 -0
  3. data/LICENSE +13 -0
  4. data/README.md +72 -0
  5. data/Rakefile +16 -0
  6. data/VERSION +1 -0
  7. metadata +52 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 60027059fa9203a42da7e7fddd3fafc34f889d49
4
+ data.tar.gz: 4b37928fe24f4eeb3336fbd70eb74ec02c58e110
5
+ SHA512:
6
+ metadata.gz: 875dfba6634cd5121ea32b22342b7a8b659d56668c0bb0c23b5e08d128ef09b6bc44e7df1eff73dbaffcdd5cc4db739501364d5471382606367da09dbe3c144d
7
+ data.tar.gz: 4c56742fd0d34c5ab7201a17691f1f02f98aa7f48f1a4e5ec35ae11ae27c765a7a3350ea2a9b3225137e32a4309fc46ba38c6d43391048aae50896af821fab44
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ # -*- coding: utf-8 -*-
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = "upm"
6
+
7
+ s.version = File.read "VERSION"
8
+ s.date = File.mtime("VERSION").strftime("%Y-%m-%d")
9
+
10
+ s.summary = "Universal Package Manager"
11
+ s.description = "Wrap all known command-line package tools with a consistent and pretty interface."
12
+
13
+ s.homepage = "http://github.com/epitron/upm/"
14
+ s.licenses = ["WTFPL"]
15
+
16
+ s.email = "chris@ill-logic.com"
17
+ s.authors = ["epitron"]
18
+
19
+ # s.executables = ["upm", "up", "u"]
20
+
21
+ s.files = `git ls`.lines.map(&:strip)
22
+ s.extra_rdoc_files = ["README.md", "LICENSE"]
23
+
24
+ # s.require_paths = %w[lib]
25
+
26
+ # s.add_dependency "slop", "~> 3.0"
27
+ end
data/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2
+ Version 2, December 2004
3
+
4
+ Copyright (C) 2004 Sam Hocevar
5
+ 14 rue de Plaisance, 75014 Paris, France
6
+ Everyone is permitted to copy and distribute verbatim or modified
7
+ copies of this license document, and changing it is allowed as long
8
+ as the name is changed.
9
+
10
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
11
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12
+
13
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
@@ -0,0 +1,72 @@
1
+ # upm: Universal Package Manager
2
+
3
+ ## Usage:
4
+
5
+ ```
6
+ upm <command> <pkg>
7
+ up <command> <pkg>
8
+ u <command> <pkg>
9
+ ```
10
+
11
+ ## Commands
12
+
13
+ * list
14
+ * search
15
+ * install
16
+ * sync/update
17
+ * upgrade
18
+ * log - show history of package installs
19
+ * pin
20
+ * rollback
21
+ * packagers - detect package systems, and enable/disable them
22
+ * sources/mirrors - select remote repositories and mirrors
23
+ * verfiy - verifies integrity of installed packages
24
+ * remove
25
+ * clean
26
+ * build
27
+ * monitor - ad-hoc package manager for custom installations (like instmon)
28
+ * keys - keyrings and package authentication
29
+ * default - configurable default action (defaults to update only the OS)
30
+
31
+ ### All searches and package names can be prefixed with their namespace:
32
+
33
+ ```
34
+ ruby:<pkg> (or r:)
35
+ deb:<pkg> (or d:)
36
+ rpm:<pkg>
37
+ python:<pkg>
38
+ py:<pkg>
39
+ pip:<pkg>
40
+ ```
41
+
42
+ ### ...or suffixed with its file extension:
43
+
44
+ ```
45
+ <pkg>.gem
46
+ <pkg>.deb
47
+ <pkg>.rpm
48
+ <pkg>.pip
49
+ ```
50
+
51
+ ## Supported packagers:
52
+
53
+ * OpenBSD: pkg_add
54
+ * FreeBSD: pkg
55
+ * RedHat/Fedora/Centos: yum/rpm
56
+ * Debian/Ubuntu: apt-get/dpkg (+ curated list of ppa's)
57
+ * Windows: apt-cyg/nuget/"winget" (new package manager)
58
+ * Arch: pacman/aur/abs (svn mirror)
59
+ * Mac OSX: brew/fink
60
+ * Python: pip/easy_install
61
+ * Ruby: rubygems
62
+ * Haskell: cabal
63
+ * Perl: cpan
64
+ * go: go-get
65
+ * Java: ?
66
+
67
+
68
+ ## TODOs:
69
+
70
+ * Build using the pretty text-mode UI that passenger-install uses
71
+ * Context-dependent operation
72
+ * if you're in a ruby project, prioritize the 'ruby' namespace
@@ -0,0 +1,16 @@
1
+ gem_version = File.read("VERSION").strip
2
+ pkgname = "upm"
3
+
4
+ task :build do
5
+ system "gem build .gemspec"
6
+ end
7
+
8
+ task :release => :build do
9
+ system "gem push #{pkgname}-#{gem_version}.gem"
10
+ end
11
+
12
+ task :gem => :release
13
+
14
+ task :install => :build do
15
+ system "gem install #{pkgname}-#{gem_version}.gem"
16
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.0
metadata ADDED
@@ -0,0 +1,52 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: upm
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - epitron
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-07-12 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Wrap all known command-line package tools with a consistent and pretty
14
+ interface.
15
+ email: chris@ill-logic.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files:
19
+ - README.md
20
+ - LICENSE
21
+ files:
22
+ - ".gemspec"
23
+ - LICENSE
24
+ - README.md
25
+ - Rakefile
26
+ - VERSION
27
+ homepage: http://github.com/epitron/upm/
28
+ licenses:
29
+ - WTFPL
30
+ metadata: {}
31
+ post_install_message:
32
+ rdoc_options: []
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ requirements: []
46
+ rubyforge_project:
47
+ rubygems_version: 2.4.5
48
+ signing_key:
49
+ specification_version: 4
50
+ summary: Universal Package Manager
51
+ test_files: []
52
+ has_rdoc: