Merge lp:~jose/charms/precise/distcc/fix-various into lp:charms/distcc

Proposed by José Antonio Rey
Status: Merged
Merged at revision: 9
Proposed branch: lp:~jose/charms/precise/distcc/fix-various
Merge into: lp:charms/distcc
Diff against target: 124 lines (+61/-43)
3 files modified
README (+0/-43)
README.md (+56/-0)
metadata.yaml (+5/-0)
To merge this branch: bzr merge lp:~jose/charms/precise/distcc/fix-various
Reviewer Review Type Date Requested Status
Charles Butler (community) Approve
Review via email: mp+212802@code.launchpad.net

Commit message

Added categories and icon, reformatted README to Markdown

Description of the change

Added icon

Added categories

Changed README to Markdown, as it's now used by CharmWorld

To post a comment you must log in.
10. By José Antonio Rey

Removed icon as it didn't comply with CS policies

11. By José Antonio Rey

Improved README file

Revision history for this message
Charles Butler (lazypower) wrote :

Thanks Jose!

LGTM, Merging.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'README'
2--- README 2012-03-05 15:43:20 +0000
3+++ README 1970-01-01 00:00:00 +0000
4@@ -1,43 +0,0 @@
5-distcc is a program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network. distcc should always generate the same results as a local build, is simple to install and use, and is usually much faster than a local compile.
6-
7-distcc does not require all machines to share a filesystem, have synchronized clocks, or to have the same libraries or header files installed. They can even have different processors or operating systems, if cross-compilers are installed.
8-
9-More information about distcc at: http://www.distcc.org
10-
11-
12-About this charm
13-
14-It's a pretty simple charm that provides a peer interface ( distcc-cluster ). This interface allows you to deploy the distcc charm as a single node and add-unit to create a distcc farm or, deploy x number of them in one command to easily create a distcc farm.
15-
16-The configurable options are pretty self explanatory and are detailed below:
17-
18-options:
19- port:
20- default: 3632
21- type: int
22- description: Port to use to run distcc
23- nice:
24- default: 10
25- type: int
26- description: You can specify a (positive) nice level for the distcc process here
27- jobs:
28- default: 10
29- type: int
30- description: You can specify a maximum number of jobs, the server will accept concurrently.
31- zeroconf:
32- default: false
33- type: string
34- description: Enable Zeroconf support?# If enabled, distccd will register via mDNS/DNS-SD. It can then automatically be found by zeroconf enabled distcc clients without the need of a manually configured host list.
35- distcc_options:
36- default: cpp,lzo
37- type: string
38- description: distcc options for each host in the farm
39- existing_distcc:
40- default: auto
41- type: string
42- description: Connect this node to an existing distcc ( host:port ).
43-
44-
45-Note: To be able to connect distcc to an _existing_ distcc farm ( by changing the existing_distcc option ), this service needs to be exposed.
46-
47-
48
49=== added file 'README.md'
50--- README.md 1970-01-01 00:00:00 +0000
51+++ README.md 2014-04-16 03:09:38 +0000
52@@ -0,0 +1,56 @@
53+# Overview
54+
55+distcc is a program to distribute builds of C, C++, Objective C or Objective C++
56+code across several machines on a network. distcc should always generate the
57+same results as a local build, is simple to install and use, and is usually much
58+faster than a local compile.
59+
60+distcc does not require all machines to share a filesystem, have synchronized
61+clocks, or to have the same libraries or header files installed. They can even
62+have different processors or operating systems, if cross-compilers are
63+installed.
64+
65+More information about distcc can be found [here](http://www.distcc.org).
66+
67+
68+# Usage
69+
70+It's a pretty simple charm that provides a peer interface (distcc-cluster). This
71+interface allows you to deploy the distcc charm as a single node and add-unit to
72+create a distcc farm or, deploy x number of them in one command to easily create
73+a distcc farm.
74+
75+First, start by bootstrapping your environment:
76+
77+ juju bootstrap
78+
79+Then, deploy the service:
80+
81+ juju deploy distcc
82+
83+Finally, expose the service to the world:
84+
85+ juju expose distcc
86+
87+You can check the public address of the instance by executing `juju status`.
88+
89+# Configuration
90+
91+The configurable options are pretty self explanatory and are detailed below:
92+
93+ * port: Port to use to run distcc (default: 3632)
94+ * nice: You can specify a (positive) nice level for the distcc process here
95+ (default: 10)
96+ * jobs: You can specify a maximum number of jobs, the server will accept
97+ concurrently (default: 10)
98+ * zeroconf: Enable Zeroconf support? If enabled, distccd will register via
99+ mDNS/DNS-SD. It can then automatically be found by zeroconf enabled distcc
100+ clients without the need of a manually configured (default: false) host list.
101+ * distcc_options: distcc options for each host in the farm (default: cpp,lzo)
102+ * existing_distcc: Connect this node to an existing distcc (host:port)
103+ (default: auto)
104+
105+Note: To be able to connect distcc to an _existing_ distcc farm (by changing the
106+existing_distcc option), this service needs to be exposed.
107+
108+
109
110=== modified file 'metadata.yaml'
111--- metadata.yaml 2012-05-22 06:08:01 +0000
112+++ metadata.yaml 2014-04-16 03:09:38 +0000
113@@ -8,6 +8,11 @@
114 significantly faster than a local compile. distcc does not require
115 all machines to share a filesystem, have synchronized clocks, or to
116 have the same libraries or header files installed.
117+categories:
118+ - applications
119+provides:
120+ distcc-server:
121+ interface: distcc-server
122 peers:
123 distcc-cluster:
124 interface: distcc-cluster

Subscribers

People subscribed via source and target branches

to all changes: