repomate 0.1.2 → 0.1.3
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/lib/repomate/configuration.rb +1 -1
- metadata +11 -51
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: repomate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,11 +10,11 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2012-05-
|
|
13
|
+
date: 2012-05-13 00:00:00.000000000Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: slop
|
|
17
|
-
requirement: &
|
|
17
|
+
requirement: &70251669167740 !ruby/object:Gem::Requirement
|
|
18
18
|
none: false
|
|
19
19
|
requirements:
|
|
20
20
|
- - ~>
|
|
@@ -22,10 +22,10 @@ dependencies:
|
|
|
22
22
|
version: 3.0.4
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
|
-
version_requirements: *
|
|
25
|
+
version_requirements: *70251669167740
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: gpgme
|
|
28
|
-
requirement: &
|
|
28
|
+
requirement: &70251669167260 !ruby/object:Gem::Requirement
|
|
29
29
|
none: false
|
|
30
30
|
requirements:
|
|
31
31
|
- - ~>
|
|
@@ -33,10 +33,10 @@ dependencies:
|
|
|
33
33
|
version: 2.0.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
|
-
version_requirements: *
|
|
36
|
+
version_requirements: *70251669167260
|
|
37
37
|
- !ruby/object:Gem::Dependency
|
|
38
38
|
name: sqlite3
|
|
39
|
-
requirement: &
|
|
39
|
+
requirement: &70251669166440 !ruby/object:Gem::Requirement
|
|
40
40
|
none: false
|
|
41
41
|
requirements:
|
|
42
42
|
- - ~>
|
|
@@ -44,10 +44,10 @@ dependencies:
|
|
|
44
44
|
version: 1.3.6
|
|
45
45
|
type: :runtime
|
|
46
46
|
prerelease: false
|
|
47
|
-
version_requirements: *
|
|
47
|
+
version_requirements: *70251669166440
|
|
48
48
|
- !ruby/object:Gem::Dependency
|
|
49
49
|
name: colors
|
|
50
|
-
requirement: &
|
|
50
|
+
requirement: &70251669165920 !ruby/object:Gem::Requirement
|
|
51
51
|
none: false
|
|
52
52
|
requirements:
|
|
53
53
|
- - ~>
|
|
@@ -55,48 +55,8 @@ dependencies:
|
|
|
55
55
|
version: 0.0.6
|
|
56
56
|
type: :runtime
|
|
57
57
|
prerelease: false
|
|
58
|
-
version_requirements: *
|
|
59
|
-
description:
|
|
60
|
-
is really new and not completely tested. Use it at your own risk.\n\n\n## The idea\n\nThe
|
|
61
|
-
idea was to create a small, leightweight and easy to use debian repository management
|
|
62
|
-
tool that provides a staging area for jenkins package builds using fpm-cookery,
|
|
63
|
-
basic gpg support and some custom features.\n\nEvery destructive action can be reverted.\n\nIt's
|
|
64
|
-
roughly not finished yet!\n\n### Package lifecycle\n\nAs mentioned before, RepoMate
|
|
65
|
-
has a staging area. Every package you are trying to add through the commandline
|
|
66
|
-
interface will be copied to the staging area. This action will not affect your production
|
|
67
|
-
pool.\nYou have to publish a package or a set of packages to bring them into production.
|
|
68
|
-
When you do, the selected packages will be moved from \"stage\" to \"pool\" (This
|
|
69
|
-
is like an archive) and linked from the \"pool\" to \"dists\".\nNote that \"dists\"\"
|
|
70
|
-
normally contains just all the metafiles like Packages or Packages.gz.\nWe like
|
|
71
|
-
to have all what apt needs in just one directory.\n\nnewpackage -> (add) -> stage
|
|
72
|
-
-> (publish) -> production\n\n\n## Features\n\n### Checkpoints\n\nCheckpoints may
|
|
73
|
-
help if you accidently published a bunch of packages to the wrong suite (lenny,
|
|
74
|
-
squeeze,…) or component (main, contrib, non-free,…).\n\nIf you did:\n\n repomate
|
|
75
|
-
load\n\nChoose the last checkpoint and be happy again.\n\nNote that checkpoints
|
|
76
|
-
will be auto-saved before each publish sequence.\n\n## Installation\n\n### Repository
|
|
77
|
-
server\n\ndpkg is used to compare package versions. I tried to do it on my own,
|
|
78
|
-
but debian uses very annoying version strings with a couple of variants.\n\nPlease
|
|
79
|
-
make sure you have the following packages installed:\n\n* ruby\n* dpkg\n* libsqlite3-dev\n\n####
|
|
80
|
-
Get RepoMate\n \n gem install repomate\n \n#### Configure RepoMate\n\nGPG
|
|
81
|
-
ist enabled by default. If you don't want it, just set the value of gpg_enable to
|
|
82
|
-
\"no\" otherwise generate a gpg key and add the needed values to the configfile.\n\nCreate
|
|
83
|
-
the config file if you don't want the default configuration.\n \n vi ~/.repomate\n
|
|
84
|
-
\ \nSample config:\n \n ---\n :rootdir: /var/lib/repomate/repository\n
|
|
85
|
-
\ :logdir: /var/log/repomate\n :dpkg: /usr/bin/dpkg\n :suites:\n -
|
|
86
|
-
lenny\n - squeeze\n :components:\n - main\n - contrib\n
|
|
87
|
-
\ :architectures:\n - all\n - amd64\n :origin: Repository\n :label:
|
|
88
|
-
Repository\n :gpg_enable: yes\n :gpg_email: someone@example.net\n :gpg_password:
|
|
89
|
-
secret\n \n \n#### Configure webserver\n\nConfigure your favorite webserver by
|
|
90
|
-
adding RepoMate's rootdirectory to a site or vhost.\n\n#### Adding packages\n\n
|
|
91
|
-
\ repomate add -s squeeze package.deb\n repomate publish\n\n\n### Client\n\nAdd
|
|
92
|
-
something like this to your machines /etc/apt/sources.list:\n \n deb [arch=all,amd64]
|
|
93
|
-
http://server/repository squeeze main \n \n\n### Examples\n\nSetup base directory
|
|
94
|
-
structure (optional):\n\n repomate setup -s squeeze [ -c main ]\n\nAdd a package
|
|
95
|
-
to the staging area:\n\n repomate add -s squeeze <path_to_packagefile>\n\nPublish
|
|
96
|
-
all packages from the staging area. That means they will be linked to production:\n\n
|
|
97
|
-
\ repomate publish\n\nLoad a checkpoint:\n\n repomate load\n\nSave a checkpoint:\n\n
|
|
98
|
-
\ repomate save\n\nList all packages in pool:\n\n repomate listpackages -r
|
|
99
|
-
pool\n\nList all packages in stage:\n\n repomate listpackages -r stage\n"
|
|
58
|
+
version_requirements: *70251669165920
|
|
59
|
+
description: A tool to manage Debian repositories
|
|
100
60
|
email:
|
|
101
61
|
- flo@doobie.cc
|
|
102
62
|
- michael.ehrenreich@me.com
|