Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
aa2f3fd
Tests using packagekit glib wrapper
sgithens Oct 29, 2012
5973c69
packagekitBridge: Initial implementation
javihernandez Sep 30, 2013
6b50eb8
packagekitBridge: Updating build
javihernandez Sep 30, 2013
8caf362
packagekitBridge: Return boolean from both install and remove methods
javihernandez Sep 30, 2013
21f2521
packagekitBridge: Adding progress callback on PackageKit's transactions
javihernandez Oct 1, 2013
501921e
Added unit tests for the node packagekit add-on.
klown Oct 2, 2013
cf2c312
Added unit tests for the node packagekit add-on -- jqUnit version.
klown Oct 4, 2013
f041813
Added ability to use package kit filters with the searchPackage()
klown Oct 22, 2013
014584f
Demo of using linus 'find' command with the node packagekit add-on.
klown Nov 12, 2013
aa716f5
Added capability to update packages using the packagekit node
klown Nov 18, 2013
4a41817
Added 'type' option to find command to search only for regular
klown Nov 18, 2013
a00b92d
Added searchFiles() that, given a path(s) to a file, calls
klown Dec 10, 2013
673346d
Modified the find + search-package-kit demo (aka findSearchPk.js)
klown Dec 10, 2013
4e42551
Fixed bug in call to searchFiles().
klown Dec 12, 2013
1120b4e
Cleaning up code
javihernandez Mar 17, 2014
3678757
Allocating sizeof(name) when declaring names
javihernandez Mar 18, 2014
f7c52f0
Collect arguments as utf8 strings
javihernandez Mar 18, 2014
852645e
Removing g_type_init since it is being deprecated
javihernandez Mar 18, 2014
cc2c59d
Added getPackages() function to nodepackagekit add-on.
klown Mar 19, 2014
7d11682
Merge pull request #5 from klown/packagekitBridgeGetPkgs
javihernandez Mar 21, 2014
3c6608b
Adding initial implementation of PackageKit's Device Reporter
javihernandez Mar 21, 2014
be8e627
Adding a few tests to the PackageKit's Device Reporter
javihernandez Mar 21, 2014
90f3530
Cleaning up code from whitespaces
javihernandez Mar 21, 2014
3b590d4
Destroy the client after every usage
javihernandez Apr 25, 2014
0aba487
Replacing 'provider' with 'id'
javihernandez Apr 30, 2014
1edf3aa
Adding packagekit node module at start-up time
javihernandez Apr 30, 2014
626d963
Initialize packageKit data at load time
javihernandez Apr 30, 2014
1074ebd
Adding 'find' method to packageKit's device reporter plugin
javihernandez Apr 30, 2014
b900797
Do not use constants - strings are enough
javihernandez May 13, 2014
d69cbbc
Also evaluate that the object has the same type
javihernandez May 13, 2014
8a18502
Removing fixed-size variables
javihernandez May 14, 2014
9d0e7c0
Update some tests to evaluate that the object has the same type
javihernandez May 14, 2014
9c358cc
Replaced function printPackage() with single call to JSON.stringify().
klown May 14, 2014
6ec43e5
Fixed typo: "search" instead of "serach".
klown May 14, 2014
0ff2b20
Ran jshint on findSearchPk.js and modified accordingly.
klown May 15, 2014
2985133
Merge pull request #9 from klown/device-reporter-draft2
javihernandez May 15, 2014
922f0f7
Guarding against buffer overruns as Antranig suggested on his review
javihernandez Jun 22, 2014
0642c3a
Splitting tests into module and device reporter dedicated tests
javihernandez Jun 22, 2014
ae854f1
Provide a unique method to 'install', 'update' and 'remove' packages
javihernandez Jun 22, 2014
ed8fea7
Updating native add-on tests according to the latest changes on it
javihernandez Jun 22, 2014
c2593db
Fixing typo
javihernandez Jun 24, 2014
9628e78
Adding a reminder to improve the initialisation process
javihernandez Jun 24, 2014
c5fae6e
Replacing wrong assertFalses with assertNotEquals
javihernandez Jul 2, 2014
90e17d3
Keep the global state of the system unchanged after running the tests
javihernandez Jul 15, 2014
204e9fe
Made tests conditional on the installed status of tuxguitar.
klown Jul 15, 2014
2d35544
Made tests conditional on the installed status of tuxguitar (II).
klown Jul 16, 2014
34a7860
Fixed jshint errors.
klown Jul 16, 2014
295d6f0
Tests require fewer assumptions about initial conditions.
klown Jul 22, 2014
54e7dc7
Improved nodepackagekit implementation and unit tests.
klown Jul 23, 2014
2096dc0
Fixed searchPackage() and getPackages() tests.
klown Jul 23, 2014
7ad7192
Merge pull request #11 from klown/device-reporter-draft2
javihernandez Jul 24, 2014
383a0b0
Modified to address comments (Antranig).
klown Jul 25, 2014
9e1cd10
Merge pull request #12 from klown/device-reporter-draft2
javihernandez Jul 28, 2014
1b32f27
Fixing reversed arguments in assertDeepEq comparison
javihernandez Jul 28, 2014
e1721db
Improving package.json file
javihernandez Jul 28, 2014
4bced07
Merge remote-tracking branch 'upstream/master' into device-reporter-d…
javihernandez Jul 28, 2014
ceda391
Adding grunt build support for packageKit's add-on
javihernandez Jul 28, 2014
95fd30c
Added intialization.
klown Jul 29, 2014
cb1fe75
Saving and restoring the value of installedPackagesCache
javihernandez Jul 30, 2014
03ca047
Removing unused variable
javihernandez Jul 30, 2014
b4a27e2
jshint: Declaring variable 'methods'
javihernandez Jul 30, 2014
49b0945
jshint: Updating infusion's version in .jshintrc
javihernandez Jul 30, 2014
31c0b70
Added helper functions for the install/remove test fixture.
klown Jul 30, 2014
26864cc
Merge branch 'javihernandez_device-reporter-draft2' into device-repor…
klown Jul 30, 2014
581603e
Merge pull request #13 from klown/device-reporter-draft2
javihernandez Jul 30, 2014
c18a556
Further modularized the install/remove test fixture.
klown Jul 30, 2014
d7daae8
Merge branch 'javihernandez_device-reporter-draft2' into device-repor…
klown Jul 30, 2014
fee215c
Merge pull request #14 from klown/device-reporter-draft2
javihernandez Jul 30, 2014
9e84ea3
Merge remote-tracking branch 'upstream/master' into device-reporter-d…
javihernandez Aug 11, 2014
0339dab
Moving packagekit module into gpii folder
javihernandez Aug 11, 2014
30dd35b
Linting packageKit module
javihernandez Aug 11, 2014
4715200
Merge remote-tracking branch 'upstream/master' into device-reporter-d…
javihernandez Feb 6, 2015
08e47f7
GPII-413/GPII-434: Modified testing files due to Fireball merge.
klown Dec 9, 2014
b131fde
GPII-1081: Fedora 21 PackageKit node add-on unit test failure.
klown Jan 23, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
GPII Linux Personalization Framework Node.js Bootstrap

Copyright 2014 RTF-US
Copyright 2014 Emergya

Licensed under the New BSD license. You may not use this file except in
compliance with this License.
Expand All @@ -20,7 +21,9 @@ module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-gpii");

var usbListenerDir = "./usbDriveListener";

var gypCompileCmd = "node-gyp configure build";
var gypCleanCmd = "node-gyp clean";

function nodeGypShell(cmd, cwd) {
return {
options: {
Expand Down Expand Up @@ -49,12 +52,14 @@ module.exports = function (grunt) {
stderr: true,
failOnError: true
},
compileGSettings: nodeGypShell("node-gyp configure build", "gpii/node_modules/gsettingsBridge/nodegsettings"),
cleanGSettings: nodeGypShell("node-gyp clean", "gpii/node_modules/gsettingsBridge/nodegsettings"),
compileAlsaBridge: nodeGypShell("node-gyp configure build", "gpii/node_modules/alsa/nodealsa"),
cleanAlsaBridge: nodeGypShell("node-gyp clean", "gpii/node_modules/alsa/nodealsa"),
compileXrandrBridge: nodeGypShell("node-gyp configure build", "gpii/node_modules/xrandr/nodexrandr"),
cleanXrandrBridge: nodeGypShell("node-gyp clean", "gpii/node_modules/xrandr/nodexrandr"),
compileGSettings: nodeGypShell(gypCompileCmd, "gpii/node_modules/gsettingsBridge/nodegsettings"),
cleanGSettings: nodeGypShell(gypCleanCmd, "gpii/node_modules/gsettingsBridge/nodegsettings"),
compileAlsaBridge: nodeGypShell(gypCompileCmd, "gpii/node_modules/alsa/nodealsa"),
cleanAlsaBridge: nodeGypShell(gypCleanCmd, "gpii/node_modules/alsa/nodealsa"),
compileXrandrBridge: nodeGypShell(gypCompileCmd, "gpii/node_modules/xrandr/nodexrandr"),
cleanXrandrBridge: nodeGypShell(gypCleanCmd, "gpii/node_modules/xrandr/nodexrandr"),
compilePackageKitBridge: nodeGypShell(gypCompileCmd, "gpii/node_modules/packagekit/nodepackagekit"),
cleanPackageKitBridge: nodeGypShell(gypCleanCmd, "gpii/node_modules/packagekit/nodepackagekit"),
installUsbLib: {
command: [
"sudo cp " + usbListenerDir + "/gpii-usb-user-listener /usr/bin/",
Expand Down Expand Up @@ -83,13 +88,15 @@ module.exports = function (grunt) {
grunt.task.run("shell:compileGSettings");
grunt.task.run("shell:compileAlsaBridge");
grunt.task.run("shell:compileXrandrBridge");
grunt.task.run("shell:compilePackageKitBridge");
grunt.task.run("shell:installUsbLib");
});

grunt.registerTask("clean", "Clean the GPII binaries and uninstall", function () {
grunt.task.run("shell:cleanGSettings");
grunt.task.run("shell:cleanAlsaBridge");
grunt.task.run("shell:cleanXrandrBridge");
grunt.task.run("shell:cleanPackageKitBridge");
grunt.task.run("shell:uninstallUsbLib");
});

Expand Down
3 changes: 2 additions & 1 deletion gpii.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


var fluid = require("universal"),
gpii = fluid.registerNamespace("gpii");
gpii = fluid.registerNamespace("gpii"),
kettle = fluid.registerNamespace("kettle");

require("./index.js");

Expand Down
28 changes: 28 additions & 0 deletions gpii/node_modules/packagekit/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions gpii/node_modules/packagekit/nodepackagekit/binding.gyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

158 changes: 158 additions & 0 deletions gpii/node_modules/packagekit/nodepackagekit/findSearchPk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading