<commit_before>Bellows
=======

Description
-----------

Fire it up! SmokeStack automation w/ Gerrit.

CLI to drive SmokeStack test creation and maintenance based on Gerrit reviews.

Installation
------------

	gem install bellows

	#create the bellows config in your $HOME dir:
    cat > ~/.bellows.conf <<"EOF_CAT"
	smokestack_url: http://localhost:3000
	smokestack_username: admin
	smokestack_password: <PASSWORD>

	config_template_ids:
	- 1

	test_suite_ids:
	- 1

	comment_configs:
	    - name: job_unit_tester
	      auto_approved: Yes
	      description: "Unit"

	    - name: job_puppet_libvirt
	      config_template_id: 1
	      auto_approved: No
	      description: "Fedora 17 Libvirt Quantum w/ OpenvSwitch"

	    - name: job_puppet_xen
	      config_template_id: 2
	      auto_approved: No
	      description: "Fedora 17 Nova w/ XenServer"
	EOF_CAT


Examples
--------

Available bellows tasks:

	Tasks:
	  bellows comment PROJECT  # Add gerrit comments for reviews w/ results.
	  bellows fire PROJECT     # Run jobs for reviews without results.
	  bellows help [TASK]      # Describe available tasks or one specific task
	  bellows purge PROJECT    # Purge merged reviews from SmokeStack
	  bellows stream           # Stream Gerrit events and sync data to SmokeStack.
	  bellows sync PROJECT     # Create tests & update refspecs for active reviews.

Run bellows sync to create smokestack test configurations and update refspecs for active reviews:

	bellows sync openstack/nova

Purge 'merged' reviews from SmokeStack:

	bellows purge openstack/nova

Sync test suite choices for active reviews in SmokeStack (based on the selections in your .bellows.conf file):

	bellows sync openstack/nova --all

Fire tests for reviews without results (3 at a time):

	bellows fire openstack/nova --limit=3

License
-------
Copyright (c) 2011-2013 <NAME>. Copyright 2012 Red Hat Inc. See LICENSE.txt for further details.
<commit_msg>Update README example.<commit_after>Bellows
=======

Description
-----------

Fire it up! SmokeStack automation w/ Gerrit.

CLI to drive SmokeStack test creation and maintenance based on Gerrit reviews.

Installation
------------

	gem install bellows

	#create the bellows config in your $HOME dir:
    cat > ~/.bellows.conf <<"EOF_CAT"
	smokestack_url: http://localhost:3000
	smokestack_username: admin
	smokestack_password: <PASSWORD>

        projects:
        - openstack/nova
        - stackforge/puppet-nova

	config_template_ids:
	- 1
	- 2

	test_suite_ids:
	- 1

	comment_configs:
	    - name: job_puppet_libvirt
	      config_template_id: 1
	      auto_approved: No
	      description: "Fedora 17 Libvirt Quantum w/ OpenvSwitch"

	    - name: job_puppet_xen
	      config_template_id: 2
	      auto_approved: No
	      description: "Fedora 17 Nova w/ XenServer"
	EOF_CAT


Examples
--------

Available bellows tasks:

	Tasks:
	  bellows comment PROJECT  # Add gerrit comments for reviews w/ results.
	  bellows fire PROJECT     # Run jobs for reviews without results.
	  bellows help [TASK]      # Describe available tasks or one specific task
	  bellows purge PROJECT    # Purge merged reviews from SmokeStack
	  bellows stream           # Stream Gerrit events and sync data to SmokeStack.
	  bellows sync PROJECT     # Create tests & update refspecs for active reviews.

Run bellows sync to create smokestack test configurations and update refspecs for active reviews:

	bellows sync openstack/nova

Purge 'merged' reviews from SmokeStack:

	bellows purge openstack/nova

Sync test suite choices for active reviews in SmokeStack (based on the selections in your .bellows.conf file):

	bellows sync openstack/nova --all

Fire tests for reviews without results (3 at a time):

	bellows fire openstack/nova --limit=3

License
-------
Copyright (c) 2011-2013 <NAME>. Copyright 2012 Red Hat Inc. See LICENSE.txt for further details.

{'fraction_non_alphanumeric': 0.0759297520661157, 'fraction_numerical': 0.01368801652892562, 'mean_word_length': 3.0811380400421498, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1103203', 'n_tokens_mistral': 1271, 'n_tokens_neox': 1152, 'n_words': 432}