Lines Matching refs:to
34 # You might have known that abipkgdiff is a command line tool to compare two
35 # RPM packages to find potential differences of ABI. This is really useful for
37 # locally, if a packager wants to compare RPM packages he just built with
41 # With fedabipkgdiff, packager is able to specify certain criteria to tell
42 # fedabipkgdiff which RPM packages he wants to compare, then fedabipkgdiff will
64 # The working directory where to hold all data including downloaded RPM
83 # Used to construct abipkgdiff command line argument, package and associated
88 # --d1 /path/to/package1-debuginfo.rpm \
89 # --d2 /path/to/package2-debuginfo.rpm \
90 # /path/to/package1.rpm \
91 # /path/to/package2.rpm
97 # - the first element is the subject representing the package to
110 # (/path/to/package1.rpm, [/paths/to/package1-debuginfo.rpm ..] /path/to/package1-devel.rpm)
111 # (/path/to/package2.rpm, [/paths/to/package2-debuginfo.rpm ..] /path/to/package1-devel.rpm)
121 # There is no way to configure the log format so far. I hope I would have time
122 # to make it available so that if fedabipkgdiff is scheduled and run by some
141 """No builds returned from a method to select specific builds"""
174 :return: True if distro is the one specific to Fedora, like fc24, el7.
186 :param str the string to consider
228 This is the compare function used in sorted function to sort builds so that
229 fedabipkgdiff is able to select the latest build. Return value follows the
232 :param str left: left nvr to compare.
233 :param str right: right nvr to compare.
235 equal to, or larger than the right individually.
256 :param callable func: a callable object to decorate
283 dict. This wrapper class makes it eaiser to access all these
306 :param str name: the property name to access.
360 """Get the URL from where to download this RPM"""
373 """Check if this RPM was already downloaded to local disk"""
387 :param str filename: a filename pointing to a RPM file in local
406 raise NotImplementedError('LocalRPM has no URL to download')
411 :param str rpm_filename: filename of rpm to find, for example
460 # Mapping from arch to a list of rpm_infos.
462 # map; that is the RPM to consider and its ancillary RPMs.
465 # Mapping from arch to another mapping containing index of debuginfo
504 'is not able to deal with this case. '
529 """Iterator of RPMs to go through RPMs with specific arches"""
541 associated to 'rpm' and users want to get the one which name
542 matches exactly 'rpm', then they might want to use the member
580 to a given RPM.
585 for the debuginfo RPMs associated to rpm_info
597 """Iterate RPM collection and peer's to generate comparison halves"""
616 # the debug info packages associated to with the main package
645 """Interface to Koji XMLRPC API with enhancements specific to fedabipkgdiff
648 details information, please refer to class RootExports within kojihub.py.
650 For details of APIs used within fedabipkgdiff, refer to from line
658 :param str baseurl: the kojihub URL to initialize a session, that is
659 used to access koji XMLRPC APIs.
667 Call kojihub.listRPMs to get list of RPMs. Return selected RPMs without
689 :param int buildID: id of a build from which to list RPMs.
690 :param arches: to restrict to list RPMs with specified arches.
692 :param selector: called to determine if a RPM should be selected and
714 this method will raise RpmNotFound error immediately to claim what is
715 happening. I want to raise fedabipkgdiff specific error rather than
717 don't use strict parameter to call koji.getRPM.
745 :param int packageID: id of package to list builds from.
751 :param selector: a callable object used to select specific subset of
753 builds. When each call to selector, a build is passed to
756 :param str order_by: the attribute name by which to order the builds,
758 :param bool reverse: whether to order builds reversely.
778 # FIXME: is it possible to sort builds by using opts parameter of
818 :param int buildID: id of build to get from Koji.
831 If arch is omitted, name is used to get associated package, and then
832 to get the build.
836 >>> brew = Brew('url to kojihub')
875 >>> brew = Brew('url to kojihub')
878 :param str package_name: from which package to get the latest build
879 :param str distro: which distro the latest build belongs to
895 # Now lets try to get builds which distro string are less
900 # Fedora 27. So we want this function to pick up that
929 :param int build_id: from which build to select rpms.
930 :param str package_name: which rpm to select that matches this name.
931 :param arches: which arches to select. If arches omits, rpms with all
934 :param bool select_subpackages: indicate whether to select all RPMs
961 :param str package_name: from which package to get the rpms
962 :param str distro: which distro the rpms belong to
963 :param arches: which arches the rpms belong to
977 """Get instance of Brew to talk with Koji"""
987 :return: path to directory holding downloaded RPMs.
998 """Using curl to download a RPM from Koji
1003 :param str url: URL of a RPM to download.
1025 :param list rpms: list of RPMs to download.
1040 """Build the path to the 'abipkgidiff' program to use.
1042 The path to 'abipkgdiff' is either the argument of the
1043 --abipkgdiff command line option, or the path to 'abipkgdiff' as
1046 :return: str a string representing the path to the 'abipkgdiff'
1061 representing the debug info rpms to use to construct the option
1065 concatenate the 'option' parameter before the path to each RPM
1080 Construct and execute abipkgdiff to get ABI diff
1086 Output to stdout or stderr from abipkgdiff is not captured. abipkgdiff is
1192 # proc.communicate() function does *NOT* terminate and seems to be
1194 # then busy looping, waiting for the spawn process to finish, and
1280 2/ Suppose the packager wants to see how the ABIs of the package foo
1283 fedabipkgdiff --from fc19 --to fc22 foo
1321 3/ Suppose the packager wants to compare the ABI of two packages designated
1375 to ensure that functionality of libabigail itself
1433 'run will be sent to stdout.')
1441 '--to',
1445 help='Fedora distribution name to compare against the baseline, for '
1495 help="The path to the 'abipkgtool' command to use. "
1503 help='The suppression specification file to use during comparison')
1534 help='A convenient way to clean cache without specifying '
1605 six.print_('Unknown arguments. Please refer to --help.', file=sys.stderr)