コード例 #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
ファイル: create_update.py プロジェクト: asmacdo/pulp_rpm
    def __init__(self, context):
        """
        Call the __init__ methods fo both superclasses.
        """
        UpdateRepositoryCommand.__init__(self, context)

        ISORepoCreateUpdateMixin.__init__(self)
コード例 #3
0
ファイル: create_update.py プロジェクト: ulif/pulp_rpm
    def __init__(self, context):
        """
        Call the __init__ methods fo both superclasses.
        """
        UpdateRepositoryCommand.__init__(self, context)

        ISORepoCreateUpdateMixin.__init__(self)
コード例 #4
0
ファイル: cudl.py プロジェクト: asmacdo/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)
コード例 #5
0
ファイル: cudl.py プロジェクト: seandst/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)
コード例 #6
0
ファイル: cudl.py プロジェクト: bmbouter/pulp_python
    def __init__(self, context):
        """
        Initialize the update command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        UpdateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        PythonRepositoryOptions.__init__(self)
コード例 #7
0
ファイル: cudl.py プロジェクト: daviddavis/pulp2_npm
    def __init__(self, context):
        """
        Initialize the update command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        UpdateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        NpmRepositoryOptions.__init__(self)
コード例 #8
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
コード例 #9
0
ファイル: cudl.py プロジェクト: jortel/pulp_docker
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, include_ssl=True, include_sync=True,
                                  include_unit_policy=False)
     self.add_option(OPTION_TAG)
     self.add_option(OPTION_REMOVE_TAG)
     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
コード例 #10
0
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self,
                                  include_ssl=False,
                                  include_sync=True,
                                  include_unit_policy=False)
     self.add_option(OPTION_TAG)
     self.add_option(OPTION_REMOVE_TAG)
     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
ファイル: 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)
コード例 #12
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)