tests/tickets.js
[gitlive] / tests / tickets.js
index cf70330..174bf4b 100644 (file)
@@ -3,8 +3,14 @@
  * let's see if we can pull a list of tickets from the tracker..
  *
  */
+
+GI      = imports.gi.GIRepository
 GLib        = imports.gi.GLib;
 
+// we add this in, as it appears to get lost sometimes if we set it using the ENV. variable in builder.sh
+GI.IRepository.prepend_search_path(GLib.get_home_dir() + '/.Builder/girepository-1.1');
+
+Soup = imports.gi.Soup ;
 
 
 File = imports['../File.js'].File;
@@ -50,5 +56,6 @@ Tickets = {
 }
 
 Tickets.parseNetrc();
-print ( JSON.stringify(Tickets.machines) );
+//print ( JSON.stringify(Tickets.machines) );
 
+Tickets.fetchBugs();