Beispiel #1
0
 def remove(self,
            pattern,
            src=False,
            build_ids=None,
            package_ids_filter=None,
            force=False,
            remote=None,
            packages_query=None,
            outdated=False):
     """ Remove conans and/or packages
     @param pattern: string to match packages
     @param src: Remove src folder
     @param package_ids_filter: list of ids or [] for all list
     @param build_ids: list of ids or [] for all list
     @param remote: search on another origin to get packages info
     @param force: if True, it will be deleted without requesting anything
     @param packages_query: Only if src is a reference. Query settings and options
     """
     remote_proxy = ConanProxy(self._client_cache, self._user_io,
                               self._remote_manager, remote)
     remover = ConanRemover(self._client_cache, self._search_manager,
                            self._user_io, remote_proxy)
     remover.remove(pattern,
                    src,
                    build_ids,
                    package_ids_filter,
                    force=force,
                    packages_query=packages_query,
                    outdated=outdated)
Beispiel #2
0
 def remove(self, pattern, src=False, build_ids=None, package_ids_filter=None, force=False,
            remote=None):
     """ Remove conans and/or packages
     @param pattern: string to match packages
     @param package_ids: list of ids or [] for all list
     @param remote: search on another origin to get packages info
     @param force: if True, it will be deleted without requesting anything
     """
     remover = ConanRemover(self.file_manager, self._user_io, self.remote_manager, remote)
     remover.remove(pattern, src, build_ids, package_ids_filter, force=force)
Beispiel #3
0
 def remove(self, pattern, src=False, build_ids=None, package_ids_filter=None, force=False,
            remote=None):
     """ Remove conans and/or packages
     @param pattern: string to match packages
     @param package_ids: list of ids or [] for all list
     @param remote: search on another origin to get packages info
     @param force: if True, it will be deleted without requesting anything
     """
     remote_proxy = ConanProxy(self._paths, self._user_io, self._remote_manager, remote)
     remover = ConanRemover(self.file_manager, self._user_io, remote_proxy)
     remover.remove(pattern, src, build_ids, package_ids_filter, force=force)
Beispiel #4
0
 def remove(self, pattern, src=False, build_ids=None, package_ids_filter=None, force=False,
            remote=None, packages_query=None):
     """ Remove conans and/or packages
     @param pattern: string to match packages
     @param src: Remove src folder
     @param package_ids_filter: list of ids or [] for all list
     @param build_ids: list of ids or [] for all list
     @param remote: search on another origin to get packages info
     @param force: if True, it will be deleted without requesting anything
     @param packages_query: Only if src is a reference. Query settings and options
     """
     remote_proxy = ConanProxy(self._client_cache, self._user_io, self._remote_manager, remote)
     remover = ConanRemover(self._client_cache, self._search_manager, self._user_io,
                            remote_proxy)
     remover.remove(pattern, src, build_ids, package_ids_filter, force=force, packages_query=packages_query)
Beispiel #5
0
 def remove(self,
            pattern,
            query=None,
            packages=None,
            builds=None,
            src=False,
            force=False,
            remote=None,
            outdated=False):
     remover = ConanRemover(self._client_cache, self._remote_manager,
                            self._user_io, self._registry)
     remover.remove(pattern,
                    remote,
                    src,
                    builds,
                    packages,
                    force=force,
                    packages_query=query,
                    outdated=outdated)