-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit c8a4f87. ximion/appstream-generator#97
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
# | ||
# Copyright (C) 2016-2021 Harald Sitter <[email protected]> | ||
# Copyright (C) 2016-2019 Harald Sitter <[email protected]> | ||
# | ||
# This library is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU Lesser General Public | ||
|
@@ -90,7 +90,13 @@ | |
FileUtils.mkpath(run_dir) unless Dir.exist?(run_dir) | ||
config.write("#{run_dir}/asgen-config.json") | ||
suites.each do |suite| | ||
cmd.run('appstream-generator', 'process', '--verbose', suite, chdir: run_dir)#, | ||
cmd.run("appstream-generator", 'process', '--verbose', suite, chdir: run_dir)#, | ||
# env: { http_proxy: NCI::PROXY_URI, https_proxy: NCI::PROXY_URI }) | ||
cmd.run('appstream-generator', 'cleanup', chdir: run_dir) # clean up cruft | ||
end | ||
|
||
# TODO | ||
# [15:03] <ximion> sitter: the version number changing isn't an issue - | ||
# it does nothing with one architecture, and it's an optimization if you have | ||
# at least one other architecture. | ||
# [15:03] <ximion> sitter: you should run ascli cleanup every once in a while | ||
# though, to collect garbage |