MantisBT - CMake
View Issue Details
0011173CMakeModulespublic2010-08-25 19:102011-02-07 10:41
Hans Johnson 
David Cole 
highmajorhave not tried
closedfixed 
CMake-2-8 
 
0011173: SVN_USERNAME and SVN_PASSWORD breaks ExternalProject
It looks like SVN_USERNAME and SVN_PASSWORD are now required. This appears to change the behavior of svn to have

"svn co <URI> --username= --password= <PATH>"

when it used to be:
"svn co <URI> <PATH>"

The second option would prompt for username and password once per machine, and store the response in my cache.

The first option is avoiding looking in the cache.

=====================================
I believe that the --username and --password options should be left off the command line if they are blank.

=====================================
This requires that I make a "dummy" so that unattended checkouts can occur.



    get_property(svn_revision TARGET ${name} PROPERTY _EP_SVN_REVISION)
    get_property(svn_username TARGET ${name} PROPERTY _EP_SVN_USERNAME)
    get_property(svn_password TARGET ${name} PROPERTY _EP_SVN_PASSWORD)

    set(repository "${svn_repository} user=${svn_username} password=${svn_password}")
    set(module)
    set(tag ${svn_revision})
    configure_file(
      "${CMAKE_ROOT}/Modules/RepositoryInfo.txt.in"
      "${stamp_dir}/${name}-svninfo.txt"
      @ONLY
      )
No tags attached.
related to 0010484closed Brad King There is no way to run svn/git/hg with custom options like --username. 
Issue History
2010-08-25 19:10Hans JohnsonNew Issue
2010-08-25 19:28Hans JohnsonNote Added: 0021966
2010-08-27 15:50David ColeStatusnew => assigned
2010-08-27 15:50David ColeAssigned To => David Cole
2010-08-29 02:35Kovarththanan RajaratnamCategoryCMake => Modules
2010-08-29 02:35Kovarththanan RajaratnamAdditional Information Updated
2010-09-09 17:58David ColePrioritynormal => high
2010-09-09 17:58David ColeAdditional Information Updated
2010-10-22 16:32David ColeNote Added: 0022664
2010-10-22 16:32David ColeStatusassigned => resolved
2010-10-22 16:32David ColeResolutionopen => fixed
2011-01-17 15:57Brad KingRelationship addedrelated to 0010484
2011-02-07 10:41David ColeNote Added: 0025313
2011-02-07 10:41David ColeStatusresolved => closed

Notes
(0021966)
Hans Johnson   
2010-08-25 19:28   
I can not add relation ships here. It is related to the closed bug issue:

http://www.cmake.org/Bug/view.php?id=8128 [^]
(0022664)
David Cole   
2010-10-22 16:32   
Fixed in 'next' branch of CMake today:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e1282f840fe50707c928079465ab315f07a59fe [^]
(0025313)
David Cole   
2011-02-07 10:41   
Closing resolved issues that have not been updated in more than 3 months.