← Back to team overview

mvhub-dev team mailing list archive

[Merge] lp:~emaadmanzoor/mvhub/mvhub-devpkg into lp:mvhub

 

Emaad Ahmed Manzoor has proposed merging lp:~emaadmanzoor/mvhub/mvhub-devpkg into lp:mvhub.

Requested reviews:
  MVHub Developers (mvhub-dev)

For more details, see:
https://code.launchpad.net/~emaadmanzoor/mvhub/mvhub-devpkg/+merge/65492

Adds the mvhub-dev-env packaging work directory.
-- 
https://code.launchpad.net/~emaadmanzoor/mvhub/mvhub-devpkg/+merge/65492
Your team MVHub Developers is requested to review the proposed merge of lp:~emaadmanzoor/mvhub/mvhub-devpkg into lp:mvhub.
=== added directory 'devpkg-mvhub'
=== added directory 'devpkg-mvhub/doc'
=== added file 'devpkg-mvhub/doc/bulleted_chatlog_15062011.txt'
--- devpkg-mvhub/doc/bulleted_chatlog_15062011.txt	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/doc/bulleted_chatlog_15062011.txt	2011-06-22 13:03:39 +0000
@@ -0,0 +1,113 @@
+----------------------------------
+Chatlog Annotated With My Thoughts
+----------------------------------
+
+Dan: app-mvhub/setup/ is theoretically the start of a directory to build a package
+
+the sourcing / alias stuff will be hard to do in a way that complies with debian packaging guidelines
+
+creating a new development setup should take 5-10 minutes for somebody with basic debian/ubuntu skills
+
+well maybe we don't need to package more than mv_update_development and ...
+8:18 PM app-mvhub/doc/checklists/install_mvhub.txt
+  app-mvhub/doc/checklists/setup_developer_on_brave.txt
+  the later two translated to scripts
+
+Dan: the install_mvhub.txt maybe largely taken care of by the package scripts
+
+Dan: if
+/var/www/mvhub/$USER/link-to-live-code/mvhub-dev/usr/bin/
+
+is in $PATH with higher precedence than /usr/bin/ everything should just work
+ me: ok..
+ Dan: yes
+after setup
+  cdw
+  bzr branch lp:mvhub my_new_feature_branch
+8:39 PM mv_set_active
+ me: When they do t
+
+current scope is personal development machine
+
+Dan: Another random note, it would be good to eyeball the debian web-apps policy manual
+  I'm pretty sure modifyng /etc/hosts is a bit naughty
+
+Dan: Some of the tests create a temporary sqlite db
+ me: hmm..
+ Dan: the live site runs on postgresql
+
+me: wouldn't something break when the final mvhub app is not in var/www/mvhub?
+8:51 PM Dan: The path to the database file would be in the conf file
+8:53 PM many maybe most of the paths are relative and calculated from a configurable base
+
+Dan: but implementing the checklists as script would be next
+
+well, most of the dev scripts aren't needed unless you are working on a branch
+  mv_install # new
+  mv_setup_developer # new
+9:02 PM mv_update_developer
+  mv_cdw # renamed maybe not possible as a script instead of an alias
+  those are all the things that off the top of my head need to be in /usr/bin/
+
+some other stuff in app-mvhub/project tools will be needed in /usr/share/doc/mvhub 
+
+Dan: hey you do know that some of the perl libraries are pulled in via CPANPLUS ? 
+
+Dan: Correct, We don't need to be using the bleeding edge versions
+9:25 PM the right way (trademark) is to get the packed libraries into debian
+  which doesn't look hard, just time consuming
+
+Dan: It is a serious naugthy thing to imbed libraries in your project's package (as we do with CGI::FormBuilder 
+
+Dan: Sometimes I need to be reminded that ugly and working is better than pretty and not finished
+  yes the lib package would be a dependency of your package
+9:33 PM DBIx::XHTML_Table undef
+IPC::System::Simple undef
+HTML::Strip undef
+Devel::NYTProf undef
+Parse::AccessLogEntry undef
+Set::Array undef
+SQL::Library undef
+Test::HTML::Lint undef
+Test::WWW::Mechanize undef
+Text::xSV undef
+URI::Escape undef
+WWW::Mechanize undef
+9:34 PM me: What are these?
+ Dan: From:
+
+grep '::' lib-mvhub/lib/Bundle/MVHub.pm
+ me: ok..
+  These are your libs..
+9:35 PM Dan: these are libraries we grab from CPAN because there is no debian package
+  or was none in debian etch
+  some are in ubuntu 10.4 now
+  our targets are ubuntu 10.4 and 11.10
+
+Dan: Another consideration is that a lot of the MVHub::Setup code is shared by mv_update_development mv_update_staging mv_update_production
+
+Setup.pm would presumably go in your dev package...?
+9:50 PM me: Yeah..
+  I'll make a deb of the pm..
+  add it as a dependency
+9:51 PM Dan: It is an internal library , useless for anything but setting up MVhub...
+  I'd be inclined to keep it in the mvhub-dev package
+
+Dan: the .pm files should go where the packaging guidelines say they should go
+  there are two sets of dependences
+9:53 PM maybe (3)
+  (1) for the mv_* scripts esp mv_update_*
+  (2) so when a branch is checked out the developer can have a usible website
+9:54 PM (3) for some of the unit tests / integration tests in lib-mvhub/t/
+ me: hmm..
+ Dan: (3a) / profiling / code coverage tools (specific mv_*)
+9:56 PM for mv_profile and mv_cover , you can modify them to die and a graceful and helpful way if the NTY:Profile and Devel::Cover libraries aren't present
+
+Dan: debconf for the .ssh/ and .bazaar stuff (prompt for launchpad id , prompt for ssh pass phrase & generate id_rsa_launchpad.* )
+
+Dan: it shouldn't be too hard to include apache2 as dependency , let apt* install it and then drop mvhub.conf and mvhub.data in /etc/apache2/sites-avaliable
+
+Dan: bits of the existing install_mvhub.txt that aren't scriptified should go on the wiki
+
+
+

=== added file 'devpkg-mvhub/doc/bulleted_chatlog_17062011.txt'
--- devpkg-mvhub/doc/bulleted_chatlog_17062011.txt	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/doc/bulleted_chatlog_17062011.txt	2011-06-22 13:03:39 +0000
@@ -0,0 +1,33 @@
+----------------------------------
+Chatlog Annotated With My Thoughts
+----------------------------------
+
+<thought>
+	Don't spend so much time being pedantic about Debian policy.
+	
+	What I should be trying to do is let the developer double-click,
+	follow a set of prompts, and have his environment set up interactively.
+</thought>
+
+Dan: sure, but People developing mvhub for selves are by my fiat outside scope
+
+Dan: ok so we want mvhub-dev-enviroment
+
+Dan: the use case is "student installing on his laptop for himself"
+
+Dan: no , see mv_update_development
+
+Dan: and app-mvhub/setup/database/README
+
+the application is more than source code
+8:50 PM database schema changes fairly often and it is tedious, error prone and time consuming to make the changes by hand
+
+Dan: or (hopefully) mv_update_development calls routines in MVHub::Utils::Setup to do the work
+
+me: What if I run this script post-installation?
+ Dan: yes
+  that would do it
+ me: my @ALLOWED_HOSTS = qw/ brave cricket josephine /;
+8:56 PM Dan: or more better to put the relivant sub routines in post-install
+
+ 

=== added file 'devpkg-mvhub/doc/goals.txt'
--- devpkg-mvhub/doc/goals.txt	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/doc/goals.txt	2011-06-22 13:03:39 +0000
@@ -0,0 +1,54 @@
+-------------
+Project Goals
+-------------
+
+Debian/Ubuntu
+-------------
+
+Right now, our software is a pain to install. It would be easier for users if they could:
+	
+	aptitude install mvhub
+
+It would be easier on us as well. Your task would be to create script to build a debian package of our software. If you have some experience building debian packages, this will be easier than if you have none.
+
+
+Separate developer package
+--------------------------
+
+Right now, our little development tools are mixed in with our application software. If our development tools were a separate package, you'd:
+
+	get some experience building a relatively simple package before tackling the bigger application.
+	make it easier for people to start hacking on our software.
+	reduce some clutter for end users.
+
+Your task would be to create script to build a Debian package of our developer tools. Probably /usr/bin/mv_* and /usr/sbin/* /usr/share/doc/mvhub/ would be enough. The most important functionality would be to allow our development environment to be setup on an recent flavor of ubuntu or debian and once it was setup, to push/pull branch/merge to from launchpad.net
+
+A big problem is that the current install checklist is cumbersome and prone to error. Or not, packaging may magically make things easier.
+
+-----------------
+Discussion Points
+-----------------
+
+1. If you are interested in packaging, you might try looking at:
+
+       app-mvhub/doc/checklists/
+
+...and seeing what we do by hand now and what could broken off into sub
+packages.
+
+2. Making the whole application installable by aptitude is a big
+complicated task with a high risk of failure ( failure == not finished
+enough to be useful)
+
+3. Some ideas, I plan to flesh out in the wiki, but maybe not before the
+deadline:
+
+	-- a run time prerequisites package (all .debs we need to run)
+
+	-- a cpan package (.pm files only, contents of mvhub-lib )
+ 
+	-- a lib only .deb package, package of just the library files
+
+	-- a test library package prerequisites package, most of the obscure libs are used for tests
+
+	-- restructuring directories below link-to-live-code to match 'file system hierarchy standard'

=== added file 'devpkg-mvhub/doc/notes_and_questions.txt'
--- devpkg-mvhub/doc/notes_and_questions.txt	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/doc/notes_and_questions.txt	2011-06-22 13:03:39 +0000
@@ -0,0 +1,83 @@
+-------------------
+Notes And Questions
+-------------------
+
+(AKA Wiki Material)
+
+This is where I'll document the questions I had and the answers I found while building the mvhub-dev package. A more refined version of this should make its way to some wiki page, and my blog. It should be of some help to anyone starting out with Debian packaging from scratch.
+
+Note: Everything's been tested only on Ubuntu 10.10.
+
+-------------------------------------
+1. Installing A LAMP Stack On Ubuntu:
+-------------------------------------
+
+I've been working conveniently with XAMPP for a while; it's a single archive I just download and drop into /opt, that contains all the LAMP binaries, extra modules and scripts to work with them. But now I'll have to grow up.
+
+Fortunately, I stumbled across a neat new way to do this:
+
+	sudo tasksel install lamp-server
+
+Follow the rest of the instructions here: https://help.ubuntu.com/community/ApacheMySQLPHP
+
+2. Testing your LAMP Stack:
+
+	Go to http://localhost/ to see "It works!".
+
+3. Configuring your LAMP stack:
+
+	a. Own your webroot:
+		
+		sudo chown -R <username> /var/www
+
+	b. Allow overridable .htaccess files:
+
+		i. sudo gedit /etc/apache2/sites-available/default
+		
+		ii. Find the section that looks like this:
+			
+				<Directory /var/www/>
+					Options Indexes FollowSymLinks MultiViews
+					AllowOverride None
+					Order allow,deny
+					allow from all
+				</Directory>
+			
+			and change "AllowOverride None" to "AllowOverride All".
+		
+		iii. Reload Apache:
+			
+				sudo /etc/init.d/apache2 reload
+		
+		iv. Test:
+				
+				echo "<?php phpinfo(); ?>" > /var/www/phpinfo.php
+				http://localhost/phpinfo.php
+	
+4. Optional - Install phpMyAdmin:
+
+		i. 		sudo apt-get install phpmyadmin libapache2-mod-auth-mysql
+		
+		You might need to edit /etc/dbconfig-common/phpmyadmin.conf
+
+		ii.		http://localhost/phpmyadmin
+
+-----------------------
+2. Questions About LAMP
+-----------------------
+
+	Should mvhub-dev run the tasksel mentioned above? (would work only on Ubuntu)
+	Should mvhub-dev pull in the packages mentioned above? (All Debian variants)
+	Should mvhub-dev configure Apache's overridable .htaccess settings?
+
+----------------------------------------------------
+3. Notes & Questions From The New Maintainer's Guide
+----------------------------------------------------
+
+	What assumptions can me made about the developer's environment?
+
+-------
+Contact
+-------
+
+Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>

=== added file 'devpkg-mvhub/doc/reason_impact_inspiration.txt'
--- devpkg-mvhub/doc/reason_impact_inspiration.txt	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/doc/reason_impact_inspiration.txt	2011-06-22 13:03:39 +0000
@@ -0,0 +1,39 @@
+--------------------------------------------------------------
+Reason For The Project, Inspiration, And Its (Intended) Impact
+--------------------------------------------------------------
+
+Beginning MVHub developers and users currently need to follow the procedure outlined in install_mvhub.txt, after checking out the entire MVHub trunk from Launchpad. This also involves installing a large number of developer scripts, dependency packages, manually setting up the environment and running relevant tests.
+
+The process thus un-automated is time consuming. Further, end users may end up with a number of scripts and other debris they won’t require unless hacking at the code.
+
+The project idea I intend to take up will involve segregating the files required by developers only and then building a Debian package to automate setting up the developer environment. The next step would be to construct a Launchpad recipe and set up a PPA to automate building the nightly developer package.
+
+I also plan to package the CPAN libraries required, and the MVHub bundle libraries (lib-mvhub). I’ll give cpan-packager a try to build deb’s out of the CPAN modules.
+
+Additionally, this procedure should form enough of a foundation to begin packaging the MVHub trunk for end-users. While completion of the trunk packaging task may not be possible within the 12 week time-frame, there will be enough time to document my procedure with the developer package and formulate a rough blueprint to build the trunk package, which I wish to tackle at a slower pace after completing this project.
+
+The completed package will be tested and installable on any Debian-based system (Lenny and later | Hardy and Later | Mint etc.).
+
+This will enable installation of all developer scripts and required CPAN modules via a deb package, and updates fetched from nightly PPA’s. This should reduce the technical barrier and starting time for new developer volunteers.
+
+Deliverables
+------------
+
+1. mvhub-dev package: Installs developer scripts
+2. mvhub-dev PPA
+3. mvhub-cpan package: Installs CPAN modules and MVHub’s Perl modules
+4. mvhub-cpan PPA
+
+If Time Permits
+---------------
+
+Begin work on the trunk package; start with defining where what will get installed, and the separation of the installation into different interdependent packages, so no one package is loaded with too many dependencies. Conclude with a roadmap for the packaging process.
+
+Inspiration
+-----------
+
+Serendipity is a weblog application, and it caught my eye because of the dependencies it shares with MVHub, and the fact that it’s a packaged web application too,
+
+Rails is an MVC web framework for Ruby, and it uses scripts that can be invoked by the developer to generate directory structures, files and, more relevantly, start a web server with the current project directory as root, at localhost:3000. Might involve some functionality I can borrow.
+
+The Livejournal platform runs on Perl, and involves packaging many modules, so it could prove useful in the second part of the project.

=== added file 'devpkg-mvhub/doc/schedule.txt'
--- devpkg-mvhub/doc/schedule.txt	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/doc/schedule.txt	2011-06-22 13:03:39 +0000
@@ -0,0 +1,58 @@
+----------------
+Project Schedule
+----------------
+
+May 30 – June 3 (Interview Preparation)
+---------------------------------------
+
+	- Get acquainted with Launchpad and MVHub developer workflow (cheat_sheets/bzr_workflow.txt)
+
+June 4 – June 20 (Understand best practises, try them out): 
+-----------------------------------------------------------
+
+	- Get up to speed with the entire MVHub system (where/when/why are what modules/packages/scripts used)
+	- Read the Debian new maintainers guide
+	- Read the Debian webapp policy manual (http://webapps-common.alioth.debian.org/draft/html/index.html)
+	- Grok the Rails & Livejournal & Serendipity packages 
+	- Set up a dummy Launchpad PPA with a nightly build running
+	- Plan out the packaging roadmap and discuss decisions with the mentor(s)
+
+June 21 – July 5 (Build the mvhub-dev package): 
+-----------------------------------------------
+
+	- Filter out the developer-only scripts and dump them into a new Launchpad branch
+	- Build a package to copy scripts from project-tools/bin into /usr/bin
+	- Write the post-install script to:
+	- Set the aliases in project-tools/mv_aliases
+	- Copy the files in developer_home_dir to $HOME, appending to files if they already exist
+	- Copy conf/tidy.conf into /etc; I’ll have to pop up an ncurses dialog asking the user to confirm replacement of any old tidy.conf file.
+	- Wrap it up with the necessary documentation and changelog, verify with lintian.
+	- Test on Debian and Ubuntu
+
+	Deliverable: The mvhub-dev package
+
+July 6 – July 20 (Set up the mvhub-dev PPA): 
+--------------------------------------------
+
+	- Construct and test the Launchpad recipe for the PPA
+	- Contingency time, in case something takes longer than expected
+
+	Deliverable: A functional PPA for the mvhub-dev package
+
+July 21 – August 3 (Build the mvhub-cpan package): 
+--------------------------------------------------
+
+	- New branch for the mvhub-cpan package
+	- Build debs out of the required CPAN modules with cpan-packager.
+	- Build the main deb that installs *.pm in lib-mvhub and its subdirectories; this will have the cpan-packager-generated debs as dependencies
+	- Add documentation and the changelog, verify and test.
+
+	Deliverable: mvhub-cpan
+
+August 4 – August 18:
+---------------------
+
+	- Wrap up the mvhub-cpan PPA
+	- Contingency time
+	
+	Deliverable: mvhub-cpan PPA

=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1'
=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1/bin'
=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/bin/mv_set_active'
--- devpkg-mvhub/mvhub-dev-env-0.1/bin/mv_set_active	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/bin/mv_set_active	2011-06-22 13:03:39 +0000
@@ -0,0 +1,106 @@
+#!/usr/bin/perl
+
+# be sure to put this in /usr/local/bin/
+
+use strict;
+use warnings;
+use IO::Prompt;
+
+my $USER        = $ARGV[0] || $ENV{USER};
+my $BRANCH_PATH = "/var/www/mvhub/$USER/source-code";
+my $LINK_PATH   = "/var/www/mvhub/$USER";
+my $EXIT_STR    = '[exit]';
+
+{    # main
+
+    my @branches = build_branch_list_from( $BRANCH_PATH, $EXIT_STR );
+
+    my $prompt = build_prompt_from( $EXIT_STR, $LINK_PATH );
+
+    IO::Prompt::prompt $prompt, -clear, -one_char, -tty, -menu => \@branches;
+
+    if ( !$_ || $_ eq $EXIT_STR ) {
+        print "Exited without changes\n";
+        exit;
+    }
+
+    make_link( $BRANCH_PATH, $LINK_PATH, $_ );
+    print_results();
+
+}
+
+sub build_prompt_from {
+    my ( $exit_str, $link_path ) = @_;
+
+    my $link_target = readlink("$link_path/link-to-live-code")
+        or die "failed to read $link_path/link-to-live-code because: $!";
+
+    my $current_branch = ( split '/', $link_target )[-1];
+
+    my $prompt = << "HERE";
+
+Current active branch: 
+	
+	$current_branch 
+
+
+		      Select a different active branch. 
+	   			   - or -
+			Press the <Enter> key to exit.
+HERE
+
+    return $prompt;
+}
+
+sub build_branch_list_from {
+    my $branch_path = shift;
+    my $exit_str    = shift;
+
+    my $save_cwd = `pwd`;
+    chomp $save_cwd;
+
+    chdir $branch_path;
+    my @branches = glob "*";
+    chdir $save_cwd;
+
+    # is it a directory ?
+    @branches = grep { -d "$branch_path/$_" } @branches;
+
+    # no casual work on  release
+    @branches = grep { !/release/ } @branches;
+
+    @branches = sort(@branches);
+
+    #   unshift( @branches, $exit_str );
+
+    return @branches;
+}
+
+sub make_link {
+    my ( $branch_path, $link_path, $branch ) = @_;
+
+    my $cmd = "ln -nfs $branch_path/$branch $link_path/link-to-live-code";
+    ( system($cmd) == 0 )
+        or die "command failed : $cmd";
+
+}
+
+sub print_results {
+
+    ( system('clear') == 0 )
+        or warn "cls failed";
+    my $pwd = `pwd`;
+    print << "MSG";
+Link set to branch: 
+
+	$_
+	
+Your current (working) dir is:
+
+	$pwd	
+Don't forget to:
+
+	cdw    
+MSG
+
+}

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/bin/mv_set_prompt'
--- devpkg-mvhub/mvhub-dev-env-0.1/bin/mv_set_prompt	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/bin/mv_set_prompt	2011-06-22 13:03:39 +0000
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+export PS1=`/var/www/mvhub/$USER/link-to-live-code/app-mvhub/project-tools/bin/mv_get_active`::

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/bin/mvhub_install'
--- devpkg-mvhub/mvhub-dev-env-0.1/bin/mvhub_install	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/bin/mvhub_install	2011-06-22 13:03:39 +0000
@@ -0,0 +1,86 @@
+#!/bin/sh
+
+# Script to install mvhub
+
+# Setup install directory
+export BASE_DIR=/var/www/mvhub/$USER
+if [ -d "$BASE_DIR/source-code" ]; then
+    echo "mvhub branch exists. Replace? (y/N):"
+	read REPLACE_OK
+	if [ "$REPLACE_OK" = "y" ]; then
+		sudo rm -R $BASE_DIR/source-code
+		
+		echo "Creating $BASE_DIR/source-code..."
+		sudo mkdir -p $BASE_DIR/source-code
+		sudo chown $USER:$USER $BASE_DIR -R
+
+		cd $BASE_DIR/source-code
+		echo "bzr init-repo in $BASE_DIR/source-code..."
+		bzr init-repo .
+		echo "bzr branch lp:mvhub mvhub-01 in $BASE_DIR/source-code..."
+		bzr branch lp:mvhub mvhub-01
+	fi
+fi
+
+# Create symbolic link so Apache can find the source code.
+echo "Creating symbolic link link-to-live-code..."
+cd $BASE_DIR
+ln -s $BASE_DIR/source-code/mvhub-01 link-to-live-code
+
+# add our apache configuration file
+echo
+echo "Adding mvhub.conf..."
+sudo cp link-to-live-code/app-mvhub/setup/etc/apache2/sites-available/mvhub.conf /etc/apache2/sites-available/mvhub.conf
+sudo a2ensite mvhub.conf
+
+# Add Apache site log directories
+mkdir -p $BASE_DIR/$USER/log/mvh/
+touch $BASE_DIR/$USER/log/mvh/error.log
+mkdir -p $BASE_DIR/$USER/log/nsp/
+touch $BASE_DIR/$USER/log/nsp/error.log
+
+# Add sites
+echo
+echo "Adding sites..."
+cd /etc/apache2/sites-available/
+sudo su -c "echo Use MVHub $USER nsp nsp.$USER.localhost >> mvhub.data"
+sudo su -c "echo Use MVHub $USER mvh mvh.$USER.localhost >> mvhub.data"
+
+# reload apache to see config change
+sudo /etc/init.d/apache2 force-reload
+echo
+echo "Configuring admin auth..."
+mkdir -p $BASE_DIR/conf
+htpasswd -cb $BASE_DIR/conf/auth_apache_users test test
+
+# blank line
+echo
+echo "Modifying /etc/hosts ..."
+sudo su -c "echo  >> /etc/hosts"  
+    
+# Permits firefox: http://mvh.$USER.localhost/
+sudo su -c "echo 127.0.0.1 mvh.$USER.localhost  >> /etc/hosts"
+sudo su -c "echo 127.0.0.1 nsp.$USER.localhost  >> /etc/hosts"
+
+sudo /etc/init.d/apache2 reload
+
+# Add aliases for cdw and cdws
+echo
+echo "Adding cdw and cdws aliases to bashrc..."
+sudo mkdir -p /etc/mvhub/
+sudo cp $BASE_DIR/link-to-live-code/app-mvhub/project-tools/mv_aliases /etc/mvhub/
+
+if [ `grep -c "^[[:space:]]*\(source\|\.\) /etc/mvhub/mv_aliases[[:space:]]*$" ~/.bashrc` -eq 0 ]; then
+	echo "Your .bashrc doesn't seem to source /etc/mvhub/mv_aliases"
+	echo "Adding the /etc/mvhub/mv_aliases to your .bashrc"
+	echo "" >> ~/.bashrc
+	echo "# Added by mvhub_install" >> ~/.bashrc
+	echo "source /etc/mvhub/mv_aliases" >> ~/.bashrc
+else
+	echo "Aliases already present!"
+fi
+
+echo "You need to source your ~/.bashrc (source ~/.bashrc) before you can start using cdw and cdws"
+
+echo
+echo "Installation complete."

=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1/debian'
=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/README.Debian'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/README.Debian	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/README.Debian	2011-06-22 13:03:39 +0000
@@ -0,0 +1,6 @@
+mvhub-dev-env for Debian
+------------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>  Mon, 20 Jun 2011 08:58:53 +0530

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/README.source'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/README.source	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/README.source	2011-06-22 13:03:39 +0000
@@ -0,0 +1,9 @@
+mvhub-dev-env for Debian
+------------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/changelog'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/changelog	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/changelog	2011-06-22 13:03:39 +0000
@@ -0,0 +1,5 @@
+mvhub-dev-env (0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>  Mon, 20 Jun 2011 09:09:33 +0530

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/compat'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/compat	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/compat	2011-06-22 13:03:39 +0000
@@ -0,0 +1,1 @@
+7

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/control'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/control	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/control	2011-06-22 13:03:39 +0000
@@ -0,0 +1,12 @@
+Source: mvhub-dev-env
+Section: web
+Priority: optional
+Maintainer: Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+Homepage: http://mvhub.com
+
+Package: mvhub-dev-env
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, analog, apache2-mpm-itk, graphviz, jdresolve, libapache2-mod-macro, libcgi-application-perl, libcgi-application-plugins-perl, libcgi-session-perl, libconfig-inifiles-perl, libconfig-simple-perl, libdate-calc-perl, libdatetime-perl, libdbd-mock-perl, libdbd-pg-perl, libdbd-pg-perl, libdbd-sqlite, libdbd-sqlite3-perl, libdbi-perl, libdevel-cover-perl, libfile-readbackwards-perl, libhtml-lint-perl, libhtml-template-perl, libio-all-perl, libio-prompt-perl, liblingua-stem-perl, libmime-tools-perl, libparams-validate-perl, libtemplate-perl, libtest-base-perl, libtest-class-perl, libtest-differences-perl, libtest-exception-perl, libtest-html-content-perl, libtest-mockmodule-perl, libtest-mockobject-perl, libtest-nowarnings-perl, libtest-warn-perl, libtext-template-perl, liburi-perl, perltidy, postfix, postgresql, texlive-latex-base, texlive-binaries, texlive-latex-base-doc, texlive-latex-extra, tidy, wamerican, visitors, bzr
+Description: Scripts for mvhub developers

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/copyright'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/copyright	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/copyright	2011-06-22 13:03:39 +0000
@@ -0,0 +1,37 @@
+This work was packaged for Debian by:
+
+    Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx> on Mon, 13 Jun 2011 08:39:48 +0530
+
+It was downloaded from:
+
+    <url://example.com>
+
+Upstream Author(s):
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright:
+
+    <Copyright (C) YYYY Firstname Lastname>
+    <likewise for another author>
+
+License:
+
+    <Put the license of the package here indented by 4 spaces>
+
+The Debian packaging is:
+
+    Copyright (C) 2011 Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>
+
+# Please chose a license for your packaging work. If the program you package
+# uses a mainstream license, using the same license is the safest choice.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+# If you just want it to be GPL version 3, leave the following lines in.
+
+and is licensed under the GPL version 3,
+see "/usr/share/common-licenses/GPL-3".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/docs'
=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/files'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/files	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/files	2011-06-22 13:03:39 +0000
@@ -0,0 +1,1 @@
+mvhub-dev-env_0.1-1_all.deb web optional

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/install'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/install	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/install	2011-06-22 13:03:39 +0000
@@ -0,0 +1,1 @@
+bin/*	/usr/bin

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/manpage.1.ex'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/manpage.1.ex	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/manpage.1.ex	2011-06-22 13:03:39 +0000
@@ -0,0 +1,59 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH MVHUB-DEV-ENV SECTION "June 20, 2011"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+mvhub-dev-env \- program to do something
+.SH SYNOPSIS
+.B mvhub-dev-env
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B mvhub-dev-env
+and
+.B bar
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBmvhub-dev-env\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+mvhub-dev-env was written by <upstream author>.
+.PP
+This manual page was written by Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>,
+for the Debian project (and may be used by others).

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/manpage.sgml.ex'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/manpage.sgml.ex	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/manpage.sgml.ex	2011-06-22 13:03:39 +0000
@@ -0,0 +1,154 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>June 20, 2011</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>emaadmanzoor@xxxxxxxxx</email>">
+  <!ENTITY dhusername  "Emaad Ahmed Manzoor">
+  <!ENTITY dhucpackage "<refentrytitle>MVHUB-DEV-ENV</refentrytitle>">
+  <!ENTITY dhpackage   "mvhub-dev-env">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2003</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (and may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any
+      later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL.
+    </para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/manpage.xml.ex'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/manpage.xml.ex	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/manpage.xml.ex	2011-06-22 13:03:39 +0000
@@ -0,0 +1,291 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+
+<!--
+
+`xsltproc -''-nonet \
+          -''-param man.charmap.use.subset "0" \
+          -''-param make.year.ranges "1" \
+          -''-param make.single.year.ranges "1" \
+          /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
+          manpage.xml'
+
+A manual page <package>.<section> will be generated. You may view the
+manual page with: nroff -man <package>.<section> | less'. A typical entry
+in a Makefile or Makefile.am is:
+
+DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
+XP     = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
+
+manpage.1: manpage.xml
+        $(XP) $(DB2MAN) $<
+
+The xsltproc binary is found in the xsltproc package. The XSL files are in
+docbook-xsl. A description of the parameters you can use can be found in the
+docbook-xsl-doc-* packages. Please remember that if you create the nroff
+version in one of the debian/rules file targets (such as build), you will need
+to include xsltproc and docbook-xsl in your Build-Depends control field.
+Alternatively use the xmlto command/package. That will also automatically
+pull in xsltproc and docbook-xsl.
+
+Notes for using docbook2x: docbook2x-man does not automatically create the
+AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
+<refsect1> ... </refsect1>.
+
+To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
+read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
+found in the docbook-xsl-doc-html package.
+
+Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`
+
+General documentation about man-pages and man-page-formatting:
+man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "FIRSTNAME">
+  <!ENTITY dhsurname   "SURNAME">
+  <!-- dhusername could also be set to "&dhfirstname; &dhsurname;". -->
+  <!ENTITY dhusername  "Emaad Ahmed Manzoor">
+  <!ENTITY dhemail     "emaadmanzoor@xxxxxxxxx">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1) and
+       http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
+  <!ENTITY dhsection   "SECTION">
+  <!-- TITLE should be something like "User commands" or similar (see
+       http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
+  <!ENTITY dhtitle     "mvhub-dev-env User Manual">
+  <!ENTITY dhucpackage "MVHUB-DEV-ENV">
+  <!ENTITY dhpackage   "mvhub-dev-env">
+]>
+
+<refentry>
+  <refentryinfo>
+    <title>&dhtitle;</title>
+    <productname>&dhpackage;</productname>
+    <authorgroup>
+      <author>
+       <firstname>&dhfirstname;</firstname>
+        <surname>&dhsurname;</surname>
+        <contrib>Wrote this manpage for the Debian system.</contrib>
+        <address>
+          <email>&dhemail;</email>
+        </address>
+      </author>
+    </authorgroup>
+    <copyright>
+      <year>2007</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    <legalnotice>
+      <para>This manual page was written for the Debian system
+        (and may be used by others).</para>
+      <para>Permission is granted to copy, distribute and/or modify this
+        document under the terms of the GNU General Public License,
+        Version 2 or (at your option) any later version published by
+        the Free Software Foundation.</para>
+      <para>On Debian systems, the complete text of the GNU General Public
+        License can be found in
+        <filename>/usr/share/common-licenses/GPL</filename>.</para>
+    </legalnotice>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>&dhucpackage;</refentrytitle>
+    <manvolnum>&dhsection;</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      <!-- These are several examples, how syntaxes could look -->
+      <arg choice="plain"><option>-e <replaceable>this</replaceable></option></arg>
+      <arg choice="opt"><option>--example=<parameter>that</parameter></option></arg>
+      <arg choice="opt">
+        <group choice="req">
+          <arg choice="plain"><option>-e</option></arg>
+          <arg choice="plain"><option>--example</option></arg>
+        </group>
+        <replaceable class="option">this</replaceable>
+      </arg>
+      <arg choice="opt">
+        <group choice="req">
+          <arg choice="plain"><option>-e</option></arg>
+          <arg choice="plain"><option>--example</option></arg>
+        </group>
+        <group choice="req">
+          <arg choice="plain"><replaceable>this</replaceable></arg>
+          <arg choice="plain"><replaceable>that</replaceable></arg>
+        </group>
+      </arg>
+    </cmdsynopsis>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      <!-- Normally the help and version options make the programs stop
+           right after outputting the requested information. -->
+      <group choice="opt">
+        <arg choice="plain">
+          <group choice="req">
+            <arg choice="plain"><option>-h</option></arg>
+            <arg choice="plain"><option>--help</option></arg>
+          </group>
+        </arg>
+        <arg choice="plain">
+          <group choice="req">
+            <arg choice="plain"><option>-v</option></arg>
+            <arg choice="plain"><option>--version</option></arg>
+          </group>
+        </arg>
+      </group>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1 id="description">
+    <title>DESCRIPTION</title>
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+    <para>This manual page was written for the Debian distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the GNU <citerefentry>
+        <refentrytitle>info</refentrytitle>
+        <manvolnum>1</manvolnum>
+      </citerefentry> format; see below.</para>
+    <para><command>&dhpackage;</command> is a program that...</para>
+  </refsect1>
+  <refsect1 id="options">
+    <title>OPTIONS</title>
+    <para>The program follows the usual GNU command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <citerefentry>
+        <refentrytitle>info</refentrytitle>
+        <manvolnum>1</manvolnum>
+      </citerefentry> files.</para>
+    <variablelist>
+      <!-- Use the variablelist.term.separator and the
+           variablelist.term.break.after parameters to
+           control the term elements. -->
+      <varlistentry>
+        <term><option>-e <replaceable>this</replaceable></option></term>
+        <term><option>--example=<replaceable>that</replaceable></option></term>
+        <listitem>
+          <para>Does this and that.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-h</option></term>
+        <term><option>--help</option></term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option></term>
+        <term><option>--version</option></term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1 id="files">
+    <title>FILES</title>
+    <variablelist>
+      <varlistentry>
+        <term><filename>/etc/foo.conf</filename></term>
+        <listitem>
+          <para>The system-wide configuration file to control the
+            behaviour of <application>&dhpackage;</application>. See
+            <citerefentry>
+              <refentrytitle>foo.conf</refentrytitle>
+              <manvolnum>5</manvolnum>
+            </citerefentry> for further details.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><filename>${HOME}/.foo.conf</filename></term>
+        <listitem>
+          <para>The per-user configuration file to control the
+             behaviour of <application>&dhpackage;</application>. See
+             <citerefentry>
+               <refentrytitle>foo.conf</refentrytitle>
+               <manvolnum>5</manvolnum>
+             </citerefentry> for further details.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1 id="environment">
+    <title>ENVIONMENT</title>
+    <variablelist>
+      <varlistentry>
+        <term><envar>FOO_CONF</envar></term>
+        <listitem>
+          <para>If used, the defined file is used as configuration
+            file (see also <xref linkend="files"/>).</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1 id="diagnostics">
+    <title>DIAGNOSTICS</title>
+    <para>The following diagnostics may be issued
+      on <filename class="devicefile">stderr</filename>:</para>
+    <variablelist>
+      <varlistentry>
+        <term><errortext>Bad configuration file. Exiting.</errortext></term>
+        <listitem>
+          <para>The configuration file seems to contain a broken configuration
+            line. Use the <option>--verbose</option> option, to get more info.
+          </para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+    <para><command>&dhpackage;</command> provides some return codes, that can
+      be used in scripts:</para>
+    <segmentedlist>
+      <segtitle>Code</segtitle>
+      <segtitle>Diagnostic</segtitle>
+      <seglistitem>
+        <seg><errorcode>0</errorcode></seg>
+        <seg>Program exited successfully.</seg>
+      </seglistitem>
+      <seglistitem>
+        <seg><errorcode>1</errorcode></seg>
+        <seg>The configuration file seems to be broken.</seg>
+      </seglistitem>
+    </segmentedlist>
+  </refsect1>
+  <refsect1 id="bugs">
+    <!-- Or use this section to tell about upstream BTS. -->
+    <title>BUGS</title>
+    <para>The program is currently limited to only work
+      with the <package>foobar</package> library.</para>
+    <para>The upstreams <acronym>BTS</acronym> can be found
+      at <ulink url="http://bugzilla.foo.tld"/>.</para>
+  </refsect1>
+  <refsect1 id="see_also">
+    <title>SEE ALSO</title>
+    <!-- In alpabetical order. -->
+    <para><citerefentry>
+        <refentrytitle>bar</refentrytitle>
+        <manvolnum>1</manvolnum>
+      </citerefentry>, <citerefentry>
+        <refentrytitle>baz</refentrytitle>
+        <manvolnum>1</manvolnum>
+      </citerefentry>, <citerefentry>
+        <refentrytitle>foo.conf</refentrytitle>
+        <manvolnum>5</manvolnum>
+      </citerefentry></para>
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the <citerefentry>
+        <refentrytitle>info</refentrytitle>
+        <manvolnum>1</manvolnum>
+      </citerefentry> system.</para>
+  </refsect1>
+</refentry>
+

=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env'
=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.debhelper.log'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.debhelper.log	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.debhelper.log	2011-06-22 13:03:39 +0000
@@ -0,0 +1,45 @@
+dh_auto_configure
+dh_auto_build
+dh_auto_test
+dh_prep
+dh_installdirs
+dh_auto_install
+dh_install
+dh_installdocs
+dh_installchangelogs
+dh_installexamples
+dh_installman
+dh_installcatalogs
+dh_installcron
+dh_installdebconf
+dh_installemacsen
+dh_installifupdown
+dh_installinfo
+dh_pysupport
+dh_installinit
+dh_installmenu
+dh_installmime
+dh_installmodules
+dh_installlogcheck
+dh_installlogrotate
+dh_installpam
+dh_installppp
+dh_installudev
+dh_installwm
+dh_installxfonts
+dh_bugfiles
+dh_lintian
+dh_gconf
+dh_icons
+dh_perl
+dh_usrlocal
+dh_link
+dh_compress
+dh_fixperms
+dh_strip
+dh_makeshlibs
+dh_shlibdeps
+dh_installdeb
+dh_gencontrol
+dh_md5sums
+dh_builddeb

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.doc-base.EX'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.doc-base.EX	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.doc-base.EX	2011-06-22 13:03:39 +0000
@@ -0,0 +1,20 @@
+Document: mvhub-dev-env
+Title: Debian mvhub-dev-env Manual
+Author: <insert document author here>
+Abstract: This manual describes what mvhub-dev-env is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/mvhub-dev-env/mvhub-dev-env.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/mvhub-dev-env/mvhub-dev-env.ps.gz
+
+Format: text
+Files: /usr/share/doc/mvhub-dev-env/mvhub-dev-env.text.gz
+
+Format: HTML
+Index: /usr/share/doc/mvhub-dev-env/html/index.html
+Files: /usr/share/doc/mvhub-dev-env/html/*.html

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.postinst'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.postinst	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.postinst	2011-06-22 13:03:39 +0000
@@ -0,0 +1,24 @@
+#!/bin/sh
+# postinst script for mvhub-dev-env
+set -e
+
+# Install perl modules
+echo "Installing modules..."
+export PERL_MM_USE_DEFAULT=1
+cpan -i \
+    YAML \
+    CPAN::SQLite \
+    CPAN
+
+# Configuring Apache
+echo "Enabling Apache modules..."
+a2enmod macro
+a2enmod rewrite
+a2enmod include
+apache2ctl restart
+
+echo "Finished post-installation script!"
+
+#DEBHELPER#
+
+exit 0

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.substvars'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.substvars	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env.substvars	2011-06-22 13:03:39 +0000
@@ -0,0 +1,2 @@
+perl:Depends=perl
+misc:Depends=

=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN'
=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN/control'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN/control	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN/control	2011-06-22 13:03:39 +0000
@@ -0,0 +1,10 @@
+Package: mvhub-dev-env
+Version: 0.1-1
+Architecture: all
+Maintainer: Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>
+Installed-Size: 56
+Depends: perl, analog, apache2-mpm-itk, graphviz, jdresolve, libapache2-mod-macro, libcgi-application-perl, libcgi-application-plugins-perl, libcgi-session-perl, libconfig-inifiles-perl, libconfig-simple-perl, libdate-calc-perl, libdatetime-perl, libdbd-mock-perl, libdbd-pg-perl, libdbd-sqlite, libdbd-sqlite3-perl, libdbi-perl, libdevel-cover-perl, libfile-readbackwards-perl, libhtml-lint-perl, libhtml-template-perl, libio-all-perl, libio-prompt-perl, liblingua-stem-perl, libmime-tools-perl, libparams-validate-perl, libtemplate-perl, libtest-base-perl, libtest-class-perl, libtest-differences-perl, libtest-exception-perl, libtest-html-content-perl, libtest-mockmodule-perl, libtest-mockobject-perl, libtest-nowarnings-perl, libtest-warn-perl, libtext-template-perl, liburi-perl, perltidy, postfix, postgresql, texlive-latex-base, texlive-binaries, texlive-latex-base-doc, texlive-latex-extra, tidy, wamerican, visitors, bzr
+Section: web
+Priority: optional
+Homepage: http://mvhub.com
+Description: Scripts for mvhub developers

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN/md5sums'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN/md5sums	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN/md5sums	2011-06-22 13:03:39 +0000
@@ -0,0 +1,6 @@
+23edbb6ad10d18b6491f743f82d2c653  usr/bin/mv_set_active
+5f8a4100c40fdba03beb0fc3ed528cb0  usr/bin/mv_set_prompt
+b28cae3b793ae0dd52e41b1ee78e47f1  usr/bin/mvhub_install
+db04688951d5edc71205c73b86964757  usr/share/doc/mvhub-dev-env/README.Debian
+0a22fb493fbca7ad02aa0faac6ea071b  usr/share/doc/mvhub-dev-env/changelog.Debian.gz
+468c2d4d033647874c5cf0a471b21580  usr/share/doc/mvhub-dev-env/copyright

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN/postinst'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN/postinst	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/DEBIAN/postinst	2011-06-22 13:03:39 +0000
@@ -0,0 +1,24 @@
+#!/bin/sh
+# postinst script for mvhub-dev-env
+set -e
+
+# Install perl modules
+echo "Installing modules..."
+export PERL_MM_USE_DEFAULT=1
+cpan -i \
+    YAML \
+    CPAN::SQLite \
+    CPAN
+
+# Configuring Apache
+echo "Enabling Apache modules..."
+a2enmod macro
+a2enmod rewrite
+a2enmod include
+apache2ctl restart
+
+echo "Finished post-installation script!"
+
+
+
+exit 0

=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr'
=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin'
=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin/mv_set_active'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin/mv_set_active	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin/mv_set_active	2011-06-22 13:03:39 +0000
@@ -0,0 +1,106 @@
+#!/usr/bin/perl
+
+# be sure to put this in /usr/local/bin/
+
+use strict;
+use warnings;
+use IO::Prompt;
+
+my $USER        = $ARGV[0] || $ENV{USER};
+my $BRANCH_PATH = "/var/www/mvhub/$USER/source-code";
+my $LINK_PATH   = "/var/www/mvhub/$USER";
+my $EXIT_STR    = '[exit]';
+
+{    # main
+
+    my @branches = build_branch_list_from( $BRANCH_PATH, $EXIT_STR );
+
+    my $prompt = build_prompt_from( $EXIT_STR, $LINK_PATH );
+
+    IO::Prompt::prompt $prompt, -clear, -one_char, -tty, -menu => \@branches;
+
+    if ( !$_ || $_ eq $EXIT_STR ) {
+        print "Exited without changes\n";
+        exit;
+    }
+
+    make_link( $BRANCH_PATH, $LINK_PATH, $_ );
+    print_results();
+
+}
+
+sub build_prompt_from {
+    my ( $exit_str, $link_path ) = @_;
+
+    my $link_target = readlink("$link_path/link-to-live-code")
+        or die "failed to read $link_path/link-to-live-code because: $!";
+
+    my $current_branch = ( split '/', $link_target )[-1];
+
+    my $prompt = << "HERE";
+
+Current active branch: 
+	
+	$current_branch 
+
+
+		      Select a different active branch. 
+	   			   - or -
+			Press the <Enter> key to exit.
+HERE
+
+    return $prompt;
+}
+
+sub build_branch_list_from {
+    my $branch_path = shift;
+    my $exit_str    = shift;
+
+    my $save_cwd = `pwd`;
+    chomp $save_cwd;
+
+    chdir $branch_path;
+    my @branches = glob "*";
+    chdir $save_cwd;
+
+    # is it a directory ?
+    @branches = grep { -d "$branch_path/$_" } @branches;
+
+    # no casual work on  release
+    @branches = grep { !/release/ } @branches;
+
+    @branches = sort(@branches);
+
+    #   unshift( @branches, $exit_str );
+
+    return @branches;
+}
+
+sub make_link {
+    my ( $branch_path, $link_path, $branch ) = @_;
+
+    my $cmd = "ln -nfs $branch_path/$branch $link_path/link-to-live-code";
+    ( system($cmd) == 0 )
+        or die "command failed : $cmd";
+
+}
+
+sub print_results {
+
+    ( system('clear') == 0 )
+        or warn "cls failed";
+    my $pwd = `pwd`;
+    print << "MSG";
+Link set to branch: 
+
+	$_
+	
+Your current (working) dir is:
+
+	$pwd	
+Don't forget to:
+
+	cdw    
+MSG
+
+}

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin/mv_set_prompt'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin/mv_set_prompt	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin/mv_set_prompt	2011-06-22 13:03:39 +0000
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+export PS1=`/var/www/mvhub/$USER/link-to-live-code/app-mvhub/project-tools/bin/mv_get_active`::

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin/mvhub_install'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin/mvhub_install	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/bin/mvhub_install	2011-06-22 13:03:39 +0000
@@ -0,0 +1,79 @@
+#!/bin/sh
+
+# Script to install mvhub
+
+# Setup install directory
+export BASE_DIR=/var/www/mvhub/$USER
+if [ -d "$BASE_DIR/source-code" ]; then
+    echo "mvhub branch exists. Replace? (y/N):"
+	read REPLACE_OK
+	if [ "$REPLACE_OK" = "y" ]; then
+		sudo rm -R $BASE_DIR/source-code
+		
+		echo "Creating $BASE_DIR/source-code..."
+		sudo mkdir -p $BASE_DIR/source-code
+		sudo chown $USER:$USER $BASE_DIR -R
+
+		cd $BASE_DIR/source-code
+		echo "bzr init-repo in $BASE_DIR/source-code..."
+		bzr init-repo .
+		echo "bzr branch lp:mvhub mvhub-01 in $BASE_DIR/source-code..."
+		bzr branch lp:mvhub mvhub-01
+	fi
+fi
+
+# Create symbolic link so Apache can find the source code.
+echo "Creating symbolic link link-to-live-code..."
+ln -s $BASE_DIR/source-code/mvhub-01 link-to-live-code
+
+# add our apache configuration file
+echo "Adding mvhub.conf..."
+cd $BASE_DIR
+sudo cp link-to-live-code/app-mvhub/setup/etc/apache2/sites-available/mvhub.conf /etc/apache2/sites-available/mvhub.conf
+sudo a2ensite mvhub.conf
+
+# Add Apache site log directories
+mkdir -p $BASE_DIR/$USER/log/mvh/
+touch $BASE_DIR/$USER/log/mvh/error.log
+mkdir -p $BASE_DIR/$USER/log/nsp/
+touch $BASE_DIR/$USER/log/nsp/error.log
+
+# Add sites
+echo "Adding sites..."
+cd /etc/apache2/sites-available/
+sudo su -c "echo Use MVHub $USER nsp nsp.$USER.localhost >> mvhub.data"
+sudo su -c "echo Use MVHub $USER mvh mvh.$USER.localhost >> mvhub.data"
+
+# reload apache to see config change
+sudo /etc/init.d/apache2 force-reload
+echo "Configuring admin auth..."
+mkdir -p $BASE_DIR/conf
+htpasswd -cb $BASE_DIR/conf/auth_apache_users test test
+
+# blank line
+echo "Modifying /etc/hosts ..."
+sudo su -c "echo  >> /etc/hosts"  
+    
+# Permits firefox: http://mvh.$USER.localhost/
+sudo su -c "echo 127.0.0.1 mvh.$USER.localhost  >> /etc/hosts"
+sudo su -c "echo 127.0.0.1 nsp.$USER.localhost  >> /etc/hosts"
+
+sudo /etc/init.d/apache2 reload
+
+# Add aliases for cdw and cdws
+echo "Adding cdw and cdws aliases to bashrc..."
+sudo mkdir -p /etc/mvhub/
+sudo cp $BASE_DIR/link-to-live-code/app-mvhub/project-tools/mv_aliases /etc/mvhub/
+
+if [ `grep -c "^[[:space:]]*\(source\|\.\) /etc/mvhub/mv_aliases[[:space:]]*$" ~/.bashrc` -eq 0 ]; then
+	echo "Your .bashrc doesn't seem to source /etc/mvhub/mv_aliases"
+	echo "Adding the /etc/mvhub/mv_aliases to your .bashrc"
+	echo "" >> ~/.bashrc
+	echo "# Added by mvhub_install" >> ~/.bashrc
+	echo "source /etc/mvhub/mv_aliases" >> ~/.bashrc
+fi
+echo "Done!"
+    echo
+echo "You need to source your ~/.bashrc (source ~/.bashrc) before you can start using cdw and cdws"
+echo
+echo "Installation complete; you'll find the installed application files in $BASE_DIR."

=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share'
=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc'
=== added directory 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env'
=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env/README.Debian'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env/README.Debian	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env/README.Debian	2011-06-22 13:03:39 +0000
@@ -0,0 +1,6 @@
+mvhub-dev-env for Debian
+------------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>  Mon, 20 Jun 2011 08:58:53 +0530

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env/changelog.Debian.gz'
Binary files devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env/changelog.Debian.gz	1970-01-01 00:00:00 +0000 and devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env/changelog.Debian.gz	2011-06-22 13:03:39 +0000 differ
=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env/copyright'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env/copyright	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev-env/usr/share/doc/mvhub-dev-env/copyright	2011-06-22 13:03:39 +0000
@@ -0,0 +1,37 @@
+This work was packaged for Debian by:
+
+    Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx> on Mon, 13 Jun 2011 08:39:48 +0530
+
+It was downloaded from:
+
+    <url://example.com>
+
+Upstream Author(s):
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright:
+
+    <Copyright (C) YYYY Firstname Lastname>
+    <likewise for another author>
+
+License:
+
+    <Put the license of the package here indented by 4 spaces>
+
+The Debian packaging is:
+
+    Copyright (C) 2011 Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>
+
+# Please chose a license for your packaging work. If the program you package
+# uses a mainstream license, using the same license is the safest choice.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+# If you just want it to be GPL version 3, leave the following lines in.
+
+and is licensed under the GPL version 3,
+see "/usr/share/common-licenses/GPL-3".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev.debhelper.log'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev.debhelper.log	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev.debhelper.log	2011-06-22 13:03:39 +0000
@@ -0,0 +1,45 @@
+dh_auto_configure
+dh_auto_build
+dh_auto_test
+dh_prep
+dh_installdirs
+dh_auto_install
+dh_install
+dh_installdocs
+dh_installchangelogs
+dh_installexamples
+dh_installman
+dh_installcatalogs
+dh_installcron
+dh_installdebconf
+dh_installemacsen
+dh_installifupdown
+dh_installinfo
+dh_pysupport
+dh_installinit
+dh_installmenu
+dh_installmime
+dh_installmodules
+dh_installlogcheck
+dh_installlogrotate
+dh_installpam
+dh_installppp
+dh_installudev
+dh_installwm
+dh_installxfonts
+dh_bugfiles
+dh_lintian
+dh_gconf
+dh_icons
+dh_perl
+dh_usrlocal
+dh_link
+dh_compress
+dh_fixperms
+dh_strip
+dh_makeshlibs
+dh_shlibdeps
+dh_installdeb
+dh_gencontrol
+dh_md5sums
+dh_builddeb

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev.substvars'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev.substvars	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/mvhub-dev.substvars	2011-06-22 13:03:39 +0000
@@ -0,0 +1,1 @@
+misc:Depends=

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/package.doc-base.EX'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/package.doc-base.EX	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/package.doc-base.EX	2011-06-22 13:03:39 +0000
@@ -0,0 +1,20 @@
+Document: mvhub-dev-env
+Title: Debian mvhub-dev-env Manual
+Author: <insert document author here>
+Abstract: This manual describes what mvhub-dev-env is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/mvhub-dev-env/mvhub-dev-env.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/mvhub-dev-env/mvhub-dev-env.ps.gz
+
+Format: text
+Files: /usr/share/doc/mvhub-dev-env/mvhub-dev-env.text.gz
+
+Format: HTML
+Index: /usr/share/doc/mvhub-dev-env/html/index.html
+Files: /usr/share/doc/mvhub-dev-env/html/*.html

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/postrm.ex'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/postrm.ex	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/postrm.ex	2011-06-22 13:03:39 +0000
@@ -0,0 +1,37 @@
+#!/bin/sh
+# postrm script for mvhub-dev-env
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/preinst.ex'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/preinst.ex	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/preinst.ex	2011-06-22 13:03:39 +0000
@@ -0,0 +1,35 @@
+#!/bin/sh
+# preinst script for mvhub-dev-env
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    install|upgrade)
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/prerm.ex'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/prerm.ex	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/prerm.ex	2011-06-22 13:03:39 +0000
@@ -0,0 +1,38 @@
+#!/bin/sh
+# prerm script for mvhub-dev-env
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/rules'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/rules	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/rules	2011-06-22 13:03:39 +0000
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ 

=== added file 'devpkg-mvhub/mvhub-dev-env-0.1/debian/watch.ex'
--- devpkg-mvhub/mvhub-dev-env-0.1/debian/watch.ex	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env-0.1/debian/watch.ex	2011-06-22 13:03:39 +0000
@@ -0,0 +1,23 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php mvhub-dev-env-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/mvhub-dev-env-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/mvhub-dev-env-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/mvhub-dev-env/mvhub-dev-env-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html mvhub-dev-env-(.*)\.tar\.gz

=== added file 'devpkg-mvhub/mvhub-dev-env_0.1-1.diff.gz'
Binary files devpkg-mvhub/mvhub-dev-env_0.1-1.diff.gz	1970-01-01 00:00:00 +0000 and devpkg-mvhub/mvhub-dev-env_0.1-1.diff.gz	2011-06-22 13:03:39 +0000 differ
=== added file 'devpkg-mvhub/mvhub-dev-env_0.1-1.dsc'
--- devpkg-mvhub/mvhub-dev-env_0.1-1.dsc	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env_0.1-1.dsc	2011-06-22 13:03:39 +0000
@@ -0,0 +1,18 @@
+Format: 1.0
+Source: mvhub-dev-env
+Binary: mvhub-dev-env
+Architecture: all
+Version: 0.1-1
+Maintainer: Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>
+Homepage: http://mvhub.com
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7.0.50~)
+Checksums-Sha1: 
+ c0c34775d30d5050a3e3324728594d1fdd968754 10982 mvhub-dev-env_0.1.orig.tar.gz
+ 2d065ee84ea5837a7bef7cb744f02e6281ca3afc 3049 mvhub-dev-env_0.1-1.diff.gz
+Checksums-Sha256: 
+ 7b602ccaaddf311b3d6b99a45dc693bae8805871eb02951ba8b869517c60f88b 10982 mvhub-dev-env_0.1.orig.tar.gz
+ 77adf3667abd08aa0bb1d13f14b928f376855c1c704382cc513875f049ffd291 3049 mvhub-dev-env_0.1-1.diff.gz
+Files: 
+ 52216359b805d96928f351a74024f336 10982 mvhub-dev-env_0.1.orig.tar.gz
+ 941a52fbe2941d1e02f90fc903977c41 3049 mvhub-dev-env_0.1-1.diff.gz

=== added file 'devpkg-mvhub/mvhub-dev-env_0.1-1_all.deb'
Binary files devpkg-mvhub/mvhub-dev-env_0.1-1_all.deb	1970-01-01 00:00:00 +0000 and devpkg-mvhub/mvhub-dev-env_0.1-1_all.deb	2011-06-22 13:03:39 +0000 differ
=== added file 'devpkg-mvhub/mvhub-dev-env_0.1-1_i386.build'
--- devpkg-mvhub/mvhub-dev-env_0.1-1_i386.build	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env_0.1-1_i386.build	2011-06-22 13:03:39 +0000
@@ -0,0 +1,128 @@
+ dpkg-buildpackage -rfakeroot -D -us -uc
+dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
+dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
+dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
+dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
+dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
+dpkg-buildpackage: source package mvhub-dev-env
+dpkg-buildpackage: source version 0.1-1
+dpkg-buildpackage: source changed by Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>
+ dpkg-source --before-build mvhub-dev-env-0.1
+dpkg-buildpackage: host architecture i386
+ fakeroot debian/rules clean
+dh clean 
+   dh_testdir
+   dh_auto_clean
+   dh_clean
+ dpkg-source -b mvhub-dev-env-0.1
+dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
+dpkg-source: info: using source format `1.0'
+dpkg-source: info: building mvhub-dev-env using existing mvhub-dev-env_0.1.orig.tar.gz
+dpkg-source: info: building mvhub-dev-env in mvhub-dev-env_0.1-1.diff.gz
+dpkg-source: warning: executable mode 0755 of 'bin/mvhub_install' will not be represented in diff
+dpkg-source: warning: executable mode 0755 of 'bin/mv_set_active' will not be represented in diff
+dpkg-source: warning: executable mode 0755 of 'bin/mv_set_prompt' will not be represented in diff
+dpkg-source: warning: ignoring deletion of file debian/files
+dpkg-source: warning: ignoring deletion of file debian/mvhub-dev-env.cron.d.ex
+dpkg-source: warning: ignoring deletion of file debian/mvhub-dev-env.default.ex
+dpkg-source: warning: ignoring deletion of file debian/emacsen-remove.ex
+dpkg-source: warning: ignoring deletion of file debian/menu.ex
+dpkg-source: warning: ignoring deletion of file debian/emacsen-install.ex
+dpkg-source: warning: ignoring deletion of file debian/postinst.ex
+dpkg-source: warning: ignoring deletion of file debian/emacsen-startup.ex
+dpkg-source: warning: ignoring deletion of file debian/init.d.ex
+dpkg-source: warning: the diff modifies the following upstream files: 
+ bin/mv_set_active
+ bin/mv_set_prompt
+ bin/mvhub_install
+dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
+dpkg-source: info: building mvhub-dev-env in mvhub-dev-env_0.1-1.dsc
+ debian/rules build
+dh build 
+   dh_testdir
+   dh_auto_configure
+   dh_auto_build
+   dh_auto_test
+ fakeroot debian/rules binary
+dh binary 
+   dh_testroot
+   dh_prep
+   dh_installdirs
+   dh_auto_install
+   dh_install
+   dh_installdocs
+   dh_installchangelogs
+   dh_installexamples
+   dh_installman
+   dh_installcatalogs
+   dh_installcron
+   dh_installdebconf
+   dh_installemacsen
+   dh_installifupdown
+   dh_installinfo
+   dh_pysupport
+   dh_installinit
+   dh_installmenu
+   dh_installmime
+   dh_installmodules
+   dh_installlogcheck
+   dh_installlogrotate
+   dh_installpam
+   dh_installppp
+   dh_installudev
+   dh_installwm
+   dh_installxfonts
+   dh_bugfiles
+   dh_lintian
+   dh_gconf
+   dh_icons
+   dh_perl
+   dh_usrlocal
+   dh_link
+   dh_compress
+   dh_fixperms
+   dh_strip
+   dh_makeshlibs
+   dh_shlibdeps
+   dh_installdeb
+   dh_gencontrol
+dpkg-gencontrol: warning: Depends field of package mvhub-dev-env: unknown substitution variable ${shlibs:Depends}
+   dh_md5sums
+   dh_builddeb
+dpkg-deb: building package `mvhub-dev-env' in `../mvhub-dev-env_0.1-1_all.deb'.
+ dpkg-genchanges  >../mvhub-dev-env_0.1-1_i386.changes
+dpkg-genchanges: including full source code in upload
+ dpkg-source --after-build mvhub-dev-env-0.1
+dpkg-buildpackage: full upload (original source is included)
+Now running lintian...
+W: mvhub-dev-env source: dh-make-template-in-source debian/prerm.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/mvhub-dev-env.doc-base.EX
+W: mvhub-dev-env source: dh-make-template-in-source debian/postrm.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/init.d.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/mvhub-dev-env.cron.d.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/emacsen-remove.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/menu.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/preinst.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/watch.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/manpage.sgml.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/manpage.1.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/emacsen-startup.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/emacsen-install.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/mvhub-dev-env.default.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/manpage.xml.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/postinst.ex
+W: mvhub-dev-env source: dh-make-template-in-source debian/package.doc-base.EX
+W: mvhub-dev-env source: out-of-date-standards-version 3.8.4 (current is 3.9.1)
+E: mvhub-dev-env source: debian-files-list-in-source
+E: mvhub-dev-env: extended-description-is-empty
+E: mvhub-dev-env: helper-templates-in-copyright
+E: mvhub-dev-env: helper-templates-in-copyright
+W: mvhub-dev-env: copyright-has-url-from-dh_make-boilerplate
+E: mvhub-dev-env: copyright-contains-dh_make-todo-boilerplate
+W: mvhub-dev-env: readme-debian-contains-debmake-template
+W: mvhub-dev-env: new-package-should-close-itp-bug
+W: mvhub-dev-env: wrong-bug-number-in-closes l3:#nnnn
+W: mvhub-dev-env: binary-without-manpage usr/bin/mv_set_active
+W: mvhub-dev-env: binary-without-manpage usr/bin/mv_set_prompt
+W: mvhub-dev-env: binary-without-manpage usr/bin/mvhub_install
+Finished running lintian.

=== added file 'devpkg-mvhub/mvhub-dev-env_0.1-1_i386.changes'
--- devpkg-mvhub/mvhub-dev-env_0.1-1_i386.changes	1970-01-01 00:00:00 +0000
+++ devpkg-mvhub/mvhub-dev-env_0.1-1_i386.changes	2011-06-22 13:03:39 +0000
@@ -0,0 +1,31 @@
+Format: 1.8
+Date: Mon, 20 Jun 2011 09:09:33 +0530
+Source: mvhub-dev-env
+Binary: mvhub-dev-env
+Architecture: source all
+Version: 0.1-1
+Distribution: unstable
+Urgency: low
+Maintainer: Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>
+Changed-By: Emaad Ahmed Manzoor <emaadmanzoor@xxxxxxxxx>
+Description: 
+ mvhub-dev-env - Scripts for mvhub developers
+Changes: 
+ mvhub-dev-env (0.1-1) unstable; urgency=low
+ .
+   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+Checksums-Sha1: 
+ 0338e293b9410cc9b99984c84564cd6e771d571d 771 mvhub-dev-env_0.1-1.dsc
+ c0c34775d30d5050a3e3324728594d1fdd968754 10982 mvhub-dev-env_0.1.orig.tar.gz
+ 2d065ee84ea5837a7bef7cb744f02e6281ca3afc 3049 mvhub-dev-env_0.1-1.diff.gz
+ dc45099a445cb496ee0e133dd8e262d04a70b494 4424 mvhub-dev-env_0.1-1_all.deb
+Checksums-Sha256: 
+ 6149cfaac8aa03709032a269322690341e857e88e723c6a837445a9eae31b569 771 mvhub-dev-env_0.1-1.dsc
+ 7b602ccaaddf311b3d6b99a45dc693bae8805871eb02951ba8b869517c60f88b 10982 mvhub-dev-env_0.1.orig.tar.gz
+ 77adf3667abd08aa0bb1d13f14b928f376855c1c704382cc513875f049ffd291 3049 mvhub-dev-env_0.1-1.diff.gz
+ 29fbe8f9d330336972150c8c3037425b289628b067f8fd12a8c0a33075834e6a 4424 mvhub-dev-env_0.1-1_all.deb
+Files: 
+ b99c812238ee518b80243dc775cb94bb 771 web optional mvhub-dev-env_0.1-1.dsc
+ 52216359b805d96928f351a74024f336 10982 web optional mvhub-dev-env_0.1.orig.tar.gz
+ 941a52fbe2941d1e02f90fc903977c41 3049 web optional mvhub-dev-env_0.1-1.diff.gz
+ 943456f890deb93e3eb50b649656405d 4424 web optional mvhub-dev-env_0.1-1_all.deb

=== added file 'devpkg-mvhub/mvhub-dev-env_0.1.orig.tar.gz'
Binary files devpkg-mvhub/mvhub-dev-env_0.1.orig.tar.gz	1970-01-01 00:00:00 +0000 and devpkg-mvhub/mvhub-dev-env_0.1.orig.tar.gz	2011-06-22 13:03:39 +0000 differ