-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sysroot support #10
base: main
Are you sure you want to change the base?
Sysroot support #10
Commits on Jul 27, 2017
-
Handle being called with a nil *GVariant
Signed-off-by: Sjoerd Simons <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71e47c0 - Browse repository at this point
Copy the full SHA 71e47c0View commit details -
Switch to more modern GObject strategy
Update glibobject to follow the more current strategy by gogtk3 to have a go GObject embed a C.GObject rather then an unsafe pointer. Signed-off-by: Sjoerd Simons <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e8cd19 - Browse repository at this point
Copy the full SHA 9e8cd19View commit details -
Add minimal wrapper for GKeyfile
This adds a wrapper for GKeyfile objects without any extra functionality, this is useful for passing GKeyfiles as returned by some ostree calls back to Go and pass them onto ostree calls taking them as an argument Signed-off-by: Sjoerd Simons <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 839dda3 - Browse repository at this point
Copy the full SHA 839dda3View commit details -
Add a convenience wapper to go between Go and C gcancellables
Signed-off-by: Sjoerd Simons <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5d8e84 - Browse repository at this point
Copy the full SHA d5d8e84View commit details -
Wrap ostree_repo_resolve_rev and ostree_repo_pull_with_options
Add small wappers around those to ostree functions. OstreeAsyncProgress got a minimal wrapper so it can be used in the function signatures (but really can only be used as a nil value) ResolveRev is fully functional and a direct mirror of the C function, for PullWithOptions rather then passing an options GVariant a PullOptions go struct is defined which the wrapper converts to a GVariant to both work around the fact that GVariant isn't usable from Go and to make the API slightly nicer. For now only only the override-remote-name and refs options are support as those were the ones i happened to need in my usage. Signed-off-by: Sjoerd Simons <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36fd1d1 - Browse repository at this point
Copy the full SHA 36fd1d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43ce323 - Browse repository at this point
Copy the full SHA 43ce323View commit details -
Add wrapper for ostree_repo_remote_add
Signed-off-by: Sjoerd Simons <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93e63e1 - Browse repository at this point
Copy the full SHA 93e63e1View commit details -
Add a wrapper around OstreeDeployment objects
This simply creates a Go structure for it to allow from wrapping GObjects (created by ostree functions) into Go and back again. No usable functionality to inspect the objects from Go Signed-off-by: Sjoerd Simons <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a4ff39 - Browse repository at this point
Copy the full SHA 4a4ff39View commit details -
Wrap a subset of the ostree_sysroot_* functions
Add a wrapper for OstreeSysroot and a bunch of its functions, this combined with the previous commits is enough to setup an ostree sysroot from an existing ostree repository from fresh using Go code. Signed-off-by: Sjoerd Simons <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9384974 - Browse repository at this point
Copy the full SHA 9384974View commit details