ssp.logger = partial(log_debug, DBG.OWNSOURCE)
ssp.generate()
- resource.putChild(b'source', twisted.web.static.File(ssp.output_paths[0]))
- resource.putChild(b'srcpkgs', twisted.web.static.File(ssp.output_paths[0]))
+ resource.putChild(b'source', twisted.web.static.File(ssp.output_paths[0]))
+ resource.putChild(b'srcpkgs', twisted.web.static.File(ssp.output_paths[1]))
reactor.callLater(0.1, (lambda: log.info('hippotatd started', dflag=False)))
s.cwd = os.getcwd()
s.find_rune_base = "find -type f -perm -004 \! -path '*/tmp/*'"
s.ignores = ['*~', '*.bak', '*.tmp', '#*#', '__pycache__',
- '[0-9][0-9][0-9][0-9]-src.cpio']
+ '[0-9][0-9][0-9][0-9]-src.tar']
s.rune_shell = ['/bin/bash', '-ec']
s.show_pathnames = True
s.download_packages = True
find_rune = s.srcdir_find_rune(d)
total_rune = s.rune_cpio % find_rune
- name = s.new_output_name('src.cpio', infol)
+ name = s.new_output_name('src.tar', infol)
s._dirmap[d] = name
fh = s.open_output_fh(name, 'wb')