Re: [Crowbar] Community Jenkins server - Brakeman and tailor (Pebbles)

2013-07-17 Thread James Tan
Quoting James Tan : > The results are available at the main Crowbar Pebbles Jenkins page: > > http://ci.opensuse.org/view/Crowbar/job/crowbar-pebbles-travis_ci-trackupstream/ > > From there you can see/access: > > * Brakeman vulnerability trend chart > * "Brakema

[Crowbar] Community Jenkins server - Brakeman and tailor (Pebbles)

2013-07-17 Thread James Tan
Hi everyone, For Pebbles (Crowbar 1.6), our community Jenkins server now combines a number of core barclamps [1] and pushes them to a single git repo [2]. It then runs Brakeman [3] (Rails security scanner) and tailor [4] (Ruby style check) on the combined code tree. It polls all the relevant repos

Re: [Crowbar] Coding Guidelines discussion

2013-07-17 Thread James Tan
On 07/12/2013 04:57 PM, James Tan wrote: > On 07/12/2013 04:35 PM, rob_hirschf...@dell.com wrote: >> > I like these coding standards - can we add to the dev guides? > Sure. Any volunteers? If not I'll try to add it next week. https://github.com/crowbar/crowbar/pull/1

Re: [Crowbar] [Fixed] crowbar/travis-ci-crowbar#150 (master - 3e793df)

2013-07-16 Thread James Tan
On 07/16/2013 03:58 AM, Travis CI wrote: > > > The build was fixed. > > Repositorycrowbar/travis-ci-crowbar > Build #150 > https://travis-ci.org/crowbar/travis-ci-crowbar/builds/9121600 >

Re: [Crowbar] [Failed] crowbar/travis-ci-crowbar#139 (pebbles - 760b6c3)

2013-07-12 Thread James Tan
On 07/12/2013 04:55 PM, Travis CI wrote: The build failed. Repository crowbar/travis-ci-crowbar Build #139 https://travis-ci.org/crowbar/travis-ci-crowbar/builds/9010919

Re: [Crowbar] Coding Guidelines discussion

2013-07-12 Thread James Tan
On 07/12/2013 04:35 PM, rob_hirschf...@dell.com wrote: > I like these coding standards - can we add to the dev guides? Sure. Any volunteers? If not I'll try to add it next week. Cheers, James T. ___ Crowbar mailing list Crowbar@dell.com https://lists.u

Re: [Crowbar] [Still Failing] crowbar/travis-ci-crowbar#138 (master - fdc7b9b)

2013-07-12 Thread James Tan
On 07/12/2013 01:57 PM, Travis CI wrote: The build is still failing. Repository crowbar/travis-ci-crowbar Build #138 https://travis-ci.org/crowbar/travis-ci-crowbar/builds/9005010

Re: [Crowbar] Coding Guidelines discussion

2013-07-12 Thread James Tan
Hi Judd, On 07/10/2013 06:01 PM, Judd Maltin wrote: > Inspired by Terpstra, I'd like to submit a few coding guidelines and > tasks for comment and addition: Awesome, thanks for starting this thread. > 1. Create and document a pattern to enable devs to easily add > configuration switches for n

Re: [Crowbar] [Crowbar 2.0] Travis CI returns!

2013-07-11 Thread James Tan
On 07/11/2013 05:02 PM, James Tan wrote: # ./app/models/node_role.rb:76:in `deployable?' # ./app/models/deployment_role.rb:42:in `add_node' # ./spec/models/jig_spec.rb:32:in `block (3 levels) in ' Finished in 32 .51 secon ds 21 examples, 1 failure Failed examples: rspe

[Crowbar] [Crowbar 2.0] Travis CI returns!

2013-07-11 Thread James Tan
Hi everyone, Most of us Crowbar hackers have been busy with the Pebbles branch (1.6) and neglected master (2.0). That's changing now and I started to look into Travis CI again, only to realize that it's been broken for some time already. With Bernhard's help, Travis CI is now back in busines

Re: [Crowbar] [Broken] crowbar/travis-ci-crowbar#135 (master - 0999e19)

2013-07-11 Thread James Tan
Hi everyone, On 07/11/2013 03:54 PM, Travis CI wrote: The build was broken. Repository crowbar/travis-ci-crowbar Build #135 https://travis-ci.org/crowbar/travis-ci-crowbar/builds/8967458

Re: [Crowbar] sprint 5/92013

2013-05-09 Thread James Tan
Hi Arkady, Thanks for sending the details. Unfortunately it's a public holiday in Germany today, so I (and probably Ralf) won't join the Crowbar community call later today. Not sure about Adam (in UK) though. Regards, James T. On 05/09/2013 03:11 AM, arkady_kanev...@dell.com wrote: Here ar

Re: [Crowbar] compare-crowbar-upstream.sh update

2013-04-29 Thread James Tan
On 4/27/2013 4:29 PM, Adam Spiers wrote: > [This is probably only interesting to SUSE folks, but I'm posting it > on the Crowbar list to alert everyone to the fact that we'll probably > be pushing git-notes(1) refs to the crowbar github repos in order to > collaborate on upstreaming blacklists ...]

[Crowbar] Crowbar Dev VM based on SLES

2013-04-25 Thread James Tan
Hi everyone, There's now a Crowbar Dev VM based on SUSE Linux Enterprise Server (SLES), and I've updated the docs accordingly: https://github.com/crowbar/crowbar/blob/master/doc/devguide/dev-vm-SUSE.md Regards, James T. ___ Crowbar mailing list Crow

Re: [Crowbar] Crowbar 2.0 database - SQLite?

2013-04-23 Thread James Tan
On 04/22/2013 12:26 PM, James Tan wrote: I'll push that up as an early pull request (that shouldn't be merged) so we can collaborate on that, if you or anyone else has the time and interest. https://github.com/crowbar/barclamp-crowbar/pull/507 Regard

Re: [Crowbar] Is there a "What is Working" vs "What is broken" for Pebbles?

2013-04-22 Thread James Tan
Hi Arkady, On 04/22/2013 03:47 PM, arkady_kanev...@dell.com wrote: > CB2.0 is in early stages. > I am working on the list. > The first main item is attribute injection. Thanks for the reply. Yes I know Crowbar 2.0 is still under development as I'm involved in that as well. It's just unclear what

Re: [Crowbar] Crowbar 2.0 database - SQLite?

2013-04-22 Thread James Tan
On 04/21/2013 07:11 PM, Victor Lowther wrote: On Apr 21, 2013 5:29 AM, "James Tan" <mailto:ja...@suse.de>> wrote: > The default database for Crowbar 2.0 is now SQLite. Is this expected to > change later on and/or for actual customer deployments? I'm concern

Re: [Crowbar] Is there a "What is Working" vs "What is broken" for Pebbles?

2013-04-22 Thread James Tan
On 04/21/2013 04:26 PM, Drew Weaver wrote: > Sorry if this sounds like a dumb question but I’ve spent the better > part of my weekend trying to get Crowbar 1.5 to the point where all of > the Openstack barclamps are installed and I’m starting to suspect that > perhaps some of the barclamps aren’

[Crowbar] Crowbar 2.0 database - SQLite?

2013-04-21 Thread James Tan
Hi Crowbarians, The default database for Crowbar 2.0 is now SQLite. Is this expected to change later on and/or for actual customer deployments? I'm concerned about the scalability and operational aspects of SQLite, versus something like PostgreSQL/MySQL. Thanks, James T.

Re: [Crowbar] Populating Crowbar with sample data

2013-04-17 Thread James Tan
On 04/16/2013 06:33 PM, James Tan wrote: Hi Rob (or anyone else), As I'm waiting for the backend refactoring to settle down, I'm working with Ken on the front end side of things. To be productive there we need to populate our instance with sample data, and I'm intending to d

[Crowbar] Populating Crowbar with sample data

2013-04-16 Thread James Tan
Hi Rob (or anyone else), As I'm waiting for the backend refactoring to settle down, I'm working with Ken on the front end side of things. To be productive there we need to populate our instance with sample data, and I'm intending to do that with the standard "rake db:seed". I'm not familiar

Re: [Crowbar] System Documentation UI

2013-03-27 Thread James Tan
On 03/27/2013 07:57 PM, Kenneth Wimer wrote: >> >> Where would you see the developer docs link? > Typically, I would expect the developer docs to be on the wiki in > github. I have nothing against showing them in the System > Documentation in development mode but a) it seems like the last place

Re: [Crowbar] System Documentation UI

2013-03-27 Thread James Tan
On 03/27/2013 03:02 PM, Kenneth Wimer wrote: > I noticed the typos already and fixed them in the SVG file. BTW, I > made all of this with inkscape so if someone is interested in the > source files I'll put them in the repo as well. Sweet. Yes why not just push the .svg in - I think most modern b

Re: [Crowbar] System Documentation UI

2013-03-27 Thread James Tan
Hi Ken, On 03/27/2013 02:24 PM, Kenneth Wimer wrote: > I did a heuristic evaluation of the System Documentation and made a list > of possible bugs and simple improvements. I only worked on the > production version so the Developers Guide and such were not part of the > scope. All of my notes as we

Re: [Crowbar] KIWI Builds

2013-03-25 Thread James Tan
Hi John, All already discussed in IRC, among with lots of other things, but just replying here for the benefit of others. On 03/25/2013 03:14 PM, john_terps...@dell.com wrote: I have submitted a pull-request that changes the KIWI build specs for OpenSUSE 12.3 so that it is possible to build

[Crowbar] RFC: Add RailsConfig gem to manage application settings

2013-03-22 Thread James Tan
Hi everyone, I've recently submitted the following pull request: https://github.com/crowbar/barclamp-crowbar/pull/483 Victor suggested that we discuss this change here as it involves adding a new dependency. Thoughts/comments? Regards, James T.

Re: [Crowbar] Broken openSUSE packages

2013-03-21 Thread James Tan
Hi John, On 03/21/2013 08:26 PM, john_terps...@dell.com wrote: > Please see https://github.com/crowbar/crowbar/pull/1768 for the minimal means > of adding openSUSE crowbar builds to the dev utility. Glad to see that you're using the Kiwi config, that makes a lot of sense.I've commented on the

Re: [Crowbar] Broken openSUSE packages

2013-03-21 Thread James Tan
On 03/21/2013 05:34 PM, Ralf Haferkamp wrote: > The sledgehammer image for 12.3 should be fixed now and is build successfully > in obs. However building the kiwi file in > https://github.com/crowbar/crowbar/tree/master/opensuse-12.3-extra/kiwi > manually still gave me that error: > > Problem: kern

Re: [Crowbar] RESTful Crowbar API

2013-03-20 Thread James Tan
On 03/20/2013 01:01 PM, Adam Spiers wrote: > Andreas Jaeger (a...@suse.com) wrote: >> >Btw. to render a markdown file locally, install redcarpet as root with >> >e.g. (or install the openSUSE rpm from the build service): >> >gem install redcarpet > Yep, there are several gems which can do this. Ot

Re: [Crowbar] Broken openSUSE packages

2013-03-20 Thread James Tan
On 03/20/2013 11:42 AM, Ralf Haferkamp wrote: > On Wed, Mar 20, 2013 at 11:07:26AM +0100, James Tan wrote: >> I've updated the Adam's appliance at >> http://susestudio.com/a/E5zfDp/crowbar-2-0 to openSUSE 12.3 and >> exported the kiwi configuration, and replaced t

Re: [Crowbar] Broken openSUSE packages

2013-03-20 Thread James Tan
Hi Ralf, On 03/19/2013 11:08 PM, john_terps...@dell.com wrote: Thanks for the followup. I will look at this in the morning and will send you my latest build logs. I've updated the Adam's appliance at http://susestudio.com/a/E5zfDp/crowbar-2-0 to openSUSE 12.3 and exported the kiwi configur

Re: [Crowbar] Crowbar on (open)SUSE

2013-03-20 Thread James Tan
Hi John, On 03/19/2013 11:06 PM, john_terps...@dell.com wrote: > Here at Dell we need to integrate locally generated OpenSUSE builds into our > smoketest framework. We need to do this in such a way that internet > connectivity is not required to build the ISO. I am still noodling over how > w

Re: [Crowbar] Broken openSUSE packages

2013-03-19 Thread James Tan
On 03/19/2013 04:53 PM, Ralf Haferkamp wrote: > Update: The images should build again now. The failures where indeed > caused by the rails update and the missing chef-11 gem. Note, that I > did not yet test the resulting image. Thanks for the fix! I'll build a new image and test it. Cheers, Ja

Re: [Crowbar] Broken openSUSE packages

2013-03-19 Thread James Tan
On 03/19/2013 10:27 AM, Ralf Haferkamp wrote: > On Tue, Mar 19, 2013 at 10:17:38AM +0100, James Tan wrote: >> I'm helping John debug his local openSUSE build from the Kiwi config >> at >> https://github.com/crowbar/crowbar/tree/master/opensuse-12.2-extra/kiwi-appli

[Crowbar] Broken openSUSE packages

2013-03-19 Thread James Tan
Hi Adam/Ralf, I'm helping John debug his local openSUSE build from the Kiwi config at https://github.com/crowbar/crowbar/tree/master/opensuse-12.2-extra/kiwi-appliance. It's failing with: Problem: pattern:Crowbar_Admin-.noarch requires crowbar-barclamp-crowbar, but this requirement cannot be

Re: [Crowbar] RESTful Crowbar API

2013-03-18 Thread James Tan
Hi Ward, (CC-ing the list, as it might be useful to others too. Hope you don't mind!) On 03/16/2013 01:11 AM, Ward Harold wrote: > James, looks like Rob beat me to merging the pull request. I liked > your edits; I learn something new about markdown every day. What do > you use to render it loca

[Crowbar] Crowbar on (open)SUSE

2013-03-18 Thread James Tan
Hi John/everyone, # Background John was nice enough to call me last Friday to discuss how we can work together to get proper (open)SUSE environments within the Dell firewall. These will be used for QA, bug fixing, and development. By proper (can't think of a better word), I mean environments whi

[Crowbar] Gems version monitoring with Gemnasium

2013-03-18 Thread James Tan
Hi everyone, Just wanted to announce that I've added support for Gemnasium, to monitor our gems for new versions and security updates. You can see the web report at https://gemnasium.com/crowbar/travis-ci-crowbar. I've also added a badge on the main Crowbar repo page: https://github.com/crow

Re: [Crowbar] RESTful Crowbar API

2013-03-18 Thread James Tan
On 03/16/2013 09:23 PM, Ward Harold wrote: James, thanks for the note on your workflow. I'd like to stick with the ./dev mechanism as much as possible. You're welcomed, and sure whatever works best for you. :-) After a little trial and error with the github.com API I came

Re: [Crowbar] RESTful Crowbar API

2013-03-15 Thread James Tan
On 03/15/2013 07:28 PM, Ward Harold wrote: > No problem at all! Thanks for the edits. I'll adopt them for the > remainder; which should be coming very soon ... WkH Great, I'm looking forward to seeing them land soon! Meanwhile, can you please review and merge the pull request [1]? Thanks, James

Re: [Crowbar] RESTful Crowbar API

2013-03-15 Thread James Tan
Hi Ward, On 03/12/2013 01:14 AM, ward_har...@dell.com wrote: > I've been working on a proposal for a RESTful Crowbar API for a few days. > It's starting point is the various API/routing discussions that have been > going on. I added some things I've learned over time and folded in best > pract

Re: [Crowbar] [Still Failing] crowbar/travis-ci-crowbar#60 (master - ac51708)

2013-03-15 Thread James Tan
On 03/15/2013 02:25 PM, christopher_dearb...@dell.com wrote: These were the 2 errors: [snip] Here's a link to a build where they were present: https://travis-ci.org/crowbar/travis-ci-crowbar/jobs/5477618 They are no longer present because I worked around the issue by not using I18n.t() t

Re: [Crowbar] [Fixed] crowbar/travis-ci-crowbar#67 (master - 6e6df3f)

2013-03-15 Thread James Tan
On 03/15/2013 04:13 AM, andi_a...@dell.com wrote: Go *wkharold* , (Also known as Ward!) Woohoo nice work! Let's keep them green! Cheers, James T. ___ Crowbar mailing list Crowbar@dell.com https://lists.us.dell.com/mail

Re: [Crowbar] [Still Failing] crowbar/travis-ci-crowbar#66 (master - 01d8f5a)

2013-03-14 Thread James Tan
On 03/14/2013 07:30 PM, andi_a...@dell.com wrote: Yea.. looking at it in the background ( while in planning and doing about 17 other things... ) Awesome, you rock Andi! Cheers, James T. ___ Crowbar mailing list Crowbar@dell.com https://lists.us.d

Re: [Crowbar] [Still Failing] crowbar/travis-ci-crowbar#60 (master - ac51708)

2013-03-14 Thread James Tan
Hi Chris, On 03/13/2013 07:14 PM, christopher_dearb...@dell.com wrote: I took a look at this issue, and the problem is that translation is not working properly in the Travis test setup. A new migration was added that creates the default network barclamp deployment. In that migration, I ini

Re: [Crowbar] [Still Failing] crowbar/travis-ci-crowbar#66 (master - 01d8f5a)

2013-03-14 Thread James Tan
Hi Rob, On 03/14/2013 06:58 PM, Travis-CI wrote: The build is still failing. Repository crowbar/travis-ci-crowbar Build #66 https://travis-ci.org/crowbar/travis-ci-crowbar/builds/5505957 Changeset https://github.com/crowbar/travis-ci-crowbar/compare/e8e8d1562801...01d8f5a93bfc

Re: [Crowbar] [Still Failing] crowbar/travis-ci-crowbar#60 (master - ac51708)

2013-03-14 Thread James Tan
ing] crowbar/travis-ci-crowbar#60 (master - ac51708) Sigh I'll correct. Still working on the dev 1.9.3 migration over here. *From:*crowbar-bounces *On Behalf Of *James Tan *Sent:* Wednesday, March 13, 2013 12:54 PM *To:* crowbar *Subject:* Re: [Crowbar] [Still Failing] crowbar/travis-c

Re: [Crowbar] testing and pull requests

2013-03-13 Thread James Tan
On 03/13/2013 11:32 AM, Adam Spiers wrote: >>> "What testing do we run before submitting?" is a key question; thanks for >>> > >bringing it up. Unfortunately the answer is currently "only whatever we >>> > >run >>> > >manually", since Travis only runs on a merged repository containing >>> > >mas

Re: [Crowbar] Rubygems 2.0 - breaks bundle and others

2013-03-13 Thread James Tan
Hi Andi, On 03/13/2013 01:14 PM, andi_a...@dell.com wrote: If you're about to install a new build env, or building with internet wide downloads, keep reading. Otherwise it's safe to ignore. The latest version of RubyGems (2.0.3) has a bunch of breaking changes, some break bundler, others br

Re: [Crowbar] [Still Failing] crowbar/travis-ci-crowbar#60 (master - ac51708)

2013-03-13 Thread James Tan
On 03/13/2013 07:03 PM, christopher_dearb...@dell.com wrote: I'm looking at this issue right now, and the problem is not an assert statement. Those were fixed in an earlier pull request. I know what the issue is and am working on an email now. Okay, great to see that you guys are on it.

Re: [Crowbar] removing non-engine files?

2013-03-13 Thread James Tan
On 03/13/2013 04:54 PM, wayne_al...@dell.com wrote: > I would like to keep the old versions around for quick reference and delete > them as each barclamp is fully integrated into the new system. While I understand the convenience of keeping these files around during integration, it's really conf

Re: [Crowbar] Porting core cookbooks to attribute injection

2013-03-13 Thread James Tan
On 03/07/2013 11:13 AM, Vincent Untz wrote: > Hi, > > First, thanks for the overview on attribute injection in yesterday's > call. This was quite useful to better understand what this all means and > why we are moving this way, as well as how things can look like (with > the keystone cookbook examp

Re: [Crowbar] [Still Failing] crowbar/travis-ci-crowbar#60 (master - ac51708)

2013-03-13 Thread James Tan
On 03/13/2013 06:38 PM, Travis-CI wrote: The build is still failing. Repository crowbar/travis-ci-crowbar Build #60 https://travis-ci.org/crowbar/travis-ci-crowbar/builds/5477613 Anyone looking into this failure on Ruby 1.9.3? Details here: https://travis-ci.org/crowbar/travis

Re: [Crowbar] [Fixed] crowbar/travis-ci-crowbar#53 (master - f8bdf12)

2013-03-13 Thread James Tan
On 03/13/2013 01:12 AM, Travis-CI wrote: The build was fixed. Repository crowbar/travis-ci-crowbar Build #53 https://travis-ci.org/crowbar/travis-ci-crowbar/builds/5456934 Changeset https://github.com/crowbar/travis-ci-crowbar/compare/3c18df5c1c60...f8bdf1299fba Commit f8bdf1

Re: [Crowbar] how to debug Travis failures

2013-03-13 Thread James Tan
On 03/12/2013 11:16 PM, andi_a...@dell.com wrote: -Original Message- From: crowbar-bounces On Behalf Of Adam Spiers Sent: Monday, March 11, 2013 7:28 PM To: crowbar Subject: Re: [Crowbar] how to debug Travis failures Adam Spiers (aspi...@suse.com) wrote: I'm really keen that I (or James