Table of contents

How to test a patch

This page will describe how to install a patch, and what to report after doing it. We presume you followed the instructions on how to build F-Spot.

A better and safer way, is to create a test user just for the purpose of testing patches. There is no need to specify --basedir and --photodir, and no need to fear damaging your existing data.

Further instructions on how to test with a test user needs to be specified.

Get the latest development sources

cd ~/development/f-spot
svn co http://svn.gnome.org/svn/f-spot/trunk f-spot.TestPatch

Verify TRUNK compiles nicely

It's no use to test a patch, if TRUNK is not compiling.

cd f-spot.TestPatch
./autogen.sh --prefix=${HOME}/unstable/f-spot
make
make install

If you encounter any problems, check IRC (irc://irc.gnome.org/#f-spot), mailing list (http://mail.gnome.org/mailman/listinfo/f-spot-list), and bugzilla (http://bugzilla.gnome.org/buglist.cgi?short_desc_type=allwordssubstr&short_desc=&product=f-spot&long_desc_type=allwordssubstr&long_desc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=anywords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=). If no information, do raise a Critical/Blocker bug in bugzilla (http://bugzilla.gnome.org/enter_bug.cgi?product=f-spot).

Download the patch

Go to the bug in bugzilla, and find the patch you want to test (usually the latest one). Download it, and store it in a place of your choice. I presume you store it in Desktop and it is called patch.diff

Patch the code

patch -p0 < ~/Desktop/patch.diff

Compile F-Spot

We do the autogen.sh part again, since new files might have been added. Same for the 'make install' since non core part of f-spot might have been modified and demands to be installed for f-spot binary to find it.

./autogen.sh --prefix=${HOME}/unstable/f-spot
make
make install

Test F-Spot

Since patches have a tendancy to break things every now and then, we strongly recommend you to run on test data. That is use the --basedir and --photodir options. In this example I put both under /tmp, but you can specify whatever

cd ${HOME}/unstable/f-spot/bin
./f-spot --basedir /tmp  --photodir /tmp

Report result

The most important thing. Do not forget to update bugzilla with your findings. A small list of things to possible check, but please add whatever you feel like:

  • Did the patch apply cleanly against CVS? (Changelog might not apply)
  • Did the patch compile?
  • Do the patch have a Changelog entry?
  • Is the patch done from F-Spot main directory, and not ./src directory.
  • Is the header in any new files following the recommendations?
  • Did the patch work as advertised?
  • Any side effects found?
  • Try to crash it, did you succeed?
  • Check console - Anything out of normal printed there?
  • Check the patch file (diff), anything you find weird?
  • Spaces/Tab/Indentation confusion?
  • Readable code?
  • Maintanable code by another person?
  • Variable/Method names make sence?
  • Logic problems?
  • Hard coded constants, instead of using a common constant?
  • Check Larrys review (http://mail.gnome.org/archives/f-spot-list/2005-October/msg00044.html) for extra checks.

This page was last modified 19:44, 8 Nov 2007. This page has been accessed 5984 times.


cialis story
cialis company
buy generic viagra
sildenafil
cialis discount
viagra vs cialis
cheap viagra online
viagra online pharmacy
cialis dysfunction erectile
cialis generic online
herbal viagra
purchase viagra online
viagra and alcohol
viagra alternative
cialis information
cialis effects side
cialis discount generic
cialis mt
cialis testimonials
get viagra
viagra trial
how viagra works
cialis pharmacy
female viagra
cialis vs viagra
cialis sale
cialis viagra
cialis generic price
viagra pill
cialis levitra viagra
viagra soft
cialis soft
order viagra online
levitra vs viagra
cialis europe get
comprare viagra
buying viagra
tadalafil
cialis new viagra
cialis commercial
apotheke cialis
effects of ultram
cialis online order
cialis prescription
cialis com
cheap wellbutrin
viagra use
viagra story
tadalafil citrate
generic tadalafil
cheap viagra uk
natural viagra alternative
canada cialis generic
cialis news
cialis price
canadian cialis
viagra 50mg
cialis versus viagra
herbal alternative viagra
buy viagra
discount viagra online
cialis drug impotence
levitra professional
cialis
cialis line
low cost viagra
cialis europe viagra
cialis online pharmacy
cialis levitra
viagra substitute
viagra soft tabs
viagra sales
viagra uk
cialis why
cialis soft tab
cialis pill
viagra sales uk
generic viagra online
blind viagra
cialis professional
viagra levitra
prozac
cialis compare levitra
lowest viagra price
viagra commercial
cialis generic viagra
cialis order
cheap cialis generic
viagra prescription
viagra erection
cialis get viagra
cialis href
viagra mexico
cialis mt tadalafil
viagra price
viagra jelly
discount viagra
viagra for woman
cialis comparison levitra viagra
purchase viagra
cialis mexico
20mg cialis
pfizer viagra
cialis compare levitra viagra
cialis generic
cialis uk
cialis viagra vs
generic viagra
viagra prescription online
penis extender
buy discount viagra online
blindness viagra
where to buy viagra
cialis woman
drug viagra
cheap cialis
viagra information
cialis open ticket western
womens viagra
viagra canada
viagra cialis levitra
viagra shop
viagra cialis
buy cialis
viagra without prescription
cialis germany
cialis drug
citrate sildenafil
viagra wholesale
cialis from india
viagra side effects
cheap viagra
how does viagra work
cialis sample
cialis lowest price
order viagra
cialis tadalafil
buy cheap cialis
viagra sample
cialis uprima viagra
cialis dosage
cialis open western
penis growth oil
mail order viagra
trial viagra
buying viagra online
viagra online
100mg viagra
viagra
cheapest cialis
offender viagra
cialis compare viagra
blindness cialis
viagra dosage
viagra sale online
cheap generic viagra
medicaid viagra
comprare cialis
canada cialis
viagra sale
ultram
cheapest viagra
cialis online
cialis lilly
woman taking viagra
penisole
cialis purchase
viagra pharmacy
cialis discount online
natural viagra
levitra
viagra soft tab
cialis tablet
buy cheap generic viagra
cialis experience
viagra picture
cialis online purchase
cialis levitra vs
cialis consultation delivery
cialis forum
viagra on line
viagra professional
cialis review
cialis liquid
best cialis price
cialis jelly
viagra research
viagra hgh
cialis mexican
effects of viagra
cialis soft tabs