Daniel Tihelka | 19 Apr 23:30
Picon
Favicon

New plugin - regular expression based properties

Hallo,

I have just committed change which allows to write 3rd party properties plugin (e.g. getting properties from a database).


I also have an implementation of "regular expression properties plugin" which parses a given text file and defines properties based on the regular expressions.


As an example, let us consider the file with lines as follows:

<pre>

name1[value1]

name2[value2] Anything may follow ...

there may be anything as well ...

name3[value3]; name4[value4]; name5[value5]

</pre>

and we want to define properties based on this. Moreover, we want to alter the names into the form: <code>build.attrib.special_name_1</code>. To achieve this, we need to define regex pattern:

<pre>

\s*([a-zA-Z]+)(\d+)[(\S+)]

</pre>

then, the template of property name must be set to (referring to groups 1 and 2):

<pre>

build.attrib.special_\1_\2

</pre>

and the value of property value is simple reference to group 3:

<pre>

\3

</pre>



So, the plugin is configured as follows:


<regexpproperties file="the.file" pattern="\s*([a-zA-Z]+)(\d+)[(\S+)]" name="build.attrib.special_\1_\2" value="\3" />



We will use it in our builds to define properties used later as the config options of the building (python) scripts. Since the options are defined in the python, their automatic definition from the python file(s) is much more robust (change of the option will not break the build since it will be re-defined automatically).



Now, the question is: do you want to have this regexproperties plugin included in CC? I can manage it as 3rd party plugin, but I thing it may be quite useful for other uses as well.


Best regards,

Dan T.


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Cruisecontrol-devel mailing list
Cruisecontrol-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-devel
Hack Kampbjørn | 14 Apr 23:31
Favicon

Fwd: [Cruisecontrol-checkins] SF.net SVN: cruisecontrol:[4602] trunk/cruisecontrol/documentation/ developers.html

Welcome Julian. And congratulations on your first commit!

Regards
Hack

Begin forwarded message:

> From: julian_simpson <at> users.sourceforge.net
> Subject: [Cruisecontrol-checkins] SF.net SVN: cruisecontrol:[4602]
trunk/cruisecontrol/documentation/ developers.html
> Date: 2012-apr.-14 18:09:57 CEST
> To: cruisecontrol-checkins <at> lists.sourceforge.net
> 
> Revision: 4602
>          http://cruisecontrol.svn.sourceforge.net/cruisecontrol/?rev=4602&view=rev
> Author:   julian_simpson
> Date:     2012-04-14 16:09:56 +0000 (Sat, 14 Apr 2012)
> Log Message:
> -----------
> Added myself to list of Committers
> 
> Modified Paths:
> --------------
>    trunk/cruisecontrol/documentation/developers.html
> 
> Modified: trunk/cruisecontrol/documentation/developers.html
> ===================================================================
> --- trunk/cruisecontrol/documentation/developers.html	2011-08-15 02:46:08 UTC (rev 4601)
> +++ trunk/cruisecontrol/documentation/developers.html	2012-04-14 16:09:56 UTC (rev 4602)
> @@ -103,6 +103,7 @@
>             <li><strong>Joris Kuipers</strong> since April 2004</li>
>             <li><strong>Hack Kampbj&oslash;rn</strong> since February 2005</li>
>             <li><strong>Dan Rollo</strong> since September 2006</li>
> +            <li><strong><a href="http://www.build-doctor.com">Julian Simpson</a></strong> since April 2012</li>
>         </ul>
> 
>         <h2>Committers Emeritus</h2>
> 
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.
> 
> 
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Cruisecontrol-checkins mailing list
> Cruisecontrol-checkins <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-checkins

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
Jeffrey Fredrick | 14 Apr 21:00
Picon
Gravatar

Welcome new committer, Julian Simpson

We are pleased to welcome Julian Simpson to the ranks of CruiseControl committers. Julian has a long history with the CruiseControl community and we are pleased to have him on-board.


Jtf

--
CITCON
Continuous Integration and Testing Conference
http://www.citconf.com/
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Cruisecontrol-devel mailing list
Cruisecontrol-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-devel
Jirong Hu | 20 Mar 15:16
Picon

How to develop a new SourceControl plugin?

Hi

Where can I find the details (interface specification, etc.) regarding
writing a new SourceControl plugin? This link doesn't work:
http://cruisecontrol.sourceforge.net/main/api/net/sourceforge/cruisecontrol/SourceControl.html

Thanks
Jirong

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
Julian Simpson | 19 Feb 21:35
Picon
Gravatar

Proof of concept GitHub repo

I decided to import CruiseControl to a GitHub repository, so we could discuss something concrete.

It was pretty straight forward:
1) install git and git-svn
2) run 'git svn clone https://cruisecontrol.svn.sourceforge.net/svnroot/cruisecontrol/trunk'

That's not a complete clone: I'll have to experiment with the options to bring the branches and tags in.

Also, I need to map SVN usernames[1] to GitHub usernames:

alden -> https://github.com/alden(?)
pauljulius -> https://github.com/PaulJulius(?)
jfredrick -> https://github.com/JeffreyFredrick
jchyip -> https://github.com/jchyip
jkuipers -> https://github.com/jkuipers
bahmail -> https://github.com/bhamail
sl4mmy -> https://github.com/sl4mmy
robertdw -> unknown
gurun -> unknown
Niklas Olofsson -> unknown
Hack Kampbjørn -> unknown

It's not mandatory to do this, but as committers would need a GitHub account to participate, it seems sensible to get this done when an import would happen. Besides, I think it's this social element (being able to easily discover the work of others) that is valuable.

Anyway, feel free to have a look:

https://github.com/builddoctor/cruisecontrol

Best,

Julian.


[1] taken from http://cruisecontrol.sourceforge.net/developers.html, and by grepping 'svn log' entries
--

Julian Simpson
The Build Doctor Ltd.
(+44) 207 183 0323

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Cruisecontrol-devel mailing list
Cruisecontrol-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-devel

[JIRA] Created: (CC-1054) Mercurial sourcecontrol patch: watched branch indication in config.xml; user-email extraction

Mercurial sourcecontrol patch: watched branch indication in config.xml; user-email extraction
---------------------------------------------------------------------------------------------

                 Key: CC-1054
                 URL: http://jira.public.thoughtworks.org/browse/CC-1054
             Project: CruiseControl
          Issue Type: Improvement
          Components: Core Application
    Affects Versions: 2.8.4
            Reporter: Pavel Shkrablyuk

Hi.

I would like to propose two patches for Mercurial sourcecontrol:
1. now one can't declare which branch should be watched for changes. we build only "default" branch
ci-server, but some development is made on other branches too. when there're new commits to those
branches - CC sees them and launches build despite the fact that those commits do not affect "default" branch.
I've added "branch" propperty to Mercurial Sourcecontrol, it's default value is "default", thus those
who build "default" don't have to mention it explicitely, and for those who want to watch different,
non-default, branch will be able to do this.
2. now Mercurial Sourcecontrol doesn't set userEmail of Modifications it produces, so I added extraction
of email to log or incoming command template

I'm not Java programmer, so please take a look if there's nothing bad in my patch.

I'll be glad if this patch will be approved.
Thanks for the grate project - it not only works good, it's so intuitive in code!

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Julian Simpson | 2 Feb 23:14
Picon
Gravatar

Github?

Hello,

I was talking to Jeffrey Fredrick the other day about putting the CruiseControl source code on GitHub.  I said I'd raise the question on the mailing list.

My thinking is that the project is more likely to get pull requests from GitHub users, than it is to get diffs via JIRA.  CruiseControl may get some more love by doing this: IMHO using GitHub lowers the bar to participation. Sure, some people will fork the project and never give back, but it's done in an overt way.

Naturally, all the committers keep their roles, just on a different system.

Any comments?

Sincerely

Julian.


--

Julian Simpson
The Build Doctor Ltd.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Cruisecontrol-devel mailing list
Cruisecontrol-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-devel
Luis Rodriguez (JIRA | 16 Jan 12:09

[JIRA] Created: (CC-1053) Plastic SCM plugin 4.0

Plastic SCM plugin 4.0
----------------------

                 Key: CC-1053
                 URL: http://jira.public.thoughtworks.org/browse/CC-1053
             Project: CruiseControl
          Issue Type: New Feature
    Affects Versions: 2.8.4
         Environment: All the operating systems
            Reporter: Luis Rodriguez
            Priority: Major

Attached is the new version of the Plastic SCM 4.0 plugin, released last 17th Nov. 2011.

I've changed and ran the unit tests corresponding to the integration, also attached.

Unfortunately I couldn't generate diff files for the changes done, so I attach the previous version of the
plugin (inside the original folder), FYI.

Thanks a lot,
Luis

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
Luis Rodriguez (JIRA | 16 Jan 12:07

[JIRA] Updated: (CC-1053) Plastic SCM plugin 4.0


     [
http://jira.public.thoughtworks.org/browse/CC-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luis Rodriguez updated CC-1053:
-------------------------------

    Attachment: PlasticSCM 4.0 plugin.zip

These are the changes. I didn't create new files, so the 4 files included are the plugin. Inside the
"original" dir I attach the original plugin, since I couldn't create the diff files. The new plugin versio
is contained within the "PlasticSCM 4.0 plugin" directory.

> Plastic SCM plugin 4.0
> ----------------------
>
>                 Key: CC-1053
>                 URL: http://jira.public.thoughtworks.org/browse/CC-1053
>             Project: CruiseControl
>          Issue Type: New Feature
>    Affects Versions: 2.8.4
>         Environment: All the operating systems
>            Reporter: Luis Rodriguez
>            Priority: Major
>         Attachments: PlasticSCM 4.0 plugin.zip
>
>
> Attached is the new version of the Plastic SCM 4.0 plugin, released last 17th Nov. 2011.
> I've changed and ran the unit tests corresponding to the integration, also attached.
> Unfortunately I couldn't generate diff files for the changes done, so I attach the previous version of the
plugin (inside the original folder), FYI.
> Thanks a lot,
> Luis

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2

new version of Plastic SCM plugin for CruiseControl

Hello,

I would like to request a new feature be added to CruiseControl.
The feature is a plugin for Plastic SCM 4.0. This plugin is compatible with previous versions of Plastic SCM.

I believe this should be implemented because the old plugin is not compatible with the new version of
Plastic SCM.

I've written this new plugin by myself and I would like to send it to you, in order to ship it within the next
version of Cruise Control .NET.

Tell me if I need to submit my changes to github, or whatever needed.

Thanks

-- 

Luis Rodríguez Neches
Software Engineer
www.codicesoftware.com <http://www.codicesoftware.com>

Plastic SCM by Codice Software 
<http://www.plasticscm.com><http://www.plasticscm.com>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Cruisecontrol-devel mailing list
Cruisecontrol-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-devel

[JIRA] Created: (CC-1052) Dashboard missing testcases when they have no children

Dashboard missing testcases when they have no children
------------------------------------------------------

                 Key: CC-1052
                 URL: http://jira.public.thoughtworks.org/browse/CC-1052
             Project: CruiseControl
          Issue Type: Bug
          Components: Dashboard
    Affects Versions: 2.8.4
         Environment: Google Chrome; Windows 7
            Reporter: Uri Moszkowicz
            Priority: Major

The dashboard correctly displays testcases when there are child nodes such as failures and errors but when
there are none you cannot see them on the dashboard.

Ex:
Suite1 
Tests: 9, Failures: 1, Errors: 0, Duration: 962.0
Suite2 
Tests: 35, Failures: 3, Errors: 0, Duration: 1512.0

There is no arrow or other identifier allowing me to expand the suites to see which testcases within them
passed. I can see the failures under a "Test Failures" heading.

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

Gmane