[Bps-public-commit] RTx-TakeScreenshots branch, master, updated. 3602b030b6de9e9206177a3b08fc900fa4a595fe

Thomas Sibley trs at bestpractical.com
Wed Mar 16 17:11:32 EDT 2011


The branch, master has been updated
       via  3602b030b6de9e9206177a3b08fc900fa4a595fe (commit)
       via  571099bb7a4976cdaa1c5d66a4a7fc7c92e882d3 (commit)
       via  f312940d4425d756fc321af7590bbf75947a42d3 (commit)
       via  48237daf767b3cba30a4d47eafeb3e0df092d35f (commit)
       via  d06b146bd98adba89f13e1ecfdc803f005575c19 (commit)
      from  76acca6ab21c2b171446d4d0aef60b8cc82aec01 (commit)

Summary of changes:
 META.yml             |    3 +++
 Makefile.PL          |    3 +++
 README               |    4 +++-
 bin/clean-slate      |    3 +++
 bin/take-screenshots |    6 +++++-
 5 files changed, 17 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit d06b146bd98adba89f13e1ecfdc803f005575c19
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Mar 16 17:09:26 2011 -0400

    Note clean-slate in the README

diff --git a/README b/README
index 3951984..c9cdf9d 100644
--- a/README
+++ b/README
@@ -1,2 +1,4 @@
 This doesn't actually need to be installed to work.  It does expect its
-initialdata file to be loaded, so run make initdb.
+initialdata file to be loaded, so run make initdb.  Even better, run
+./bin/clean-slate to force reset your RT database and then run make
+initdb in this extension.

commit 48237daf767b3cba30a4d47eafeb3e0df092d35f
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Mar 16 17:10:01 2011 -0400

    Convert output dir to an absolute path
    
    Otherwise Selenium dies.

diff --git a/bin/take-screenshots b/bin/take-screenshots
index a9b94ba..da43cc4 100755
--- a/bin/take-screenshots
+++ b/bin/take-screenshots
@@ -2,6 +2,7 @@
 use strict;
 use warnings;
 
+use Path::Class qw(file);
 use WWW::Selenium;
 use WWW::Selenium::Util qw/server_is_running/;
 
@@ -21,6 +22,9 @@ unless ($RT) {
     die "Usage: $0 --url http://localhost:8008 --output .\n";
 }
 
+# Convert output to absolute path for selenium
+$output = file($output)->absolute;
+
 # title|path -> [title, path]
 my @pages = map  { [ split /\|/, $_, 2 ] }
             grep { not /^#/ and /\S/ }

commit f312940d4425d756fc321af7590bbf75947a42d3
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Mar 16 17:10:35 2011 -0400

    Give me dependencies, or give me death

diff --git a/META.yml b/META.yml
index 7f87ca5..6e5443a 100644
--- a/META.yml
+++ b/META.yml
@@ -17,6 +17,9 @@ no_index:
   directory:
     - etc
     - inc
+requires:
+  Path::Class: 0
+  WWW::Selenium: 0
 resources:
   license: http://dev.perl.org/licenses/
 version: 0.01
diff --git a/Makefile.PL b/Makefile.PL
index b9e28ff..ad5f812 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -3,4 +3,7 @@ use inc::Module::Install;
 RTx('RTx-TakeScreenshots');
 all_from('lib/RTx/TakeScreenshots.pm');
 
+requires 'Path::Class';
+requires 'WWW::Selenium';
+
 &WriteAll;

commit 571099bb7a4976cdaa1c5d66a4a7fc7c92e882d3
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Mar 16 17:11:06 2011 -0400

    Work around a bug that kills inc/ for authors

diff --git a/bin/clean-slate b/bin/clean-slate
index 1d3d52e..656d752 100755
--- a/bin/clean-slate
+++ b/bin/clean-slate
@@ -9,3 +9,6 @@ cd $RT
 
 cd $EXT
 echo -ne "\n" | make initdb
+
+# Rerun Makefile.PL to work around a M::I bug
+perl Makefile.PL

commit 3602b030b6de9e9206177a3b08fc900fa4a595fe
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Mar 16 17:11:23 2011 -0400

    The theme editor moved

diff --git a/bin/take-screenshots b/bin/take-screenshots
index da43cc4..6fe24cf 100755
--- a/bin/take-screenshots
+++ b/bin/take-screenshots
@@ -105,7 +105,7 @@ search_bulk_update|/Search/Bulk.html?Query=id+<+4;Order=DESC
 ticket_relationships|/Ticket/Graphs/index.html?id=1&Direction=LR&LeadingLink=DependsOn&MaxDepth=0&ShowLinks=MemberOf&ShowLinks=RefersTo&FillUsing=&Level-1-Properties=Subject&Level-1-Properties=Status&Level-2-Properties=Subject&Level-2-Properties=Status&Level-3-Properties=Subject&Level-3-Properties=Status&Update=Update+Graph&SavedSearchId=new&SavedSearchOwner=RT::User-12&SavedSearchDescription=&SavedSearchLoad=
 dashboard|/Dashboards/10/SLA+Performance
 dashboard_subscription|/Dashboards/Subscription.html?id=10
-theme_editor|/Admin/Global/Theme.html
+theme_editor|/Admin/Tools/Theme.html
 admin_rights_editor|/Admin/Global/GroupRights.html
 # Once we hit a mobile page, we resize to a smaller window.  Only mobile pages
 # should be below this line.

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list