Re: Subversion Rev number - quick question

2013-01-01 Thread Florian Weimer
* Z. W.:

> Issue: For those files that User C checks in, we like to pick up the
> previous versions of those files, prior to User C's checkouts after
> the job B begins running and not pick up the files versions that
> User B checks in during the job B run.
>
> We like to know if there is anything needed to be done in SVN to
> make it work ?

You can specify an explicit revision number when performing the
checkouts.  This way, you can ensure that they are consistent.

Tags are mostly overkill for this, especially if you keep track of the
revision number you used by other means.


Re: Subversion Rev number - quick question

2013-01-01 Thread Thorsten Schöning
Guten Tag Florian Weimer,
am Dienstag, 1. Januar 2013 um 17:39 schrieben Sie:

> You can specify an explicit revision number when performing the
> checkouts.  This way, you can ensure that they are consistent.

But especially in a context of Jenkins and Co. this is not the default
behavior and would require manual intervention all the day.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail:thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon...05151-  9468- 55
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow



Re: Subversion Rev number - quick question

2013-01-01 Thread Thorsten Schöning
Guten Tag Z W,
am Montag, 31. Dezember 2012 um 20:48 schrieben Sie:

> Issue: For those files that User C checks in, we like to pick up the
> previous versions of those files, prior to User C's checkouts after
> the job B begins running and not pick up the files versions that User
> B checks in during the job B run.

> We like to know if there is anything needed to be done in SVN to make it work 
> ?

Besides tags I don't see any way directly in Subversion and form my
opinion it is nothing which needs to or even can be addressed in
Subversion as it's a special case depending on software builds of a
company.

What you could try is script your Jenkins jobs in a way where your
first job of the chain saves a timestamp or revision number, depending
on your repo layout, of what to checkout in subsequent jobs. For
example Jenkins may checkout or update it working copies to head, as
it does by default, but in the scripts you created to actually run the
builds or whatever you do, you can update the working copies to a
specific version or a version below a specific timestamp, a value,
which the first job of the chain stored somewhere accessible for your
other jobs.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail:thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon...05151-  9468- 55
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow



Re: Subversion Rev number - quick question

2013-01-01 Thread Les Mikesell
On Mon, Dec 31, 2012 at 1:48 PM, Z W  wrote:
> Hi All
>
> We are new to SVN.
> We are unsure where to configure in SVN, if needed, while using it
> with Jenkins/Hudson CI tool.
>
> We have a big chained job that runs for about an hour. Chained job
> meaning several jobs combined using downstream connections of jobs.
>
> We have the following problem, which is better explained in use case scenario:
>
> 3pm - User A checks in files into SVN directory X
> 315pm - Job B (has 4 subjobs) - and subjob 1 - checkouts files from
> SVN directory X, compiles and completes subjob run, then
> 320pm - subjob 2 - checksouts files from SVN directory Y and compiling
> 325pm - User C checks in files into SVN directory Z
> 335pm - subjob2 completes run and subjob 3 - checkouts files from SVN
> directory Z, compiles and completes subjob run, then
> 345pm - subjob4 checkouts files from SVN directory G, compiles and
> completes subjob run
> 4pm - subjob 4 completes run.
>
> Issue: For those files that User C checks in, we like to pick up the
> previous versions of those files, prior to User C's checkouts after
> the job B begins running and not pick up the files versions that User
> B checks in during the job B run.
>
> We like to know if there is anything needed to be done in SVN to make it work 
> ?
>
> Thanks all for your contribution.

If there is a way to pass information among the build jobs, pick up
the revison number of the checkout for job B and specify it in peg
revison format (path@rev) for the subsequent jobs.   For something
more human-readable you could also copy the project revision to a tag
at the start of job B and do all the builds from the tag snapshot.
The details of how to mesh that with jenkins would be a better
question for the jenkins list.   You might need to use parametrized
builds with something external passing in the revision (easy to do
with the rest interface) to kick it off instead of polling the svn
repository for changes.

-- 
   Les Mikesell
 lesmikes...@gmail.com


PySVN 1.7.7 - binary kits built against SVN 1.7.8

2013-01-01 Thread Barry Scott
PySVN home page: http://pysvn.tigris.org/

The kits have been built against SVN 1.7.8 release
for python 2.6, 2.7, 3.2 and 3.3.

This release include:
* bug fixes for reported issues
* Support SVN 1.7.8
* New Mac installer

Features of PySVN:

* Natural python interface to Subversion
* Supports Subversion 1.2.0 thru 1.7.8
* Supports Python 2.5, 2.6, 2.7, 3.2 and 3.3
* Full reference documentation
* Working example of svn command line written in python
* Binary kits for:
 - Windows
 - Mac OS X 10.7 and 10.8 Intel for both Apple Python and Python.Org python
* Source kit tested:
 - Linux Fedora 17
 - Windows 7, Microsoft Visual Studio 2008 x86 tools
 - Mac OS X 10.8 Lion

Download page: http://pysvn.tigris.org/project_downloads.html

Source kits:
  http://pysvn.tigris.org/servlets/ProjectDocumentList?folderID=1762
  http://pysvn.barrys-emacs.org/ (recommended for distribution packagers)

Windows Binary Kits:
  http://pysvn.tigris.org/servlets/ProjectDocumentList?folderID=1768

Mac OS X Binary Kits:
  http://pysvn.tigris.org/servlets/ProjectDocumentList?folderID=2860

Barry



PySVN WorkBench 1.6.7 - built against SVN 1.7.8

2013-01-01 Thread Barry Scott
PySVN home page: http://pysvn.tigris.org/

PySVN Workbench documentation http://pysvn.tigris.org/docs/WorkBench.html

The kits have been built against SVN 1.7.8 release.

Features of this release:
* Support Subversion 1.7.8

Features of PySVN WorkBench:

* Easy to use working copy management
* Same Look and Feel across Windows, Mac OS X and Unix
* Integration of custom command shell, diff tools and editor
* Bookmark working copy directories for fast navigation in large projects
* Instant filtering of files lists to allow you to find the file you are 
looking for quickly.
* OS File Open on Windows, Mac OS X and Unix
* Binary kits for:
- Windows (Tested on Window 7)
- Mac OS X 10.7 and later Intel (Tested on Mac OS X 10.8 Lion)

Download page: http://pysvn.tigris.org/project_downloads.html

Source kits:
  http://pysvn.tigris.org/servlets/ProjectDocumentList?folderID=1763
   http://pysvn.barrys-emacs.org/ (recommended for distribution packagers)

Windows Binary Kits:
  http://pysvn.tigris.org/servlets/ProjectDocumentList?folderID=1765

Mac OS X Binary Kits:
  http://pysvn.tigris.org/servlets/ProjectDocumentList?folderID=2867

Barry