Skip to content

Commit

Permalink
Revert "cleanup after asgen"
Browse files Browse the repository at this point in the history
  • Loading branch information
hsitter committed Sep 7, 2021
1 parent f358c18 commit b74bde0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions nci/asgen.rb
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
Expand Down Expand Up @@ -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

0 comments on commit b74bde0

Please sign in to comment.