unity-scope-github-0.1+13.10.20130723/0000755000015700001700000000000012173420256017444 5ustar pbuserpbgroup00000000000000unity-scope-github-0.1+13.10.20130723/po/0000755000015700001700000000000012173420256020062 5ustar pbuserpbgroup00000000000000unity-scope-github-0.1+13.10.20130723/po/unity-scope-github.pot0000644000015700001700000000226012173417310024342 0ustar pbuserpbgroup00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-21 01:56+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/unity_github_daemon.py:34 ../data/github.scope.in.h:4 msgid "Search GitHub" msgstr "" #: ../src/unity_github_daemon.py:35 msgid "Sorry, there are no GitHub results that match your search." msgstr "" #: ../src/unity_github_daemon.py:36 msgid "Powered by GitHub" msgstr "" #: ../src/unity_github_daemon.py:44 msgid "Projects" msgstr "" #: ../src/unity_github_daemon.py:48 msgid "Users" msgstr "" #: ../data/github.scope.in.h:1 msgid "github;git;code;" msgstr "" #: ../data/github.scope.in.h:2 msgid "GitHub" msgstr "" #: ../data/github.scope.in.h:3 msgid "Find GitHub repositories and users" msgstr "" unity-scope-github-0.1+13.10.20130723/po/POTFILES.in0000644000015700001700000000012512173417310021632 0ustar pbuserpbgroup00000000000000[encoding: UTF-8] src/unity_github_daemon.py [type: gettext/ini]data/github.scope.in unity-scope-github-0.1+13.10.20130723/MANIFEST.in0000644000015700001700000000007612173417310021202 0ustar pbuserpbgroup00000000000000include MANIFEST.in include src/* include data/* include po/* unity-scope-github-0.1+13.10.20130723/tests/0000755000015700001700000000000012173420256020606 5ustar pbuserpbgroup00000000000000unity-scope-github-0.1+13.10.20130723/tests/test_github.py0000644000015700001700000000512412173417310023500 0ustar pbuserpbgroup00000000000000#! /usr/bin/python3 # -*- coding: utf-8 -*- from gi.repository import Unity from unittest import TestCase import imp class ResultSet(Unity.ResultSet): def __init__(self): Unity.ResultSet.__init__(self) self.results = [] def do_add_result(self, result): self.results.append({'uri':result.uri, 'title':result.title, 'comment':result.comment, 'icon':result.icon_hint}) class ScopeTestCase(TestCase): def init_scope(self, scope_path): self.scope_module = imp.load_source('scope', scope_path) self.scope = self.scope_module.load_scope() def perform_query(self, query, filter_set=None, cancellable=None): if filter_set is None: filter_set = Unity.FilterSet.new() if cancellable is None: cancellable = Unity.Cancellable.create() result_set = ResultSet() ctx = Unity.SearchContext.create( query, 0, filter_set, None, result_set, cancellable) s = self.scope.create_search_for_query(ctx) s.run() return result_set class TestGithub(ScopeTestCase): def setUp(self): self.init_scope('src/unity_github_daemon.py') def tearDown(self): self.scope = None self.scope_module = None def test_repo_searches(self): self.scope_module.SEARCH_URI = 'file:tests/data/mock_github_repo_pass#' result_set = self.perform_query('ubuntu') self.assertEqual(len(result_set.results), 25) result = result_set.results[0] self.assertEqual( result['uri'], 'https://github.com/tualatrix/ubuntu-tweak') self.assertEqual(result['icon'], '. GThemedIcon text-x-python gnome-mime-text-x-python text-x-generic') self.assertEqual(result['title'], 'ubuntu-tweak') self.assertEqual(result['comment'], 'Ubuntu Tweak is a tool that ' 'makes it easy to configure your system and ' 'desktop settings. ') def test_failing_search(self): self.scope_module.SEARCH_URI = 'file:tests/data/mock_github_fail#' result_set = self.perform_query('didrocks') self.assertEqual(len(result_set.results), 0) def test_cancelled_search(self): self.scope_module.SEARCH_URI = 'file:tests/data/mock_github_repo_pass#' cancellable = Unity.Cancellable.create() cancellable.cancel() result_set = self.perform_query("whatever", cancellable=cancellable) self.assertEqual(result_set.results, []) if __name__ == '__main__': unittest.main() unity-scope-github-0.1+13.10.20130723/tests/data/0000755000015700001700000000000012173420256021517 5ustar pbuserpbgroup00000000000000unity-scope-github-0.1+13.10.20130723/tests/data/mock_github_repo_pass0000644000015700001700000014505012173417310026012 0ustar pbuserpbgroup00000000000000{ "repositories": [ { "type": "repo", "pushed": "2012-12-21T23:42:45-08:00", "watchers": 191, "pushed_at": "2012-12-21T23:42:45-08:00", "owner": "tualatrix", "forks": 67, "description": "Ubuntu Tweak is a tool that makes it easy to configure your system and desktop settings. ", "language": "Python", "created": "2009-04-10T19:10:36-07:00", "created_at": "2009-04-10T19:10:36-07:00", "fork": false, "size": 1384, "followers": 191, "name": "ubuntu-tweak", "private": false, "username": "tualatrix" }, { "type": "repo", "pushed": "2009-10-29T12:20:00-07:00", "watchers": 370, "pushed_at": "2009-10-29T12:20:00-07:00", "owner": "jnstq", "forks": 82, "description": "Instructions on how to get up and running with nginx and passenger on Ubuntu 8.04 server", "language": null, "created": "2009-04-18T09:44:47-07:00", "created_at": "2009-04-18T09:44:47-07:00", "fork": false, "size": 88, "followers": 370, "name": "rails-nginx-passenger-ubuntu", "private": false, "username": "jnstq" }, { "type": "repo", "pushed": "2012-05-28T15:21:06-07:00", "watchers": 120, "pushed_at": "2012-05-28T15:21:06-07:00", "owner": "cal", "forks": 69, "description": "Automatic vagrant base box building", "language": "Shell", "created": "2012-04-10T15:07:03-07:00", "created_at": "2012-04-10T15:07:03-07:00", "fork": false, "size": 124, "followers": 120, "name": "vagrant-ubuntu-precise-64", "private": false, "username": "cal" }, { "type": "repo", "pushed": "2012-02-17T07:29:30-08:00", "watchers": 71, "pushed_at": "2012-02-17T07:29:30-08:00", "owner": "crowbar", "forks": 101, "description": "Install Ubuntu operating system", "language": "Ruby", "created": "2011-09-08T14:22:12-07:00", "created_at": "2011-09-08T14:22:12-07:00", "fork": false, "size": 136, "followers": 71, "name": "barclamp-ubuntu-install", "private": false, "username": "crowbar" }, { "type": "repo", "pushed": "2012-06-12T07:09:29-07:00", "watchers": 39, "pushed_at": "2012-06-12T07:09:29-07:00", "owner": "devstructure", "forks": 14, "description": "DevStructure's custom Ubuntu setup, based on Maverick.", "language": "Shell", "created": "2010-10-18T14:05:01-07:00", "created_at": "2010-10-18T14:05:01-07:00", "fork": false, "size": 500, "followers": 39, "name": "ubuntu", "private": false, "username": "devstructure" }, { "type": "repo", "pushed": "2009-05-09T09:47:07-07:00", "watchers": 84, "pushed_at": "2009-05-09T09:47:07-07:00", "owner": "suitmymind", "forks": 20, "description": "These Capistrano recipes allow you to setup a machine running Ubuntu Server 8.0.4 or 8.1. They will install/setup : SSH, iptables, MySQL, Apache, PHP, Ruby (+ Ruby Enterprise Edition), Rails, Phusion Passenger, and Git.", "language": "Ruby", "created": "2008-12-27T02:32:02-08:00", "created_at": "2008-12-27T02:32:02-08:00", "fork": false, "size": 88, "followers": 84, "name": "ubuntu-machine", "private": false, "username": "suitmymind" }, { "type": "repo", "pushed": "2012-11-01T05:55:49-07:00", "watchers": 63, "pushed_at": "2012-11-01T05:55:49-07:00", "owner": "rkjha", "forks": 52, "description": "Rails goodies for Ubuntu Users!", "language": "Shell", "created": "2012-05-02T05:49:56-07:00", "created_at": "2012-05-02T05:49:56-07:00", "fork": false, "size": 132, "followers": 63, "name": "RailsOnUbuntu", "private": false, "username": "rkjha" }, { "type": "repo", "pushed": "2013-01-08T15:52:41-08:00", "watchers": 19, "pushed_at": "2013-01-08T15:52:41-08:00", "owner": "opscode-cookbooks", "forks": 16, "description": "Development repository for Opscode Cookbook ubuntu", "language": "Ruby", "created": "2012-03-14T11:41:18-07:00", "created_at": "2012-03-14T11:41:18-07:00", "fork": false, "size": 152, "followers": 19, "name": "ubuntu", "private": false, "username": "opscode-cookbooks" }, { "type": "repo", "pushed": "2011-08-04T12:09:34-07:00", "watchers": 85, "pushed_at": "2011-08-04T12:09:34-07:00", "owner": "JasonGiedymin", "forks": 24, "description": "Tried and true Nginx init script - got enhancements? Send a pull!", "language": "Shell", "created": "2010-04-28T08:02:28-07:00", "created_at": "2010-04-28T08:02:28-07:00", "fork": false, "size": 148, "followers": 85, "name": "nginx-init-ubuntu", "private": false, "username": "JasonGiedymin" }, { "type": "repo", "pushed": "2012-12-31T05:53:43-08:00", "watchers": 170, "pushed_at": "2012-12-31T05:53:43-08:00", "owner": "cowboy", "forks": 35, "description": "My OS X / Ubuntu dotfiles.", "language": "Shell", "created": "2011-12-20T18:46:35-08:00", "created_at": "2011-12-20T18:46:35-08:00", "fork": false, "size": 208, "followers": 170, "name": "dotfiles", "private": false, "username": "cowboy" }, { "type": "repo", "pushed": "2011-11-22T06:48:06-08:00", "watchers": 44, "pushed_at": "2011-11-22T06:48:06-08:00", "owner": "glenbot", "forks": 10, "description": "An Ubuntu Friendly Version of the popular dotjs", "language": "Ruby", "created": "2011-07-05T09:36:07-07:00", "created_at": "2011-07-05T09:36:07-07:00", "fork": false, "size": 108, "followers": 44, "name": "dotjs-ubuntu", "private": false, "username": "glenbot" }, { "type": "repo", "pushed": "2012-12-28T17:52:17-08:00", "watchers": 42, "pushed_at": "2012-12-28T17:52:17-08:00", "owner": "davidbrewer", "forks": 18, "description": "My xmonad config for Ubuntu 12.04, including package list, config files, and instructions.", "language": "Haskell", "created": "2012-06-10T17:26:20-07:00", "created_at": "2012-06-10T17:26:20-07:00", "fork": false, "size": 152, "followers": 42, "name": "xmonad-ubuntu-conf", "private": false, "username": "davidbrewer" }, { "type": "repo", "pushed": "2013-01-10T02:17:39-08:00", "watchers": 114, "pushed_at": "2013-01-10T02:17:39-08:00", "owner": "Kilian", "forks": 21, "description": "Better lightning for Ubuntu", "language": "Python", "created": "2010-07-14T10:56:52-07:00", "created_at": "2010-07-14T10:56:52-07:00", "fork": false, "size": 152, "followers": 114, "name": "f.lux-indicator-applet", "private": false, "username": "Kilian" }, { "type": "repo", "pushed": "2011-11-26T15:15:09-08:00", "watchers": 433, "pushed_at": "2011-11-26T15:15:09-08:00", "owner": "ehynds", "forks": 44, "description": "A growl/ubuntu-like notification system written on top of the UI widget factory", "language": "JavaScript", "created": "2010-05-11T15:22:01-07:00", "created_at": "2010-05-11T15:22:01-07:00", "fork": false, "size": 188, "followers": 433, "name": "jquery-notify", "private": false, "username": "ehynds" }, { "type": "repo", "pushed": "2012-02-19T14:04:02-08:00", "watchers": 114, "pushed_at": "2012-02-19T14:04:02-08:00", "owner": "jnstq", "forks": 8, "description": "Simple steps to setup munin to monitor ubuntu server including nginx requests, memory and status", "language": null, "created": "2009-11-09T03:43:30-08:00", "created_at": "2009-11-09T03:43:30-08:00", "fork": false, "size": 112, "followers": 114, "name": "munin-nginx-ubuntu", "private": false, "username": "jnstq" }, { "type": "repo", "pushed": "2009-03-23T10:33:27-07:00", "watchers": 27, "pushed_at": "2009-03-23T10:33:27-07:00", "owner": "fnando", "forks": 9, "description": "Set up a Ubuntu Server for Rails apps with Nginx, MySQL, Thin, Memcache and some security settings", "language": "Shell", "created": "2009-03-15T14:56:08-07:00", "created_at": "2009-03-15T14:56:08-07:00", "fork": false, "size": 80, "followers": 27, "name": "ubuntu-setup", "private": false, "username": "fnando" }, { "type": "repo", "pushed": "2012-10-26T00:36:10-07:00", "watchers": 59, "pushed_at": "2012-10-26T00:36:10-07:00", "owner": "portertech", "forks": 30, "description": "A Puppet module for installing MongoDB on Ubuntu.", "language": "Puppet", "created": "2010-09-21T21:09:59-07:00", "created_at": "2010-09-21T21:09:59-07:00", "fork": false, "size": 136, "followers": 59, "name": "puppet-mongodb", "private": false, "username": "portertech" }, { "type": "repo", "pushed": "2013-01-06T10:52:38-08:00", "watchers": 50, "pushed_at": "2013-01-06T10:52:38-08:00", "owner": "stayradiated", "forks": 22, "description": "The best RSS reader on Ubuntu", "language": "JavaScript", "created": "2012-07-19T03:01:20-07:00", "created_at": "2012-07-19T03:01:20-07:00", "fork": false, "size": 204, "followers": 50, "name": "LightRead", "private": false, "username": "stayradiated" }, { "type": "repo", "pushed": "2012-01-13T04:51:13-08:00", "watchers": 25, "pushed_at": "2012-01-13T04:51:13-08:00", "owner": "scotu", "forks": 12, "description": "Ubuntu Mono fonts patched for the \"Powerline\" vim plugin: https://github.com/Lokaltog/vim-powerline/ (Just don't trust me leaving it here forever: download, fork whathever)", "language": null, "created": "2012-01-13T03:55:33-08:00", "created_at": "2012-01-13T03:55:33-08:00", "fork": false, "size": 116, "followers": 25, "name": "ubuntu-mono-powerline", "private": false, "username": "scotu" }, { "type": "repo", "pushed": "2012-12-12T11:50:00-08:00", "watchers": 25, "pushed_at": "2012-12-12T11:50:00-08:00", "owner": "xbmc", "forks": 14, "description": "Ubuntu Packaging", "language": "Shell", "created": "2011-01-12T23:27:42-08:00", "created_at": "2011-01-12T23:27:42-08:00", "fork": false, "size": 152, "followers": 25, "name": "xbmc-packaging", "private": false, "username": "xbmc" }, { "type": "repo", "pushed": "2011-09-28T18:59:14-07:00", "watchers": 16, "pushed_at": "2011-09-28T18:59:14-07:00", "owner": "collegeman", "forks": 8, "description": "A script for loading an Ubuntu server (10.04) with the StatsD/Graphite stats system", "language": "Shell", "created": "2011-09-28T18:57:20-07:00", "created_at": "2011-09-28T18:57:20-07:00", "fork": false, "size": 104, "followers": 16, "name": "ubuntu-statsd", "private": false, "username": "collegeman" }, { "type": "repo", "pushed": "2010-09-01T05:58:46-07:00", "watchers": 23, "pushed_at": "2010-09-01T05:58:46-07:00", "owner": "till", "forks": 3, "description": "Small scripts, packages, whatever.", "language": "Shell", "created": "2009-07-30T07:02:40-07:00", "created_at": "2009-07-30T07:02:40-07:00", "fork": false, "size": 100, "followers": 23, "name": "ubuntu", "private": false, "username": "till" }, { "type": "repo", "pushed": "2012-12-24T03:22:53-08:00", "watchers": 76, "pushed_at": "2012-12-24T03:22:53-08:00", "owner": "mkorenkov", "forks": 21, "description": "charge Apple devices under Ubuntu Linux", "language": "C", "created": "2011-03-31T13:02:23-07:00", "created_at": "2011-03-31T13:02:23-07:00", "fork": false, "size": 302, "followers": 76, "name": "ipad_charge", "private": false, "username": "mkorenkov" }, { "type": "repo", "pushed": "2012-09-17T05:47:54-07:00", "watchers": 84, "pushed_at": "2012-09-17T05:47:54-07:00", "owner": "chrisledet", "forks": 11, "description": "Ubuntu One client for OS X", "language": "Objective-C", "created": "2012-01-14T23:31:41-08:00", "created_at": "2012-01-14T23:31:41-08:00", "fork": false, "size": 368, "followers": 84, "name": "Uno", "private": false, "username": "chrisledet" }, { "type": "repo", "pushed": "2012-02-01T19:26:37-08:00", "watchers": 57, "pushed_at": "2012-02-01T19:26:37-08:00", "owner": "javacom", "forks": 12, "description": "iPhone toolchain 4 for Ubuntu 10.10", "language": "C", "created": "2011-04-17T14:00:02-07:00", "created_at": "2011-04-17T14:00:02-07:00", "fork": false, "size": 124, "followers": 57, "name": "toolchain4", "private": false, "username": "javacom" }, { "type": "repo", "pushed": "2012-12-09T09:55:43-08:00", "watchers": 81, "pushed_at": "2012-12-09T09:55:43-08:00", "owner": "randomdrake", "forks": 24, "description": "Automatically downloads and sets the NASA picture of the day (APOD) as your desktop in Ubuntu.", "language": "Python", "created": "2012-07-29T08:17:58-07:00", "created_at": "2012-07-29T08:17:58-07:00", "fork": false, "size": 140, "followers": 81, "name": "nasa-apod-desktop", "private": false, "username": "randomdrake" }, { "type": "repo", "pushed": "2012-12-18T14:23:40-08:00", "watchers": 26, "pushed_at": "2012-12-18T14:23:40-08:00", "owner": "EmilienM", "forks": 21, "description": "OpenStack Folsom Guide for Ubuntu 12.04", "language": "Shell", "created": "2012-09-01T16:25:55-07:00", "created_at": "2012-09-01T16:25:55-07:00", "fork": false, "size": 316, "followers": 26, "name": "openstack-folsom-guide", "private": false, "username": "EmilienM" }, { "type": "repo", "pushed": "2010-02-27T08:30:20-08:00", "watchers": 14, "pushed_at": "2010-02-27T08:30:20-08:00", "owner": "billy3321", "forks": 9, "description": "scripts and config pool for lazyscripts", "language": "Shell", "created": "2009-01-13T09:41:48-08:00", "created_at": "2009-01-13T09:41:48-08:00", "fork": false, "size": 80, "followers": 14, "name": "lazyscripts_pool_debian_ubuntu", "private": false, "username": "billy3321" }, { "type": "repo", "pushed": "2011-02-12T19:48:35-08:00", "watchers": 16, "pushed_at": "2011-02-12T19:48:35-08:00", "owner": "RKelln", "forks": 5, "description": "A replacement homepage for Ubuntu", "language": "JavaScript", "created": "2011-01-06T15:25:51-08:00", "created_at": "2011-01-06T15:25:51-08:00", "fork": false, "size": 2884, "followers": 16, "name": "Ubuntu-Homepage", "private": false, "username": "RKelln" }, { "type": "repo", "pushed": "2012-11-16T04:25:06-08:00", "watchers": 91, "pushed_at": "2012-11-16T04:25:06-08:00", "owner": "dz0ny", "forks": 10, "description": "Installs chromiumos-aura window manager to Ubuntu", "language": "Shell", "created": "2012-11-08T14:13:17-08:00", "created_at": "2012-11-08T14:13:17-08:00", "fork": false, "size": 171, "followers": 91, "name": "lightdm-login-chromeos", "private": false, "username": "dz0ny" }, { "type": "repo", "pushed": "2012-08-13T08:34:51-07:00", "watchers": 11, "pushed_at": "2012-08-13T08:34:51-07:00", "owner": "ambelovsky", "forks": 6, "description": "Easy Ubuntu scripts and helpers to make an already pleasurable experience with Ubuntu even easier.", "language": "Shell", "created": "2012-07-04T05:17:10-07:00", "created_at": "2012-07-04T05:17:10-07:00", "fork": false, "size": 136, "followers": 11, "name": "easy-ubuntu", "private": false, "username": "ambelovsky" }, { "type": "repo", "pushed": "2011-11-21T08:41:11-08:00", "watchers": 9, "pushed_at": "2011-11-21T08:41:11-08:00", "owner": "wathrog", "forks": 10, "description": "Chef recipe to install Zookeeper in Ubuntu (natty)", "language": "Ruby", "created": "2011-09-15T05:09:52-07:00", "created_at": "2011-09-15T05:09:52-07:00", "fork": false, "size": 112, "followers": 9, "name": "chef-zookeeper-ubuntu", "private": false, "username": "wathrog" }, { "type": "repo", "pushed": "2012-10-12T10:12:17-07:00", "watchers": 32, "pushed_at": "2012-10-12T10:12:17-07:00", "owner": "Mins", "forks": 13, "description": "A complete LAMP and LNMP setup script for Debian or Ubuntu", "language": "Shell", "created": "2012-03-28T07:12:24-07:00", "created_at": "2012-03-28T07:12:24-07:00", "fork": false, "size": 132, "followers": 32, "name": "TuxLite", "private": false, "username": "Mins" }, { "type": "repo", "pushed": "2012-11-06T09:45:52-08:00", "watchers": 0, "pushed_at": "2012-11-06T09:45:52-08:00", "owner": "charms", "forks": 0, "description": "Mirror of juju charm, pull requests and modifications welcome!", "language": "Shell", "created": "2012-11-06T09:45:47-08:00", "created_at": "2012-11-06T09:45:47-08:00", "fork": false, "size": 96, "followers": 0, "name": "ubuntu", "private": false, "username": "charms" }, { "type": "repo", "pushed": "2012-11-05T11:04:51-08:00", "watchers": 0, "pushed_at": "2012-11-05T11:04:51-08:00", "owner": "computalya", "forks": 0, "description": "", "language": null, "created": "2012-11-04T12:47:42-08:00", "created_at": "2012-11-04T12:47:42-08:00", "fork": false, "size": 288, "followers": 0, "name": "Ubuntu", "private": false, "username": "computalya" }, { "type": "repo", "pushed": "2012-11-12T23:00:20-08:00", "watchers": 0, "pushed_at": "2012-11-12T23:00:20-08:00", "owner": "buuren", "forks": 0, "description": "Random files related to ubuntu-linux", "language": "PHP", "created": "2012-09-21T00:54:47-07:00", "created_at": "2012-09-21T00:54:47-07:00", "fork": false, "size": 1324, "followers": 0, "name": "ubuntu", "private": false, "username": "buuren" }, { "type": "repo", "pushed": "2012-11-12T02:39:31-08:00", "watchers": 0, "pushed_at": "2012-11-12T02:39:31-08:00", "owner": "hifoxwei", "forks": 0, "description": "ubuntu", "language": null, "created": "2012-11-12T02:23:36-08:00", "created_at": "2012-11-12T02:23:36-08:00", "fork": false, "size": 100, "followers": 0, "name": "ubuntu", "private": false, "username": "hifoxwei" }, { "type": "repo", "pushed": "2012-11-16T13:56:09-08:00", "watchers": 0, "pushed_at": "2012-11-16T13:56:09-08:00", "owner": "jaydev", "forks": 0, "description": "Chef cookbook for Ubuntu 12.04", "language": "Ruby", "created": "2012-11-15T20:14:16-08:00", "created_at": "2012-11-15T20:14:16-08:00", "fork": false, "size": 116, "followers": 0, "name": "ubuntu", "private": false, "username": "jaydev" }, { "type": "repo", "pushed": "2012-11-17T09:30:19-08:00", "watchers": 0, "pushed_at": "2012-11-17T09:30:19-08:00", "owner": "eduardocorso", "forks": 0, "description": "Ubuntu", "language": null, "created": "2012-11-17T09:30:19-08:00", "created_at": "2012-11-17T09:30:19-08:00", "fork": false, "size": 0, "followers": 0, "name": "ubuntu", "private": false, "username": "eduardocorso" }, { "type": "repo", "pushed": "2012-11-30T19:03:57-08:00", "watchers": 0, "pushed_at": "2012-11-30T19:03:57-08:00", "owner": "garfieldtom", "forks": 0, "description": "my ubuntu", "language": null, "created": "2012-11-30T05:36:48-08:00", "created_at": "2012-11-30T05:36:48-08:00", "fork": false, "size": 1128, "followers": 0, "name": "ubuntu", "private": false, "username": "garfieldtom" }, { "type": "repo", "pushed": "2012-09-24T04:01:19-07:00", "watchers": 0, "pushed_at": "2012-09-24T04:01:19-07:00", "owner": "hathienson", "forks": 0, "description": "ubuntu", "language": null, "created": "2012-09-24T04:01:19-07:00", "created_at": "2012-09-24T04:01:19-07:00", "fork": false, "size": 0, "followers": 0, "name": "ubuntu", "private": false, "username": "hathienson" }, { "type": "repo", "pushed": "2012-10-05T02:57:34-07:00", "watchers": 0, "pushed_at": "2012-10-05T02:57:34-07:00", "owner": "lazifo", "forks": 0, "description": "ubuntu", "language": null, "created": "2012-10-04T02:41:29-07:00", "created_at": "2012-10-04T02:41:29-07:00", "fork": false, "size": 176, "followers": 0, "name": "ubuntu", "private": false, "username": "lazifo" }, { "type": "repo", "pushed": "2012-10-01T05:56:46-07:00", "watchers": 0, "pushed_at": "2012-10-01T05:56:46-07:00", "owner": "Krzysiel00", "forks": 0, "description": "", "language": null, "created": "2012-10-01T05:56:46-07:00", "created_at": "2012-10-01T05:56:46-07:00", "fork": false, "size": 0, "followers": 0, "name": "UBUNTU", "private": false, "username": "Krzysiel00" }, { "type": "repo", "pushed": "2012-08-29T20:30:53-07:00", "watchers": 0, "pushed_at": "2012-08-29T20:30:53-07:00", "owner": "sont2", "forks": 0, "description": "ubuntu", "language": null, "created": "2012-08-29T20:30:52-07:00", "created_at": "2012-08-29T20:30:52-07:00", "fork": false, "size": 0, "followers": 0, "name": "ubuntu", "private": false, "username": "sont2" }, { "type": "repo", "pushed": "2012-08-29T08:52:27-07:00", "watchers": 0, "pushed_at": "2012-08-29T08:52:27-07:00", "owner": "njs2114", "forks": 0, "description": "", "language": null, "created": "2012-08-29T08:40:58-07:00", "created_at": "2012-08-29T08:40:58-07:00", "fork": false, "size": 88, "followers": 0, "name": "Ubuntu", "private": false, "username": "njs2114" }, { "type": "repo", "pushed": "2012-09-15T16:42:45-07:00", "watchers": 0, "pushed_at": "2012-09-15T16:42:45-07:00", "owner": "pitmeister", "forks": 0, "description": "", "language": "PHP", "created": "2012-09-03T09:41:57-07:00", "created_at": "2012-09-03T09:41:57-07:00", "fork": false, "size": 16088, "followers": 0, "name": "ubuntu", "private": false, "username": "pitmeister" }, { "type": "repo", "pushed": "2012-09-03T00:07:49-07:00", "watchers": 0, "pushed_at": "2012-09-03T00:07:49-07:00", "owner": "pkuosadeveloper", "forks": 0, "description": "ubuntu", "language": null, "created": "2012-09-03T00:07:49-07:00", "created_at": "2012-09-03T00:07:49-07:00", "fork": false, "size": 0, "followers": 0, "name": "ubuntu", "private": false, "username": "pkuosadeveloper" }, { "type": "repo", "pushed": "2012-12-30T04:28:45-08:00", "watchers": 1, "pushed_at": "2012-12-30T04:28:45-08:00", "owner": "elelinux", "forks": 0, "description": "CM10/AOKP-JB Theme", "language": "Shell", "created": "2012-11-13T11:34:25-08:00", "created_at": "2012-11-13T11:34:25-08:00", "fork": false, "size": 11436, "followers": 1, "name": "Ubuntu", "private": false, "username": "elelinux" }, { "type": "repo", "pushed": "2012-12-10T15:52:20-08:00", "watchers": 0, "pushed_at": "2012-12-10T15:52:20-08:00", "owner": "mike789", "forks": 0, "description": "", "language": null, "created": "2012-12-10T08:19:20-08:00", "created_at": "2012-12-10T08:19:20-08:00", "fork": false, "size": 136, "followers": 0, "name": "ubuntu", "private": false, "username": "mike789" }, { "type": "repo", "pushed": "2008-08-28T20:09:57-07:00", "watchers": 1, "pushed_at": "2008-08-28T20:09:57-07:00", "owner": "kiwofusi", "forks": 0, "description": "", "language": null, "created": "2008-08-28T19:54:53-07:00", "created_at": "2008-08-28T19:54:53-07:00", "fork": false, "size": 100, "followers": 1, "name": "ubuntu", "private": false, "username": "kiwofusi" }, { "type": "repo", "pushed": "2012-12-26T15:50:58-08:00", "watchers": 0, "pushed_at": "2012-12-26T15:50:58-08:00", "owner": "2600hz", "forks": 0, "description": "", "language": "Ruby", "created": "2012-12-26T15:43:30-08:00", "created_at": "2012-12-26T15:43:30-08:00", "fork": false, "size": 108, "followers": 0, "name": "ubuntu", "private": false, "username": "2600hz" }, { "type": "repo", "pushed": "2012-12-30T01:57:45-08:00", "watchers": 0, "pushed_at": "2012-12-30T01:57:45-08:00", "owner": "t4mp4h", "forks": 0, "description": "ubuntu program repos", "language": null, "created": "2012-12-30T01:57:45-08:00", "created_at": "2012-12-30T01:57:45-08:00", "fork": false, "size": 0, "followers": 0, "name": "ubuntu", "private": false, "username": "t4mp4h" }, { "type": "repo", "pushed": "2010-12-10T07:30:13-08:00", "watchers": 1, "pushed_at": "2010-12-10T07:30:13-08:00", "owner": "psampaio", "forks": 0, "description": "Ubuntu scripts", "language": null, "created": "2009-10-14T05:34:41-07:00", "created_at": "2009-10-14T05:34:41-07:00", "fork": false, "size": 292, "followers": 1, "name": "ubuntu", "private": false, "username": "psampaio" }, { "type": "repo", "pushed": "2009-12-28T01:15:30-08:00", "watchers": 1, "pushed_at": "2009-12-28T01:15:30-08:00", "owner": "phrostbyte", "forks": 0, "description": "Ubuntu system information script", "language": "Python", "created": "2009-12-27T23:33:22-08:00", "created_at": "2009-12-27T23:33:22-08:00", "fork": false, "size": 156, "followers": 1, "name": "ubuntu", "private": false, "username": "phrostbyte" }, { "type": "repo", "pushed": "2012-12-07T05:21:25-08:00", "watchers": 0, "pushed_at": "2012-12-07T05:21:25-08:00", "owner": "sharpless512", "forks": 0, "description": "", "language": null, "created": "2012-12-07T05:21:25-08:00", "created_at": "2012-12-07T05:21:25-08:00", "fork": false, "size": 0, "followers": 0, "name": "ubuntu", "private": false, "username": "sharpless512" }, { "type": "repo", "pushed": "2010-01-20T07:03:46-08:00", "watchers": 1, "pushed_at": "2010-01-20T07:03:46-08:00", "owner": "airtonix", "forks": 0, "description": "test-ubunut", "language": null, "created": "2010-01-20T07:03:46-08:00", "created_at": "2010-01-20T07:03:46-08:00", "fork": false, "size": 80, "followers": 1, "name": "ubuntu", "private": false, "username": "airtonix" }, { "type": "repo", "pushed": "2011-12-08T20:12:57-08:00", "watchers": 1, "pushed_at": "2011-12-08T20:12:57-08:00", "owner": "cookbooks", "forks": 0, "description": "A Chef cookbook for ubuntu", "language": "Ruby", "created": "2011-02-07T04:48:00-08:00", "created_at": "2011-02-07T04:48:00-08:00", "fork": false, "size": 7536, "followers": 1, "name": "ubuntu", "private": false, "username": "cookbooks" }, { "type": "repo", "pushed": "2012-12-24T09:16:42-08:00", "watchers": 0, "pushed_at": "2012-12-24T09:16:42-08:00", "owner": "HolyUbuntu", "forks": 0, "description": "", "language": null, "created": "2012-12-24T09:16:41-08:00", "created_at": "2012-12-24T09:16:41-08:00", "fork": false, "size": 0, "followers": 0, "name": "Ubuntu", "private": false, "username": "HolyUbuntu" }, { "type": "repo", "pushed": "2012-12-21T05:55:35-08:00", "watchers": 0, "pushed_at": "2012-12-21T05:55:35-08:00", "owner": "vlad-sensei", "forks": 0, "description": "Ubuntu configuration", "language": "Shell", "created": "2012-11-26T07:09:47-08:00", "created_at": "2012-11-26T07:09:47-08:00", "fork": false, "size": 272, "followers": 0, "name": "ubuntu", "private": false, "username": "vlad-sensei" }, { "type": "repo", "pushed": "2011-11-01T01:37:52-07:00", "watchers": 1, "pushed_at": "2011-11-01T01:37:52-07:00", "owner": "fengye110", "forks": 0, "description": "my ubuntu scripts and configs", "language": "Shell", "created": "2011-10-27T04:19:59-07:00", "created_at": "2011-10-27T04:19:59-07:00", "fork": false, "size": 144, "followers": 1, "name": "ubuntu", "private": false, "username": "fengye110" }, { "type": "repo", "pushed": "2011-10-18T20:45:12-07:00", "watchers": 1, "pushed_at": "2011-10-18T20:45:12-07:00", "owner": "Summertime08", "forks": 0, "description": "iptables", "language": null, "created": "2011-10-18T20:45:12-07:00", "created_at": "2011-10-18T20:45:12-07:00", "fork": false, "size": 84, "followers": 1, "name": "Ubuntu", "private": false, "username": "Summertime08" }, { "type": "repo", "pushed": "2011-10-23T15:24:14-07:00", "watchers": 1, "pushed_at": "2011-10-23T15:24:14-07:00", "owner": "warps", "forks": 0, "description": "", "language": "Ruby", "created": "2011-10-23T15:18:30-07:00", "created_at": "2011-10-23T15:18:30-07:00", "fork": false, "size": 140, "followers": 1, "name": "ubuntu", "private": false, "username": "warps" }, { "type": "repo", "pushed": "2012-02-24T01:44:23-08:00", "watchers": 1, "pushed_at": "2012-02-24T01:44:23-08:00", "owner": "aican0830", "forks": 0, "description": "", "language": "PHP", "created": "2011-10-15T03:37:51-07:00", "created_at": "2011-10-15T03:37:51-07:00", "fork": false, "size": 1148, "followers": 1, "name": "Ubuntu", "private": false, "username": "aican0830" }, { "type": "repo", "pushed": "2012-07-09T02:38:45-07:00", "watchers": 1, "pushed_at": "2012-07-09T02:38:45-07:00", "owner": "rajraj", "forks": 1, "description": "Ubuntu system setup", "language": "Shell", "created": "2011-11-17T13:05:04-08:00", "created_at": "2011-11-17T13:05:04-08:00", "fork": false, "size": 112, "followers": 1, "name": "ubuntu", "private": false, "username": "rajraj" }, { "type": "repo", "pushed": "2012-01-09T23:41:40-08:00", "watchers": 1, "pushed_at": "2012-01-09T23:41:40-08:00", "owner": "hudayou", "forks": 0, "description": "", "language": "Python", "created": "2011-12-30T00:35:26-08:00", "created_at": "2011-12-30T00:35:26-08:00", "fork": false, "size": 4516, "followers": 1, "name": "Ubuntu", "private": false, "username": "hudayou" }, { "type": "repo", "pushed": "2012-01-13T02:04:15-08:00", "watchers": 1, "pushed_at": "2012-01-13T02:04:15-08:00", "owner": "jimmiejimo", "forks": 0, "description": "test", "language": null, "created": "2012-01-13T01:42:50-08:00", "created_at": "2012-01-13T01:42:50-08:00", "fork": false, "size": 128, "followers": 1, "name": "ubuntu", "private": false, "username": "jimmiejimo" }, { "type": "repo", "pushed": "2012-03-27T14:28:40-07:00", "watchers": 1, "pushed_at": "2012-03-27T14:28:40-07:00", "owner": "gkazior", "forks": 0, "description": "my ubuntu scripts", "language": "Shell", "created": "2012-03-25T06:24:46-07:00", "created_at": "2012-03-25T06:24:46-07:00", "fork": false, "size": 124, "followers": 1, "name": "ubuntu", "private": false, "username": "gkazior" }, { "type": "repo", "pushed": "2012-04-02T06:41:10-07:00", "watchers": 1, "pushed_at": "2012-04-02T06:41:10-07:00", "owner": "zoh", "forks": 0, "description": "", "language": null, "created": "2012-04-02T06:29:41-07:00", "created_at": "2012-04-02T06:29:41-07:00", "fork": false, "size": 132, "followers": 1, "name": "ubuntu", "private": false, "username": "zoh" }, { "type": "repo", "pushed": "2012-10-14T19:28:55-07:00", "watchers": 1, "pushed_at": "2012-10-14T19:28:55-07:00", "owner": "bkuhlmann", "forks": 1, "description": "Shell scripts for automated Ubuntu server setup. ", "language": "Shell", "created": "2012-04-10T18:36:18-07:00", "created_at": "2012-04-10T18:36:18-07:00", "fork": false, "size": 120, "followers": 1, "name": "ubuntu", "private": false, "username": "bkuhlmann" }, { "type": "repo", "pushed": "2012-03-18T21:08:32-07:00", "watchers": 1, "pushed_at": "2012-03-18T21:08:32-07:00", "owner": "rhafijustice", "forks": 0, "description": "", "language": null, "created": "2012-03-18T21:08:32-07:00", "created_at": "2012-03-18T21:08:32-07:00", "fork": false, "size": 76, "followers": 1, "name": "Ubuntu", "private": false, "username": "rhafijustice" }, { "type": "repo", "pushed": "2012-12-15T15:27:44-08:00", "watchers": 1, "pushed_at": "2012-12-15T15:27:44-08:00", "owner": "paulgribble", "forks": 0, "description": "install scripts, etc", "language": "Emacs Lisp", "created": "2012-03-13T14:44:44-07:00", "created_at": "2012-03-13T14:44:44-07:00", "fork": false, "size": 1220, "followers": 1, "name": "ubuntu", "private": false, "username": "paulgribble" }, { "type": "repo", "pushed": "2012-04-04T09:20:25-07:00", "watchers": 1, "pushed_at": "2012-04-04T09:20:25-07:00", "owner": "dnogueira", "forks": 0, "description": "ubuntu stuff", "language": null, "created": "2012-04-04T08:53:39-07:00", "created_at": "2012-04-04T08:53:39-07:00", "fork": false, "size": 120, "followers": 1, "name": "ubuntu", "private": false, "username": "dnogueira" }, { "type": "repo", "pushed": "2012-02-01T07:23:56-08:00", "watchers": 1, "pushed_at": "2012-02-01T07:23:56-08:00", "owner": "deftsoft", "forks": 0, "description": "my ububtu repo", "language": null, "created": "2012-02-01T07:23:56-08:00", "created_at": "2012-02-01T07:23:56-08:00", "fork": false, "size": 76, "followers": 1, "name": "ubuntu", "private": false, "username": "deftsoft" }, { "type": "repo", "pushed": "2012-02-05T23:22:16-08:00", "watchers": 1, "pushed_at": "2012-02-05T23:22:16-08:00", "owner": "wosuhai", "forks": 0, "description": "", "language": null, "created": "2012-02-05T23:22:16-08:00", "created_at": "2012-02-05T23:22:16-08:00", "fork": false, "size": 76, "followers": 1, "name": "ubuntu", "private": false, "username": "wosuhai" }, { "type": "repo", "pushed": "2011-01-06T00:50:21-08:00", "watchers": 1, "pushed_at": "2011-01-06T00:50:21-08:00", "owner": "hhuai", "forks": 0, "description": "10.04配置", "language": "Shell", "created": "2011-01-03T04:04:21-08:00", "created_at": "2011-01-03T04:04:21-08:00", "fork": false, "size": 292, "followers": 1, "name": "ubuntu", "private": false, "username": "hhuai" }, { "type": "repo", "pushed": "2010-10-10T13:20:45-07:00", "watchers": 1, "pushed_at": "2010-10-10T13:20:45-07:00", "owner": "rafaelfreitas", "forks": 0, "description": "", "language": null, "created": "2010-10-10T12:37:39-07:00", "created_at": "2010-10-10T12:37:39-07:00", "fork": false, "size": 272, "followers": 1, "name": "ubuntu", "private": false, "username": "rafaelfreitas" }, { "type": "repo", "pushed": "2010-08-30T04:44:59-07:00", "watchers": 2, "pushed_at": "2010-08-30T04:44:59-07:00", "owner": "Brasil", "forks": 0, "description": "Ubuntu", "language": null, "created": "2010-08-30T04:44:59-07:00", "created_at": "2010-08-30T04:44:59-07:00", "fork": false, "size": 80, "followers": 2, "name": "Ubuntu", "private": false, "username": "Brasil" }, { "type": "repo", "pushed": "2010-09-01T09:58:22-07:00", "watchers": 2, "pushed_at": "2010-09-01T09:58:22-07:00", "owner": "ubuntu", "forks": 0, "description": "ubuntu", "language": null, "created": "2010-09-01T09:58:22-07:00", "created_at": "2010-09-01T09:58:22-07:00", "fork": false, "size": 80, "followers": 2, "name": "ubuntu", "private": false, "username": "ubuntu" }, { "type": "repo", "pushed": "2010-09-07T05:14:20-07:00", "watchers": 1, "pushed_at": "2010-09-07T05:14:20-07:00", "owner": "testsigma", "forks": 0, "description": "ubuntu machine projects", "language": null, "created": "2010-09-07T05:14:20-07:00", "created_at": "2010-09-07T05:14:20-07:00", "fork": false, "size": 80, "followers": 1, "name": "ubuntu", "private": false, "username": "testsigma" }, { "type": "repo", "pushed": "2010-11-11T03:13:10-08:00", "watchers": 0, "pushed_at": "2010-11-11T03:13:10-08:00", "owner": "timka", "forks": 0, "description": "Ubuntu packages", "language": null, "created": "2010-11-10T21:55:09-08:00", "created_at": "2010-11-10T21:55:09-08:00", "fork": false, "size": 32768, "followers": 0, "name": "ubuntu", "private": false, "username": "timka" }, { "type": "repo", "pushed": "2011-07-28T22:32:21-07:00", "watchers": 1, "pushed_at": "2011-07-28T22:32:21-07:00", "owner": "yorik59", "forks": 0, "description": "yorik", "language": null, "created": "2011-07-28T22:32:21-07:00", "created_at": "2011-07-28T22:32:21-07:00", "fork": false, "size": 80, "followers": 1, "name": "Ubuntu", "private": false, "username": "yorik59" }, { "type": "repo", "pushed": "2012-02-16T00:17:38-08:00", "watchers": 1, "pushed_at": "2012-02-16T00:17:38-08:00", "owner": "liq69ers", "forks": 0, "description": "", "language": null, "created": "2012-02-16T00:10:05-08:00", "created_at": "2012-02-16T00:10:05-08:00", "fork": false, "size": 108, "followers": 1, "name": "ubuntu", "private": false, "username": "liq69ers" }, { "type": "repo", "pushed": "2012-02-12T23:49:16-08:00", "watchers": 1, "pushed_at": "2012-02-12T23:49:16-08:00", "owner": "Jason209", "forks": 0, "description": "Ubuntu", "language": null, "created": "2012-02-12T23:43:09-08:00", "created_at": "2012-02-12T23:43:09-08:00", "fork": false, "size": 116, "followers": 1, "name": "Ubuntu", "private": false, "username": "Jason209" }, { "type": "repo", "pushed": "2012-05-04T04:13:24-07:00", "watchers": 1, "pushed_at": "2012-05-04T04:13:24-07:00", "owner": "Alan1992", "forks": 0, "description": "", "language": null, "created": "2012-05-04T04:13:24-07:00", "created_at": "2012-05-04T04:13:24-07:00", "fork": false, "size": 76, "followers": 1, "name": "ubuntu", "private": false, "username": "Alan1992" }, { "type": "repo", "pushed": "2012-04-29T05:20:08-07:00", "watchers": 1, "pushed_at": "2012-04-29T05:20:08-07:00", "owner": "simpl1g", "forks": 0, "description": "", "language": "Ruby", "created": "2012-04-29T04:22:11-07:00", "created_at": "2012-04-29T04:22:11-07:00", "fork": false, "size": 148, "followers": 1, "name": "ubuntu", "private": false, "username": "simpl1g" }, { "type": "repo", "pushed": "2012-12-22T08:43:58-08:00", "watchers": 1, "pushed_at": "2012-12-22T08:43:58-08:00", "owner": "byronz", "forks": 0, "description": "ubuntu setting: bash, vim", "language": "VimL", "created": "2012-05-17T08:04:14-07:00", "created_at": "2012-05-17T08:04:14-07:00", "fork": false, "size": 232, "followers": 1, "name": "ubuntu", "private": false, "username": "byronz" }, { "type": "repo", "pushed": "2012-07-07T02:15:55-07:00", "watchers": 1, "pushed_at": "2012-07-07T02:15:55-07:00", "owner": "deepinsource", "forks": 0, "description": "files in ubuntu os", "language": null, "created": "2012-07-07T02:15:54-07:00", "created_at": "2012-07-07T02:15:54-07:00", "fork": false, "size": 128, "followers": 1, "name": "ubuntu", "private": false, "username": "deepinsource" }, { "type": "repo", "pushed": "2012-07-24T01:55:38-07:00", "watchers": 0, "pushed_at": "2012-07-24T01:55:38-07:00", "owner": "Bodich", "forks": 0, "description": "u", "language": "PHP", "created": "2012-07-24T01:26:38-07:00", "created_at": "2012-07-24T01:26:38-07:00", "fork": false, "size": 8428, "followers": 0, "name": "ubuntu", "private": false, "username": "Bodich" }, { "type": "repo", "pushed": "2013-01-09T22:28:40-08:00", "watchers": 0, "pushed_at": "2013-01-09T22:28:40-08:00", "owner": "shanxiwbj", "forks": 0, "description": "ubuntu note", "language": null, "created": "2012-11-20T00:40:58-08:00", "created_at": "2012-11-20T00:40:58-08:00", "fork": false, "size": 476, "followers": 0, "name": "ubuntu", "private": false, "username": "shanxiwbj" }, { "type": "repo", "pushed": "2013-01-10T14:09:46-08:00", "watchers": 1, "pushed_at": "2013-01-10T14:09:46-08:00", "owner": "skettler", "forks": 1, "description": "Source files for custom Ubuntu Packages", "language": "C", "created": "2010-10-29T05:29:29-07:00", "created_at": "2010-10-29T05:29:29-07:00", "fork": false, "size": 2956, "followers": 1, "name": "ubuntu", "private": false, "username": "skettler" }, { "type": "repo", "pushed": "2013-01-10T08:53:23-08:00", "watchers": 1, "pushed_at": "2013-01-10T08:53:23-08:00", "owner": "harro-tty", "forks": 0, "description": "", "language": "Shell", "created": "2010-10-11T09:58:50-07:00", "created_at": "2010-10-11T09:58:50-07:00", "fork": false, "size": 624, "followers": 1, "name": "ubuntu", "private": false, "username": "harro-tty" }, { "type": "repo", "pushed": "2013-01-12T21:32:03-08:00", "watchers": 1, "pushed_at": "2013-01-12T21:32:03-08:00", "owner": "tigersgonewild", "forks": 0, "description": "Ubuntu", "language": "Shell", "created": "2012-12-11T21:48:39-08:00", "created_at": "2012-12-11T21:48:39-08:00", "fork": false, "size": 40588, "followers": 1, "name": "Ubuntu", "private": false, "username": "tigersgonewild" }, { "type": "repo", "pushed": "2013-01-11T12:07:27-08:00", "watchers": 6143, "pushed_at": "2013-01-11T12:07:27-08:00", "owner": "gitlabhq", "forks": 1215, "description": "Project management and code hosting application. Follow us on twitter @gitlabhq", "language": "Ruby", "created": "2011-10-02T09:25:27-07:00", "created_at": "2011-10-02T09:25:27-07:00", "fork": false, "size": 6245, "followers": 6143, "name": "gitlabhq", "private": false, "username": "gitlabhq" }, { "type": "repo", "pushed": "2012-12-30T05:42:54-08:00", "watchers": 64, "pushed_at": "2012-12-30T05:42:54-08:00", "owner": "dirkaholic", "forks": 23, "description": "Sets up a basic PHP development box using vagrant based on Ubuntu Precise with Nginx, php-fpm, MongoDB, ...", "language": "Puppet", "created": "2012-06-06T05:31:52-07:00", "created_at": "2012-06-06T05:31:52-07:00", "fork": false, "size": 156, "followers": 64, "name": "vagrant-php-dev-box", "private": false, "username": "dirkaholic" }, { "type": "repo", "pushed": "2012-07-27T05:48:38-07:00", "watchers": 29, "pushed_at": "2012-07-27T05:48:38-07:00", "owner": "theozaurus", "forks": 13, "description": "Chef cookbook for installing Solr as Jetty servlet on Ubuntu", "language": "Ruby", "created": "2010-11-08T05:32:11-08:00", "created_at": "2010-11-08T05:32:11-08:00", "fork": false, "size": 160, "followers": 29, "name": "chef-solr", "private": false, "username": "theozaurus" }, { "type": "repo", "pushed": "2012-10-22T07:08:32-07:00", "watchers": 16, "pushed_at": "2012-10-22T07:08:32-07:00", "owner": "kickstarter", "forks": 5, "description": "Create custom Ubuntu AMIs the hard (secure) way", "language": "Ruby", "created": "2012-06-09T05:38:12-07:00", "created_at": "2012-06-09T05:38:12-07:00", "fork": false, "size": 128, "followers": 16, "name": "build-ubuntu-ami", "private": false, "username": "kickstarter" }, { "type": "repo", "pushed": "2011-11-11T11:45:17-08:00", "watchers": 12, "pushed_at": "2011-11-11T11:45:17-08:00", "owner": "jtimberman", "forks": 4, "description": "Retrieves Ubuntu AMI information from Canonicals release list", "language": "Ruby", "created": "2011-01-27T12:41:16-08:00", "created_at": "2011-01-27T12:41:16-08:00", "fork": false, "size": 296, "followers": 12, "name": "ubuntu_ami", "private": false, "username": "jtimberman" }, { "type": "repo", "pushed": "2012-08-15T16:34:05-07:00", "watchers": 76, "pushed_at": "2012-08-15T16:34:05-07:00", "owner": "ericpaulbishop", "forks": 15, "description": "Bash script library for configuring Debian/Ubuntu VPS hosting, with emphasis on ChiliProject deployment", "language": "Shell", "created": "2010-04-24T15:18:30-07:00", "created_at": "2010-04-24T15:18:30-07:00", "fork": false, "size": 144, "followers": 76, "name": "yourchili", "private": false, "username": "ericpaulbishop" }, { "type": "repo", "pushed": "2011-12-28T21:22:24-08:00", "watchers": 9, "pushed_at": "2011-12-28T21:22:24-08:00", "owner": "arobson", "forks": 4, "description": "Some shell scripts I'm working on to help ease the pain of getting Ubuntu from fresh install to dev ready", "language": "Shell", "created": "2011-03-24T11:41:24-07:00", "created_at": "2011-03-24T11:41:24-07:00", "fork": false, "size": 120, "followers": 9, "name": "ubuntu-dev", "private": false, "username": "arobson" }, { "type": "repo", "pushed": "2012-11-15T09:50:31-08:00", "watchers": 5, "pushed_at": "2012-11-15T09:50:31-08:00", "owner": "opdemand", "forks": 4, "description": "Ubuntu Scripts for OpDemand", "language": "Ruby", "created": "2012-04-28T19:24:50-07:00", "created_at": "2012-04-28T19:24:50-07:00", "fork": false, "size": 156, "followers": 5, "name": "opdemand-ubuntu", "private": false, "username": "opdemand" } ] } unity-scope-github-0.1+13.10.20130723/tests/data/mock_github_fail0000644000015700001700000000000612173417310024721 0ustar pbuserpbgroup00000000000000 unity-scope-github-0.1+13.10.20130723/tests/data/mock_github_user_pass0000644000015700001700000000065212173417310026021 0ustar pbuserpbgroup00000000000000{ "users": [ { "location": null, "followers_count": 0, "followers": 0, "repos": 6, "username": "didrocks", "type": "user", "language": "JavaScript", "fullname": null, "login": "didrocks", "id": "user-", "created": "2012-06-06T07:05:42-07:00", "public_repo_count": 6, "created_at": "2012-06-06T07:05:42-07:00", "name": null } ] } unity-scope-github-0.1+13.10.20130723/src/0000755000015700001700000000000012173420256020233 5ustar pbuserpbgroup00000000000000unity-scope-github-0.1+13.10.20130723/src/unity_github_daemon.py0000644000015700001700000002324312173417310024643 0ustar pbuserpbgroup00000000000000#! /usr/bin/python3 # -*- coding: utf-8 -*- # Copyright (C) 2013 David Callé # Copyright (C) 2012 Chris Wayne # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3, as published # by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranties of # MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR # PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . from gi.repository import Unity from gi.repository import Gio import json import urllib.parse import urllib.request import gettext APP_NAME = 'unity-scope-github' LOCAL_PATH = '/usr/share/locale/' gettext.bindtextdomain(APP_NAME, LOCAL_PATH) gettext.textdomain(APP_NAME) _ = gettext.gettext GROUP_NAME = 'com.canonical.Unity.Scope.Developer.Github' UNIQUE_PATH = '/com/canonical/unity/scope/developer/github' SEARCH_URI = 'https://api.github.com/' SEARCH_HINT = _('Search GitHub') NO_RESULTS_HINT = _('Sorry, there are no GitHub results that match your search.') PROVIDER_CREDITS = _('Powered by GitHub') SVG_DIR = '/usr/share/icons/unity-icon-theme/places/svg/' PROVIDER_ICON = SVG_DIR+'service-github.svg' DEFAULT_RESULT_ICON = SVG_DIR+'result-developer.svg' DEFAULT_RESULT_MIMETYPE = 'text/html' DEFAULT_RESULT_TYPE = Unity.ResultType.DEFAULT ICON_MAP = {'python':{'mime':'text/x-python'}, 'ruby':{'mime':'text/x-ruby'}, 'php':{'mime':'text/x-php'}, 'java':{'mime':'text/x-java'}, 'javascript':{'mime':'text/x-javascript'}, 'c#':{'mime':'text/x-csharp'}, 'css':{'mime':'text/x-css'}, 'html':{'mime':'text/x-html'}, 'c':{'mime':'text/x-c'}, 'shell':{'mime':'text/x-sh'}, 'perl':{'mime':'text/x-perl'}, 'lua':{'mime':'text/x-lua'}, 'vala':{'mime':'text/x-vala'}, 'html':{'mime':'text/html'}, 'text':{'mime':'text', 'icon':'text'}} for i in ICON_MAP: icon_list = Gio.content_type_get_icon(ICON_MAP[i]['mime']) if icon_list: ICON_MAP[i]['icon'] = icon_list.to_string() c1 = {'id' :'code', 'name' :_('Projects'), 'icon' :SVG_DIR+'group-developer.svg', 'renderer':Unity.CategoryRenderer.VERTICAL_TILE} c2 = {'id' :'people', 'name' :_('Users'), 'icon' :SVG_DIR+'group-developer.svg', 'renderer':Unity.CategoryRenderer.VERTICAL_TILE} CATEGORIES = [c1, c2] FILTERS = [] m1 = {'id' :'owner', 'type' :'s', 'field':Unity.SchemaFieldType.OPTIONAL} m2 = {'id' :'followers', 'type' :'i', 'field':Unity.SchemaFieldType.OPTIONAL} m3 = {'id' :'language', 'type' :'s', 'field':Unity.SchemaFieldType.OPTIONAL} EXTRA_METADATA = [m1, m2, m3] def search(search, filters, cancellable): ''' Any search method returning results as a list of tuples. Available tuple fields: uri (string) icon (string) title (string) comment (string) dnd_uri (string) mimetype (string) category (int) result_type (Unity ResultType) extras metadata fields (variant) ''' results = [] if not search or len(search) < 2: return results search = urllib.parse.quote(search) if search.startswith("%40"): uri = '%susers/%s/repos' % (SEARCH_URI, search.replace('%40','')) else: for target in ['repos']: uri = '%slegacy/%s/search/%s' % (SEARCH_URI, target, search) print(uri) try: response = urllib.request.urlopen(uri) if cancellable.is_cancelled(): return [] body = response.read() if cancellable.is_cancelled(): return [] except urllib.error.URLError as error: print(error) return [] try: data = json.loads(body.decode('utf-8')) except ValueError as error: print(error) return [] if not data: return results if 'repositories' in data: for d in data['repositories']: if len(results) < 25: src = str(d['language']).lower() icon = ICON_MAP['text']['icon'] if src in ICON_MAP: if 'icon' in ICON_MAP[src]: icon = ICON_MAP[src]['icon'] results.append({'uri':'https://github.com/%s/%s' % (d['owner'], d['name']), 'title':d['name'], 'comment':d['description'], 'owner':d['owner'], 'followers':d['watchers'], 'language':str(d['language']), 'icon':icon}) else: for d in data: if len(results) < 25: src = str(d['language']).lower() icon = ICON_MAP['text']['icon'] if src in ICON_MAP: if 'icon' in ICON_MAP[src]: icon = ICON_MAP[src]['icon'] results.append({'uri':d['html_url'], 'title':d['name'], 'comment':d['description'], 'owner':d['owner']['login'], 'followers':d['watchers'], 'language':str(d['language']), 'icon':icon}) return results # Classes below this point establish communication # with Unity, you probably shouldn't modify them. class MySearch (Unity.ScopeSearchBase): def __init__(self, search_context): super (MySearch, self).__init__() self.set_search_context (search_context) def do_run (self): ''' Adds results to the model ''' try: result_set = self.search_context.result_set for i in search(self.search_context.search_query, self.search_context.filter_state, self.search_context.cancellable): if not 'uri' in i or not i['uri'] or i['uri'] == '': continue if not 'icon' in i or not i['icon'] or i['icon'] == '': i['icon'] = DEFAULT_RESULT_ICON if not 'mimetype' in i or not i['mimetype'] or i['mimetype'] == '': i['mimetype'] = DEFAULT_RESULT_MIMETYPE if not 'result_type' in i or not i['result_type'] or i['result_type'] == '': i['result_type'] = DEFAULT_RESULT_TYPE if not 'category' in i or not i['category'] or i['category'] == '': i['category'] = 0 if not 'title' in i or not i['title']: i['title'] = '' if not 'comment' in i or not i['comment']: i['comment'] = '' if not 'dnd_uri' in i or not i['dnd_uri'] or i['dnd_uri'] == '': i['dnd_uri'] = i['uri'] result_set.add_result(**i) except Exception as error: print (error) class Preview (Unity.ResultPreviewer): def do_run(self): icon = Gio.FileIcon.new(Gio.file_new_for_uri(self.result.icon_hint)) preview = Unity.GenericPreview.new(self.result.title, self.result.comment.strip(), icon) preview.props.subtitle = self.result.metadata['owner'].get_string() if self.result.metadata['language'].get_string(): preview.add_info(Unity.InfoHint.new("language", _("Language"), None, self.result.metadata['language'].get_string())) if self.result.metadata['followers'].get_int32(): preview.add_info(Unity.InfoHint.new("followers", _("Followers"), None, str(self.result.metadata['followers'].get_int32()))) icon = Gio.FileIcon.new (Gio.file_new_for_path(PROVIDER_ICON)) view_action = Unity.PreviewAction.new("open", _("View"), icon) preview.add_action(view_action) return preview class Scope (Unity.AbstractScope): def __init__(self): Unity.AbstractScope.__init__(self) def do_get_search_hint (self): return SEARCH_HINT def do_get_schema (self): ''' Adds specific metadata fields ''' schema = Unity.Schema.new () if EXTRA_METADATA: for m in EXTRA_METADATA: schema.add_field(m['id'], m['type'], m['field']) #FIXME should be REQUIRED for credits schema.add_field('provider_credits', 's', Unity.SchemaFieldType.OPTIONAL) return schema def do_get_categories (self): ''' Adds categories ''' cs = Unity.CategorySet.new () if CATEGORIES: for c in CATEGORIES: cat = Unity.Category.new (c['id'], c['name'], Gio.ThemedIcon.new(c['icon']), c['renderer']) cs.add (cat) return cs def do_get_filters (self): ''' Adds filters ''' fs = Unity.FilterSet.new () # if FILTERS: # return fs def do_get_group_name (self): return GROUP_NAME def do_get_unique_name (self): return UNIQUE_PATH def do_create_search_for_query (self, search_context): se = MySearch (search_context) return se def do_create_previewer(self, result, metadata): rp = Preview() rp.set_scope_result(result) rp.set_search_metadata(metadata) return rp def load_scope(): return Scope() unity-scope-github-0.1+13.10.20130723/src/__init__.py0000644000015700001700000000000012173417310022327 0ustar pbuserpbgroup00000000000000unity-scope-github-0.1+13.10.20130723/setup.py0000644000015700001700000000122012173417310021146 0ustar pbuserpbgroup00000000000000#!/usr/bin/env python3 # -*- coding: utf-8 -*- from distutils.core import setup from DistUtilsExtra.command import * setup(name='unity-scope-github', version='0.1', author='David Callé', author_email='davidc@framli.eu', url='http://launchpad.net/ubuntu-scopes', license='GNU General Public License (GPL)', data_files=[ ('share/dbus-1/services', ['data/unity-scope-github.service']), ('share/unity-scopes/github', ['src/unity_github_daemon.py']), ('share/unity-scopes/github', ['src/__init__.py']), ], cmdclass={'build': build_extra.build_extra, 'build_i18n': build_i18n.build_i18n,}) unity-scope-github-0.1+13.10.20130723/setup.cfg0000644000015700001700000000020112173417310021253 0ustar pbuserpbgroup00000000000000[build] i18n=True [build_i18n] domain=unity-scope-github desktop_files=[('share/unity/scopes/code', ('data/github.scope.in',))] unity-scope-github-0.1+13.10.20130723/data/0000755000015700001700000000000012173420256020355 5ustar pbuserpbgroup00000000000000unity-scope-github-0.1+13.10.20130723/data/github.scope.in0000644000015700001700000000136612173417310023302 0ustar pbuserpbgroup00000000000000[Scope] DBusName=com.canonical.Unity.Scope.Developer.Github DBusPath=/com/canonical/unity/scope/developer/github Icon=/usr/share/icons/unity-icon-theme/places/svg/service-github.svg _Keywords=github;git;code; RequiredMetadata= OptionalMetadata=followers[i];owner[s];language[s]; Loader=/usr/share/unity-scopes/github/unity_github_daemon.py Module=github.unity_github_daemon ModuleType=python3 RemoteContent=true Type=code _Name=GitHub _Description=This is an Ubuntu search plugin that enables information from GitHub to be searched and displayed in the Dash underneath the Code header. If you do not wish to search this content source, you can disable this search plugin. _SearchHint=Search GitHub [Desktop Entry] X-Ubuntu-Gettext-Domain=unity-scope-github unity-scope-github-0.1+13.10.20130723/data/unity-scope-github.service0000644000015700001700000000023012173417310025466 0ustar pbuserpbgroup00000000000000[D-BUS Service] Name=com.canonical.Unity.Scope.Developer.Github Exec=/usr/bin/python3 /usr/share/unity-scopes/scope-runner-dbus.py -s code/github.scope unity-scope-github-0.1+13.10.20130723/data/icons/0000755000015700001700000000000012173420256021470 5ustar pbuserpbgroup00000000000000unity-scope-github-0.1+13.10.20130723/data/icons/service-github.svg0000644000015700001700000003514012173417310025131 0ustar pbuserpbgroup00000000000000 image/svg+xml