VCP-Source-revml.stml #2

  • //
  • guest/
  • perforce_software/
  • revml/
  • ui_machines/
  • VCP-Source-revml.stml
  • View
  • Commits
  • Open Download .zip Download (975 B)
<!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" >
  <!ENTITY non_empty_re "qr/./" >
]>

<machine id="VCP::Source::revml" xmlns="http://slaysys.com/StateML/1.0">

  <!-- ================ TRANSITIONS =================== -->

  <state id="source_revml_filespec_prompt" class-ids="prompt_class">
    <name>revml filespec</name>
    <description>

Enter the filespec which may contain trailing wildcards, like "a/b/..."
to extract an entire directory tree.

    </description>

    <arc from="source_prompt" guard="'revml'" >
      <description>revml</description>

      <handler>
        require VCP::Source::revml;
        $ui->{Source} = VCP::Source::revml->new;
        $ui->{Source}->repo_scheme( 'revml' );
      </handler>
    </arc>

    <arc to="dest_prompt" guard="&non_empty_re;">
      <handler>$ui->{Source}->repo_server( $answer );</handler>
    </arc>
  </state>


</machine>
# Change User Description Committed
#14 4581 Barrie Slaymaker - user prompts have been improved, but not tested
#13 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
#12 3859 Barrie Slaymaker - New UI files
#11 3675 Barrie Slaymaker - More of a .vcp file is now editable
#10 3666 Barrie Slaymaker - vcp can now edit existing .vcp files, for VSS sources and revml dests
#9 3647 Barrie Slaymaker - All UI prompts & descriptions rewritten.
- Minor tweak to VCP::Dest::p4 P4USER defaulting
#8 3640 Barrie Slaymaker - xmllint no longer require to build UI
- UI now offers multiple choices where appropriate
#7 3502 John Fetkovich removed obsolete commented out (source,dest)->init calls in stml files
#6 3492 John Fetkovich interative ui question re-asked if exception generated when
arc handlers are run.  a single test case for source revml
input file has been tested.
#5 3486 John Fetkovich moved (source or dest)->init calls to bin/vcp
#4 3395 John Fetkovich various ui refinements
#3 3362 John Fetkovich revml source and dest now works through interactive UI
#2 3331 John Fetkovich Small change in source revml state machine.
       split 'sub init' from 'sub new' in Source/revml.pm
       and Dest/revml.pm
#1 3330 John Fetkovich Added revml source and dest to ui state machines