<!DOCTYPE author [ <!ENTITY yes_re "qr/\Ay(es)?\z/i" > <!ENTITY no_re "qr/\Ano?\z/i" > <!ENTITY yes_no_re "qr/\A(y(es)?|no?)\z/i" > ]> <machine id="VCP::Dest::p4"> <!-- ================ TRANSITIONS =================== --> <state id="dest_p4_run_p4d_prompt" class-ids="prompt_class"> <name>Launch a private p4d in a local directory</name> <description> If you are working with an offline repository in a local directory, vcp can launch a p4d in that directory on a random high numbered TCP port for you. </description> <arc from="dest_prompt" guard="'p4'"> <description>p4</description> </arc> <arc to="dest_p4_p4d_dir_prompt" guard="&yes_re;"> <description>yes</description> </arc> <arc to="dest_p4_host_prompt" guard="&no_re;"> <description>no</description> </arc> </state> <state id="dest_p4_p4d_dir_prompt" class-ids="prompt_class"> <name>Directory to run p4d in</name> <description> Enter the directory to launch the p4d in. VCP will then check that this is a valid directory. </description> <arc to="dest_p4_user_prompt" guard="sub { -d $_ ? 1 : die qw{'$_' is not a valid directory} }" /> </state> <state id="dest_p4_host_prompt" class-ids="prompt_class"> <name>P4 Host name, including port</name> <description> Enter the name and port of the p4d to read from, separated by a colon. Leave empty to use the p4's default of the P4HOST environment variable if set or "perforce:1666" if not. </description> <arc to="dest_p4_user_prompt"> </arc> </state> <state id="dest_p4_user_prompt" class-ids="prompt_class"> <name>P4 user id</name> <description> Enter the user_id (P4USER) value needed to access the server. Leave empty to the P4USER environemnt variable, if present; or the login user if not. </description> <arc to="dest_p4_password_prompt"> </arc> </state> <state id="dest_p4_password_prompt" class-ids="prompt_class"> <name>Password</name> <description> If a password (P4PASSWD) is needed to access the server, enter it here. WARNING: password will be echoed in plain text to the terminal. </description> <arc to="dest_p4_filespec_prompt"> </arc> </state> <state id="dest_p4_filespec_prompt" class-ids="prompt_class"> <name>Files to copy</name> <description> The destination spec is a perforce repository spec and must begin with // and a depot name ("//depot"), not a local filesystem spec or a client spec. There should be a trailing "/..." specified. </description> <arc to="dest_p4_change_branch_rev_prompt" guard="qr{\A//.*/\.{3}\z}"> <description>//...</description> </arc> </state> <state id="dest_p4_change_branch_rev_prompt" class-ids="prompt_class"> <name>Change branch rev #1</name> <description> Forces VCP to do a p4 integrate, add, submit sequence to branch files, thus capturing the branch and the file alterations in one change. </description> <arc to="convert" guard="&yes_no_re;"/> </state> </machine>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#28 | 5397 | Barrie Slaymaker | - Update P4PASSWD prompts to allow for not setting P4PASSWD | ||
#27 | 4581 | Barrie Slaymaker | - user prompts have been improved, but not tested | ||
#26 | 4064 | Barrie Slaymaker |
- RevML is no longer offered in the UI - Sources and dests are given an id in the UI - The .vcp file name defaulting now works |
||
#25 | 3859 | Barrie Slaymaker | - New UI files | ||
#24 | 3647 | Barrie Slaymaker |
- All UI prompts & descriptions rewritten. - Minor tweak to VCP::Dest::p4 P4USER defaulting |
||
#23 | 3644 | Barrie Slaymaker | - Add Save & Run options to end of UI | ||
#22 | 3640 | Barrie Slaymaker |
- xmllint no longer require to build UI - UI now offers multiple choices where appropriate |
||
#21 | 3572 | John Fetkovich | added y/n question to accept default of user_id | ||
#20 | 3547 | John Fetkovich | Added defaults to yes/no questions (no in all cases) | ||
#19 | 3538 | John Fetkovich | bug fix P4PASSWD defaulting | ||
#18 | 3518 | John Fetkovich | more interactive ui improvements | ||
#17 | 3502 | John Fetkovich | removed obsolete commented out (source,dest)->init calls in stml files | ||
#16 | 3486 | John Fetkovich | moved (source or dest)->init calls to bin/vcp | ||
#15 | 3455 | John Fetkovich | remove "change branch rev #1" yes/no option from interactive interface | ||
#14 | 3403 | John Fetkovich |
options given on all multiple choice prompts, and most free-form prompts where it makes sense |
||
#13 | 3397 | John Fetkovich | prompt language improvement | ||
#12 | 3396 | John Fetkovich | prompt language improvements | ||
#11 | 3395 | John Fetkovich | various ui refinements | ||
#10 | 3389 | John Fetkovich | made change_branch_rev prompt have both yes & no exit arcs | ||
#9 | 3383 | John Fetkovich |
removed setting of repo_id, it's now done in 'sub init' in the sources and dests |
||
#8 | 3375 | John Fetkovich | more ui changes | ||
#7 | 3374 | John Fetkovich | set repo_id in branch running in local directory also | ||
#6 | 3306 | Barrie Slaymaker | Add StateML namespace support | ||
#5 | 3305 | John Fetkovich |
added calls to set fields in p4 source and dest state machines, and then call to init |
||
#4 | 3289 | John Fetkovich | |||
#3 | 3260 | John Fetkovich | Improve some help texts | ||
#2 | 3254 | Barrie Slaymaker | Redo machine naminf convention. | ||
#1 | 3252 | John Fetkovich | added state machine parts for these destinations |