Module Expr Str Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str TryExcept body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Raise orelse Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
Copyright (c) 2015 Red Hat, Inc
All rights reserved.

This software may be modified and distributed under the terms
of the BSD license. See the LICENSE file for details.


To have everything for a build in dist-git you need to fetch artefacts using 'fedpkg sources'.

This plugin should do it.
 N/A os N/A subprocess atomic_reactor.plugin PreBuildPlugin DistgitFetchArtefactsPlugin N/A PreBuildPlugin N/A N/A key distgit_fetch_artefacts N/A is_allowed_to_fail False __init__ N/A N/A self tasker workflow command N/A N/A N/A 
        constructor

        :param tasker: DockerTasker instance
        :param workflow: DockerBuildWorkflow instance
        :param command: str, command to use to get artefacts (e.g. 'make sources')
                             it is executed in cloned git repo
         N/A N/A N/A N/A super DistgitFetchArtefactsPlugin self __init__ tasker workflow N/A N/A self command command N/A run N/A N/A self N/A N/A N/A 
        fetch artefacts
         N/A source_path N/A N/A N/A self workflow source path N/A sources_file_path N/A N/A N/A os path join source_path sources N/A artefacts N/A N/A N/A N/A open sources_file_path r f N/A N/A artefacts N/A N/A f read N/A N/A N/A N/A self log info sources file:
%s artefacts N/A N/A N/A IOError N/A ex N/A N/A N/A N/A ex errno 2 N/A N/A N/A N/A N/A self log info no sources file N/A N/A N/A N/A cur_dir N/A N/A os getcwd N/A N/A N/A os chdir source_path N/A N/A N/A subprocess check_call N/A N/A N/A self command split N/A N/A N/A os chdir cur_dir N/A artefacts N/A N/A