Duplicate view / directory for detecting build breakage

View: New views
6 Messages — Rating Filter:   Alert me  

Duplicate view / directory for detecting build breakage

by Technophile :: Rate this Message:

| View Threaded | Show Only this Message

To detect when a checkin issue such as a missing file occurs and will break the build, I want to create a duplicate project directory.  I want to check in from my development (project) directory into the repository, update a duplicate (build-check) directory from the repository, then do a build in the duplicate (build-check) directory to detect any problems.  So far I've not figured out how to make SmartCVS do this.  

I've tried Export Backup, however Non-CVS files were copied.  This seems to make a copy of the local directory instead of giving me a copy of what is in the repository.  I want to detect Non-CVS files that should have been checked in.

Anyone know how to do this?  Thanks in advance!
Technophile

Re: Duplicate view / directory for detecting build breakage

by syntevo Support-4 :: Rate this Message:

| View Threaded | Show Only this Message

> I want to detect Non-CVS files that should have been
> checked in.

Well, SmartCVS allows to show all files recursively and puts non-CVS files before unchanged files. What else should it do to prevent user error?

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com


07/26/2011 07:30 - Technophile wrote:

>
> To detect when a checkin issue such as a missing file occurs and will break
> the build, I want to create a duplicate project directory.  I want to check
> in from my development (project) directory into the repository, update a
> duplicate (build-check) directory from the repository, then do a build in
> the duplicate (build-check) directory to detect any problems.  So far I've
> not figured out how to make SmartCVS do this.  
>
> I've tried Export Backup, however Non-CVS files were copied.  This seems to
> make a copy of the local directory instead of giving me a copy of what is in
> the repository.  I want to detect Non-CVS files that should have been
> checked in.
>
> Anyone know how to do this?  Thanks in advance!
> Technophile
>
> --
> View this message in context:
> http://old.nabble.com/Duplicate-view---directory-for-detecting-build-breakage-tp32136161p32136161.html
> Sent from the SmartCVS - Discussion mailing list archive at Nabble.com.
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

Re: Duplicate view / directory for detecting build breakage

by Technophile :: Rate this Message:

| View Threaded | Show Only this Message

I appreciate the sorting by state feature.  It is very useful to me and
does reduce my error rate.

As I see it, relying entirely on sorting by state assumes that:

    * The user will not make any mistakes
    * All files are added / checked in when checkins are done

These assumptions do not match my situation:

    * I'm doing machine tool control work and sometimes work in a lab /
      machine shop.  There can be hammering, riveting and people cutting
      metal with power saws.
    * There are interruptions.
    * I get switched to different projects sometimes, leaving code
      half-written.  I do not want to discard this work.
    * I'm working on project A which shares a common code library (call
      it Lib01) with project B.  Sometimes I do partial checkins to e.g.
      make Lib01 additions available to project B.

It seems to me that occasional user errors are unavoidable.  I would
like to be able to detect user error easily once it occurs.

My existing files are under one directory structure, call it C:\Projects\.

I want to update (read-only is fine) the same repository contents into
another directory, call it C:\TestBuild\.  I will then perform a build
in C:\TestBuild\ to test the repository contents.

Is there an existing way to do this?

Thank you and best regards,
Scott Willis

On 7/26/2011 6:40 AM, syntevo Support wrote:

>> I want to detect Non-CVS files that should have been
>> checked in.
> Well, SmartCVS allows to show all files recursively and puts non-CVS files before unchanged files. What else should it do to prevent user error?
>
> --
> Best regards,
> Thomas Singer
> =============
> syntevo GmbH
> http://www.syntevo.com
> http://blog.syntevo.com
>
>
> 07/26/2011 07:30 - Technophile wrote:
>
>> To detect when a checkin issue such as a missing file occurs and will break
>> the build, I want to create a duplicate project directory.  I want to check
>> in from my development (project) directory into the repository, update a
>> duplicate (build-check) directory from the repository, then do a build in
>> the duplicate (build-check) directory to detect any problems.  So far I've
>> not figured out how to make SmartCVS do this.
>>
>> I've tried Export Backup, however Non-CVS files were copied.  This seems to
>> make a copy of the local directory instead of giving me a copy of what is in
>> the repository.  I want to detect Non-CVS files that should have been
>> checked in.
>>
>> Anyone know how to do this?  Thanks in advance!
>> Technophile
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Duplicate-view---directory-for-detecting-build-breakage-tp32136161p32136161.html
>> Sent from the SmartCVS - Discussion mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


[Non-text portions of this message have been removed]


Re: Duplicate view / directory for detecting build breakage

by syntevo Support-4 :: Rate this Message:

| View Threaded | Show Only this Message

> I've tried Export Backup, however Non-CVS files were copied.

Most likely you selected the project root. Instead select all files you
want and then invoke Export Backup.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com


On 26.07.2011 00:57, Technophile wrote:

>
> To detect when a checkin issue such as a missing file occurs and will break
> the build, I want to create a duplicate project directory.  I want to check
> in from my development (project) directory into the repository, update a
> duplicate (build-check) directory from the repository, then do a build in
> the duplicate (build-check) directory to detect any problems.  So far I've
> not figured out how to make SmartCVS do this.
>
> I've tried Export Backup, however Non-CVS files were copied.  This seems to
> make a copy of the local directory instead of giving me a copy of what is in
> the repository.  I want to detect Non-CVS files that should have been
> checked in.
>
> Anyone know how to do this?  Thanks in advance!
> Technophile
>

Re: Duplicate view / directory for detecting build breakage

by Technophile :: Rate this Message:

| View Threaded | Show Only this Message

Hi Thomas,

So if I'm understanding you, you are saying that selecting the files I
want and invoking Export Backup will export the files and versions that
are *in the repository*, and will NOT export local modified versions of
files?

I just tried that.  The Export Backup command exported the local
modified version instead of the repository contents.

Apparently I've not communicated what I need.  Could you please echo
back to me your understanding of what I'm trying to accomplish, so I can
address any specific points?

Thank you,
Scott


On 7/27/2011 12:57 AM, Thomas Singer (syntevo) wrote:

>> I've tried Export Backup, however Non-CVS files were copied.
> Most likely you selected the project root. Instead select all files you
> want and then invoke Export Backup.
>
> --
> Best regards,
> Thomas Singer
> =============
> syntevo GmbH
> http://www.syntevo.com
> http://blog.syntevo.com
>
>
> On 26.07.2011 00:57, Technophile wrote:
>> To detect when a checkin issue such as a missing file occurs and will break
>> the build, I want to create a duplicate project directory.  I want to check
>> in from my development (project) directory into the repository, update a
>> duplicate (build-check) directory from the repository, then do a build in
>> the duplicate (build-check) directory to detect any problems.  So far I've
>> not figured out how to make SmartCVS do this.
>>
>> I've tried Export Backup, however Non-CVS files were copied.  This seems to
>> make a copy of the local directory instead of giving me a copy of what is in
>> the repository.  I want to detect Non-CVS files that should have been
>> checked in.
>>
>> Anyone know how to do this?  Thanks in advance!
>> Technophile
>>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


[Non-text portions of this message have been removed]


Re: Duplicate view / directory for detecting build breakage

by syntevo Support-4 :: Rate this Message:

| View Threaded | Show Only this Message

Hi Scott,

> So if I'm understanding you, you are saying that selecting the files I
> want and invoking Export Backup will export the files and versions that
> are *in the repository*, and will NOT export local modified versions of
> files?

No, the Export Backup feature only works on the local files. If you want to get a fresh state of the repository to build it, I recommend to use a script which uses command line CVS that checks out a new copy to a temporary directory and performs the build.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com


07/27/2011 20:00 - Scott Willis wrote:

> Hi Thomas,
>
> So if I'm understanding you, you are saying that selecting the files I
> want and invoking Export Backup will export the files and versions that
> are *in the repository*, and will NOT export local modified versions of
> files?
>
> I just tried that.  The Export Backup command exported the local
> modified version instead of the repository contents.
>
> Apparently I've not communicated what I need.  Could you please echo
> back to me your understanding of what I'm trying to accomplish, so I can
> address any specific points?
>
> Thank you,
> Scott
>
>
> On 7/27/2011 12:57 AM, Thomas Singer (syntevo) wrote:
> >> I've tried Export Backup, however Non-CVS files were copied.
> > Most likely you selected the project root. Instead select all files you
> > want and then invoke Export Backup.
> >
> > --
> > Best regards,
> > Thomas Singer
> > =============
> > syntevo GmbH
> > http://www.syntevo.com
> > http://blog.syntevo.com
> >
> >
> > On 26.07.2011 00:57, Technophile wrote:
> >> To detect when a checkin issue such as a missing file occurs and will break
> >> the build, I want to create a duplicate project directory.  I want to check
> >> in from my development (project) directory into the repository, update a
> >> duplicate (build-check) directory from the repository, then do a build in
> >> the duplicate (build-check) directory to detect any problems.  So far I've
> >> not figured out how to make SmartCVS do this.
> >>
> >> I've tried Export Backup, however Non-CVS files were copied.  This seems to
> >> make a copy of the local directory instead of giving me a copy of what is in
> >> the repository.  I want to detect Non-CVS files that should have been
> >> checked in.
> >>
> >> Anyone know how to do this?  Thanks in advance!
> >> Technophile
> >>
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>