Difference between revisions of "User:Minooz/RepoSyncProj"

From CDOT Wiki
Jump to: navigation, search
(To Learn)
(Mercurial)
Line 1: Line 1:
 
=Repositories' Syncing Project=
 
=Repositories' Syncing Project=
 
==Mercurial==
 
==Mercurial==
: Main website @ http://mercurial.selenic.com/
 
: Mozilla Mercurial @ https://wiki.mozilla.org/Mercurial_on_Windows
 
: compare version controls [http://martinfowler.com/bliki/VersionControlTools.html]
 
: Understanding Mercurial @ http://mercurial.selenic.com/wiki/UnderstandingMercurial
 
: Tutorial-wiki @ http://mercurial.selenic.com/wiki/Tutorial
 
 
===Installation===
 
: Installing in windows[http://www.codza.com/mercurial-with-ssh-setup-on-windows]
 
: More about installation [http://www.aventinesolutions.nl/mediawiki/index.php/Quick_Tip:_Getting_Started_with_Mercurial]
 
 
===Mercurial on Eclipse===
 
: Eclipse-Mercurial [http://www.javaforge.com/wiki/76412]
 
: Eclipse-Mercurial Video [http://blogs.intland.com/main/entry/39]-[http://code.google.com/p/hgeclipse-demo/ Demo]
 
: Documentation for Eclipse-Mercurial [http://bitbucket.org/mercurialeclipse/main/wiki/Documentation]
 
 
===[[ User:Minooz/Mercurial/notes | Notes]]===
 
 
===Challenges===
 
* 1- First challenge is how to trim history of a repository.
 
: We have a Mercurial repository called A. We want to clone repo A and create a new repo called B.
 
: It's possible to use 'init' and create a new repo and just copy the files from repo A and add them.
 
: This way the revision number will reset. And we will start repo B from the tip of the repo A.
 
: The problem appears if we want to clone just the tip of the repo A and keep the same revision number of the 'tip'.
 
: Here are some links that we went through, but no success yet.
 
:[http://mercurial.selenic.com/wiki/EditingHistory Trimming History]
 
:[http://www.selenic.com/mercurial/hgrc.5.html .hgrc file]
 
:[http://mercurial.selenic.com/wiki/TipsAndTricks mq strip changeset]
 
:[http://mercurial.selenic.com/wiki/EditingHistory Editing History!!]
 
  
 
==Continuous Integration System==
 
==Continuous Integration System==

Revision as of 11:21, 14 October 2010

Repositories' Syncing Project

Mercurial

Continuous Integration System

CI Feature Matrix
  • Hudosn
Hudson
Interview with kosuke
Meet+Hudson
Hudson demo
Steps to how to use Hudson
1- Installation
Installation on Windows
Hudson became self executable[1]
Video Kosuke With slides @http://marakana.com/forums/java/general/79.html
2- Plugins
Mercurial Plugin
Eclipse Plugin
How to Install plugins
Good plugin installation
3- Start a Job
Building Project
How to use post build scripts with Hudson using regex in log text[2]
  • Apache Continuum
http://continuum.apache.org/
  • Cruise Control
http://cruisecontrol.sourceforge.net/
http://cruisecontrol.sourceforge.net/dashboard.html
How to build, deploy, and monitor Java applications: Pragmatic Project Automation
Pragmatic Bookshelf
Getting Started
  • Maven
  • Anthill
  • Buildbot
The Buildbot is a system to automate the compile/test cycle required by most software projects to validate code changes. By automatically rebuilding and testing the tree each time something has changed, build problems are pinpointed quickly, before other developers are inconvenienced by the failure.[3]
Here is the documentation for Buildbot. This videoalso explains different features of this system.
The buildmaster is usually fed Changes by some sort of version control system, which may cause builds to be run. As the builds are performed, various status messages are produced, which are then sent to any registered Status Targets.
Buildbot.png
-Change Sources, which create a Change object each time something is modified in the VC repository. Most ChangeSources listen for messages from a hook script of some sort. Some sources actively poll the repository on a regular basis. All Changes are fed to the Schedulers.
- Schedulers, which decide when builds should be performed. They collect Changes into BuildRequests, which are then queued for delivery to Builders until a buildslave is available.
-Builders, which control exactly how each build is performed (with a series of BuildSteps, configured in a BuildFactory). Each Build is run on a single buildslave.
-Status plugins, which deliver information about the build results through protocols like HTTP, mail, and IRC.
  • Common Requirements
At a bare minimum, you'll need the following for both the buildmaster and a buildslave:
-Python: http://www.python.org Buildbot requires python-2.4 or later.
-Twisted: http://twistedmatrix.com (Twisted is an event-driven networking engine written in Python and licensed under the MIT license.)
Requirements for Buildmaster
-sqlite3: http://pypi.python.org/pypi/pysqlite
The sqlite3 package is required for python-2.5 and earlier (it is already included in python-2.5 and later, but the version in python-2.5 has nasty bugs)
-simplejson: http://pypi.python.org/pypi/simplejson
The simplejson package is required for python-2.5 and earlier (it is already included as json in python-2.6 and later)
-Jinja2: http://jinja.pocoo.org/2
Jinja2 is a general purpose templating language and is used by Buildbot to generate the HTML output.

To Learn

Min Ant
Min Mercurial
Min Ant