mercurial-quick-start: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
m (restitution de la dernière modification de RyanKing)
 
Line 1: Line 1:
[[http://sweetmichela.marshost.info/new/kendall-movie.html kendall movie theater cambridge ma]] [[http://robbibrennen.powerblogger.jp/topic/liquidice-funny.html liquidice funny videos]] [[http://horner.ikwb.com/new/kings-quest.html kings quest]] [[http://marybethalderma.2222mb.com/new/tips-on-how-to.html tips on how to masturbate a man]] [[http://marybethalderma.2222mb.com/new/ft-huachuca-cochise.html ft huachuca cochise county]] [[http://tamelabaranowsk.go2net.ws/library/easy-video-editing.html easy video editing software]] [[http://isbel.portrelay.com/html/halloween-masks.html halloween masks]] [[http://leave.ikwb.com/jacquelin-bridal.html jacquelin bridal dresses]] [[http://uchiaddict.alojalo.info/blog/last-man-movie.html last man movie stand times x]] [[http://sheal.x24hr.com/directory/picture-of-addis.html picture of addis ababa ethiopia]] [[http://elanorclausing.pastels.jp/text/erica-campbell.html erica campbell free video clips]] [[http://poland.serveusers.com/metal-music.html metal music video]] [[http://elvinahayashi.alojalo.info/q/help-desk-program.html help desk program]] [[http://ostent.mooo.com/description/mild-acne.html mild acne]] [[http://freewebtown.com/bagunia/new/ge-profile-refrigerator.html diagram ge profile refrigerator wiring]] [[http://undoe.x24hr.com/wiki/2006-kinsmen-maison.html 2006 kinsmen maison]] [[http://idellanedd.powerblogger.jp/web/asian-adult.html adult asian video]] [[http://sheal.x24hr.com/directory/typhoid.html mary picture typhoid]] [[http://lion.ikwb.com/q/suv-tires.html suv tire truck]] [[http://reginiaapple.pastels.jp/pages/alien-the-movie.html alien the movie photo]] [[http://adamcranor.go2net.ws/linkin-park-point.html linkin park point of authority music video]] [[http://isbel.portrelay.com/sitemap.html www]] [[http://valoriekerwin.mycv.tv/aneta-smrhova.html aneta smrhova video]] [[http://runongold.marshost.info/view/ezvideo.html ezvideo]] [[http://rivalta.comphost.info/topic/almost-famous-from.html almost famous from movie quote]] [[http://adamcranor.go2net.ws/indian-mobile.html indian mobile movie phone]] [[http://marybethalderma.2222mb.com/new/apparel-for.html big man apparel]] [[http://camilledarosa.isuisse.com/content/san-andreas.html san andreas]] [[http://sweetmichela.marshost.info/new/alien-resurection.html alien resurection movie]] [[http://dowla.xxxy.info/resources/at-power-supply.html at power supply connectors]] [[http://gallow.sexidude.com/pointe-shoes-tie.html pointe shoes tie]] [[http://elvinahayashi.alojalo.info/q/adalt-friend.html adalt friend finder]] [[http://gallow.sexidude.com/kids-online-chatrooms.html kids online chatrooms]] [[http://feelingmadness.comphost.info/content/lindy-video-grabber.html lindy video grabber]] [[http://chelsielesley.mycv.tv/sitemap.html url]] [[http://reginiaapple.pastels.jp/pages/apple-mini-dvi-to.html apple mini dvi to video adapter]] [[http://patrum.mooo.com/xango-distributors.html xango distributors]] [[http://tamelabaranowsk.go2net.ws/library/kitty-video.html kitty video]] [[http://marybethalderma.2222mb.com/new/foreign-nurse.html foreign nurse recruitment]] [[http://elanorclausing.pastels.jp/text/local-h-music.html local h music videos]] [[http://rivalta.comphost.info/topic/aggressive-clip.html aggressive clip skating video]] [[http://lekusya.hostwq.net/wiki/asian-blowjob.html asian blowjob movie]] [[http://freewebtown.com/kebradbe/description/ass-big-tit.html big tit big ass]] [[http://novice.mooo.com/recession.html recession]] [[http://freewebtown.com/bagunia/new/bill-consolidation.html toyo proxes 4]] [[http://jerricabailey.powerblogger.jp/resources/it-happens-every.html it happens every time video]] [[http://freewebtown.com/kebradbe/description/weed.html weed]] [[http://leave.ikwb.com/gsncom.html gsn.com lingo]] [[http://steepy.ikwb.com/wiki/wwwvtextcom.html www.vtext.com]] [[http://undoe.x24hr.com/wiki/lion-king-soundtrack.html 2 king lion lyric soundtrack]] [[http://dowla.xxxy.info/resources/san-francisco.html flower in san francisco]] [[http://freewebtown.com/spiceycreations/pages/wholesale-jewelry.html wholesale jewelry]] [[http://abbiekeyser.2222mb.com/viking-range.html viking range]] [[http://freewebtown.com/oriencor/resources/leather-holsters.html gun holsters leather]] [[http://rachelpettiford.go2net.ws/ice-cube-video.html ice cube video you can do it]] [[http://dollydiva.9skul.com/lib/korean-av---sex.html korean av - sex movie]] [[http://freewebtown.com/bagunia/new/discount-exercise.html discount exercise equipment]] [[http://dollydiva.9skul.com/lib/kai-toi-outkast.html kai toi outkast video]] [[http://freewebtown.com/ivabelvidere/styles/butterfly-knifes.html butterfly knifes]] [[http://valoriekerwin.mycv.tv/accident-mpeg.html accident mpeg video clips]] [[http://simplygamine.alojalo.info/comments/lita-raw-video.html lita raw video]] [[http://freewebtown.com/povessel/directory/freightliner-trucks.html dealer freightliner truck]] [[http://elvinahayashi.alojalo.info/q/orange-county-elementary.html orange county elementary schools florida]] [[http://verdellballeste.9skul.com/content/af3-mawi-video.html af3 mawi video]] [[http://freewebtown.com/mckersey/text/terazosin.html terazosin]] [[http://sweetmichela.marshost.info/new/inuyasha-muice.html inuyasha muice video]] [[http://leave.ikwb.com/boat-value.html boat value]] [[http://tilliekilkenny.powerblogger.jp/html/alf-videos.html alf video]] [[http://elwandacaswell.alojalo.info/text/other-world.html other world]] [[http://betook.mooo.com/cavalier-spaniel.html cavalier spaniel breeders texas]] [[http://freewebtown.com/mckersey/text/revocable-living.html revocable living trust]] [[http://novice.mooo.com/sitemap.html link]] [[http://tilliekilkenny.powerblogger.jp/html/alien-the-movie.html alien the movie action figure]] [[http://elwandacaswell.alojalo.info/text/humidifier.html humidifier]] [[http://valoriekerwin.mycv.tv/air-accident-video.html air accident video]] [[http://adamcranor.go2net.ws/ishq-movie.html ishq movie]] [[http://camilledarosa.isuisse.com/content/zippo.html zippo]] [[http://leave.ikwb.com/pearl-string-thong.html pearl string thong red]] [[http://uchiaddict.alojalo.info/sitemap.html website]] [[http://robbibrennen.powerblogger.jp/topic/amazing-most.html amazing most video.com world]] [[http://valoriekerwin.mycv.tv/intervideo-dvd.html intervideo dvd 4]] [[http://sheal.x24hr.com/directory/spint-cellular.html spint cellular]] [[http://steepy.ikwb.com/sitemap.html website]] [[http://tamelabaranowsk.go2net.ws/library/enduring-love.html enduring love movie poster]] [[http://feelingmadness.comphost.info/content/elderly-exercise.html elderly exercise videos]] [[http://sweetmichela.marshost.info/new/in-the-jungle.html jungle video woman]] [[http://tilliekilkenny.powerblogger.jp/html/lab-reality-video.html lab reality video virtual]] [[http://pearlineperes.2222mb.com/web/babes-in-jail.html babes in jail]] [[http://sweetmichela.marshost.info/new/experimental.html experimental video download]] [[http://tamelabaranowsk.go2net.ws/library/arsenal-v-man-utd.html arsenal v man utd tunnel bust up video]] [[http://uchiaddict.alojalo.info/blog/arrow-film-and-video.html arrow film and video]] [[http://dowla.xxxy.info/resources/french-menu.html french menu]] [[http://suzanngarrison.mycv.tv/small/long-jump-record.html long jump record video]] [[http://suzanngarrison.mycv.tv/small/latter-day-movie.html latter day movie download]] [[http://camilledarosa.isuisse.com/content/disney-jungle.html book character disney jungle]] [[http://verdellballeste.9skul.com/content/kareena-kapoor.html kareena kapoor video clips]] [[http://sheal.x24hr.com/directory/scars-papa-roach.html scars papa roach]] [[http://freewebtown.com/oriencor/resources/eagle-scout.html eagle scout]] [[http://holily.mooo.com/ls-university.html ls university]] [[http://freewebtown.com/kebradbe/description/quick-loan.html quick loan]] [[http://gallow.sexidude.com/tobermory.html tobermory mull]] [[http://freewebtown.com/mckersey/text/halifax-mortgage.html halifax mortgage calculator]] [[http://tamelabaranowsk.go2net.ws/sitemap.html link]] [[http://novice.mooo.com/moster.html moster]] [[http://camilledarosa.isuisse.com/content/panda-antivirus.html panda antivirus]] [[http://horner.ikwb.com/new/boys-twinks.html boys twinks]] [[http://rivalta.comphost.info/topic/iverson-crosses.html iverson crosses jordan video]] [[http://sharolynoverby.2222mb.com/lib/britney-exposed.html britney exposed]] [[http://leave.ikwb.com/sexyshower.html sexy,shower]] [[http://rivalta.comphost.info/topic/kama-sutra-video.html kama sutra video samples]] [[http://abbiekeyser.2222mb.com/beav.html beav]] [[http://tangelainabinet.2222mb.com/wiki/kosher-productions.html kosher productions]] [[http://freewebtown.com/oriencor/sitemap.html webmap]] [[http://undoe.x24hr.com/wiki/horse-erection.html horse erection]] [[http://elwandacaswell.alojalo.info/text/annex-gallery.html annex gallery winnipeg]] [[http://dreamavergara.powerblogger.jp/ash-david-letterman.html ash david letterman video]] [[http://poland.serveusers.com/pittsburgh-escort.html pittsburgh escort]] [[http://patrum.mooo.com/buenos-aires-hotels.html aires buenos claridge hotel]] [[http://robbibrennen.powerblogger.jp/topic/alabama-adult.html alabama adult video]] [[http://steepy.ikwb.com/wiki/thadani.html thadani]] [[http://lekusya.hostwq.net/wiki/amazing-racist-video.html amazing racist video]] [[http://idellanedd.powerblogger.jp/web/importing-dvds.html importing dvds to imovie]] [[http://tilliekilkenny.powerblogger.jp/html/eminem-toy-soldiers.html eminem toy soldiers video pictures]] [[http://abbiekeyser.2222mb.com/wenseslas.html wenseslas]] [[http://tilliekilkenny.powerblogger.jp/html/in-my-daughters.html in my daughters eyes music video]] [[http://verdellballeste.9skul.com/content/effect-full-home.html effect full home please reggie take video]] [[http://tangelainabinet.2222mb.com/wiki/kent-museum-state.html kent museum state university]] [[http://uproar.xxxy.info/pages/napster-copyright.html napster copyright infringement]] [[http://idellanedd.powerblogger.jp/web/accident-dale.html accident dale earnhardt video]] [[http://leave.ikwb.com/elfa.html elfa]] [[http://horner.ikwb.com/new/surf-camera-sydney.html surf camera sydney]] [[http://freewebtown.com/ivabelvidere/styles/relationship-problem.html relationship problem]] [[http://ostent.mooo.com/description/discount-laptops.html discount laptops]] [[http://suzannasommervi.alojalo.info/sitemap.html sitemap]] [[http://freewebtown.com/oriencor/resources/fat-sex.html fat sex in the city]] [[http://dowla.xxxy.info/resources/a-very-special.html a very special christmas 3]] [[http://freewebtown.com/mckersey/text/exercises.html exercises]] [[http://simplygamine.alojalo.info/comments/extend-component.html extend component video]] [[http://tilliekilkenny.powerblogger.jp/html/keygen-videoredo.html keygen videoredo]] [[http://sharenbezanson.pastels.jp/indian-love.html indian love movies]] [[http://lion.ikwb.com/q/atv-for-kids.html atv kid]] [[http://reginiaapple.pastels.jp/pages/longmoviedownloads.html longmoviedownloads]] [[http://tangelainabinet.2222mb.com/wiki/electronic-books.html affiliate ebook marketing]] [[http://patrum.mooo.com/john-mayer-major.html john mayer major label debut]] [[http://sweetmichela.marshost.info/new/asian-black.html asian black free gallery hairy movie pussy woman]] [[http://tangelainabinet.2222mb.com/wiki/track-shoes.html track shoes]] [[http://freewebtown.com/oriencor/sitemap.html webmap]] [[http://steepy.ikwb.com/wiki/woburn-district.html woburn district court ma]] [[http://cristielupton.go2net.ws/content/elephant-man-movie.html elephant man movie]] [[http://freewebtown.com/bagunia/new/dogs-for-sale.html dogs for sale]] __NOTOC__
__NOTOC__
= HowTo: Download code from the repository =
= HowTo: Download code from the repository =



Latest revision as of 14:09, 10 March 2008

HowTo: Download code from the repository

Introduction

Microformats.org uses Mercurial for source code management. You can find microformat generators, tests, and Brian Suda's X2V scripts in the repository at [1]

Mercurial

Mercurial offers binary packages and source code for Windows, Linux, and Mac OSX. You can read more about how to install Mercurial from their wiki.

Checking out code

Once you have Mercurial installed, the quickest way to get started with the following recipe.

The first time you access a repository, you must first clone the repository on your local drive.

For example: to download the latest code for X2V, you would use the following:

hg clone http://hg.microformats.org/x2v/

Once you have cloned the repository, you can update your local code with the latest from the Microformats repository with:

hg update

Rake

For those of you with Rake installed on your machine you can take advantage of the Rakefile included with the Generators and X2V. The Rakefile makes two commands available:

  1. rake hg:pull_update -- Pull and update this repository. May fail if you need to merge
  2. rake hg:push_update -- Pushes this repository to microformats.org. Pulls and updates first. (you need Ryan King to grant you access first)

Testing the XSLT scripts

The XSLT scripts in the mercurial repository are accompanied by Perl test scripts. With these test scripts you can test the XSLT scripts against the tests from the tests repository using LibXSLT. Various other XSLT engines are also supported: 4xslt, Saxon (Java version), Xalan-J, Xalan-C.

Installing prerequisites

In order for the Perl scripts to work you'll need Perl 5.8 and the following additional modules: XML::LibXML, XML::LibXSLT, Text::Diff.

MacOSX

Install MacPorts

and then run

sudo su
port install p5-xml-libxslt
port install p5-text-diff
*nix

Either use your distributions package management tool or "cpan install" to install the Perl modules listed above.

Windows

Get ActivePerl 5.8 from http://www.activestate.com/Products/activeperl/.

Afterwards see http://theoryx5.uwinnipeg.ca/ppms/ for instructions on how to install the additional modules.

You might also want to install Win32::Console::ANSI.

Preparations

First you need to checkout both the tests and the XSLT repositories:

hg clone http://hg.microformats.org/x2v /home/johndoe/tests
hg clone http://hg.microformats.org/tests /home/johndoe/xslts

The test scripts are in the XSLT repositories, in order to tell them where the test files are located you have to set the MICROFORMATS_TESTS environment variable.

On *nix and MacOSX (assumig you're using the bash shell):

export MICROFORMATS_TESTS=/home/johndoe/tests

On Windows:

set MICROFORMATS_TESTS=C:\path\to\tests

Running the test

First change to the directory where the XSLTs are located. Afterwards you can start the test scripts with:

  • hcard/test.pl
  • hcalendar/test-vcal.pl
  • hatom/test.pl

(On Windows: Use backslashes instead of forward slashes)

Here are some examples:

./test.pl -x # Run all tests with libxslt
./test.pl -A 5 # Run test #5 with all Engines
./test.pl --saxon --4xslt  1-3 12 15  #  Run test 1, 2, 3, 12, 15 with Saxon and 4XSLT
./test.pl --xalan-c 8-18 -e 12-14     #  Run test 8-11 and 15-18 with Xalan-C

Using additional XSLT engines

If you want to use any XSLT engines (besides LibXSLT) you have to install them and make sure that the can be launched from the test script.

For Java based XSLT engines you need to add the the engine's .jar file (saxon8.jar and xalan.jar respectively) to your CLASSPATH environment variable. Enter

java net.sf.saxon.Transform
java org.apache.xalan.xslt.Process

to test if Xalan-J and Saxon can be called by the test scripts.

For all other XSLT engines add the path to their "bin" directories to your PATH environment variable.

Enter

4xslt
Xalan

into the console to test if 4xslt and Xalan-C can be called by the test scripts.