mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
added TODO for test scenarios to add
This commit is contained in:
parent
19686d549c
commit
157fa3868a
1 changed files with 15 additions and 0 deletions
|
@ -33,6 +33,21 @@ logger = logging.getLogger('subversion')
|
|||
#logger.addHandler(hdlr)
|
||||
logger.setLevel(logging.DEBUG)
|
||||
|
||||
# TODO test scenarios:
|
||||
# hacking/test-module -m library/subversion ; cat /tmp/subversion.log
|
||||
# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\"" ; cat /tmp/subversion.log
|
||||
# hacking/test-module -m library/subversion -a "dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log
|
||||
# when /tmp/gnconf doesn't exist:
|
||||
# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log
|
||||
# when /tmp/gnconf is a folder, but its not an svn repo
|
||||
# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log
|
||||
# when /tmp/gnconf is a folder, but its a file (not a folder)
|
||||
# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log
|
||||
# when /tmp/gnconf is a folder, when its a different svn URL
|
||||
# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log
|
||||
# when /tmp/gnconf is a folder, when its a different revision
|
||||
# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log
|
||||
|
||||
def get_version(dest):
|
||||
''' samples the version of the git repo '''
|
||||
logger.debug('get_version')
|
||||
|
|
Loading…
Reference in a new issue