Denis Ollier
4bb33efbd8
Make libcurl return error on HTTP response >= 400
...
Closes : #157
Approved by: alexlarsson
2018-05-28 08:05:51 +00:00
Denis Ollier
aa402ca259
flatpak-utils: Remove libsoup dead code
...
Closes : #152
Approved by: alexlarsson
2018-05-16 08:12:37 +00:00
Denis Ollier
1f46ee7e8c
Use libcurl for HTTP downloads as well
...
Closes : #151
Approved by: alexlarsson
2018-05-15 10:16:15 +00:00
Denis Ollier
a922cd49a4
Add support for FTP sources using libcurl
...
Closes : #143
Approved by: TingPing
2018-05-14 09:54:39 +00:00
Alexander Larsson
8af638bdd8
flatpak_spawn: Always spawn children untranslated
...
We need this as we sometimes (like flatpak info) parse the command output.
Closes : #148
Approved by: alexlarsson
2018-05-07 15:26:15 +00:00
Alexander Larsson
aa2601dbb3
flatpak_cp_a: Add support for skipping some source files
...
Closes : #136
Approved by: alexlarsson
2018-04-26 07:15:38 +00:00
Alexander Larsson
9f72237f3f
Update to latest libglnx
2018-02-14 18:46:20 +01:00
Alexander Larsson
1f15907893
Add --socket=fallback-x11 support
...
This requires a recent flatpak to actually work.
2018-02-14 11:49:33 +01:00
Alexander Larsson
9b4f14cd45
Add flatpak_file_rename
...
Closes : #98
Approved by: alexlarsson
2018-01-11 09:30:42 +00:00
Alexander Larsson
39ad84c499
flatpak_compose_ref: Remove unused error argument
...
Closes : #81
Approved by: alexlarsson
2017-12-14 09:27:59 +00:00
Alexander Larsson
adc84ac4ca
Add more checksum types for files and archives ( #75 )
...
* Add more checksum types for files and archives
Many upstreams don't use sha256, some use even stronger checksums like
sha512, and its nice to be able to use these. Some system uses
weaker checksums, which you can work around by recomputing your own,
but sometimes that is a bit painful, for example when you're
auto-generating flatpak-builder manifests based on some other format
such as npm lock files.
This adds all the checksum types that GChecksum supports in the
glib version we currently use: md5, sha1, sha256, sha512
2017-12-07 15:40:04 +01:00
Philip Withnall
287be6a7d1
utils: Eliminate some dead code
...
Move the call inside a preprocessor condition so we don’t end up with
two `return` lines.
Coverity CID: #208383
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes : #74
Approved by: alexlarsson
2017-12-06 09:23:17 +00:00
Alexander Larsson
039a24aeb4
utils: Add flags argument to flatpak_spawn
...
This allows you to e.g. silence STDERR
Closes : #47
Approved by: alexlarsson
2017-10-17 10:31:28 +00:00
Alexander Larsson
3e65d29fac
Remove unused variables
...
These were reported by clang
Closes : #39
Approved by: alexlarsson
2017-09-28 09:12:10 +00:00
Alexander Larsson
db60f2d5f7
Fix warning about unused function on some arches
2017-09-06 19:16:23 +02:00
Kalev Lember
d69db55cae
Add back accidentally lost flatpak_get_kernel_arch
...
This fixes the build on ppc64le and various other arches.
2017-09-04 12:18:22 +02:00
Alexander Larsson
faba587a72
Move common/flatpak-utils.* to src/builder-flatpak-utils.*
2017-08-25 09:36:49 +02:00