예제 #1
0
파일: cudl.py 프로젝트: seandst/pulp_ostree
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_BRANCH)
     self.add_option(OPT_GPG_KEY)
     self.options_bundle.opt_feed.description = DESC_FEED
예제 #2
0
파일: cudl.py 프로젝트: seandst/pulp_puppet
    def __init__(self, context):
        CreateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, include_unit_policy=False)

        self.add_option(OPTION_QUERIES)
        self.add_option(OPTION_QUERY)
        self.add_option(OPTION_HTTP)
        self.add_option(OPTION_HTTPS)
예제 #3
0
파일: cudl.py 프로젝트: asmacdo/pulp_puppet
    def __init__(self, context):
        CreateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, include_unit_policy=False)

        self.add_option(OPTION_QUERIES)
        self.add_option(OPTION_QUERY)
        self.add_option(OPTION_HTTP)
        self.add_option(OPTION_HTTPS)
예제 #4
0
파일: cudl.py 프로젝트: pulp/pulp_puppet
    def __init__(self, context):
        UpdateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, include_unit_policy=False)

        self.add_option(OPTION_QUERIES_UPDATE)
        self.add_option(OPTION_QUERY)
        self.add_option(OPTION_HTTP)
        self.add_option(OPTION_HTTPS)
        self.add_option(OPTION_REMOVE_MISSING)
예제 #5
0
    def __init__(self):
        """
        Call the __init__ methods for both of our superclasses.
        """
        # Add sync-related options to the create command
        ImporterConfigMixin.__init__(self, include_sync=True, include_ssl=True, include_proxy=True,
                                     include_throttling=True, include_unit_policy=True)

        ISODistributorConfigMixin.__init__(self)
예제 #6
0
파일: cudl.py 프로젝트: jortel/pulp_docker
 def __init__(self, context):
     CreateAndConfigureRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, include_ssl=True, include_sync=True,
                                  include_unit_policy=False)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_REDIRECT_URL)
     self.add_option(OPT_PROTECTED)
     self.add_option(OPT_REPO_REGISTRY_ID)
     self.sync_group.add_option(OPT_UPSTREAM_NAME)
     self.options_bundle.opt_feed.description = DESC_FEED
예제 #7
0
    def __init__(self, context):
        """
        Initialize the create command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        CreateAndConfigureRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        PythonRepositoryOptions.__init__(self)
예제 #8
0
    def __init__(self, context):
        """
        Initialize the create command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        CreateAndConfigureRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        NpmRepositoryOptions.__init__(self)
예제 #9
0
파일: cudl.py 프로젝트: beav/pulp_python
    def __init__(self, context):
        """
        Initialize the command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        UpdateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        self.add_option(OPT_AUTO_PUBLISH)
        self.options_bundle.opt_feed.description = DESC_FEED
예제 #10
0
 def __init__(self, context):
     CreateAndConfigureRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self,
                                  include_ssl=False,
                                  include_sync=True,
                                  include_unit_policy=False)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_REDIRECT_URL)
     self.add_option(OPT_PROTECTED)
     self.add_option(OPT_REPO_REGISTRY_ID)
     self.sync_group.add_option(OPT_UPSTREAM_NAME)
     self.options_bundle.opt_feed.description = DESC_FEED
예제 #11
0
    def __init__(self):
        """
        Call the __init__ methods for both of our superclasses.
        """
        # Add sync-related options to the create command
        ImporterConfigMixin.__init__(self,
                                     include_sync=True,
                                     include_ssl=True,
                                     include_proxy=True,
                                     include_throttling=True,
                                     include_unit_policy=True)

        ISODistributorConfigMixin.__init__(self)
예제 #12
0
    def __init__(self, context):

        # Adds things like name, description
        CreateRepositoryCommand.__init__(self, context)

        # Adds all downloader-related importer config options
        ImporterConfigMixin.__init__(self,
                                     options_bundle=RpmRepoOptionsBundle(),
                                     include_sync=True,
                                     include_ssl=True,
                                     include_proxy=True,
                                     include_throttling=True,
                                     include_unit_policy=True)

        # Adds all distributor config options
        repo_options.add_distributor_config_to_command(self)
예제 #13
0
    def __init__(self, context):

        # Adds things like name, description
        CreateRepositoryCommand.__init__(self, context)

        # Adds all downloader-related importer config options
        ImporterConfigMixin.__init__(self,
                                     options_bundle=RpmRepoOptionsBundle(),
                                     include_sync=True,
                                     include_ssl=True,
                                     include_proxy=True,
                                     include_throttling=True,
                                     include_unit_policy=True)

        # Adds all distributor config options
        repo_options.add_distributor_config_to_command(self)
예제 #14
0
    def __init__(self, context):
        super(RpmRepoUpdateCommand, self).__init__(context)

        # The built-in options will be reorganized under a group to keep the
        # help text from being unwieldly. The base class will add them by
        # default, so remove them here before they are readded under a group.
        # self.options = []

        # Adds all downloader-related importer config options
        ImporterConfigMixin.__init__(self,
                                     options_bundle=RpmRepoOptionsBundle(),
                                     include_sync=True,
                                     include_ssl=True,
                                     include_proxy=True,
                                     include_throttling=True,
                                     include_unit_policy=True)

        # Adds all distributor config options
        repo_options.add_distributor_config_to_command(self)
예제 #15
0
    def __init__(self, context):
        super(RpmRepoUpdateCommand, self).__init__(context)

        # The built-in options will be reorganized under a group to keep the
        # help text from being unwieldly. The base class will add them by
        # default, so remove them here before they are readded under a group.
        # self.options = []

        # Adds all downloader-related importer config options
        ImporterConfigMixin.__init__(self,
                                     options_bundle=RpmRepoOptionsBundle(),
                                     include_sync=True,
                                     include_ssl=True,
                                     include_proxy=True,
                                     include_throttling=True,
                                     include_unit_policy=True)

        # Adds all distributor config options
        repo_options.add_distributor_config_to_command(self)
예제 #16
0
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
     self.add_option(OPT_AUTO_PUBLISH)
     self.options_bundle.opt_feed.description = DESC_FEED
     self.sync_group.add_option(OPT_PACKAGE_FILE_PATH)
예제 #17
0
파일: cudl.py 프로젝트: sjtindell/pulp_deb
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
     self.add_option(OPT_AUTO_PUBLISH)
     self.options_bundle.opt_feed.description = DESC_FEED
     self.sync_group.add_option(OPT_PACKAGE_FILE_PATH)