brooklyn-dist.git
5 years agoobfuscate credential in output
Alex Heneveld [Wed, 2 Nov 2016 13:43:54 +0000 (13:43 +0000)] 
obfuscate credential in output

5 years agodeclare that 8081 should be exposed
Alex Heneveld [Wed, 2 Nov 2016 13:43:37 +0000 (13:43 +0000)] 
declare that 8081 should be exposed

5 years agoswitched to alpine
Alex Heneveld [Tue, 1 Nov 2016 18:13:17 +0000 (18:13 +0000)] 
switched to alpine

working alpine and ubuntu images:

    REPOSITORY                 TAG                     IMAGE ID            CREATED             SIZE
    brooklyncentral/brooklyn   0.10.0-SNAPSHOT-debug   b062efb658b5        4 minutes ago       570.8 MB
    brooklyncentral/brooklyn   0.10.0-SNAPSHOT         9530e7fa762c        10 minutes ago      288.2 MB

5 years agocan make docker image, suitable for standalone use or wrapping as an app quick-launcher
Alex Heneveld [Mon, 31 Oct 2016 15:20:58 +0000 (15:20 +0000)] 
can make docker image, suitable for standalone use or wrapping as an app quick-launcher

5 years agoCloses #55
Svetoslav Neykov [Mon, 31 Oct 2016 10:27:28 +0000 (12:27 +0200)] 
Closes #55

mirror of https://github.com/apache/brooklyn-server/pull/395 for karaf

5 years agoCloses #50
Svetoslav Neykov [Wed, 26 Oct 2016 14:42:04 +0000 (17:42 +0300)] 
Closes #50

Suppress log message about BouncyCastle in Karaf

The INFO message BouncyCastle not registered, using the default JCE
provider appears in the logs, coming from Karaf's SSH server module
(org.apache.sshd.core). Explicitly prevent sshd from registering BC
to suppress the message.

5 years agomirror of https://github.com/apache/brooklyn-server/pull/395 for karaf 55/head
Alex Heneveld [Wed, 26 Oct 2016 12:00:35 +0000 (13:00 +0100)] 
mirror of https://github.com/apache/brooklyn-server/pull/395 for karaf

5 years agoAdd reminder comment 50/head
Guglielmo Nigri [Wed, 26 Oct 2016 09:16:02 +0000 (11:16 +0200)] 
Add reminder comment

5 years agoCloses #54
Svetoslav Neykov [Wed, 26 Oct 2016 06:27:21 +0000 (09:27 +0300)] 
Closes #54

Added setenv script to karaf bin

This PR does the following:

  * adds a setenv script
  * sets default memory settings
  * checks if java is installed
  * sets the local loopback

This PR addresses the following issue
https://issues.apache.org/jira/browse/BROOKLYN-348
and ensures karaf scripts don't fail silently if java is
not installed.

5 years agoCloses #47
Svetoslav Neykov [Wed, 26 Oct 2016 06:24:56 +0000 (09:24 +0300)] 
Closes #47

Update tests following changes in files.preinstall inheritance

Need to update the tests following changes in inheritance
of files.preinstall, see apache/brooklyn-server#281.

This allows the tests defined in package-apps.yaml to work again.

Caveat: in the apt-upstart test on my machine, the 13. restart machine
step happens so quickly that Brooklyn doesn't even notice that the Vanilla
Software Process has gone down, so the step `14. check not running while
restarting' fails. Not sure what to do about that; however I have manually
tested that Brooklyn comes up again after the restart.

5 years agoCloses #46
Svetoslav Neykov [Wed, 26 Oct 2016 06:19:58 +0000 (09:19 +0300)] 
Closes #46

Update pom SCM & Jenkins URLs

5 years agoCloses #44
Svetoslav Neykov [Wed, 26 Oct 2016 06:19:28 +0000 (09:19 +0300)] 
Closes #44

Silence Karaf dist brooklyn.info.log

5 years agoupdated licence 54/head
Justin Thompson [Wed, 19 Oct 2016 11:15:35 +0000 (12:15 +0100)] 
updated licence

5 years agoadded setenv script which sets default memory settings, checks if java is installed...
Justin Thompson [Wed, 19 Oct 2016 11:10:47 +0000 (12:10 +0100)] 
added setenv script which sets default memory settings, checks if java is installed and sets the local loopback

5 years agoThis closes #53
Aled Sage [Tue, 11 Oct 2016 20:10:23 +0000 (21:10 +0100)] 
This closes #53

5 years agoarchetype’s catalog.bom set up as 0.1.0-SNAPSHOT 53/head
Aled Sage [Fri, 7 Oct 2016 16:42:09 +0000 (17:42 +0100)] 
archetype’s catalog.bom set up as 0.1.0-SNAPSHOT

Previously was 0.10.0-SNAPSHOT, but this is the version of the user’s
project rather than brooklyn.

Also removes the apache header because this is a starting point for
a user to create their own projects (which will not necessarily be
apache licensed). This starting file is extremely basic; it is a file
without any degree of creativity.

6 years agoThis closes #52
Aled Sage [Thu, 29 Sep 2016 11:45:13 +0000 (12:45 +0100)] 
This closes #52

6 years agoFix archetype test on Windows. 52/head
Svetoslav Neykov [Thu, 29 Sep 2016 09:58:42 +0000 (12:58 +0300)] 
Fix archetype test on Windows.

6 years agoThis closes #51
Aled Sage [Wed, 28 Sep 2016 20:08:46 +0000 (21:08 +0100)] 
This closes #51

6 years agoMake archetypeRepository configurable 51/head
Aled Sage [Wed, 28 Sep 2016 14:49:31 +0000 (15:49 +0100)] 
Make archetypeRepository configurable

If archetypeRepository is set when using the quickstart archetype,
then add that URL to the pom.xml. This allows a customer’s private
maven artifactory to be used for accessing timestamped builds of
Brooklyn (for example).

6 years agoSuppress log message about BouncyCastle in Karaf
Guglielmo Nigri [Wed, 28 Sep 2016 13:37:37 +0000 (15:37 +0200)] 
Suppress log message about BouncyCastle in Karaf

 The INFO message `BouncyCastle not registered, using the default JCE provider`
 appears in the logs, coming from Karaf's SSH server module (org.apache.sshd.core).
 Explicitly prevent sshd from registering BC to suppress the message.

6 years agoCloses #49
Svetoslav Neykov [Mon, 26 Sep 2016 09:06:21 +0000 (12:06 +0300)] 
Closes #49

downstream-parent: excludeTestGroup “Broken”

6 years agodownstream-parent: excludeTestGroup “Broken” 49/head
Aled Sage [Mon, 26 Sep 2016 08:54:18 +0000 (09:54 +0100)] 
downstream-parent: excludeTestGroup “Broken”

6 years agoCloses #40
Svetoslav Neykov [Thu, 15 Sep 2016 08:35:20 +0000 (11:35 +0300)] 
Closes #40

Release script updates

Updates made to support the release of 0.9.0.

6 years agoUpdate tests following changes in files.preinstall inheritance 47/head
Geoff Macartney [Tue, 13 Sep 2016 14:40:15 +0000 (15:40 +0100)] 
Update tests following changes in files.preinstall inheritance

Need to update the tests following changes in inheritance
of files.preinstall, see https://github.com/apache/brooklyn-server/pull/281

6 years agoUpdate pom SCM & Jenkins URLs 46/head
Svetoslav Neykov [Tue, 13 Sep 2016 14:49:12 +0000 (17:49 +0300)] 
Update pom SCM & Jenkins URLs

6 years agoCloses #43
Svetoslav Neykov [Fri, 26 Aug 2016 12:57:10 +0000 (15:57 +0300)] 
Closes #43

Close public ports protected by the default credentials

After the changes three ports remain open:
  * 8081 - web UI, password is generated on the fly if not explicitly set by the user
  * 8101 - ssh Karaf access, protected by default credentials, open to localhost only
  * random - jmx port, enabled by "-Dcom.sun.management.jmxremote" in bin/karaf, allows local access only
  * random - shutdown port

6 years agoClose public ports protected by the default credentials 43/head
Svetoslav Neykov [Wed, 24 Aug 2016 13:58:47 +0000 (16:58 +0300)] 
Close public ports protected by the default credentials

6 years agoCloses #45
Svetoslav Neykov [Thu, 25 Aug 2016 14:26:12 +0000 (17:26 +0300)] 
Closes #45

Update persistMode default value

The default value has changed to AUTO, this should be reflected in the commented setting

6 years agoUpdate persistMode default value 45/head
Duncan Godwin [Thu, 25 Aug 2016 14:14:24 +0000 (15:14 +0100)] 
Update persistMode default value

The default value has changed to AUTO, this should be reflected in the commented setting

6 years agoSilence Karaf dist brooklyn.info.log 44/head
Svetoslav Neykov [Thu, 25 Aug 2016 12:48:28 +0000 (15:48 +0300)] 
Silence Karaf dist brooklyn.info.log

Also fix missing or invalid log4j.logger prefixes to packages, change the logging layout to be more compact (no fixed widths)

6 years agoCloses #42
Svetoslav Neykov [Mon, 22 Aug 2016 14:45:13 +0000 (17:45 +0300)] 
Closes #42

OSGi features cleanup

Depends on https://github.com/apache/brooklyn-server/pull/303

6 years agojstack helper script to dump a single named thread 42/head
Svetoslav Neykov [Fri, 19 Aug 2016 09:55:03 +0000 (12:55 +0300)] 
jstack helper script to dump a single named thread

6 years agoOSGi features cleanup
Svetoslav Neykov [Fri, 19 Aug 2016 09:54:45 +0000 (12:54 +0300)] 
OSGi features cleanup

Split loading in chunks by using prerequisite flag.

6 years agoUpdates to the release scripts for new artifacts 40/head
Richard Downer [Wed, 29 Jun 2016 15:54:17 +0000 (16:54 +0100)] 
Updates to the release scripts for new artifacts

Adds the Go CLI and fixes an issue with the RPM. Also some minor fixes
to the environment detection script.

6 years agoUpdates to the Vagrantfile for making releases
Richard Downer [Wed, 29 Jun 2016 15:53:27 +0000 (16:53 +0100)] 
Updates to the Vagrantfile for making releases

6 years agoCloses #37
Svetoslav Neykov [Fri, 29 Jul 2016 18:42:55 +0000 (21:42 +0300)] 
Closes #37

Generate ssh keys for the brooklyn host

6 years agoCloses #41
Svetoslav Neykov [Fri, 29 Jul 2016 13:14:07 +0000 (16:14 +0300)] 
Closes #41

Move karaf distribution to brooklyn-dist.

This PR is the third of three that together move the karaf distribution to brooklyn-dist and separate out the software from brooklyn-library into separate catalog bom and feature files.

Merge this after https://github.com/apache/brooklyn-library/pull/53.

6 years agoMove karaf distribution to brooklyn-dist. 41/head
Geoff Macartney [Fri, 22 Jul 2016 14:36:37 +0000 (15:36 +0100)] 
Move karaf distribution to brooklyn-dist.

6 years agoThis closes #39
Andrew Donald Kennedy [Mon, 4 Jul 2016 09:40:25 +0000 (10:40 +0100)] 
This closes #39

* github/pr/39:
  Catalog format more consistent

6 years agoCatalog format more consistent 39/head
Aled Sage [Thu, 23 Jun 2016 08:07:09 +0000 (09:07 +0100)] 
Catalog format more consistent

6 years agoThis closes #38
Aled Sage [Wed, 15 Jun 2016 13:50:19 +0000 (14:50 +0100)] 
This closes #38

6 years agoDon't run mvn in change-version.sh 38/head
Svetoslav Neykov [Wed, 15 Jun 2016 12:23:24 +0000 (15:23 +0300)] 
Don't run mvn in change-version.sh

target folders are already excluded in the find command. Remove call to mvn clean because the project could hit unresolved dependencies (in the case of using a custom repo location). Also speeds up the execution.

6 years agoUpdate servers.yaml 37/head
Andrea Turli [Fri, 10 Jun 2016 10:59:12 +0000 (12:59 +0200)] 
Update servers.yaml

6 years agoGenerate ssh keys for the brooklyn host
Andrea Turli [Fri, 10 Jun 2016 09:19:01 +0000 (11:19 +0200)] 
Generate ssh keys for the brooklyn host

6 years agoCloses #36
Svetoslav Neykov [Mon, 30 May 2016 15:05:22 +0000 (18:05 +0300)] 
Closes #36

Fix installed files permissions, add packaging tests

Also use maven dependency mechanism for using cross-module files.

6 years agoCloses #34
Svetoslav Neykov [Mon, 30 May 2016 15:04:37 +0000 (18:04 +0300)] 
Closes #34

Add build revision & branch to MANIFEST.MF for downstream projects

6 years agoFix installed files permissions, add packaging tests 36/head
Svetoslav Neykov [Tue, 10 May 2016 10:20:27 +0000 (13:20 +0300)] 
Fix installed files permissions, add packaging tests

Also use maven dependency mechanism for using cross-module files.

6 years agoCloses #35
Svetoslav Neykov [Wed, 4 May 2016 06:21:31 +0000 (09:21 +0300)] 
Closes #35

Add upstart and systemd support

Summary:
- Moved all the service files to the ```brooklyn-dist/src``` directory, so they're shared between RPM and .deb solutions
- Added upstart service scripts for RPM and .deb solutions
- Unified upstart and systemd services in one package

6 years agoAdd upstart and systemd support 35/head
alrick87 [Thu, 21 Apr 2016 14:58:27 +0000 (17:58 +0300)] 
Add upstart and systemd support

6 years agoCloses #33
Svetoslav Neykov [Fri, 15 Apr 2016 14:04:26 +0000 (17:04 +0300)] 
Closes #33

Fix deb package java dependencies

6 years agoCloses #26
Svetoslav Neykov [Fri, 15 Apr 2016 14:00:25 +0000 (17:00 +0300)] 
Closes #26

Populate catalog from bundle bom

The PR adds updates to the existing jars to add a catalog.bom file that includes the details of the various entities in each.

See https://github.com/apache/brooklyn-server/pull/80 for details; this PR depends on that one and should be merged after it.

6 years agoAdd example catalog.bom file. 26/head
Geoff Macartney [Wed, 23 Mar 2016 16:16:22 +0000 (16:16 +0000)] 
Add example catalog.bom file.

6 years agoAdd build revision & branch to MANIFEST.MF for downstream projects 34/head
Svetoslav Neykov [Tue, 12 Apr 2016 12:43:52 +0000 (15:43 +0300)] 
Add build revision & branch to MANIFEST.MF for downstream projects

6 years agoFix output dir 33/head
alrick87 [Tue, 12 Apr 2016 13:58:10 +0000 (16:58 +0300)] 
Fix output dir

6 years agoFix deb package java dependencies
alrick87 [Tue, 12 Apr 2016 12:00:38 +0000 (15:00 +0300)] 
Fix deb package java dependencies

6 years agoCloses #28
Svetoslav Neykov [Tue, 12 Apr 2016 08:34:59 +0000 (11:34 +0300)] 
Closes #28

Add Debian packaging

6 years agoAdd deb packaging files 28/head
alrick87 [Wed, 30 Mar 2016 10:55:24 +0000 (13:55 +0300)] 
Add deb packaging files

6 years agoCloses #32
Svetoslav Neykov [Thu, 7 Apr 2016 13:52:22 +0000 (16:52 +0300)] 
Closes #32

Remove service enable line

6 years agoRemove service enable line 32/head
alrick87 [Thu, 7 Apr 2016 13:13:29 +0000 (16:13 +0300)] 
Remove service enable line

6 years agoThis closes #31
Aled Sage [Wed, 6 Apr 2016 19:36:29 +0000 (20:36 +0100)] 
This closes #31

6 years agoattempt to autocorrect port mapping if it occurs on up 31/head
John McCabe [Wed, 6 Apr 2016 18:16:25 +0000 (19:16 +0100)] 
attempt to autocorrect port mapping if it occurs on up
- defaults to true in servers.yaml
- doesn't appear to be too reliable, currently fails for me and throws the following warning before attempting to install, rather than fail silently with the locally bound port overriding the forwarded brooklyn port:
```
==> brooklyn: Clearing any previously set forwarded ports...
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening
on these ports. The forwarded port to 8081 is already in use
on the host machine.

To fix this, modify your current project's Vagrantfile to use another
port. Example, where '1234' would be replaced by a unique host port:

  config.vm.network :forwarded_port, guest: 80, host: 1234

Sometimes, Vagrant will attempt to auto-correct this for you. In this
case, Vagrant was unable to. This is usually because the guest machine
is in a state which doesn't allow modifying port forwarding.
```
- Updated the Vagrantfile to point the user at `servers.yaml` when they search for the suggested line in the warning above.

6 years agouse hosts only networking for brooklyn node
John McCabe [Wed, 6 Apr 2016 16:56:58 +0000 (17:56 +0100)] 
use hosts only networking for brooklyn node
- brooklyn accessible via mapped 8081 port at http://127.0.0.1:8081 which matches the manual install url (simplifies docs)
- can still access the byon nodes and avoids having to worry about subnet clashes for brooklyn itself

6 years agoCloses #29
Svetoslav Neykov [Fri, 1 Apr 2016 13:24:51 +0000 (16:24 +0300)] 
Closes #29

Download parent pom from remote repo if local version is not available

6 years agoDownload parent pom from remote repo if local version is not available 29/head
Svetoslav Neykov [Wed, 30 Mar 2016 14:47:09 +0000 (17:47 +0300)] 
Download parent pom from remote repo if local version is not available

6 years agoChange version to 0.10.0-SNAPSHOT
Alex Heneveld [Wed, 30 Mar 2016 09:59:22 +0000 (10:59 +0100)] 
Change version to 0.10.0-SNAPSHOT

6 years agoupdate license (winrm4j version bump)
Alex Heneveld [Wed, 30 Mar 2016 09:55:49 +0000 (10:55 +0100)] 
update license (winrm4j version bump)

6 years agoThis closes #27
Alex Heneveld [Wed, 30 Mar 2016 09:11:45 +0000 (10:11 +0100)] 
This closes #27

6 years agoThis closes #25
Alex Heneveld [Wed, 30 Mar 2016 09:11:42 +0000 (10:11 +0100)] 
This closes #25

6 years agoremove the properties section from this file. they are all pulled in from the parent... 27/head
Alex Heneveld [Tue, 29 Mar 2016 15:41:28 +0000 (16:41 +0100)] 
remove the properties section from this file. they are all pulled in from the parent (brooklyn-server/pom.xml).

(except for jackson which we don't want to declare as we don't use it.)

sidebar comment, i now tend to the opinion that we *don't* want this.  downstream projects should define their own workflow.
the main value is ensuring versions are compatible but that is something we can/should handle a different way.
(simple way, just by running the license-audit plugin and eyeball anything with multiple versions...)

6 years agouse JAVA_HOME if available when starting up 25/head
Robert Moss [Wed, 23 Mar 2016 17:23:02 +0000 (17:23 +0000)] 
use JAVA_HOME if available when starting up

6 years agoThis closes #24
Aled Sage [Mon, 21 Mar 2016 10:21:28 +0000 (10:21 +0000)] 
This closes #24

6 years agoFix brooklyn.service: include JAVA_OPTS 24/head
Aled Sage [Fri, 18 Mar 2016 23:14:36 +0000 (23:14 +0000)] 
Fix brooklyn.service: include JAVA_OPTS

Note the careful use of $JAVA_OPTS rather than ${JAVA_OPTS} so that
it is passed as multiple command line options, rather than one.

6 years agoRPM: /var/log/brooklyn permission is 700
Aled Sage [Fri, 18 Mar 2016 23:12:41 +0000 (23:12 +0000)] 
RPM: /var/log/brooklyn permission is 700

The log file could potentially contain credentials (depending on how
Brooklyn is used) so make sure it’s not visible/readable.

6 years agoupdate license
Alex Heneveld [Fri, 18 Mar 2016 14:34:56 +0000 (14:34 +0000)] 
update license

6 years agoThis closes #22
Alex Heneveld [Fri, 18 Mar 2016 12:15:59 +0000 (12:15 +0000)] 
This closes #22

6 years agoThis closes #23
Aled Sage [Fri, 18 Mar 2016 09:57:26 +0000 (09:57 +0000)] 
This closes #23

6 years agoFix config file permissions 23/head
alrick87 [Fri, 18 Mar 2016 05:22:36 +0000 (08:22 +0300)] 
Fix config file permissions

6 years agoThis closes #21
Alex Heneveld [Thu, 17 Mar 2016 12:54:50 +0000 (12:54 +0000)] 
This closes #21

6 years agoAdd UI library reference for licensing purposes 22/head
Thomas Bouron [Thu, 17 Mar 2016 12:51:52 +0000 (12:51 +0000)] 
Add UI library reference for licensing purposes

6 years agoAdd release script environment.sh 21/head
Richard Downer [Wed, 16 Mar 2016 21:02:02 +0000 (21:02 +0000)] 
Add release script environment.sh

Assists in setting the environment variables recommended by the
release process documentation.

6 years agoRelease Vagrantfile: WIP support for AWS provisioning (big fast VM!)
Richard Downer [Wed, 16 Mar 2016 16:52:23 +0000 (16:52 +0000)] 
Release Vagrantfile: WIP support for AWS provisioning (big fast VM!)

6 years agoRelease Vagrantfile: install Go and RPM
Richard Downer [Wed, 16 Mar 2016 16:50:37 +0000 (16:50 +0000)] 
Release Vagrantfile: install Go and RPM

6 years agoRelease Vagrantfile: don’t bother with Artifactory
Richard Downer [Wed, 16 Mar 2016 16:49:55 +0000 (16:49 +0000)] 
Release Vagrantfile: don’t bother with Artifactory

6 years agoRelease Vagrantfile: download Maven instead of apt-get
Richard Downer [Wed, 16 Mar 2016 16:48:14 +0000 (16:48 +0000)] 
Release Vagrantfile: download Maven instead of apt-get

This gets us a newer version than the outdated one in Ubuntu, which is
required for Brooklyn.

6 years agoRelease Vagrantfile: new git + svn checkouts
Richard Downer [Wed, 16 Mar 2016 16:46:47 +0000 (16:46 +0000)] 
Release Vagrantfile: new git + svn checkouts

6 years agoRelease Vagrantfile: boost VM specs and add RAM disk
Richard Downer [Wed, 16 Mar 2016 16:33:50 +0000 (16:33 +0000)] 
Release Vagrantfile: boost VM specs and add RAM disk

Adds a tmpfs mount to provide enough space to act as the working
directory for a release. Boost the VM memory to make sure there’s
enough, and add an extra CPU for a bit more.

6 years agoMake release script: minor tweaks
Richard Downer [Wed, 16 Mar 2016 16:09:05 +0000 (16:09 +0000)] 
Make release script: minor tweaks

6 years agoMake release script: include RPM artifact
Richard Downer [Wed, 16 Mar 2016 16:08:42 +0000 (16:08 +0000)] 
Make release script: include RPM artifact

6 years agoMake release script: add “dry run” mode
Richard Downer [Wed, 16 Mar 2016 16:07:39 +0000 (16:07 +0000)] 
Make release script: add “dry run” mode

Maven deployments and SVN commits will NOT be done. This will still
delete working and temporary files, however.

6 years agoMake release script: support alternative working dir
Richard Downer [Wed, 16 Mar 2016 16:03:39 +0000 (16:03 +0000)] 
Make release script: support alternative working dir

Uses $TMPDIR for a workspace while building the source and binary
releases. Changing TMPDIR to a super-speedy location (RAM disk = good,
network location = bad) will speed up the release process.

6 years agoMake release script: submodule fixes
Richard Downer [Wed, 16 Mar 2016 16:01:46 +0000 (16:01 +0000)] 
Make release script: submodule fixes

git clean all submodules and display commit IDs for all submodules.

6 years agoMake release script: better GPG handling
Richard Downer [Wed, 16 Mar 2016 15:51:40 +0000 (15:51 +0000)] 
Make release script: better GPG handling

Fixed gpg-agent usage so that it detects the useful environment variable
rather than the process name (which is useless without the environment
variable). Does a dummy gpg operation at the start to cause a password
prompt, which should cause gpg-agent to cache the password.

Tweak the gpg-agent configuration example (also used in the Vagrantfile)
to lower the ridiculously long timeouts.

6 years agoMake release script: do not svn commit
Richard Downer [Wed, 16 Mar 2016 15:40:53 +0000 (15:40 +0000)] 
Make release script: do not svn commit

The release manager must provide at least a basic inspection that what
is placed into the SVN working copy is correct, so svn committing is
inadvisable.

6 years agomake-release-artifacts.sh: refactor reusable code
Richard Downer [Tue, 15 Mar 2016 13:50:09 +0000 (13:50 +0000)] 
make-release-artifacts.sh: refactor reusable code

fail(), confirm() and detect_version() are refactored into a separate
script, along with new function assert_in_project_root(), which is
sourced in.

6 years agoMerge and close #20
Richard Downer [Tue, 15 Mar 2016 21:39:14 +0000 (21:39 +0000)] 
Merge and close #20

6 years agoSet RPM option to allow binaries in noarch package 20/head
Richard Downer [Tue, 15 Mar 2016 13:35:34 +0000 (13:35 +0000)] 
Set RPM option to allow binaries in noarch package

Our RPM package is marked as `noarch`. RPM will complain if it finds
architecture-specific files in `noarch` package - therefore it complains
for us due to the presence of the `br` tool in multiple architectures.
This commit turns off that test.

6 years agoCloses #18
Svetoslav Neykov [Tue, 15 Mar 2016 11:39:23 +0000 (13:39 +0200)] 
Closes #18

change-version.sh to ignore .swp files

6 years agoCloses #19
Svetoslav Neykov [Tue, 15 Mar 2016 11:38:26 +0000 (13:38 +0200)] 
Closes #19

Add build flag (& profile)  "-Dno-rpm"

Add a build flag "-Dno-rpm" and profile to allow configuration of build to avoid RPM packaging step.

6 years agoAdd a build flag "-Dno-rpm" to allow configuration of build to avoid RPM packaging... 19/head
Geoff Macartney [Tue, 15 Mar 2016 10:58:19 +0000 (10:58 +0000)] 
Add a build flag "-Dno-rpm" to allow configuration of build to avoid RPM packaging step.